Understanding anyType

Hi All,

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

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