- From: Michael Kay <mike@saxonica.com>
- Date: Thu, 31 Mar 2005 16:50:11 +0100
- To: <RPearse@360commerce.com>, <xmlschema-dev@w3.org>
- Message-ID: <E1DH1w3-00061J-To@frink.w3.org>
Short answer: you can't. For this kind of validation,look to a different technogy, such as Schematron. Michael Kay http://www.saxonica.com/ _____ From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On Behalf Of RPearse@360commerce.com Sent: 31 March 2005 16:45 To: xmlschema-dev@w3.org Subject: Conditional use="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:50:19 UTC