A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/validation
A module for XML validation and grammars functions.

validation:jing-report($instance as item(), $grammar as item()) node()
Validate document using 'Jing'. Supported grammar documents extensions are ".xsd" ".rng" ".rnc" ".sch" and ".nvdl". Based on functionality provided by 'com.thaiopensource.validate.ValidationDriver'. An XML report is returned.
$instanceThe document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object.
$grammarThe grammar document as node (element of returned by fn:doc()), xs:anyURI, returned by util:binary-doc() or as a Java file object.

Returns a validation report.
Return to list of all modules