- From: Rahul Srivastava <rsrivastava@firstam.com>
- Date: Fri, 4 Apr 2003 12:08:29 +0530
- To: xmlschema-dev@w3.org
Hi Sam, > Sam wrote... > > Is there a way to restrict the value of one attribute > based on the value of another attribute. Yes, there is a way, but not in XMLSchema. You can embed Schematron rules with XMLSchema to do such validation based on values. Cheers, Rahul. > > 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 Friday, 4 April 2003 01:28:19 UTC