Skip to content

Common-testutil is a set of helper classes for testing XSLT transformations, XSD validations and running XPATH expressions against XML.

License

Notifications You must be signed in to change notification settings

Unikie/common-testutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

common-testutil

Build status

Common-testutil is a set of helper classes for testing XSLT transformations, XSD validations and running XPATH expressions against XML.

Features

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.

Usage

1. Add as a Maven/Gradle/Ivy dependency to your project

Get the dependency snippet from here.

2. Use it

For more detailed instructions how to use helper classes, please read the javadoc documentation. Javadoc documentation can be generated in the following way:

  1. Clone this project

  2. Run mvn site

  3. Open javadoc document in path: ```target/site/apidocs/index.html``

Technical Requirements

  • Java 6 or higher

Copyright © 2016 Mystes Oy. Licensed under the Apache 2.0 License.

About

Common-testutil is a set of helper classes for testing XSLT transformations, XSD validations and running XPATH expressions against XML.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published