File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XPath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XPath" Watch "XPath" New topic


Jordi Monn�

Joined: Feb 28, 2006
Posts: 21

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
I agree. Here's the link:
subject: XPath
jQuery in Action, 3rd edition