<xsd:complexType name="mapping.type" mixed="true">
<xsd:annotation>
<xsd:documentation>http://www.w3.org/TR/InkML/#mappingElement</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:sequence>
<xsd:sequence>
<xsd:element name="bind" type="inkml:bind.type" minOccurs="0" maxOccurs="unbounded"/>
<xsd:choice minOccurs="0">
<xsd:element name="table" type="inkml:table.type"/>
<xsd:element name="affine" type="inkml:affine.type"/>
<xsd:element ref="mathml:math"/>
</xsd:choice>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="mapping" type="inkml:mapping.type" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:sequence>
</xsd:choice>
<xsd:attribute ref="xml:id"/>
<xsd:attribute name="type" default="unknown">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="identity"/>
<xsd:enumeration value="product"/>
<xsd:enumeration value="table"/>
<xsd:enumeration value="affine"/>
<xsd:enumeration value="mathml"/>
<xsd:enumeration value="unknown"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="mappingRef" type="xsd:anyURI"/>
</xsd:complexType> |