616 bytes added
, 17:44, 21 May 2012
This [[Module Library|XQuery Module]] contains functions to perform validations against [http://www.w3.org/XML/Schema XML Schema] and [http://en.wikipedia.org/wiki/Document_Type_Declaration Document Type Declarations] .
All functions are preceded by the <code>validation:</code> prefix, which is linked to the statically declared <code>http://basex.org/modules/validation</code> namespace.
==validate:xsd==
==validate:dtd==
==Examples==
'''Example 1: Basic validation against a document containing a schema definition'''
'''Query:'''
<pre class="brush:xquery">
validate:xsd($doc)
</pre>
[[Category:XQuery]]