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 can i print an xml document through dom api

 
v bodani
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i print an XML document actually represented by a Document object in org.w3c.dom api?
 
fei long
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you explain in detail?
 
fei long
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, do you mean by print out xml document using org.w3c.dom api? Did you see the Xerces package? there are few examples about printing xml by giving document object(Actually using recursion).
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the search at the top of the page and look for - serialize dom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic