<xsd:simpleType name="complexType" id="st.complexType">
<xsd:annotation>
<xsd:documentation>
<h:div class="summary">A pair of floats representing a complex number.</h:div>
<h:div class="example" href="complex1.xml"/>
<h:div class="example" href="complex.bad.xml">
<h:p>This example is schema-invalid as it has three floats</h:p>
</h:div>
</xsd:documentation>
</xsd:annotation>
<xsd:restriction>
<xsd:simpleType>
<xsd:list itemType="xsd:double"/>
</xsd:simpleType>
<xsd:length value="2"/>
</xsd:restriction>
</xsd:simpleType> |