OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

From: "Mike Plusch" <mplusch@clearmethods.com>


> 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS