[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: choice attributeGroup

From: Michael Kay <mike@saxonica.com>
Date: Tue, 18 Oct 2005 09:19:10 +0100
To: "'Tomasz Olchawa'" <thm@parasoft.com.pl>, <xmlschema-dev@w3.org>
Message-ID: <E1ERmgr-0001ve-2r@lisa.w3.org>
tomasz olchawa

> 
> I have XML format like this:
>  
> ....
> <Property name="aaa" value="string"/>
> <Property name="iii" value="16"/>
> ....
>  

XML Schema isn't good at constraining such a structure. It relies on the
structure being dependent on the element name, or at any rate, the
element-name-in-context.

I'd be interested to know why you use this form, rather than the more
straightforward

<aaa>string</aaa>
<iii>16</iii>

Michael Kay
http://www.saxonica.com/
Received on Tuesday, 18 October 2005 08:19:24 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.