utilitiesDomain.xsd 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ============================================================= -->
  3. <!-- HEADER -->
  4. <!-- ============================================================= -->
  5. <!-- MODULE: DITA Utilities Domain -->
  6. <!-- VERSION: 1.1 -->
  7. <!-- DATE: November 2006 -->
  8. <!-- -->
  9. <!-- ============================================================= -->
  10. <!-- ============================================================= -->
  11. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  12. <!-- -->
  13. <!-- PURPOSE: Define elements and specialization attributes -->
  14. <!-- for Utilities Domain -->
  15. <!-- -->
  16. <!-- ORIGINAL CREATION DATE: -->
  17. <!-- March 2001 -->
  18. <!-- -->
  19. <!-- (C) Copyright OASIS-Open.org 2005, 2006 -->
  20. <!-- (C) Copyright IBM Corporation 2001, 2004. -->
  21. <!-- All Rights Reserved. -->
  22. <!-- ============================================================= -->
  23. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  24. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="urn:oasis:names:tc:dita:xsd:xml.xsd:1.1"/>
  25. <xs:group name="ut-d-fig">
  26. <xs:choice>
  27. <xs:element ref="imagemap"/>
  28. </xs:choice>
  29. </xs:group>
  30. <xs:group name="shape">
  31. <xs:choice>
  32. <xs:element ref="shape"/>
  33. </xs:choice>
  34. </xs:group>
  35. <xs:group name="coords">
  36. <xs:choice>
  37. <xs:element ref="coords"/>
  38. </xs:choice>
  39. </xs:group>
  40. <xs:group name="area">
  41. <xs:choice>
  42. <xs:element ref="area"/>
  43. </xs:choice>
  44. </xs:group>
  45. <xs:group name="imagemap">
  46. <xs:choice>
  47. <xs:element ref="imagemap"/>
  48. </xs:choice>
  49. </xs:group>
  50. <!-- Base form: Imagemap ((%image;), (%area;)+) -->
  51. <xs:element name="imagemap" >
  52. <xs:annotation>
  53. <xs:documentation>
  54. The imagemap element supports the basic functionality of the HTML <q>client-side</q> image map markup.
  55. </xs:documentation>
  56. </xs:annotation>
  57. <xs:complexType>
  58. <xs:complexContent>
  59. <xs:extension base="imagemap.class">
  60. <xs:attribute ref="class" default="+ topic/fig ut-d/imagemap "/>
  61. </xs:extension>
  62. </xs:complexContent>
  63. </xs:complexType>
  64. </xs:element>
  65. <xs:complexType name="imagemap.class">
  66. <xs:sequence>
  67. <xs:element ref="image"/>
  68. <xs:element ref="area" maxOccurs="unbounded"/>
  69. </xs:sequence>
  70. <xs:attributeGroup ref="univ-atts"/>
  71. <xs:attributeGroup ref="display-atts"/>
  72. <xs:attribute name="spectitle" type="xs:string"/>
  73. <xs:attribute name="outputclass" type="xs:string"/>
  74. <xs:attributeGroup ref="global-atts"/>
  75. </xs:complexType>
  76. <xs:element name="area" >
  77. <xs:annotation>
  78. <xs:documentation>
  79. The area element supports the basic functionality of the HTML image map markup.
  80. </xs:documentation>
  81. </xs:annotation>
  82. <xs:complexType>
  83. <xs:complexContent>
  84. <xs:extension base="area.class">
  85. <xs:attribute ref="class" default="+ topic/figgroup ut-d/area "/>
  86. </xs:extension>
  87. </xs:complexContent>
  88. </xs:complexType>
  89. </xs:element>
  90. <xs:complexType name="area.class">
  91. <xs:sequence>
  92. <xs:element ref="shape"/>
  93. <xs:element ref="coords"/>
  94. <xs:element ref="xref"/>
  95. </xs:sequence>
  96. <xs:attributeGroup ref="univ-atts"/>
  97. <xs:attribute name="outputclass" type="xs:string"/>
  98. <xs:attributeGroup ref="global-atts"/>
  99. </xs:complexType>
  100. <xs:element name="shape" >
  101. <xs:annotation>
  102. <xs:documentation>
  103. The shape element supports the basic functionality of the HTML <q>client-side</q> image map markup.
  104. </xs:documentation>
  105. </xs:annotation>
  106. <xs:complexType mixed="true">
  107. <xs:complexContent>
  108. <xs:extension base="shape.class">
  109. <xs:attribute ref="class" default="+ topic/keyword ut-d/shape "/>
  110. </xs:extension>
  111. </xs:complexContent>
  112. </xs:complexType>
  113. </xs:element>
  114. <xs:complexType name="shape.class" mixed="true">
  115. <xs:attribute name="keyref" type="xs:string"/>
  116. <xs:attributeGroup ref="univ-atts-translate-no"/>
  117. <xs:attribute name="outputclass" type="xs:string"/>
  118. <xs:attributeGroup ref="global-atts"/>
  119. </xs:complexType>
  120. <xs:element name="coords" >
  121. <xs:annotation>
  122. <xs:documentation>
  123. The coords element supports the basic functionality of the HTML <q>client-side</q> image map markup.
  124. </xs:documentation>
  125. </xs:annotation>
  126. <xs:complexType mixed="true">
  127. <xs:complexContent>
  128. <xs:extension base="coords.class">
  129. <xs:attribute ref="class" default="+ topic/ph ut-d/coords "/>
  130. </xs:extension>
  131. </xs:complexContent>
  132. </xs:complexType>
  133. </xs:element>
  134. <xs:complexType name="coords.class" mixed="true">
  135. <xs:choice minOccurs="0" maxOccurs="unbounded">
  136. <xs:group ref="words.cnt"/>
  137. </xs:choice>
  138. <xs:attribute name="keyref" type="xs:string"/>
  139. <xs:attributeGroup ref="univ-atts-translate-no"/>
  140. <xs:attribute name="outputclass" type="xs:string"/>
  141. <xs:attributeGroup ref="global-atts"/>
  142. </xs:complexType>
  143. </xs:schema>