Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to output to an xml file after parsing

 
David Chen
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your answer here:
http://www.coderanch.com/t/125579/XML/Updating-XML
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic