Common-testutil is a set of helper classes for testing XSLT transformations, XSD validations and running XPATH expressions against XML.
XSLT
- Transforming XML with XSLT
- Supports defining the encoding for transformation
XSD
- Validating XML against XSD
XPATH
- Getting a single/multiple string values that matches given XPATH expression and input XML
- Getting a list of nodes that matches given XPATH expression and input XML
Other
- Reading classpath resources to InputStream
- Transforming InputStream to String and the other way around.
Get the dependency snippet from here.
For more detailed instructions how to use helper classes, please read the javadoc documentation. Javadoc documentation can be generated in the following way:
-
Clone this project
-
Run
mvn site
-
Open javadoc document in path: ```target/site/apidocs/index.html``
- Java 6 or higher
Copyright © 2016 Mystes Oy. Licensed under the Apache 2.0 License.