W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

restrict attribute value

From: Sam <sam101_nj@yahoo.com>
Date: Thu, 3 Apr 2003 07:46:24 -0800 (PST)
Message-ID: <20030403154624.53025.qmail@web41212.mail.yahoo.com>
To: xmlschema-dev@w3.org

Is there a way to restrict the value of one attribute
based on the value of another attribute.

For instance I have an attribute called Type and
another attribute called Units.  

If type is equal to distance, then units can be
ft/meters.
However if Type is equal to time, then units can be 
min/sec.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
Received on Thursday, 3 April 2003 10:51:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT