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

xml:all

From: <andrew.curry@pa.press.net>
Date: Thu, 5 Sep 2002 07:24:19 -0400 (EDT)
Message-ID: <012c01c254ce$8a828180$3d87fd0a@howden.press.net>
To: <xmlschema-dev@w3.org>




 Hi,
I am currently trying to write part of a schema to allow a number of
elements with multiple occurances in any order.
What i would idealy like to do is:
<xs:all>
      <xs:element ref="mls:Score" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="mls:Goal" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="mls:Shot" minOccurs="0" maxOccurs="unbounded"/>
</xs:all>

Sadly xs:all must have maxOcurres of 1 so this is not possible.
Does anyone know of any other possible solutions/work arounds?

Thanks
Andrew Curry
Received on Thursday, 5 September 2002 09:23:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT