W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2002

Arbitrary Set of Elements (xsd)

From: Jan Mendling <mendling@web.de>
Date: Tue, 17 Dec 2002 17:58:46 +0100
Message-Id: <200212171658.gBHGwkX10526@mailgate5.cinetic.de>
To: xmlschema-dev@w3.org

Hello Schema-experts,
I have a question about grouping of elements. 
Consider definitions of three different kind of elements, i.e. < e1/>,< e2/>, and < e3/> as instances of a schema
How can I define a grouping (in XML Schema) that allows any sequence of these elements with any possible amount of occurrences, like:

< e1/>
< e2/>
< e1/>
< e3/>
< e1/>
.... or any other sequence of these three elements?

I tried using the all-statement, but it is not allowed in a sequence-tag.
Thank you in advance for your support.

Best regards, Jan Mendling 
Jetzt PREMIERE START bestellen und das Geschenk liegt noch pünktlich 
unter dem Weihnachtsbaum ! http://premiere.web.de/?mc=99997
Received on Tuesday, 17 December 2002 12:07:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:59 UTC