Can't import content with '&' in XML element

I encountered the following error msg when importing the sample XML with '&' in content of an element(for example, a URL with '&' for parameters):
<?xml version = '1.0'?>
<ROW_List>
<ROW>
...... <D3_STRU_URL>http://www.ncbi.nlm.nih.gov/mmdbsrv.cgi?form=6&db=t&Dopt=s&uid=14422
</D3_STRU_URL>
Error msg said:
<Line 19, Column 78>: XML-0100: (Fatal Error) Expected ';'.
<Line 19, Column 78>: XML-0250: (Fatal Error) Missing entity 'db'.
<Line 19, Column 85>: XML-0100: (Fatal Error) Expected ';'.
<Line 19, Column 85>: XML-0250: (Fatal Error) Missing entity 'Dopt'.
<Line 19, Column 91>: XML-0100: (Fatal Error) Expected ';'.
<Line 19, Column 91>: XML-0250: (Fatal Error) Missing entity 'uid'.
It seems that '&' is used by XDK for a kind of special purpose.
Does anybody know how to handle the problem if I really want to import content with '&'?
Thanks a lot for your help.
Yihua

The "&" character is part of the reserved word content.
Just like: <, &, >, ", ' to use these in an XML file you should
use:
<     <
     >&#8220;     &quot;
&#8216;     &apos;
like: This is worth < $250K
will become: This is worth < $250K
Willem

Similar Messages

  • Can a video created with Adobe Premiere Elements 13 be converted to run on Adobe Premiere Elements 11?

    Can a video created with Adobe Premiere Elements 13 be converted to run (and be edited, etc.) on Adobe Premiere Elements 11?
    I have several hours invested in a video creation that I made with Premiere Elements 13, but now 13 is refusing to work properly (space bar and play button do not move the time line indicator forward).  Hopefully, I will get the problem solved, but in the meantime I must get this project completed and don't have time to start over.  So, I need to convert the work so that it can be completed with Premiere 11 which seems to work fine.
    Thanks, Dave

    Dave
    Is this an outdated thread? I thought that you had resolved the play button/space bar issue.
    Classically, you cannot open a project created in a later version in an earlier version. If you try, you get hit with "The project appears to be damaged, it cannot be opened." messaged. There was one rare and little known occasion when that was not the case. It involved Premiere Elements 10. So, that is not going to help us any here.
    If you still have the play button/space bar issue, can you get out of the 13 project by exporting it to file which you can import into a new Premiere Elements 11 project? If need be, I can suggest the details of that if you tell me the project setting for the 13 project.
    Please let us know the situation at this time.
    Thank you.
    ATR

  • Can I import flash files into Premiere Elements 8

    I want to use Google Motion charts in my video. Is this possible?

    thanks for that info. I wil probably purchase it for myself -- but I wanted to test it first.
    Date: Fri, 27 Aug 2010 10:41:01 -0600
    From: [email protected]
    To: [email protected]
    Subject: Can I import flash files into Premiere Elements 8
    One thing to point out, if you are doing this with the trial. While it is 100% (nothing crippled, or omitted), the trial WILL put a watermark on the finished Project. If you are doing this for work, be aware of that watermark. This http://forums.adobe.com/thread/433730?tstart=0 will give you some tips and background.
    Good luck, and I do not want you to be surprised and mad, when you get that watermark.
    Hunt
    >

  • Can I import a menu from Premiere elements 7(the Popcorn menu) into Encore CS4?

    Can I import a menu from Premiere elements 7(the Popcorn menu) into Encore CS4?
    If so how do I accomplish this act?
    Are their additional menus available for Encore CS4?

    The Menus in PrE are in Menu Sets. Each set is a Main Menu and a Scene Selection Menu. As PrE does the authoring semi-automatically, there are many "extras" in those PSD's, in the Button Layer Sets. All you have to do is make a Copy of your two Menus into a separate folder, so that you do not worry about messing up your Menu Sets in PrE. I'd do this in a new sub-folder in the Encore Library folder hierarchy. Then, Open each of these two Menus in PS. Go in and clean out all of the other languages for the Text and Button Text. Match the Layer Set/Button Layer Set names to those naming conventions in the Encore Library Menus, as you will not be getting any semi-automation. Where you do not need, say a Next Button, just eliminate that Button's Layer Set. Remember, PrE will do this semi-automatically, plus will give you the number of Scene Selection Menus, that your Project calls for - Encore will not. You must count the Scenes, divide by the number of Buttons on that Scene Selection Menu, and do Copies of that Menu, to accommodate what you require.
    As for Encore, it comes with a full compliment of Menus, Buttons, and other Assets, like EM files (Templates), with Motion and Audio Assets. All can be completely customized in PS. Note: in PSElements, I do not believe that you can create Layer Sets, so that will be a limitation. The full PS has no limitations, with the single exception that to change Button Sub-picture Highlight colors, this must be done in Encore's Menu Editor, unless it's been added to PS CS5.
    Good luck,
    Hunt
    PS - remember, work on Copies of the two Menus in the PrE Menu Set, and NOT on the originals, or you will be doing a Repair Install to get those back.

  • Can't open raw with lumix gx1 elements 9

    Hi Group,
    Windows 7, Elements 9   Panasonic lumix gx1
    I tried acr 6.5 but it won't open the lumix raw files.  One site I found said that this camera needs 6.6 but that update failed.  I don't won't to update to elements 10 as I see no reason to do this.  Does anyone know what or if it's possible to get these files to open in Elements 9?
    Thanks,
    Michael

    I finally downloaded the coverter.  I refuse to buy Elements 10 when there is nothing new that I need.  Maybe 11 when I see what it does but I doubt it.  The coverter works just fine. Michael
    Date: Sat, 18 Aug 2012 23:08:17 -0600
    From: [email protected]
    To: [email protected]
    Subject: can't open raw with lumix gx1 elements 9
        Re: can't open raw with lumix gx1 elements 9
        created by sjpix in Photoshop Elements - View the full discussion
    Actually, the problem is that Adobe seems to be wanting to force their users into purchasing otherwise unnecessary upgrades.  I, too, use Elements 9, and it does everything I need...except read the RAW files from my new GX-1. Yes, I can download the DNG converter (and I have), but that adds an extra, and unnecessary, step to processing.  Adobe's reputation for not respecting their customers isn't unwarranted.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4631806#4631806
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4631806#4631806. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Details: Numbers not translating an Excel document with column headings where the text is rotated counter clockwise 90 degrees with-in the cell.  Can you tell me how I can rotate the contents with-in a cell?

    Details: Numbers not translating an Excel document with column headings where the text is rotated counter clockwise 90 degrees with-in the cell.  Can you tell me how I can rotate the contents with-in a cell?

    Numbers does not have rotated text within cells.  You can place a text box over the cell that has rotated text but you cannot rotate text within a cell.

  • How can i import procedure with %ROWTYPE in Oracle 10.2 (paris) warehouse b

    Hello.
    How can i import procedure with %ROWTYPE in Oracle 10.2 (paris) warehouse builder?Everytime i try to do it i get an error message:
    API0411: Name should be an empty string.
    If i comment out %rowtype i can import it without problems.
    I have tried re-creating the procedure in OWB but once again i cannot find the %rowtype anywhere. the %type is there etc. I have tried to use Publish transformation / custom and cannot find %rowtypa there either.
    Thank you very much for your help

    Just in case you are having the same problem and cannot find any help anywhere - it is a bug in OWB.
    I got in touch with Oracle Support and it appears that it is possible to import procedure/package with %ROWTYPE inside it, but it is not possible if the %ROWTYPE is in the arguments.
    Just waiting for them to provide me with the bug ID.

  • My HDD crashed and I had to reinstall my boot and programmes on a new HDD.  I managed to recover my library.itl.  How can i import it with the new version of itunes? When i try imprt playlist, it replies that it is not a validly exported file.

    My HDD crashed and I had to reinstall my boot and programmes on a new HDD.  I managed to recover my library.itl.  How can i import it with the new version of itunes? When i try imprt playlist, it replies that it is not a validly exported file.

    It should be like the very first time you synced your phone with I-Tunes. It will notice you haven't synced before and just copy everything from your phone into I-Tunes. It shouldn't delete anything from the phone, at least it never has for me. It just puts a copy of everything into I-Tunes and even if you delete an app for example from your phone and you decide you want it back later, you can just go back into I-Tunes and copy it back over. Hope this helps.

  • How can I import pics with the title info?

    How can I import pics with the title info? Title info not importing, just the pics with original title info

    jfromcal wrote:
    the info is on the pics on the cd I'm importing to my iphoto library. I maybe using the wrong terminology. Basically naming or writing a description underneath for each individual photo.
    js
    exactly where is it - the file name? in the IPTC data? Actually "on the photo"?
    LN

  • How can we get the reference of XML element on frame as soon as frame is created in Document?

    Hi,
    When ever we copy any text/table cells from any frame, and paste it directly on page, A new Frame is created and the pasted text is placed inside that frame.
    Now to capture this frame creation, We have two possible solutions:
    1) Attach Observer on Document 'kDocBoss' on IID_IHIERARCHY_DOCUMENT and it will notify on frame creation in update function.
    2) Notification event on new story creation.
    Now, I need to perform some changes in the newly created table, for example:
    a)  Need to delete XML tags from newly created frame
    b)  Need to perform action on table cells if any in the created frame.
    But the problem is, when the event comes, I can access basic properties of frame like it's name, type etc, but it does not give me the
    XML element on frame or tables in frame until the event is com pleat.
    I know it's quite a specif requirement, but I guess many of you might have faced these kind of challenges, while processing the event.
    Does any one has any idea how I can get the reference of XML element on frame as soon as it is created?

    Hi Kapoor,
    please give also others a chance, and excuse that I get up late on vacation ;-)
    Anyway, I'd keep the story creation responder to recognize the copy, then combine it with an observer on the backing xml story to catch the associated XML element which is created there. Something like below:
    UIDRef xmlStoryRef = Utils<IXMLUtils>()->GetBackingStore(doc);
    InterfacePtr<ISubject> subject ( xmlStoryRef,IID_ISUBJECT );
    subject->AttachObserver(observer,IID_IIDXMLELEMENT,observer->GetAttachIID());

  • Matching JS XML object with Indd XML elements

    Hello Scripters,
    I need help ...
    I have some XML from a file read into a Javascript XML object.
    The object has the name "myXml", and contains:
        <book id="bk101">
            <author>Gambardella, Matthew</author>
            <title>XML Developer's Guide</title>
            <genre>Computer</genre>
            <imagecontainer href="C:\33415677.JPG"></imagecontainer>
            <price>44.95</price>
            <publish_date>2000-10-01</publish_date>
            <description><test>Sublevel</test>An in-depth look at creating applications with XML.</description>
        </book>
        ... and several other books
    I also have some XML in Indesign, wich in my JS is known as "myTplXmlRoot".
    myTplXmlRoot is defined as myTplXmlRoot = mySelection.associatedXMLElement;
    What would be the best approach for matching elements of the same name in the two xml structures, and where there is a match* replace the Indesign content**, with that from the object "myXml"?
    *) Match if same name, dont worry about place in hirachy
    **) content might be an image

    I've figured out the solution to my problem. For anyone
    interested, see me code below (the xml element names are different,
    but the concept is the same).

  • Can't import JPGs created in Photoshop Elements

    I get an error upon importing. Any ideas? I use Photoshop Elements 2.0

    Philippe, for future reference...
    --First thing to know and remember is this...Do not drag any images, folder of images into the iPhoto Library in the Finder. Images have to be imported into iPhoto within the application. Do not scan images and save them into the iPhoto Library folder in the Finder. Save them to another location such as the Pictures folder or even the desktop. You can then import them into iPhoto.
    --You have a folder of images on your hard drive and want to import them into iPhoto. Drag the folder of images into an open iPhoto Library window and the folder of photos will be copied into the library, resulting in a new roll with the name of the folder. You now have two copies of those photos, the ones in iPhoto's database and the ones on your desktop. You can keep the ones on your desktop that you just imported as backup or you can delete that folder.
    -- you scan a picture/pictures and save it in a folder. You cannot scan directly into iPhoto or the iPhoto Library folder in the Finder.
    You want all your photos in iPhoto so you import them into iPhoto.
    Now you have two copies of that picture/pictures, so you can delete the originals that were in the scanned folder and keep the one/ones that were imported into iPhoto.
    -- You download pictures from your camera into iPhoto.
    There is now one copy of each of the pictures.
    You want to change something about a picture you imported, such as
    cropping it or changing the size, or changing the orientation.
    Once you do that to a picture, you now have two copies of the picture
    in iPhoto, the original and the edited one. The edited one will be in the library organize view. The original is packed away in an Original folder in your iPhoto Library folder under the date of the roll. You can always revert to the original by control clicking on the photo and choose "revert to orginal" You will not have this choice if you used iPhoto Diet to get rid of the Originals.
    (a quick note on cropping within iPhoto...when you are in edit mode, you automatically will be in the crop mode with cross hairs to highlight the crop area. To finish cropping you must click the crop button and then go back to library view and your cropped picture will be there.
    3.You want to use Photoshop or another graphic program to edit a picture in your iPhoto library.
    You can open up prefs for iPhoto and choose "when double clicking on
    photo ..do" choose "other" and select Photoshop. Now you can edit all
    pictures in your iPhoto library in PhotoShop by double clicking. If you save the photo with the same name and as a flattened file it will be saved right into iPhoto and you will see the changes. If you don't want to save it into iPhoto then do a "save as" and save to the desktop. You will then have the original photo still in iPhoto and your new edited photo on the desktop.
    Or, with iPhoto open, you can drag a picture from the library window
    to your desktop (you see a + sign on the pic you are dragging). You now
    have two of the same picture, one in the iPhoto library and one on your desktop. You can open up the one on your desktop in any graphic program and work on it. The one in iPhoto stays the same. You can also share/export the picture/pictures to your desktop or folder to work on them or do batch processing, etc. You will still have the originals in your iPhoto Library.
    Or, you can open up the ~/Pictures/iPhoto Library/folders and option drag any
    picture out of the folder to your desktop. Notice that you will see a plus sign while dragging the photo. This is copying the file to your desktop
    I would advise anyone not to do this as they might forget to use the option key and drag the photo out. Next time you open iPhoto the photo will be missing.
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    <a href

  • How to modify the content of a xml element using java?

    Hi all,
    In my usecase I need to export some data from the database to the external file (Ms Word) using java.
    The data which I get from the database will be in the form of a xml file. In that xml file
    I got to modify the content of an attribute of a xml element in the java class. Kindly comeup with your help
    to achieve this.
    Thanks,
    Phanindra.
    Edited by: 887737 on Dec 5, 2011 5:52 AM

    Why don't you try Xerces2?Why don't you tell him to use the javax.xml APIs that are already built in? And that use Xerces2 under the hood? Instead of throwing out a suggestion that might lead to him adding another copy of Xerces into his application?
    @OP there are several techniques:
    - string replacement as suggested by jschell
    - XML parsing to a DOM and then use the DOM API
    - XSLT
    Which you should use depends on the complexity of your requirement.

  • Dealing with optional XML elements

    We have a template that will print certain tables based on whether or not an element is present in the incoming XML file.
    I have no problem displaying these tables conditionally on XML elements that are always present (i.e. I can say <?if:element='Y'?>) but I'm running into problems when I need to display a table/field based on whether or not an element is present.
    Also, when the element in question is not present, the template ignores my page break and prints the remainder of the document on the same page.
    Can anyone recommend a way to accomplish the above?
    Thanks.

    You should use <?if:element = ''?> or <?if:element != ''?>
    This should work also:
    <?if:text(element)?> or <?if:not(text(element))?>
    The condition is always true (false) when either the element is empty or does not
    exist. Let me know, if you need to differentiate between both (probably using name() instead of text will work in this case).
    If a pagebreak is inside the if statement than it is only shown when the condition is satisfied.
    Hope that helps,
    Klaus

  • Content-Type of XML-Element?

    This might be a very easy question:
    Is there a possibility to find out which kind of object a certain xml-element is?
    PageItem, Movie, Sound, Graphic, Story, Text, Cell or Table
    Thanks
    Huksy

    Alright, then I get the content of the element. But how do I know the certain element is a cell?
    This didn't work:
    if(myElement[i].xmlContent == Cell) {
    alert ("Found Cell!");
    H.

Maybe you are looking for