Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Support fo Abstract Type on Schema Import

Status
Not open for further replies.

SteveT101

Technical User
Oct 6, 2005
1
GB
Hi, a Q from a non-Mercator user - but customer who is!
Does anyone know if the XML Schema Importer supports abstract types? I have 2 schemas; Schema A declares an abstract type:
<xs:element name="Document" type="DocumentType"/>
<xs:complexType name="DocumentType" abstract="true"> etc

and Schema 2 imports schema A, and declares a concrete use:
<xs:complexType name="ConcreteDoc">
<xs:complexContent>
<xs:extension base="cmn:DocumentType">
(Note schema A is in a different namespace to B)

XML Instances thus look like:
<cmn:Document xsi:type="ConcreteDoc">

If not, can a type tree be created by some other route relatively easily?
Thanks
--Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top