2009-12-21 7 views
12

Co to ma znaczyć Czy typ SubParameter zawierało wszystkie informacje o zawartości MainParameter.type i atrybut MyIndex dołączonyCo to ma znaczyć „xsd:?. Bazy extension = ....

<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> 

Dziękuję.

Odpowiedz

17

Jesteś deklarując typ, który rozciąga MainParameter.type.

innymi słowy, nowy typ „SubParameter.type” będzie mieć wszystkie cechy i strukturę MainParameter ale z dodatkowym MyInde x atrybut.