Next in thread → Next in month →

Re: [xml-dev] How to redesign W3C XML Schema (Water Contract)

From
Rick Jelliffe <>
To
xml-dev <>
Date
2003-02-19T16:02:53Z
ID
<00ec01c2d830$5c5a0b30$>
Thread
Re: [xml-dev] How to redesign W3C XML Schema (Water Contract)
From: "Mike Plusch" <>


> 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
Next in thread → Next in month →