开发者

What's the meaning of "xsd:extension base = ....?

开发者 https://www.devze.com 2022-12-14 17:31 出处:网络
What\'s the meaning of? Does SubParameter type included all the information of MainParameter.type content?

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"开发者_如何学Python type="xsd:nonNegativeInteger"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>

Thank you.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消