poi/xmlbeans/test/cases/xbean/scomp/attribute/GlobalAttrId.xsd
2018-02-16 22:41:27 +00:00

29 lines
834 B
XML

<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://xbean/scomp/attribute/GlobalAttrId"
targetNamespace="http://xbean/scomp/attribute/GlobalAttrId"
>
<xsd:attribute name="id1" type="xsd:ID"/>
<xsd:attribute name="id2" type="xsd:ID"/>
<xsd:complexType name="GlobalAttrIdT">
<xsd:attribute ref="id1"/>
</xsd:complexType>
<xsd:complexType name="IDRefT">
<xsd:attribute name="idref1" type="xsd:IDREF"/>
</xsd:complexType>
<xsd:element name="GlobalAttrId">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="IDElement" type="GlobalAttrIdT"/>
<xsd:element name="IDRefElement" type="IDRefT"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>