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



So Schematron's

<rule context="tr"><assert test="count(td) &lt;= ../table/@cols"/></rule>

is more complex than Water's

<defclass table cols=rows.<max_length/> rows='from_content' />
<defmethod max_length>
 <maximum rest=rows.<for_each> value.<length/> </> />
</defmethod>
<defclass table cols rows='from_content'
   _precond=<assert> .cols.<more_or_equal rows.<max_length/> </>
/>

?

Cheers
Rick Jelliffe

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