Retreiving the original content of an extended type [message #37043] |
Tue, 03 February 2004 08:22 |
Eclipse User |
|
|
|
Originally posted by: niemaz.xrce.xerox.com
Hi,
Is it possible to get the original content model of an extended type?
I thought so and I tried using getTypes methods but it does not seem to
work.
Is there another way to do it?
Next is a simple example I'm working on.
Thanx,
--mike
<xs:complexType name="Address">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="street" type="xs:string"/>
<xs:element name="city" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="UKAddress">
<xs:complexContent>
<xs:extension base="Address">
<xs:sequence>
<xs:element name="country" type="xs:string"/>
</xs:sequence>
<xs:attribute name="exportCode" type="xs:positiveInteger" fixed="1"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04331 seconds