W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

Constraint within XML-Schema

From: Uwe Zeise <uwezeise@yahoo.de>
Date: Tue, 8 May 2001 19:26:32 +0200
Message-ID: <000c01c0d7e4$07875980$37b450d9@compaq>
To: <www-xml-schema-comments@w3.org>
Hi folks,

is it somehow possible to make sure that the amount of a certain element is equal to an attribute value ?

E.g. If the amount element is '4' there should be exactly 4 value elements within values. Is there a possibility
to realize this constraint in XML-Schema ?

<values amount="4"> 

Thanks in advance,


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Tuesday, 8 May 2001 13:26:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:52 UTC