gui.xsd 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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: pool.rnc 7466 2007-09-27 14:03:55Z 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. <xs:group name="db.keycombination.contentmodel">
  31. <xs:choice>
  32. <xs:element ref="db:mousebutton"/>
  33. <xs:choice>
  34. <xs:element ref="db:keycap"/>
  35. <xs:element ref="db:keycombo"/>
  36. <xs:element ref="db:keysym"/>
  37. </xs:choice>
  38. </xs:choice>
  39. </xs:group>
  40. <xs:group name="db.gui.inlines">
  41. <xs:choice>
  42. <xs:element ref="db:guiicon"/>
  43. <xs:element ref="db:guibutton"/>
  44. <xs:element ref="db:guimenuitem"/>
  45. <xs:element ref="db:guimenu"/>
  46. <xs:element ref="db:guisubmenu"/>
  47. <xs:element ref="db:guilabel"/>
  48. <xs:element ref="db:menuchoice"/>
  49. <xs:element ref="db:mousebutton"/>
  50. </xs:choice>
  51. </xs:group>
  52. <!-- ====================================================================== -->
  53. <xs:attributeGroup name="db.guibutton.role.attribute">
  54. <xs:attribute name="role" use="required"/>
  55. </xs:attributeGroup>
  56. <xs:attributeGroup name="db.guibutton.attlist">
  57. <xs:attribute name="role"/>
  58. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  59. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  60. </xs:attributeGroup>
  61. <xs:element name="guibutton">
  62. <xs:complexType mixed="true">
  63. <xs:choice minOccurs="0" maxOccurs="unbounded">
  64. <xs:group ref="db:db._text"/>
  65. <xs:element ref="db:accel"/>
  66. <xs:element ref="db:superscript"/>
  67. <xs:element ref="db:subscript"/>
  68. </xs:choice>
  69. <xs:attributeGroup ref="db:db.guibutton.attlist"/>
  70. </xs:complexType>
  71. </xs:element>
  72. <!-- ====================================================================== -->
  73. <xs:attributeGroup name="db.guiicon.role.attribute">
  74. <xs:attribute name="role" use="required"/>
  75. </xs:attributeGroup>
  76. <xs:attributeGroup name="db.guiicon.attlist">
  77. <xs:attribute name="role"/>
  78. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  79. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  80. </xs:attributeGroup>
  81. <xs:element name="guiicon">
  82. <xs:complexType mixed="true">
  83. <xs:choice minOccurs="0" maxOccurs="unbounded">
  84. <xs:group ref="db:db._text"/>
  85. <xs:element ref="db:accel"/>
  86. <xs:element ref="db:superscript"/>
  87. <xs:element ref="db:subscript"/>
  88. </xs:choice>
  89. <xs:attributeGroup ref="db:db.guiicon.attlist"/>
  90. </xs:complexType>
  91. </xs:element>
  92. <!-- ====================================================================== -->
  93. <xs:attributeGroup name="db.guilabel.role.attribute">
  94. <xs:attribute name="role" use="required"/>
  95. </xs:attributeGroup>
  96. <xs:attributeGroup name="db.guilabel.attlist">
  97. <xs:attribute name="role"/>
  98. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  99. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  100. </xs:attributeGroup>
  101. <xs:element name="guilabel">
  102. <xs:complexType mixed="true">
  103. <xs:choice minOccurs="0" maxOccurs="unbounded">
  104. <xs:group ref="db:db._text"/>
  105. <xs:element ref="db:accel"/>
  106. <xs:element ref="db:superscript"/>
  107. <xs:element ref="db:subscript"/>
  108. </xs:choice>
  109. <xs:attributeGroup ref="db:db.guilabel.attlist"/>
  110. </xs:complexType>
  111. </xs:element>
  112. <!-- ====================================================================== -->
  113. <xs:attributeGroup name="db.guimenu.role.attribute">
  114. <xs:attribute name="role" use="required"/>
  115. </xs:attributeGroup>
  116. <xs:attributeGroup name="db.guimenu.attlist">
  117. <xs:attribute name="role"/>
  118. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  119. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  120. </xs:attributeGroup>
  121. <xs:element name="guimenu">
  122. <xs:complexType mixed="true">
  123. <xs:choice minOccurs="0" maxOccurs="unbounded">
  124. <xs:group ref="db:db._text"/>
  125. <xs:element ref="db:accel"/>
  126. <xs:element ref="db:superscript"/>
  127. <xs:element ref="db:subscript"/>
  128. </xs:choice>
  129. <xs:attributeGroup ref="db:db.guimenu.attlist"/>
  130. </xs:complexType>
  131. </xs:element>
  132. <!-- ====================================================================== -->
  133. <xs:attributeGroup name="db.guimenuitem.role.attribute">
  134. <xs:attribute name="role" use="required"/>
  135. </xs:attributeGroup>
  136. <xs:attributeGroup name="db.guimenuitem.attlist">
  137. <xs:attribute name="role"/>
  138. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  139. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  140. </xs:attributeGroup>
  141. <xs:element name="guimenuitem">
  142. <xs:complexType mixed="true">
  143. <xs:choice minOccurs="0" maxOccurs="unbounded">
  144. <xs:group ref="db:db._text"/>
  145. <xs:element ref="db:accel"/>
  146. <xs:element ref="db:superscript"/>
  147. <xs:element ref="db:subscript"/>
  148. </xs:choice>
  149. <xs:attributeGroup ref="db:db.guimenuitem.attlist"/>
  150. </xs:complexType>
  151. </xs:element>
  152. <!-- ====================================================================== -->
  153. <xs:attributeGroup name="db.guisubmenu.role.attribute">
  154. <xs:attribute name="role" use="required"/>
  155. </xs:attributeGroup>
  156. <xs:attributeGroup name="db.guisubmenu.attlist">
  157. <xs:attribute name="role"/>
  158. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  159. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  160. </xs:attributeGroup>
  161. <xs:element name="guisubmenu">
  162. <xs:complexType mixed="true">
  163. <xs:choice minOccurs="0" maxOccurs="unbounded">
  164. <xs:group ref="db:db._text"/>
  165. <xs:element ref="db:accel"/>
  166. <xs:element ref="db:superscript"/>
  167. <xs:element ref="db:subscript"/>
  168. </xs:choice>
  169. <xs:attributeGroup ref="db:db.guisubmenu.attlist"/>
  170. </xs:complexType>
  171. </xs:element>
  172. <!-- ====================================================================== -->
  173. <xs:attributeGroup name="db.menuchoice.role.attribute">
  174. <xs:attribute name="role" use="required"/>
  175. </xs:attributeGroup>
  176. <xs:attributeGroup name="db.menuchoice.attlist">
  177. <xs:attribute name="role"/>
  178. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  179. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  180. </xs:attributeGroup>
  181. <xs:element name="menuchoice">
  182. <xs:complexType>
  183. <xs:sequence>
  184. <xs:element minOccurs="0" ref="db:shortcut"/>
  185. <xs:choice maxOccurs="unbounded">
  186. <xs:element ref="db:guibutton"/>
  187. <xs:element ref="db:guiicon"/>
  188. <xs:element ref="db:guilabel"/>
  189. <xs:element ref="db:guimenu"/>
  190. <xs:element ref="db:guimenuitem"/>
  191. <xs:element ref="db:guisubmenu"/>
  192. </xs:choice>
  193. </xs:sequence>
  194. <xs:attributeGroup ref="db:db.menuchoice.attlist"/>
  195. </xs:complexType>
  196. </xs:element>
  197. <!-- ====================================================================== -->
  198. <xs:attributeGroup name="db.mousebutton.role.attribute">
  199. <xs:attribute name="role" use="required"/>
  200. </xs:attributeGroup>
  201. <xs:attributeGroup name="db.mousebutton.attlist">
  202. <xs:attribute name="role"/>
  203. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  204. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  205. </xs:attributeGroup>
  206. <xs:element name="mousebutton">
  207. <xs:complexType mixed="true">
  208. <xs:group ref="db:db._text"/>
  209. <xs:attributeGroup ref="db:db.mousebutton.attlist"/>
  210. </xs:complexType>
  211. </xs:element>
  212. </xs:schema>