Is it possible to define a new construct (i.e. like "element", "attribute" ...) using XSchema that extends one of the old constructs? >From what i've been able to determine, this is done in the XSchema definition itself in the following way: <xs:complexType name="element" abstract="true" mixed="false"> <xs:complexContent> <xs:extension base="xs:annotated"> <xs:sequence> ... so it would seem that "element" extends "annotated". However if i try to extend "element" in an external .xsd file - using a similar style as above: <xs:complexType name="myElement" abstract="true" mixed="false"> <xs:complexContent> <xs:extension base="xs:element"> <xs:sequence> ... the validator always stops me with an "xs:element is an invalid value for the extension base". your help is appreciated. faizReceived on Wednesday, 24 April 2002 04:08:30 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:22 GMT