The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


XML and Java

Posted by Eugene Neymark on January 17, 2001 at 6:05 PM

I'm trying to edit an xml file using java's dom parser.
Well.. the setNodeValue(String) does set it but it doesn't seem to affect the actual xml file. replacing a child doesn't cut it either ;( I would hate to manualy recreate the file using stringbuffer or something..

How do I save my changes to XML file?
Is there a way ? I heard about java-xml editors, but I would rather do it myself since it's not a large scale thing.

Any advice is greatly appriciated!

  • Help REENA PATHAK February 16, 2001 at 11:49 PM (0)
  • Re:XML and Java Eoin Wren February 08, 2001 at 9:25 AM (1)
    • Thanks! Eugene Neymark February 23, 2001 at 12:50 PM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us