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

RE: mixing orderer and unordered elements

From: Mark Feblowitz <mfeblowitz@frictionless.com>
Date: Tue, 11 Jun 2002 11:14:12 -0400
Message-ID: <4DBDB4044ABED31183C000508BA0E97F040ABC58@fcpostal.frictionless.com>
To: "'Torsten Curdt'" <tcurdt@dff.st>, xmlschema-dev@w3.org

How about:

	<xs:element name="Root">
				<xs:element name="Seq1"/>
				<xs:element name="Seq2"/>
					<xs:choice maxOccurs="unbounded">

Mark Feblowitz                                   	
XML Architect
       [t]   617.715.7231                                     	
       [f]   617.495.0188
Frictionless Commerce Incorporated 	
       [e]  mfeblowitz@frictionless.com
       [w] http://www.frictionless.com
       [m] 400 Technology Square, 9th Floor
             Cambridge, MA 02139 
Open Applications Group Incorporated
       [e]  mfeblowitz@openapplications.org
       [w] http://www.openapplications.org 

 -----Original Message-----
From: 	Torsten Curdt [mailto:tcurdt@dff.st] 
Sent:	Tuesday, June 11, 2002 7:18 AM
To:	xmlschema-dev@w3.org
Subject:	mixing orderer and unordered elements

I am trying to have a mixture of ordered and unordered elements:


So what IMHO would make sense would be:

  <xs:element name="root">
          <xs:element name="seq1"/>
          <xs:element name="seq2"/>
          <xs:element name="unordered1"/>
          <xs:element name="unordered2"/>

But obviously this does not work.
What is the proposed way to express such a schema?

Any help appreciated!
Received on Tuesday, 11 June 2002 11:14:43 UTC

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