• Post Reply Bookmark Topic Watch Topic
  • New Topic

XML file creation

 
gangadhar karadi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am need of generating an XML file through java code. I want to use SAX or DOM. Please help me in this regard. I don't have much knowledge in xml. Provide me some links or some code


Thanks in advance
 
Tom Johnson
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You dont need to use SAX or DOM if you dont want to - you can just use a PrintStream to write the markup tags yourself. It would be much faster

/tom
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!