[
Lists Home |
Date Index |
Thread 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[3] 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.[1]
2) How to define other query language bindings than the default.[2]
For example, to use XSLT2 (e.g. on a PSVI) or perhaps SPARQL (on RDF).
Cheers
Rick Jelliffe
[1] http://www.schematron.com/iso/P25.html#GEN38
[2] http://www.schematron.com/iso/P9.html#T44
[3] http://www.schematron.com/iso/P5.html#T4
|