Saxon extensions to the W3C XSD specification
Parameterized validation: a new extension to XSD 1.1 is implemented to
allow schema validation to be parameterized. The saxon:param
element can be added to a schema to declare a parameter; the value of the
parameter can be referenced in XPath expressions, for example in assertions.
The parameter values can be set from the command line when running the
Validate
command, or from the s9api (Java) and Saxon.Api (.NET)
interfaces when validating from an application. It is also possible to
initiate parameterized validation using a new saxon:validate
extension function available in XSLT and XQuery.