- From: Rick Jelliffe <ricko@topologi.com>
- Date: Tue, 18 Jun 2002 19:50:35 +1000
- To: <www-tag@w3.org>
Sorry, the example in my previous post missed an attribute on the <ns> element:
<schema xmlns="http://www.ascc.net/xml/schematron">
<title>Example</title>
<ns prefix="x" url="http://www.eg.org/x" />
<pattern>
<rule context="x:a">
<assert test="y:b">An a must contain one or more b's</assert>
</rule>
</pattern>
</schema>
Cheers
Rick Jelliffe
Received on Tuesday, 18 June 2002 05:38:06 UTC