- From: Michael Kay <mike@saxonica.com>
- Date: Sat, 10 Mar 2007 11:10:40 -0000
- To: "'Swayam Vemuri -X \(swvemuri - WIPRO at Cisco\)'" <swvemuri@cisco.com>
- Cc: <xmlschema-dev@w3.org>
Received on Saturday, 10 March 2007 11:10:57 UTC
> On second thoughts does XML Schema 1.0 does not support any form of conditional processing of xsd at all There are two kinds of conditional processing you might be able to exploit: (a) xs:choice, which allows your content model to depend on the first child element that is found - but only on its name, not on its value. And you can only do this with elements, not with attributes (b) xsi:type, which allows your content model to depend on the value of an xsi:type attribute in the instance document. Michael Kay http://www.saxonica.com/
Received on Saturday, 10 March 2007 11:10:57 UTC