Strip xmlroot?

Hi there,
I was wondering what is the correct way to strip the xmlroot element fron an incoming document? I'm running across problems involving multiple incorrect definitions of this element when implementing result sets for queries on my data so I thought working with xml fragments instead of documents would be simpler.
So, for example, I want to go from storing:
<?xml version="1.0" encoding="UTF-8"?>
<foo>
<bar>baz</bar>
</foo>
to storing just:
<foo>
<bar>baz</bar>
</foo>

You known you are, then, losing information right!?Yes. Our database is configured for US-ASCII encoding and anyway we don't deal with non-standard english characters.
I really don't see how else I can do a search on my table and return a stack of documents together in some kind of wrapper xml. The problem I keep encountering is that the encoding element appears for every matched document which breaks things when I try to work with the wrapper document.
If so you could get rid of this using xml functions
like extract, extractvalue, etc...Cheers. :)
If you have any thoughts on how I might better achieve the above your comments would be appreciated.

Similar Messages

  • Images once exported (RAW) do not show up in catalog or previous imorts not film strips in library nor develop.  They are in the files to which they were exported

    Not sure how to get this going seems rather redundant.
    In the last 4 - 5 days I have imported several hundred RAW files, done some minimal post processing and exported these images to various files (I have verified that the images are in the files to which I exported them).  These images to no show up in previous imports nor do they show up in library nor develop film strips.  How or can I get them to show up for additional review and possible manipulation.  I recently did this same operation with largle JPEG files and all went well.
         I did initially have some problems with LR recognizing the RAW files but some how was able to overcome that ( perhaps a card  issue they are old card and the JPEGs were on a new card hmmmm!!??)
         Any ways I supposed I can reimport them from their current files but that is a redundant pain.  Suggestions would be apprediated

    One possibility is that you accidentally opened a new/different catalog.
    Look at File->Open Recent and open the catalogs shown there and see if your photos appear

  • Attachment Stripping

    Hi
    We strip attachments using the "Strip Attachment by File Info" filter and use the Replace message field to add in the details of the file using the $dropped_filename variable. The issue I have is that this doesnt insert this text into the body of the original email but adds a txt file with the Replacement Message in it.
    In an ideal world I would like the message inserted into the email using the $dropped_filename variable and no txt attachment in the email.
    I have tried using the "Strip Attachment by File Info" with no Replacement message and inserting a footer instead, but there are two issues here. The $dropped_filename variable doesn't work in the footer and there is still a txt file in the email with a default message.
    Any suggestions would be welcome?
    Cheers

    Thanks for the reply. Again maybe i wasnt clear. I am at the moment adding a footer which inserts text in to the email OK. So I dont need to run the localeconfig as this works fine.
    My issue is that I want to provide users with clear information and use the $dropped_filenames variable and have the text in the email NOT in a TXT attachment.
    If I use the "Add-footer" the $dropped_filenames variable doesn't work. If I use the replacement message field in the "Strip Attachment by File Info" filter the right information is there but in a txt attachment.

  • My macbook pro freezes and then displays a blue screen with black stripes... do you know what's wrong with it?

    My macbook pro freezes and then displays a blue screen with black stripes... do you know what's wrong with it?
    I have a two and half year mac book pro... I've had some issues with the screen looking scrambled when I quit certain applications, but now it's turned into something worse.  I'll be working on my computer and the thing will freeze.  When I force restart, the first screen, the apple logo, will be a blue tint and won't boot up normally.  Then I try safe mood and it will then boot just fine.  But there are blue stripes on my screen.  The screen alternates from a blue tint to normal and if the computer freezes again the screen will become completely blue with black stripes.  I haven't tried reinstalling my software because I don't have the startup discs that came with my computer.  If I was sure that would fix it I would purchase them, but if it's a hardware issue I'm afraid that I'm screwed.  I've been able to successfully get the blue off my screen by putting it to sleep and then waking it up, but that's not working well anymore either. 
    Does anyone else have experience with this?  Is it the firmware or what?  I have a MacBook Pro from early 2011 and I'm running Mac OS X 10.6.8.
    Please help... Thanks!

    I just experienced this exact same issue with my early 2011 15" macbook pro. Since like a month after purchasing it I had issues with the screen randomly going dark on me. I sent it in for repair inder waranty they replaced the gpu and logic board but I continued to have the same issues with the screen randomly going black sometimes I would need to reboot it in order to get the screen to go back on but it happened so infrequently and I used the computer for school so disnt find the time to resend it in to apple. Just last night the screen started to display the blue screen with black verticle lines on it. I called apple and explained to them  the issues that had been ongoing since I purchased the laptop but they said because I was now outside of warantee that any repairs at thia point wouldn't be covered. Fml so glad I spent 2200 on this future proof macbook pro what a joke my sister purchased a toshiba laptop for 300 4 years ago and it still running like a champ. I loved my macbook but at the price I paid I expect it to last longer than 2 years before leaving me high and dry. *** apple??

  • How to strip text formatting from text field value ??

    Hi everyone,
    Have tried to get some info on this but no luck.... I've
    created a simple contact form in Flash, but the URL which it's
    generating contains the text formatting from the text input fields.
    As a result the script that processes the mail send doesn't work.
    How do I strip the text formatting out of text1, text2 and text3
    before I use getURL() ??
    on (release) {
    url_var =
    "your_name="+text1+"&your_e-mail="+text2+"&message="+text3;
    getURL("contact.php?"+url_var, "_blank", "GET");
    text1 = "";
    text2 = "";
    text3 = "";
    }

    text1.text = "";
    text2.text = "";
    text3.text = "";
    …that should strip the textfields. You probably also
    want to add this property (text) in the getURL()

  • Macbook pro - Display flickering stripes

    Hello,
    i'm having, again, an issue with my macbook pro 17' mid 2010.
    This is my story
    I bought it in July 2010, it worked fine until one month after the end of the one year warranty period (shouldn't be two years in Europe?).
    I don't remember if it was on sleep or power off but that day three bands appeared in the middle of the screen:
    One is more or less 1cm , colored and flickering, next an half cm white one sometimes flickering with a green tone and, last, another 1 cm colored and flickering.
    I called apple explaining my problem they said they cannot do anything as my warranty period was expired and they gave a contact for an authorized apple service in my area.
    I went there, they asked me 50€ (living in France…) only to take in charge my mac plus, in case, additional costs.
    I accepted,   after one week it was repaired at no additional fees (as they were an authorized apple service I get three additional months of warranty).
    I’ve asked them what was (apparently a software problem…) the problem and how they solved they answered me something like “it’s a secret”.
    Mac was working, fee was acceptable , I didn’t care about the answer and I went home.
    After 5/6 months problems – as usual… just after the warranty period - come out once again. I don’t remember what it did, for sure the usual PRAM reset, SMC etc. and I solved the issue by myself without paying other 50€ for “the secret”. At least I thought the problem was solved…
    Past week, after one year of good behave problems appeared again restarting from sleeping… this time no way to solve the issue.
    I ran all the usual tests, reset everything, reinstalled from a previous time machine , also found ASD and used it (hope no one blame me for this… as you can understand I’m little bit upset) running it several time from OS and EFI. No problem found.
    External monitor through HDMI works perfectly, print screen doesn’t show the stripes… shouldn’t be an nvidia issue.
    I got an appointment next week with “genius” and if they are going to run ASD they won’t find anything wrong and, reading other messages here in the board, solution will be “replace LCD or  Logic Board. 600€ to the counter please.”
    3000€ (when I bought it I went for I7 core… and additional ram) for a pc giving me headache after one year … is not the quality I was in habit with Apple.
    Let’s see… but, before to go there do you have any suggestion on additional check I could perform? I know there was a known problem with nvidia but mid 2010 has GT330m that is not the same model apple confirms having problem (and by the way, I had no freeze. OS starts without any problems)
    Additional info, mac never moves from my flat desk. I’m a kind of maniac… never had a shock, no hot temperature…
    Any suggestion (even “take a long breathe and calm down” ) is more than welcome.
    Thanks in advance

    Now i got an error from ASD. TM0P  Battery Charger Proximity Temperature...

  • Apple midi loops load incorect channel strip

    when i preview a midi apple loop in the loop browser it sounds fine, but when i drag it onto an inst. channel it loads up all the wrong channel strip info. it will load the Garage band sampler but the correct samples do not load. I have used Redmatica's EXS manager and the Inst. are connected to the correct samples, and still no luck. even if i go into the EXS24 and try to load the Garage band Inst it does nothing (not even a warning saying it cant find samples) it stays unloaded. this has mainly been the drums from jam pack 2. I have reinstalled them twice. initialized my drive and reinstalled everything .
    has anyone experienced something like this?

    Good question with a complex answer. Let's say you have three synths you want to layer together, EXS24, ES1 and ES2. On one of those tracks in your arrange window, drop in your midi arrangement, for this example we'll say it's the EXS24. You'll notice a "plug" on the top right corner of the channel strips. Locate the plug on the EXS 24, click + hold and drag this plug to the ES1. Now repeat the process for the ES1 to the ES2. You have now changed all the instruments together, and they will respond to the the midi input from the base synth, i.e. the EXS 24.
    To make this easier, it may help you to create a new layer in the environment window and then place the channel strips for those instruments on this layer. This will keep things organized for your workflow, but it's entirely optional. Hope this helps. Check out macprovideo.com for more environment + midi tricks.

  • Green stripe appears on video after compressing

    After running a Quicktime file through Compressor, I get a green stripe running horizontally across the center of the image. The stripe covers roughly a third of the screen vertically.
    Some background:
    The computer is a new 12 core, Mac Pro running Snow Leopard 10.6.4. After experiencing the problem I did a clean install of the OS, installed Final Cut Pro Studio 2, then installed all the updates and still got the green stripe. I have been using the same version of Final Cut on an iMac for two and a half years without this issue. The iMac is also running Snow Leopard 10.6.4.
    The Quicktime file is 1920 x 1080, ProRes 422
    The Compressor settings are as follows:
    Name: MPEG-2 16:9 23.98 6.4/7.6 Best Resize
    Description: 24fps
    File Extension: m2v
    Estimated file size: 2.55 GB/hour of source
    Type: MPEG-2 video elementary stream
    Usage:SD DVD
    Video Encoder
    Format: M2V
    Width: 720
    Height: 480
    Pixel aspect ratio: NTSC CCIR 601/DV (16:9)
    Crop: None
    Padding: None
    Frame rate: 23.976
    Frame Controls On:
    Retiming: (Fast) Nearest Frame
    Resize Filter: Statistical Prediction
    Deinterlace Filter: Fast (Line Averaging)
    Adaptive Details: On
    Antialias: 0
    Detail Level: 0
    Field Output: Same as Source
    Start timecode from source
    Aspect ratio: 16:9
    Field dominance: Automatic:
    Selected Progressive
    Average data rate: 5.8 (Mbps)
    2 Pass VBR enabled
    Maximum data rate: 7.6 (Mbps)
    High quality
    Best motion estimation
    Closed GOP Size: 12, Structure: IBBP
    DVD Studio Pro meta-data enabled
    The Hardware:
    Model Name: Mac Pro
    Model Identifier: MacPro5,1
    Processor Name: 6-Core Intel Xeon
    Processor Speed: 2.66 GHz
    Number Of Processors: 2
    Total Number Of Cores: 12
    L2 Cache (per core): 256 KB
    L3 Cache (per processor): 12 MB
    Memory: 6 GB
    Processor Interconnect Speed: 6.4 GT/s
    Boot ROM Version: MP51.007F.B01
    SMC Version (system): 1.39f11
    SMC Version (processor tray): 1.39f11
    Serial Number (system): H004108YGWR
    Serial Number (processor tray): J503704Z1BH8B
    Hardware UUID: E18A8A7A-B795-5DD5-9E24-35AB602D760F
    Any thoughts on this are appreciated.
    Thanks
    Larry

    Myself as well. I briefly talked to Apple phone support, but they didn't acknowledge the disrepency and proceeded to have me re-install Compressor (even though I was using a clean install of both the OS and Final Cut Suite). Of course, there was no change. It does bother me in that this may be an issue that affects other functions I haven't yet uncovered. I expect see this problem escalate as time goes on.
    One rather humorous anecdote: The support rep wanted to determine if I had the minimum hardware required to run Final Cut Suite. When I told him I had just purchased a 12 core Mac Pro, he still went through the minimum required hardware list. One would think an Apple rep would know this system would more than cover the minimum requirements without going through a component checklist.

  • Memory problems when using alias channel strips (3.0.2)

    I'm having memory issues when using alias channel strips.  What is happening is I create one instance of the plugin, say Massive.  Then make a bunch of other alias on different patches.  When looking at the memory usage everytime I add and alais it increases the memory usage by an amount the same as the origional plugin.  ie. add 3 alias and you have 3 times more memory usage.  See attached photos.
    Original plugin instance ~80mb memory usage
    Adding 3 Alias channel strips.  ~330mb memory usage
    By comparison here is the usage by adding 3 brand new instance of the plugins. ~160mb memory usage
    By comparison it is using less memory by having 4 seperate instances of the plugin compared to using 3 alias's of the origional.  This doesn't make sense since the whole point of an alias is to save memory by only loading one instance of the plugin. 
    Anyone have any thoughts?
    Jon

    What's interesting is that if I, starting with a blank concert, add a Massive to a patch and then make an alias the memory is as you say. But if I make a duplicate of the inital patch and then make alias's of that the memory is lower.
    Are you seeing the same with the built-in plug-ins?

  • New X1 Carbon Adaptive Keyboard strip not switching

    I have a X1 Carbon Touch (Machine Type 20A7).
    It came with Windows 8.1 Pro but I flahsed my company image (Windows 7 x64 Enterprise) onto it.
    Everything works fine and I installed all drivers but the adaptive keyboard strip stays at F1 F2 .. keys and does not change no matter what. Pressing the Fn key does not switch it. I installed the On screen display and have the Adaptive Keyboard show in Control Panel and Dynamic Mode is also on. 
    The camera icon only flashes the screen once and does nothing. The Wifi icon does nothing and the Gear icon does nothing as well. Only the keyboard light icon and the regular F1 F2 keys work fine.. Any help is appreciated.
    EDIT:
    I noticed something funny.. While starting up or before logging into Windows (at Windows lock screen) I'm able to switch the adaptive keyboard strip... But once I'm logged into Windows it suddenly stops working. if I lock the screen again I'm able to switch the adaptive keyboard strips again...  What's going on?
    Solved!
    Go to Solution.

    When I have seen this in the past it is caused by not having the proper Power Management driver in the OS image.
    20A7 uses a new version of Power Management driver and if your IT guys didn't update the company Win7 image to include the new driver, then it's not going to work.
    http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS032258

  • ACS 5.3 Stripping Radius User Prefix

    Hi,
    I have configure my ACS 5.3 to strip the prefix of the radius username (Domain\weekwang) it received and I also configured my ACS as the External Radius Server. However, this does not seem to work. The authentication protocol that I am using is PEAP Mschap v2.
    I have read inside this forum that due to the fact that the radius username and password is transited inside the TLS tunnel of the PEAP MsChap v2 thus ACS is not able to do the stripping as it is not allow to touch anything inside the TLS tunnel. Please advice if I have get the concept correctly.
    Rgds

    Hi Steven,
    this is unfortunately correct. Using yourself as radius proxy is a great workaround to strip things.
    However, by design if you use an external database (LDAP or proxy radius server), the mschapv2 encryption of the password makes it impossible to authenticate the user since the tunnel is ended on the first ACS. It will work with PEAP-GTC but all mschapv2 methods will fail.
    Nicolas

  • Query Stripping not working properly when using variable in the report

    We have issue with WEBI document that have query stripping enable.
    Once the query stripping enabled there is no data return in the report.
    We have investigate on the problem, the query stripping function are notable to retrieve objects that indirectly used in the report
    as we have
    many variable in the reports.
    Ex.
    Var1 = object1 + object2
    Var2 = Object3 + Object4
    Var3 = Var1 + Var2
    Var4 = Object1 + Object2 + Object3 + Object4
    If we use only Var3 in the report, the object1,2,3,and 4 will not be
    retrieve.
    But if we are using Var4 in the report, the object1,2,3,and 4 will be
    retrieve properly.
    Please let me know is it a by-design behavior, if yes please share points on it

    Hi Amit,
    Thank you for response, however i already had alook on that VIdeo and it tells us about the basic enabling of query stripping.
    But my question is when we have a Variable in a report which is dependent on the other two variables it gives me #error so is it by design or not.
    Regards,
    Abhinav

  • How to remove the search bar in the tab strip?

    My latest firefox update includes a search bar IN THE TAB STRIP on top of the page (not the one in the navigation toolbar). It takes up too much space for the tabs and it is useless (since there is already a search bar below it in the navigation toolbar). How do I remove it?

    I was able to fix the problem in Safe Mode. It was an extension disguised as a Firefox original part, named itself as "firefox default tabs." I am not sure how I got it since I have not downloaded anything recently. My Kaspersky did not block anything as well. But, huge thanks!

  • Strip Tags From Interactive Report Download.

    Hi,
    Is it possible to strip html tags from a column during a CSV download on a interactive report?
    Basically i have a report where one of the columns is as follows
    453<font color="red"> | </font>0
    but in the download i want to strip out the tags so in the csv the column would show
    453 | 0
    Any ideas how i can do this using the standard csv download from the drop down menu?
    Thanks Andy

    Just wondering if any one had any thoughts on how I may be able to do this

  • Data not storing in Custom infotype build with tab strips

    Hi All,
    I have created one custom infotype 9030,
    With screen 2000.
    which is having tab strips, I have build the screens refering to p9030-zztest its not storing in database.
    where I am doing wrong...please let me know what should be done in this case.
    Regards
    Satish.v

    Hi,
    Checkout the below link :
    <link to blacklisted site removed by moderator>
    Shailaja Ainala.
    Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

Maybe you are looking for

  • Tabular Form - How to store in a column the User details (APP_USER)

    Hi all, I have let's say the following table: USER_COMMENTS( ID number primary key, COMMENT_TEXT varchar2(50), POSTED_BY_USER varchar2(50), DATE_POSTED date, UPDATED_BY_USER varchar2(50), DATE_UPDATED date) How do I, using a Tabular Form, get the USE

  • Can't get my PC to post HELP!!!!!!!!

    Hello, This is the first time I have every posted on this forum so take it easy on me. I just bought the K8Y Neo with 3400+, 2-10,000 PRM HDs, Gig of Munskin Level 2  (2-2-2-5), 9800 pro and some other stuff. Well I get it all together and go to turn

  • IMac trying to connect to another iMac

    my iMac is trying to connect to my other iMac on my network whenever I login to this imac how do I turn this off? Thanks for any help.

  • Error when Updating Ztable.....

    Hi, i am trying to update one ztable by uploading data from flat file. the data was uploading correctly into the internal table. But it was not inserting into the ztable and when the MANDT field was empty in the WA_RDATA i wrote the following logic t

  • Sharing iTunes with a Mac Mini OS X Mountain Lion Server

    I'm adding a Mac Mini OS X Mountain Lion Server to my home network. What options do I have to inetgrate iTunes into the server? Currently my master iTunes library is housed on a RAID on a Mac Pro, home sharing is on, and it interfaces over the networ