How do i get new xml back from edited DOM

i parsed XML to get the DOM and then i edited the dom now how do i get the new XML back from the edited DOM ?????????
thanx
sam

It's not nearly as straight-forward as it should be, but check out the javax.xml.transform package (assuming you're using JDK 1.4).
I think Xerces has simpler methods for doing this, but I wrote my own serializer class ages ago, and tend to use that.
RObin

Similar Messages

  • My computer broke down and now i bought a new  Mac,  how can i get my music back from iTunes??

    my computer broke down and now i bought a new  Mac,  how can i get my music back from iTunes??

    Unless you subscribe to iTunes Match , Apple does not keep a backup of your iTunes library.  Even then it is not the library as it exists on your computer, but some version of the media, and only media files, not playlists.  Even then not all media are definitely available since anything removed from the iTunes Store since you purchased it is not available for re-download.
    FAQ: Why iTunes Match Can Not Be Used as a Backup - https://discussions.apple.com/docs/DOC-4112
    Using Match as a backup for iTunes - https://discussions.apple.com/message/17039436#17039436
    In your case it sounds like you will have to obtain non iTunes purchases from their original source or a backup you may have made at some time in the past.

  • My old computer crashed and needed replaced, how do i get my library back from the old one and put on the new one?i had xp now windows 7

    my old computer crashed, it was xp i replaced it with windows 7 how do i get my library back from the old computer and put on the new one?

    iDevices are not backup devices.
    Use the backup of the computer to put everything back.

  • Ok I can't seem to get my apps,music, or photos from my iCloud from when I first setup iCloud on a iPhone 4. How do I get my things back from the iCloud and get them to my new device?

    Ok I can't seem to get my apps,music, or photos from my iCloud from when I first setup iCloud on a iPhone 4. How do I get my things back from the iCloud and get them to my new device?

    If you no longer have the phone or have any Backup of it at all, you can re-download your apps and your content from the iTunes Store by logging into your Apple ID at settings> iTunes & App Store. Unfortunately you can no longer recover the data that was associated with those apps.
    So far as your photos go, you can recover any photos that were in photo stream and taken less than 30 days ago by logging in with your Apple ID to settings> iCloud> photos. Unfortunately you will be unable to recover any photos from your camera roll.

  • HT202853 I have many project made in move HD that are not updating to the new iMovie 10 on my new iMac.  Why is this not working as stated?  How do I get my projects back from backup after old iMac crashed?

    I have many projects made in imovie HD that are not updating to iMovie 10 on my new iMac.  Why is this not working as stated on the article HT202853?  How do I get my projects back from backup after old iMac crashed?

    According to:
    Update projects and events from previous versions of iMovie in iMovie (2014) - Apple Support
    you can update from iMovie versions 7, 8 and 9, but iMovie HD is iMovie 6.
    Maybe you can update in two steps, first from iMovie 6 to iMovie 7, 8 or 9 then to iMovie 10. 
    Geoff.

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How can I get specific files back from my Time Machine backup?

    I wanted to make a fresh install on my MacBook Pro, in order to only have Java 8 instead of any older Java versions. So far so good. But now I want to get specific files/libraries from my external backup (USB):
    One Parallels Virtual Machine
    My old mail
    My iPhoto Library
    I don't need any settings for these, since I can easily configure them again.
    I already used the Migration Assistent to restore all apps.
    How can I get specific data back from the backup without restoring all stuff that I don't want anymore?
    I'm now working on a new account on the fresh system, called 'Admin'. My old account was called 'Hans' (or 'hans') and I'd like to create such an account again for all my tasks.
    Hans

    How can I get specific data back from the backup without restoring all stuff that I don't want anymore?
    I'm now working on a new account on the fresh system, called 'Admin'. My old account was called 'Hans' (or 'hans') and I'd like to create such an account again for all my tasks.
    You will want to add the same User account(s) which hold the data you want to restore. So you will want to add a User account of 'Hans or hans'. Check your Time Machine back up drive to see how the User account is labeled (Hans or hans). Navigate to the Users folder and see how it's labeled.
    You can then use your Time Machine back up drive and navigate to the User Home folder to copy its data over (e.g. contents from Documents, Downloads, Music, Pictures, etc.). Repeat for other Users.

  • HT201272 how can i get my ringtones back from itones or iclould

    how can i get my ringtones back from itones or iclould i was backup by by both new phone

    Do you have copies of them in the Tones section of your computer's iTunes library or on your backup of your downloads/library so that you can sync them back to your phone? If you haven't then you could try contacting iTunes Support and see if they will grant you a redownload

  • How do you get your money back from a charge you never even made on the app store?

    How do you get your money back from a charge you never even made on the app store?

    Contact iTunes.
    How to report an issue with Your iTunes Store purchase

  • How can I get the data back from my game

    How can I get the data back from minecraft if I deleted the app and bought with a different Apple ID

    No, they are tied to the ID that purchased them, and cannot be transferred to anyone else.

  • How do i get my contacts back from io5 update on my iphone 4

    how do i get my contacts back from io5 update on my iphone 4

    Although contacts are included with the iPhone's backup, contacts are designed to be synced with a supported address book app on your computer and/or over the air with an email account that supports it, and there are several that do which are free.
    Not a good idea to depend on the iPhone or any cell phone alone for contacts which can be lost or stolen or damaged beyond repair. If the contacts are available elsewhere as designed and intended, it doesn't matter if there is a problem with your iPhone's backup in regards to this data.

  • TS4009 How do I get my money back from an iCluod storage plan upgrade that I don't want?

    How do I get my money back from an iCluod storage plan upgrade that I don't want?

    You can cancel an iCloud storage upgrade within 15 days of buying:
    Apple have made this as difficult as possible. However two posters have managed to achieve this. Elizellen was able to use Express Lane to get a refund:
    https://discussions.apple.com/message/19323996#19323996
    However if you use Express Lane may find you cannot proceed without entering a hardware serial number which is still eligible for AppleCare.  julia22 managed to find a way round that by phoning them - please see this post:
    https://discussions.apple.com/message/16968425#16968425
    it gives the USA number - if you don't live there you will have to find an equivalent number from the 'Contact Us' link at bottom right of this page.
    If it is more than 15 days since you purchased the storage you cannot cancel it for a refund; you can downgrade your plan as from your next renewal date. Please see
    http://help.apple.com/icloud/#mmd602084a
    and expand 'Downgrade your storage for the next plan year'.

  • HT204088 how do I get my money back from an apllication I did't buy?

    How do I get my money back from an aplication I didn't buy?

    Try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How do you get old emails back from the cloud storage

    how do you get old emails back from the cloud storage

    How did you get them into cloud storage?

  • HOW DO i GET MY MONEY BACK FROM A TV SHOW THAT WON'T PLAY!!!

    How do I get my money back from a tv show that is downloaded and paid for but WILL NOT PLAY.  It skips through entire episode in 20 SECONDS!  I WOULD APPRECIATE AN ANSWER.

    I am waiting for an answer! This is ridiculous!

Maybe you are looking for