File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XPath" Watch "XPath" New topic
Author

XPath

Jordi Monn�
Greenhorn

Joined: Feb 28, 2006
Posts: 21
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
 
Consider Paul's rocket mass heater.
 
subject: XPath
 
Similar Threads
XML vs XPATH
JAVA & XPath
XPATH Question
validate a xpath against XSD
xslt and xpath for simple file process