- From: Arigapudi, Shyam <Shyam.Arigapudi@ugs.com>
- Date: Mon, 21 Jan 2002 18:55:06 -0500 (EST)
- To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi, I would like to know if this is possible: Have a master type that is abstract. However, it needs to make sure that some element definitions are present in the derived items (pure virtual if you will)? <xsd:complexType name="ObjBaseType" abstract="true"> <xsd:all> <!-- enforce the existence of these elements in derived classes /substiture or whatever--> ???? </xsd:all> <xsd:attribute name="unit" type="cimf:ValidUnits" use="required"/> <xsd:attribute name="xform" type="cimf:XformType" default="1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0"/> </xsd:complexType> Regards, Shyam Arigapudi www.eds.com shyam@ugs.com
Received on Monday, 21 January 2002 21:00:00 UTC