mathml.xsd 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is part of DocBook V5.0
  4. Copyright 1992-2008 HaL Computer Systems, Inc.,
  5. O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
  6. Corporation, Norman Walsh, Sun Microsystems, Inc., and the
  7. Organization for the Advancement of Structured Information
  8. Standards (OASIS).
  9. Release: $Id: mathml.rnc 8931 2010-10-20 13:29:20Z nwalsh $
  10. Permission to use, copy, modify and distribute the DocBook schema
  11. and its accompanying documentation for any purpose and without fee
  12. is hereby granted in perpetuity, provided that the above copyright
  13. notice and this paragraph appear in all copies. The copyright
  14. holders make no representation about the suitability of the schema
  15. for any purpose. It is provided "as is" without expressed or implied
  16. warranty.
  17. If you modify the DocBook schema in any way, label your schema as a
  18. variant of DocBook. See the reference documentation
  19. (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
  20. for more information.
  21. Please direct all questions, bug reports, or suggestions for changes
  22. to the docbook@lists.oasis-open.org mailing list. For more
  23. information, see http://www.oasis-open.org/docbook/.
  24. ======================================================================
  25. -->
  26. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  27. <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
  28. <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
  29. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
  30. <!-- ============================================================ -->
  31. <xs:attributeGroup name="db.imagedata.mathml.role.attribute">
  32. <xs:attribute name="role" use="required"/>
  33. </xs:attributeGroup>
  34. <xs:attributeGroup name="db.imagedata.mathml.attlist">
  35. <xs:attribute name="role"/>
  36. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  37. <xs:attribute name="format">
  38. <xs:simpleType>
  39. <xs:restriction base="xs:token">
  40. <xs:enumeration value="mathml">
  41. <xs:annotation>
  42. <xs:documentation>Specifies MathML.</xs:documentation>
  43. </xs:annotation>
  44. </xs:enumeration>
  45. </xs:restriction>
  46. </xs:simpleType>
  47. </xs:attribute>
  48. <xs:attribute name="align" type="db:db.imagedata.align.enumeration"/>
  49. <xs:attribute name="valign" type="db:db.imagedata.valign.enumeration"/>
  50. <xs:attribute name="width"/>
  51. <xs:attribute name="contentwidth"/>
  52. <xs:attribute name="scalefit" type="db:db.imagedata.scalefit.enumeration"/>
  53. <xs:attribute name="scale" type="xs:positiveInteger"/>
  54. <xs:attribute name="depth"/>
  55. <xs:attribute name="contentdepth"/>
  56. </xs:attributeGroup>
  57. <xs:group name="db.imagedata.mathml.info">
  58. <xs:sequence>
  59. <xs:group ref="db:db._info.title.forbidden"/>
  60. </xs:sequence>
  61. </xs:group>
  62. <xs:group name="db.imagedata.mathml">
  63. <xs:sequence>
  64. <xs:element name="imagedata">
  65. <xs:complexType>
  66. <xs:sequence>
  67. <xs:group ref="db:db.imagedata.mathml.info"/>
  68. <xs:group maxOccurs="unbounded" ref="dbs:db._any.mml"/>
  69. </xs:sequence>
  70. <xs:attributeGroup ref="db:db.imagedata.mathml.attlist"/>
  71. </xs:complexType>
  72. </xs:element>
  73. </xs:sequence>
  74. </xs:group>
  75. <!-- ============================================================ -->
  76. </xs:schema>