| '''Examples'''
|
* <code>validate:xsd('doc.xml', 'doc.xsd')</code> validates the document {{MonoCode|doc.xm}} against the specified schema {{MonoCode|doc.xsd}}.
* The following example demonstrates how a document can be validated against a schema without resorting to local or remote URIs:
<pre class="brush:xquery">