This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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
 
It's not a secret anymore!