W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

attribute derivation

From: <xiaofeng.wang@ps.ge.com>
Date: Fri, 18 Jan 2002 10:43:22 -0500
Message-ID: <DB5C7DE93F66D3119CAD0008C7E64031037623B2@flmlbx01psge.geips.ge.com>
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">
      <element name ="E1" type="string"/>
      <element name ="E1" type="string"/>
   <attribute name = "A1" type="string"/>

<complexType name="derived">
      <extension base="base">
             <element name="E3" type="string"/>

Will "A1" be an attribute of "derived"?
What is the general way to treat an attribute in a derivation case?

Thanks a lot

Xiaofeng Wang
GE Network Solutions
1990 West NASA Blvd, Melbourne Florida, 32904
Voice: (321)435-5458, Fax: (321)435-5652
Received on Friday, 18 January 2002 10:44:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC