diff options
Diffstat (limited to 'schema/mathml2/common/common-attribs.xsd')
-rw-r--r-- | schema/mathml2/common/common-attribs.xsd | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/schema/mathml2/common/common-attribs.xsd b/schema/mathml2/common/common-attribs.xsd new file mode 100644 index 000000000000..33698b8f86d6 --- /dev/null +++ b/schema/mathml2/common/common-attribs.xsd @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns="http://www.w3.org/1998/Math/MathML" + xmlns:xlink="http://www.w3.org/1999/xlink" + targetNamespace="http://www.w3.org/1998/Math/MathML" + elementFormDefault="qualified" +> + +<xs:annotation> + <xs:documentation> + This is the common attributes module for MathML. + Author: Stéphane Dalmas, INRIA. + </xs:documentation> +</xs:annotation> + + +<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink-href.xsd"/> +<xs:import/> <!-- import any foreign namespace --> + + +<!-- The type of "class" is from the XHTML modularization with Schema + document --> +<xs:attributeGroup name="Common.attrib"> + <xs:attribute name="class" type="xs:NMTOKENS"/> + <xs:attribute name="style" type="xs:string"/> + <xs:attribute name="xref" type="xs:IDREF"/> + <xs:attribute name="id" type="xs:ID"/> + <xs:attribute ref="xlink:href"/> + <!-- allow attributes from foreign namespaces, and don't check them --> + <xs:anyAttribute namespace="##other" processContents="skip"/> +</xs:attributeGroup> + +</xs:schema> +<!-- + Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute + of Technology, Institut National de Recherche en Informatique et en + Automatique, Keio University). All Rights Reserved. See + http://www.w3.org/Consortium/Legal/. + --> |