- From: Eddie Robertsson <erobertsson@allette.com.au>
- Date: Thu, 29 Aug 2002 10:17:28 +1000
- To: Mathieu DUBOS <md.ais40@wanadoo.fr>
- CC: xmlschema-dev@w3.org
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 UTC