aspose file tools*
The moose likes XML and Related Technologies and the fly likes How to output to an xml file after parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to output to an xml file after parsing" Watch "How to output to an xml file after parsing" New topic
Author

How to output to an xml file after parsing

David Chen
Ranch Hand

Joined: Jan 06, 2002
Posts: 57
Hi, there:
I'm using JAXP SAX to parse some huge xml files, during parsing each entry in xml file, I need to add some new fileds for each entry and write each entry back to an xml file (or stream) for further processing. So, what's the best way to write results to an xml file (or stream) during SAX parsing? really appreciated if anyone can give me any hint.
Thanks a lot in advance
David
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Your answer here:
http://www.coderanch.com/t/125579/XML/Updating-XML
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to output to an xml file after parsing