A RESTful browser for eXist Java-Based Function Modules


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

validation:jaxp-report($instance as item(), $enable-grammar-cache as xs:boolean) node()
Validate document by parsing $instance. Optionally grammar caching can be enabled. Supported grammars types are '.xsd' and '.dtd'. An XML report is returned.
$instanceThe document referenced as xs:anyURI, a node (element or result of fn:doc()) or as a Java file object.
$enable-grammar-cacheSet the flag to true() to enable grammar caching.

Returns a validation report.

validation:jaxp-report($instance as item(), $enable-grammar-cache as xs:boolean, $catalogs as item()*) node()
Validate document by parsing $instance. Optionally grammar caching can be enabled and an XML catalog can be specified. Supported grammars types are '.xsd' and '.dtd'. An XML report is returned.
$instanceThe document referenced as xs:anyURI, a node (element or result of fn:doc()) or as a Java file object.
$enable-grammar-cacheSet the flag to true() to enable grammar caching.
$catalogsThe catalogs referenced as xs:anyURI's.

Returns a validation report.
Return to list of all modules