RE: choice attributeGroup

> 
> 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 UTC