xpath2.0-helper

A useful tool to navigate an XML dataset from Java code.

The navigation through the XML dataset is given as an XPath2.0 expression.

The result ist returned to the Java program.

You can find it on Maven Central at http://central.sonatype.com/artifact/de.elrebo/xpath2.0-helper

The class XmlDocumentHelper prepares an XML document from the file system and stores it as an XdmNode in the class.

The class XPathHelper compiles an XPath (optionally with namespaces and variables). The values of the variables are set and the XPath is evaluated against an XdmNode containing the XML document.

The latest version is 1.1: Now with Javadoc documentation.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *