W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

Enforcing values of numbers

From: <martin.me.roberts@bt.com>
Date: Thu, 16 Nov 2000 09:04:30 -0000
Message-ID: <5104D4DBC598D211B5FE0000F8FE7EB20891292E@mbtlipnt02.btlabs.bt.co.uk>
To: www-xml-schema-comments@w3.org
Is it possible to enforce that two numbers are within ranges relative to
each other.
i.e.  two elements x and y, x must be less the y.

I also have a problem where I need to have a list of Telephone number
segments that can have leading zeros that must be formatted as follows:


How can I enforce mmmm to be greater then nnnn.

Lastly, I need to have a list of these telno segments that occur only once
in a list
<List>123 456 789</List>
Would be legal.
<List>123 456 123</List>
would not be.

Any Help much appreciated.

Martin Roberts
xml designer, BTexaCT
01473 643775
Received on Thursday, 16 November 2000 04:11:37 UTC

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