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


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>

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

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

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

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