[Home] [By Thread] [By Date] [Recent Entries]


From: "Mike Plusch" <mplusch@c...>


> Correct, the Schematron example is more complex.  For example, you
> didn't include the definition for 'tr' or the definition for 'table'.
> 
> The closest comparable for your snipet:
> <rule context="tr"><assert test="count(td) &lt;="../table/@cols"/></rule>

??? In Schematron we are not defining elements but patterns.
We don't need any definition for table.

Cheers
Rick Jelliffe

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member