W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2003

Understanding anyType

From: Horti, Andras <andras.horti@joanneum.at>
Date: Mon, 13 Jan 2003 09:45:35 +0100
Message-ID: <A6C43780FFDFFF44803C1E5DB704CE22528B22@iis-mail.joanneum.ac.at>
To: xmlschema-dev@w3.org

Hi All,

I have an understanding problem with anyType. If I have the following type:
  <xsd:complexType name="General">
      <xsd:restriction base="xsd:anyType" />

and define an element with it:

  <xsd:element name="SomeElement" type="General"/>

Is it a general type to assign anything to it using xsi:type or it is always
an empty element ?

Best Regards
Andras Horti
Received on Monday, 13 January 2003 03:45:45 UTC

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