- From: <xiaofeng.wang@ps.ge.com>
- Date: Fri, 18 Jan 2002 10:43:22 -0500
- To: xmlschema-dev@w3.org
If an attribute is declared in the base type within the <complexType> tag,
will it become an attribute of a derived type? For example:
<complexType name="base">
<sequence>
<element name ="E1" type="string"/>
<element name ="E1" type="string"/>
</sequence>
<attribute name = "A1" type="string"/>
</complexType>
<complexType name="derived">
<complexContent>
<extension base="base">
<sequence>
<element name="E3" type="string"/>
</sequence>
</extension>
<complextContent>
</complexType>
Will "A1" be an attribute of "derived"?
What is the general way to treat an attribute in a derivation case?
Thanks a lot
Xiaofeng
Xiaofeng Wang
GE Network Solutions
1990 West NASA Blvd, Melbourne Florida, 32904
Voice: (321)435-5458, Fax: (321)435-5652
xiaofeng.wang@ps.ge.com
Received on Friday, 18 January 2002 10:44:12 UTC