W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2002

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

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 04 Nov 2002 09:41:48 +0000
To: "Kerz, Antony L" <Antony.Kerz@aetna.com> (by way of "C. M. Sperberg-McQueen" <cmsmcq@acm.org>)
Cc: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Message-ID: <f5b4raxwu1v.fsf@erasmus.inf.ed.ac.uk>

"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"/>

  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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:59 UTC