File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XPath

 
Jordi Monn´┐Ż
Greenhorn
Posts: 21
  • 0
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic