tags:

views:

143

answers:

1

Hello.

What's the meaning of ? Does SubParameter type included all the information of MainParameter.type content? and attribute MyIndex attached.

  <xsd:complexType name="SubParameter.type">
    <xsd:complexContent>
      <xsd:extension base="MainParameter.type">
        <xsd:attribute name="MyIndex" type="xsd:nonNegativeInteger"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>

Thank you.

+1  A: 

You are declaring a type that extends MainParameter.type.

In other words, your new type "SubParameter.type" will have all the attributes and structure of MainParameter but with an additional MyIndex attribute.

Paolo