anyType question again

I was looking for the alternative of DTD type:
<!ENTITY % GeneralType "ANY">

for XML-Schema. I made the following type:

	<xs:complexType name="GeneralType" mixed="true">
		<xs:complexContent>
			<xs:restriction base="xs:anyType"/>
		</xs:complexContent>
	</xs:complexType>

Is it really an alternative or do I miss something ?

Thanks,
Andras

Received on Wednesday, 15 January 2003 03:35:03 UTC