my dog learned polymorphism*
The moose likes XML and Related Technologies and the fly likes Unable to write back the content to the XML file after removing an element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Unable to write back the content to the XML file after removing an element" Watch "Unable to write back the content to the XML file after removing an element" New topic
Author

Unable to write back the content to the XML file after removing an element

buntha Choudhary
Ranch Hand

Joined: Jul 03, 2009
Posts: 136

I am removing an element from an XML file , but I am unable to write back the content in XML . So XML is not getting modified.

XML File Name - E-mail.xml


I am removing Subject from the above XML .

Java Code

i
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Where do you write it back?
buntha Choudhary
Ranch Hand

Joined: Jul 03, 2009
Posts: 136

Ya I got to know my mistake. I ressolved the bug.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to write back the content to the XML file after removing an element