- From: Simon Cox <simon.cox@jrc.ec.europa.eu>
- Date: Fri, 28 Aug 2009 15:13:31 +0200
- To: "'Michael Kay'" <mike@saxonica.com>, "'youhaodeyi'" <youhaodeyi@gmail.com>, <xmlschema-dev@w3.org>
Else just use elements. Why does XML have the choice of element or attribute, anyway ;-) -------------------------------------------------------- Simon Cox European Commission, Joint Research Centre, Institute for Environment and Sustainability, Spatial Data Infrastructures Unit, TP 262 Via E. Fermi, 2749, I-21027 Ispra (VA), Italy Tel: +39 0332 78 3652 Fax: +39 0332 78 6325 mailto:simon.cox@jrc.ec.europa.eu http://ies.jrc.ec.europa.eu/simon-cox SDI Unit: http://sdi.jrc.ec.europa.eu/ IES Institute: http://ies.jrc.ec.europa.eu/ JRC: http://www.jrc.ec.europa.eu/ -------------------------------------------------------- -----Original Message----- From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On Behalf Of Michael Kay Sent: Friday, 28 August 2009 12:22 To: 'youhaodeyi'; xmlschema-dev@w3.org Subject: RE: XML Schema question: A <xs:choice> equivalent for attributes? It's a well-known limitation of XSD 1.0 that you can't do this. It's easy in XSD 1.1, but most processors don't support that yet. (Saxon does support a sufficient subset, however). Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
Received on Friday, 28 August 2009 13:16:38 UTC