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.
From: Michael Kay [mailto:mike@saxonica.com] Sent: Friday, August 10, 2007 2:32 PM To: 'Azariah Jeyakumar'; xml-dev@lists.xml.org Subject: RE: [xml-dev] XML Schema and the Unique Particle Attribution (UPA) rule 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
...
|