poi/xmlbeans/test/cases/xbean/scomp/substGroup/Abstract.xsd

23 lines
830 B
XML
Raw Normal View History

<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://xbean/scomp/substGroup/Abstract"
targetNamespace="http://xbean/scomp/substGroup/Abstract"
xmlns:base="http://xbean/scomp/substGroup/Deep"
elementFormDefault="qualified"
>
<xsd:import namespace="http://xbean/scomp/substGroup/Deep"
schemaLocation="Deep.xsd"/>
<xsd:complexType name="beachUmbrellaT">
<xsd:complexContent>
<xsd:extension base="base:productType">
<xsd:attribute name="diameter" type="xsd:float"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="umbrella" substitutionGroup="base:product" abstract="true"/>
<xsd:element name="beachumbrella" type="beachUmbrellaT" substitutionGroup="umbrella"/>
</xsd:schema>