Schematron
Schematron is a simple Java API to apply a schematron onto a collections of XML documents.
You can explore the API documentation here:
http://pageseeder.org/apidocs/schematron/latest/index.html
Usage
To validate a file with the Schematron API:
ValidatorFactory factory = new ValidatorFactory(); Validator validator = factory.newValidator(new File("yourschema.sch")); SchematronResult result = validator.validate(new File("yourfile.xml"));
Created on , last edited on