|
* {{Code|validate:xsd('doc.xml', 'doc.dtd')}} validates the document {{Code|doc.xml}} against the specified DTD file {{Code|doc.dtd}}.
* The following example validates a an invalid document against a DTD , which is specified as string:
<pre class="brush:xquery">
try {