Derivation by restriction from <any>

Is it possible to derive by restriction starting with an <any>?

e.g.

<complexType name="basetype">
  <sequence>
    <any maxOccurs="unbounded"/>
  </sequence>
</complexType>

<complexType name="newtype">
  <complexContent>
    <restriction base="my:basetype">
      <sequence>
        <element name="e1" type="string"/>
        <element name="e2" type="integer" minOccurs="0"/>
        <element name="e3" type="date" minOccurs="0"/>
      </sequence>    
    </restriction>
  </complexContent>
</complexType>

_____
Simon.Cox@csiro.au  CSIRO Exploration & Mining
26 Dick Perry Avenue, Kensington WA 6151
PO Box 1130, Bentley WA 6102  AUSTRALIA
T: +61 (8) 6436 8639  F: +61 (8) 6436 8555  C: +61 (4) 0330 2672
http://www.csiro.au/page.asp?type=resume&id=CoxSimon
 

Received on Tuesday, 5 March 2002 02:48:46 UTC