W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2001

Restricting values for a group of elements

From: Fossberg, Margrethe <FossbergM@logica.com>
Date: Thu, 6 Sep 2001 07:14:09 -0400 (EDT)
Message-ID: <EE7F688BDF48D411945A009027D3B61BDB2635@flowers.aethos.co.uk>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi List!

I am still trying to learn the basics of XML Schema, and I haven't been able
to work out whether there is a way of restricting a group of values in an
instance document i.e. I would like, say, elements a, b, and c to have a min
value of 0 and max value of 15, but the total sum of a, b and c cannot
exceed 30.  Is this possible at all?

Many thanks in advance,
Maggie Fossberg

ps. please can you send the reply directly to me as I have not subscribed to
the list yet.
Received on Thursday, 6 September 2001 08:14:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:52 UTC