[
Lists Home |
Date Index |
Thread Index
]
> In Schematron, your constraint can be expressed by validating
> testForeignKey.xml with
>
> <pattern>
> <rule context="foreignKey">
> <assert test="document('primary-key.xml')//primaryKey=current()">
> The foreignKey element should contain a value for which there
> is a correspondinh primaryKey element in the TestKey.xml file.
> </assert>
> </rule>
> </pattern>
>
Has the use of the document function been standardised now? I remembered it used
to just be allowed in the xslt implementation. Which other implementations, if
any, support it?
|