Re: "xs:all" with minOccurs="0" and maxOccurs="unbounded"

"Kerz, Antony L" <Antony.Kerz@aetna.com> (by way of "C. M. Sperberg-McQueen" <cmsmcq@acm.org>) writes:

> Hi,
> 
> I am trying to identify a schema for the following structure where,
> "struct" elements contain one or more "struct" and/or "field" elements
> in any order.

<xs:choice minOccurs='0' maxOccurs='unbounded'>
 <xs:element ref="struct"/>
 <xs:element ref="field"/>
</xs:choice>

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Monday, 4 November 2002 04:41:54 UTC