Re: Unordered content model in XSDL

Ian Stokes-Rees wrote:
> 
> I cannot seem to work out how you would create a schema that allowed any
> number of elements A, B, C, or D inside an element sample.  e.g.:

In this specific case, you can write:

<element name="sample">
  <complexType>
    <choice minOccurs="0" maxOccurs="unbounded">
      <element name="A" />
      <element name="B" />
      <element name="C" />
      <element name="D" />
    </choice>
  </complexType>
</element>

and this will do the trick.

Eric

> Ian.
> --
> ian.stokes-rees@decisionsoft.com          tel: +1865 203 192
> DecisionSoft Ltd.                         fax: +1865 203 194
> www.decisionsoft.com                      Oxford, UK, OX2 OEA

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

Received on Friday, 12 January 2001 11:54:25 UTC