Changes

Jump to navigation Jump to search
30 bytes added ,  16:58, 9 March 2023
no edit summary
| width='120' | '''Signature'''
|<pre>validate:xsd(
$input as item(), $schema as item()? := (), $features options as map(*) ? := ()map { }
) as empty-sequence()</pre>
|- valign="top"
| '''Summary'''
|Validates the XML {{Code|$input}} document against a {{Code|$schema}}. The supported {{Code|$featuresoptions}} are:
* {{Code|cache}}: Generated schemas are cached and reused.
* All other options are handled as features are assigned and passed on to the XSLT processor.
|- valign="top"
| '''Errors'''
| width='120' | '''Signature'''
|<pre>validate:xsd-info(
$input as item(), $schema as item()? := (), $features options as map(*) ? := ()map { }
) as xs:string*</pre>
|- valign="top"
| '''Summary'''
|Validates the XML {{Code|$input}} document against a {{Code|$schema}} and returns warnings, errors and fatal errors in a string sequence. See {{Function||validate:xsd}} for more information of the {{Code|$featuresoptions}} parameter.
|- valign="top"
| '''Errors'''
$input as item(),
$schema as xs:string? := (),
$features options as map(*) := ()map { }
) as element(report)</pre>
|- valign="top"
| '''Summary'''
|Validates the XML {{Code|$input}} document against a {{Code|$schema}} and returns warnings, errors and fatal errors as XML. See {{Function||validate:xsd}} for more information of the {{Code|$featuresoptions}} parameter.
|- valign="top"
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu