OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Arbitrary grouping

[ Lists Home | Date Index | Thread Index ]

Hunsberger, Peter wrote:
> I'm new to XML schema and am confused on how I would create a schema that
> introduces a set of arbitrary grouping for a set of elements.  For example:
> [...]
> would all be considered valid.  Additional constraints are that any number
> of groups can occur, but the elements a through f can each only occur a
> maximum of once inside the x element whether they are children of a group or
> not.  

for once, this might a case where something was easier to do with an 

		<a group="1" />
		<b group="1"/>
		<d group="2" />
		<e group="2" />
		<f group="2" />

Bill de hÓra


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS