Hi Mathiue, > I'm looking for making a double inheritance and don't manage doing so. > What I would like is that an element inherits attributes from a first > type defined in a xsd file, and also inherits attributes from a second > type defined in a second xsd file. > > I tried kind of things like : > > <xs:complexType name="Type0"> > <xs:complexContent> > <xs:extension base="dt1:DataType1"> > <xs:extension base="dt2:DataType2"/> > <xs:attribute name="comment" type="xs:string" use="required"/> > </xs:extension> > </xs:complexContent> > </xs:complexType> > > but errors occur when i parse a xml instance with xerces-j. > > Someone could help me?? There's currently no way to do multiple inhertance in W3C XML Schema. Cheers, /Eddie > > thx a lot > > ---- > Mathieu DUBOS > > > >Received on Wednesday, 28 August 2002 20:17:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT