Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - RE: [xml-dev] XML Schema and the Unique Particle Attribution (UPA) rule [Thread Next] RE: [xml-dev] XML Schema and the Unique Particle Attribution (UPA) ruleTo: "Azariah Jeyakumar" <ajeyakumar@----.--->, <xml-dev@-----.---.---> Date: 8/10/2007 9:39:00 PM 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@s...] Sent: Friday, August 10, 2007 2:32 PM To: 'Azariah Jeyakumar'; xml-dev@l... 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 http://www.saxonica.com/ ... | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
