[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Conditional use="required"

From: <RPearse@360commerce.com>
Date: Thu, 31 Mar 2005 09:44:48 -0600
To: xmlschema-dev@w3.org
Message-ID: <OF8D994F71.8D97BF33-ON86256FD5.00560DD8-86256FD5.005698FC@360commerce.com>
xsd conditional required
If my instance document has a specific attribute set to a value, I would 
like the validator to force other given attributes as required. However, 
if they set it the attribute to another value, I would like another set of 
attributes treated as required.

How would I accomplish that in my schema?

Thanks,

Robert

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
Received on Thursday, 31 March 2005 15:45:59 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.