Copied  using ImportNode,  copied document is not opening in xml editor

Hi
I am copying portion of the the xml into anothe xml file .
using
Element lElement = (Element) lNewFeedDocument.importNode(lIncomingFeedDocument.getElementsByTagName(
                        "content").item(0), true);
            lNewFeedDocument.appendChild(lElement);
lNewFile = new File(lDestinationFile);
            lNewFileOutStrearm = new FileOutputStream(lNewFile);
            lNewFilePW = new PrintWriter(lNewFileOutStrearm);
            lTransformerFactory = TransformerFactory.newInstance();
            lTranfrmNewDocToFile = lTransformerFactory.newTransformer();
            lTranfrmNewDocToFile.transform(new DOMSource(lNewFeedDocument),
                new StreamResult(lNewFilePW))i am able to see the initial xml content in xml editior after copying due to some character i am not able to see it in xml editor. it is dipalying An invalid character was found in text content in browser on accessing the copied content using xml editor.
i noticed that this is happending when the initial content is having something like 1235-7654 i removed all the '-' from be part of numerices then it works fine. if it is part of charachater nothing restricting. input xml content is wrapped with CDATA. pls give me suggitions what could be the workaround for it.

Hi!
I have explored the XSL file and found the template used for displaying the article content, which you can see under.
Is it possible to look into the "urTxtSTd" to check the style sheet settings?  Or is it a way to use another stylesheet for displaying links inside this "Body" element?
<xsl:if test="((Body!=''))">
          <span class="urTxtStd">
            <a>
              <xsl:if test="$accessibilitymode='true'">
                <xsl:attribute name="tabindex">1392</xsl:attribute>
              </xsl:if>
              <span style="color:#474c4c;">
                <xsl:call-template name="outputvalue">
                  <xsl:with-param select="Body" name="value"/>
                </xsl:call-template>
              </span>
            </a>
          </span>
</xsl:if>
Regards,
Asle

Similar Messages

  • One of my pages documents will not open. the others will

    Hello, wondering if anyone has any answers here. One  (only one) of my pages document will not open. The message says `the document couldn`t be opened` and there is a little yellow triangle with an exclamation mark in the middle of it,  next to the message. I used this document this morning, no problem. Also, I checked other pages documents and there is no problem only with one.
    Kind regards,
    Thank you

    Hi italiancooking,
    This may help. In Finder, right click (or control click) on the document icon and Open With > Preview. If this works, copy the content and paste it into a new blank Pages document.
    Regards,
    Ian.

  • My pages documents will not open?

    My pages documents will not open and I am not happy at all?

    Hi italiancooking,
    This may help. In Finder, right click (or control click) on the document icon and Open With > Preview. If this works, copy the content and paste it into a new blank Pages document.
    Regards,
    Ian.

  • In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    Hi Ron,
    Highlight one in the Finder & do as Get Info on it, what does open With say to use?
    What did you update 10.8.2 from exactly? 10.6.8 maybe?

  • A Pages document will not open.  Others do, but are slow.  Need this document!

    A Pages document will not open and there is a screen annoucement it will not open.  Other Pages documents do open, but are slow.  The one that will not open now was also very slow.  My last visit to the Apple store the Genius Bar said I needed a new HD.  Is this the final straw and it's time to take it in and let them replace it?  Under warrently.

    Do we know what document won't open?
    Do we also know what version of Pages you are talking about, on what MacBook Pro?
    Something tells me you are not using Mac OSX (10.7), the only thing you have noted.
    If your Mac is running slow, the usual reason is your hard drive is too full. OSX likes 10-15% free space.
    Peter

  • Right protected Microsoft Office 2013 office documents can not open

    Hello,
    I am facing a problem with opening right protected Office 2013 documents. I can right protect Office 2013 documents with Windows 2008R2 ADRMS servers but when i email it to another user who is having Office 2013, document will not open and "configuring
    your computer for information rights management" dialog box appear for long time without any change.  I have attached the screen shot aswell.
    Kindly help me to rectify this issue ASAP
    Dilshan

    I have seen something similar when your RMS pipeline URL is using SSL but the client opening the document does not have internet access.
    What happens is the client tries to get a CRL from crl.Microsoft.com and eventually times out.
    Does disabling CRL checking in IE change the behavior?

  • Page documents will not open.

    Suddenly some of my page documents will not open. I get this message: You need a newer version of Pages to open this document. I have the newest version and it has been opening these documents just fine previously

    Sounds like you have both Pages 5 and Pages '09 on your Mac and are alternately opening them.
    When Pages 5 was installed, your iWork '09 software was moved to your Applications/iWork folder.
    Pages '09 can not open Pages 5 .pages files.
    Don't toss Pages '09 however as it has vastly more features and is less buggy than Pages 5.
    Peter

  • Numbers documents will not open it says "will not open during numbers update"

    My numbers documents will not open.  I keep getting a message telling me my documents will not open while numbers is updating.  I have the latest numbers update already downloaded.

    open the application "Launchpad":
    then click, and hold, on the icon for "Numbers", once the icons start to shake, click the "X" in the top left to remove.  Now click anywhere on the desktop to exit this remove/adjust mode.
    Open the App Store  (menu item " > App Store…")
    now locate and install numbers

  • A file which was created and saved using Adobe Photoshop CS6 is not opening anymore HELP

    Hi, please help with my issue which is as follows:
    A file which was created and saved using Adobe Photoshop CS6 is not opening anymore and sends a message saying that the file is not compatible.
    What should I do, I have invested so much in that file and I dont think i will be able to do it all over again.

    That's why people do incremental saves and use backups... You could try to open the file in an image viewer like IrfanView and see which parts are salvagable, but that's as good as it gets most likely...
    Mylenium

  • Cloud documents will not open today?

    Local Pages documents on my Mac will open as normal. Cloud documents will not open today. They worked yesterday.
    Does anyone else have this problem? And did you find a solution?
    Many thanks
    Iain

    OK, I'm replying to my own post.
    I have two documents saved to the Cloud which will not open on my iMac. When I tried to duplicate one in the "open" window, Mac OS brought up a warning that the document was being modified. When I checked it on my iPad the document did not exist. So something went wrong during a sync at some point. On the iPad I could duplicate the document and now I can edit the duplicate on my iMac.
    Summary: at the moment it looks like sync problems with specfic documents and not a general problem.

  • The problem is that I select as a pdf document does not open completely but leaves the mail. Also I can not open more even Ibook other documents already saved

    the problem is that I select as a pdf document does not open completely but leaves the mail. Also I can not open more even Ibook other documents already saved

    http://www.microsoft.com/mac/support
    http://answers.microsoft.com/en-us/mac/forum/macword?auth=1
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/microsoft-wor d-for-mac-2011-will-not-open-error/ecc42616-6f49-40bb-b8f5-e21c711ea359

  • HT4283 My document will not open on Pages on my iPad.  What do I do?

    I typed a paper on Pages on my iPad and now it will not open. I have tried being online, offline, shutting down, making a copy, accessing it through my phone. I need that paper and do not know how to get to it from anywhere else.
    HELP!!!

    Hi solism,
    Are you working with a WebDav service or is this a document that may be in your iCloud account?
    The article below will help you retrieve the document if you have it saved in iCloud:
    iCloud: About using iWork for iOS and iCloud
    How can I access documents on my iOS device on my computer?
    In OS X Mountain Lion, you can also access your iWork documents directly from iCloud within the applications themselves. Choose Open from the File menu in an iWork application, then click the iCloud button in the top-left corner of the document browser to view all documents for that application that you have stored in iCloud.
    On any Mac or PC, you can also visit icloud.com/iwork to download your iWork for iOS documents in iWork ’09, Microsoft Office, or PDF format (at icloud.com/iwork). You can also upload your iWork ’09 or Microsoft Office documents from your Mac or PC by dragging and dropping them to icloud.com/iwork; the documents will automatically appear on your iOS devices you've set up with iCloud.
    Note: You cannot download a document from iCloud.com in Microsoft Office or PDF format to your Mac or Windows computer until the document has been previously opened on an iOS device. Learn more about Documents in the Cloud.
    I hope this helps ...
    - Judy

  • Pages PDF documents does not open in another computer?

    Pages documents which I export to PDF does not open in another computer (Mac or PC).
    my computer is macbookpro and earlier everything worked fine.
    Pages is 4.05 version.
    Thanks!

    There is a bug in OSX 10.6.7 which damages pdf files using PostScript OpenType fonts.
    You will need to go back to the earlier OSX 10.6.6 by reinstalling from your Installer DVDs.
    Or only use TrueType OpenType fonts. Get info in FontBook to find out which is which.
    Peter

  • MS Excel document as attachment to a PDF document does not open with a hot spot/link in the PDF

    Hi, I have attached an excel file to a pdf document. I need to open this document in a new window by clicking an icon/hotspot in the pdf document to which it it attached.
    I am using the Link Tool to create a hot spot around the icon in the pdf. In the next window I am using the Go to Page view option, opening the attachment to its first page and clicking the "set link" button.
    For some reason, clicking the hotspot does not open the excel document as it does another pdf document.
    Need help resolving this issue with attached documents.

    Select a particular download file. Press COMMAND-I to open the Get Info window.  In the Open With section choose the desired default application from the dropdown menu then click on the Change All button.
    For .dmg files use DiskImageMounter (System/Library/CoreServices/ folder.)
    For .zip files use Archiver - same folder as above - or download TheArchiver - MacUpdate or CNET Downloads.

  • Pages document will not open unless I buy a newer version

    I wrote a document only a few days ago using Pages v. 4.3. Now, when I try to open the document, it says that I need to buy a newer version of Pages if I want to open the document. How do I get access to my document? This is the only item that I have found so far that I can't open with my current version of Pages (the same version that I wrote the document with).

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store.
    Peter

Maybe you are looking for