Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XPath

 
Jordi Monn´┐Ż
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

With JDOM I can read a XML document and delete some nodes and finally write this document into file.xml.

With XPath, I can read a XML and then apply an expresion that get some nodes that I can delete. My problem is how to write that document (without deleted nodes) into file.xml

Any examples?

Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic