- From: "Klotz, Leigh" <Leigh.Klotz@x...>
- To: "Azariah Jeyakumar" <ajeyakumar@t...>, <xml-dev@l...>
- Date: Fri, 10 Aug 2007 14:38:36 -0700
|
Or use RNG ;-)
http://books.xmlschemata.org/relaxng/relax-CHP-7-SECT-2.html [Erik
van der Vlist, why you should]
http://www.simonstl.com/articles/sanity/relaxngSchema.html [Simon
St. Laurent, why you can't]
http://www.xml.com/pub/a/2004/02/11/relaxtron.html [Eddie
Robertsson, what it doesn't do]
Leigh.
This is a feature often requested in XML Schema called
"cooccurrence constraints". It can't be done in XML Schema 1.0, unless you are
prepared to change your <type> element into an xsi:type attribute. It will
be possible in XML Schema 1.1, but that's still in the
future.
Michael Kay
http://www.saxonica.com/
...
|
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|