Lists Home |
Date Index |
David Carlisle wrote:
> No, he meant XSLT1, specifically that you can use the document()
> function which is defined as an XPath function by XSLT not in the
> Xpath rec.
That is correct. The normative references are to XPath 1 and XSLT 1.
The XPath 1 productions run out at the function-name stage: so the
grammar of the assertion tests is XPath 1 production 14, but the
functions allowed include the XSLT 1 functions.
The Schematron draft standard also includes details on:
1) How to incorporate Schematron's assert, rule, or pattern
element into other schema languages. For example, if
XML Schemas WG wanted to add assertions to XML Schemas
(e.g. in appinfo), the hook is there from the Schematron side.
2) How to define other query language bindings than the default.
For example, to use XSLT2 (e.g. on a PSVI) or perhaps SPARQL (on RDF).