callouts.xsd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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: callouts.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. <xs:group name="db.computeroutput.inlines">
  31. <xs:choice>
  32. <xs:element ref="db:co"/>
  33. <xs:element ref="db:db.markup.inlines"/>
  34. <xs:choice minOccurs="0">
  35. <xs:group ref="db:db.ubiq.inlines"/>
  36. <xs:element ref="db:db.os.inlines"/>
  37. <xs:element ref="db:db.technical.inlines"/>
  38. </xs:choice>
  39. </xs:choice>
  40. </xs:group>
  41. <xs:group name="db.prompt.inlines">
  42. <xs:choice>
  43. <xs:element ref="db:co"/>
  44. <xs:group ref="db:db._text"/>
  45. </xs:choice>
  46. </xs:group>
  47. <xs:group name="db.systemitem.inlines">
  48. <xs:choice>
  49. <xs:element ref="db:co"/>
  50. <xs:group ref="db:db._text"/>
  51. </xs:choice>
  52. </xs:group>
  53. <xs:group name="db.userinput.inlines">
  54. <xs:choice>
  55. <xs:element ref="db:co"/>
  56. <xs:element ref="db:db.markup.inlines"/>
  57. <xs:group ref="db:db.gui.inlines"/>
  58. <xs:group ref="db:db.keyboard.inlines"/>
  59. <xs:choice minOccurs="0">
  60. <xs:group ref="db:db.ubiq.inlines"/>
  61. <xs:element ref="db:db.os.inlines"/>
  62. <xs:element ref="db:db.technical.inlines"/>
  63. </xs:choice>
  64. </xs:choice>
  65. </xs:group>
  66. <!-- ====================================================================== -->
  67. <xs:simpleType name="db.area.units.enumeration">
  68. <xs:restriction base="xs:token">
  69. <xs:enumeration value="calspair">
  70. <xs:annotation>
  71. <xs:documentation>Coordinates expressed as a pair of CALS graphic coordinates.</xs:documentation>
  72. </xs:annotation>
  73. </xs:enumeration>
  74. <xs:enumeration value="linecolumn">
  75. <xs:annotation>
  76. <xs:documentation>Coordinates expressed as a line and column.</xs:documentation>
  77. </xs:annotation>
  78. </xs:enumeration>
  79. <xs:enumeration value="linecolumnpair">
  80. <xs:annotation>
  81. <xs:documentation>Coordinates expressed as a pair of lines and columns.</xs:documentation>
  82. </xs:annotation>
  83. </xs:enumeration>
  84. <xs:enumeration value="linerange">
  85. <xs:annotation>
  86. <xs:documentation>Coordinates expressed as a line range.</xs:documentation>
  87. </xs:annotation>
  88. </xs:enumeration>
  89. </xs:restriction>
  90. </xs:simpleType>
  91. <xs:attributeGroup name="db.area.units-enum.attribute">
  92. <xs:attribute name="units" type="db:db.area.units.enumeration"/>
  93. </xs:attributeGroup>
  94. <xs:attributeGroup name="db.area.units-other.attributes">
  95. <xs:attribute name="units">
  96. <xs:simpleType>
  97. <xs:restriction base="xs:token">
  98. <xs:enumeration value="other">
  99. <xs:annotation>
  100. <xs:documentation>Coordinates expressed in some non-standard units.</xs:documentation>
  101. </xs:annotation>
  102. </xs:enumeration>
  103. </xs:restriction>
  104. </xs:simpleType>
  105. </xs:attribute>
  106. <xs:attribute name="otherunits" use="required" type="xs:NMTOKEN"/>
  107. </xs:attributeGroup>
  108. <xs:attributeGroup name="db.area.units.attribute">
  109. <xs:attribute name="units">
  110. <xs:simpleType>
  111. <xs:union memberTypes="db:db.area.units.enumeration">
  112. <xs:simpleType>
  113. <xs:restriction base="xs:token">
  114. <xs:enumeration value="other">
  115. <xs:annotation>
  116. <xs:documentation>Coordinates expressed in some non-standard units.</xs:documentation>
  117. </xs:annotation>
  118. </xs:enumeration>
  119. </xs:restriction>
  120. </xs:simpleType>
  121. </xs:union>
  122. </xs:simpleType>
  123. </xs:attribute>
  124. <xs:attribute name="otherunits" type="xs:NMTOKEN"/>
  125. </xs:attributeGroup>
  126. <!-- ====================================================================== -->
  127. <xs:attributeGroup name="db.calloutlist.role.attribute">
  128. <xs:attribute name="role" use="required"/>
  129. </xs:attributeGroup>
  130. <xs:attributeGroup name="db.calloutlist.attlist">
  131. <xs:attribute name="role"/>
  132. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  133. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  134. </xs:attributeGroup>
  135. <xs:group name="db.calloutlist.info">
  136. <xs:sequence>
  137. <xs:group ref="db:db._info.title.only"/>
  138. </xs:sequence>
  139. </xs:group>
  140. <xs:element name="calloutlist">
  141. <xs:complexType>
  142. <xs:sequence>
  143. <xs:group ref="db:db.calloutlist.info"/>
  144. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
  145. <xs:element maxOccurs="unbounded" ref="db:callout"/>
  146. </xs:sequence>
  147. <xs:attributeGroup ref="db:db.calloutlist.attlist"/>
  148. </xs:complexType>
  149. </xs:element>
  150. <!-- ====================================================================== -->
  151. <xs:attributeGroup name="db.callout.role.attribute">
  152. <xs:attribute name="role" use="required"/>
  153. </xs:attributeGroup>
  154. <xs:attributeGroup name="db.callout.arearefs.attribute">
  155. <xs:attribute name="arearefs" use="required" type="xs:IDREFS"/>
  156. </xs:attributeGroup>
  157. <xs:attributeGroup name="db.callout.attlist">
  158. <xs:attribute name="role"/>
  159. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  160. <xs:attributeGroup ref="db:db.callout.arearefs.attribute"/>
  161. </xs:attributeGroup>
  162. <xs:element name="callout">
  163. <xs:complexType>
  164. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  165. <xs:attributeGroup ref="db:db.callout.attlist"/>
  166. </xs:complexType>
  167. </xs:element>
  168. <!-- ====================================================================== -->
  169. <xs:attributeGroup name="db.programlistingco.role.attribute">
  170. <xs:attribute name="role" use="required"/>
  171. </xs:attributeGroup>
  172. <xs:attributeGroup name="db.programlistingco.attlist">
  173. <xs:attribute name="role"/>
  174. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  175. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  176. </xs:attributeGroup>
  177. <xs:group name="db.programlistingco.info">
  178. <xs:sequence>
  179. <xs:group ref="db:db._info.title.forbidden"/>
  180. </xs:sequence>
  181. </xs:group>
  182. <xs:element name="programlistingco" substitutionGroup="db:db.verbatim.blocks">
  183. <xs:complexType>
  184. <xs:sequence>
  185. <xs:group ref="db:db.programlistingco.info"/>
  186. <xs:element ref="db:areaspec"/>
  187. <xs:element ref="db:programlisting"/>
  188. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:calloutlist"/>
  189. </xs:sequence>
  190. <xs:attributeGroup ref="db:db.programlistingco.attlist"/>
  191. </xs:complexType>
  192. </xs:element>
  193. <!-- ====================================================================== -->
  194. <xs:attributeGroup name="db.areaspec.role.attribute">
  195. <xs:attribute name="role" use="required"/>
  196. </xs:attributeGroup>
  197. <xs:attributeGroup name="db.areaspec.attlist">
  198. <xs:attribute name="role"/>
  199. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  200. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  201. <xs:attributeGroup ref="db:db.area.units.attribute"/>
  202. </xs:attributeGroup>
  203. <xs:element name="areaspec">
  204. <xs:complexType>
  205. <xs:choice maxOccurs="unbounded">
  206. <xs:group ref="db:db.area"/>
  207. <xs:element ref="db:areaset"/>
  208. </xs:choice>
  209. <xs:attributeGroup ref="db:db.areaspec.attlist"/>
  210. </xs:complexType>
  211. </xs:element>
  212. <!-- ====================================================================== -->
  213. <xs:attributeGroup name="db.area.role.attribute">
  214. <xs:attribute name="role" use="required"/>
  215. </xs:attributeGroup>
  216. <xs:attributeGroup name="db.area.linkends.attribute">
  217. <xs:attribute name="linkends" use="required" type="xs:IDREFS"/>
  218. </xs:attributeGroup>
  219. <xs:attributeGroup name="db.area.label.attribute">
  220. <xs:attribute name="label" use="required"/>
  221. </xs:attributeGroup>
  222. <xs:attributeGroup name="db.area.coords.attribute">
  223. <xs:attribute name="coords" use="required"/>
  224. </xs:attributeGroup>
  225. <xs:attributeGroup name="db.area.attlist">
  226. <xs:attribute name="role"/>
  227. <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
  228. <xs:attributeGroup ref="db:db.area.units.attribute"/>
  229. <xs:attribute name="linkends" type="xs:IDREFS"/>
  230. <xs:attribute ref="xlink:href"/>
  231. <xs:attributeGroup ref="xlink:type"/>
  232. <xs:attribute ref="xlink:role"/>
  233. <xs:attribute ref="xlink:arcrole"/>
  234. <xs:attribute ref="xlink:title"/>
  235. <xs:attribute ref="xlink:show"/>
  236. <xs:attribute ref="xlink:actuate"/>
  237. <xs:attribute name="label"/>
  238. <xs:attributeGroup ref="db:db.area.coords.attribute"/>
  239. </xs:attributeGroup>
  240. <xs:group name="db.area">
  241. <xs:sequence>
  242. <xs:element name="area">
  243. <xs:complexType>
  244. <xs:sequence>
  245. <xs:element minOccurs="0" ref="db:alt"/>
  246. </xs:sequence>
  247. <xs:attributeGroup ref="db:db.area.attlist"/>
  248. </xs:complexType>
  249. </xs:element>
  250. </xs:sequence>
  251. </xs:group>
  252. <!-- ====================================================================== -->
  253. <!-- The only difference is that xml:id is optional -->
  254. <xs:attributeGroup name="db.area.inareaset.attlist">
  255. <xs:attribute name="role"/>
  256. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  257. <xs:attributeGroup ref="db:db.area.units.attribute"/>
  258. <xs:attribute name="linkends" type="xs:IDREFS"/>
  259. <xs:attribute ref="xlink:href"/>
  260. <xs:attributeGroup ref="xlink:type"/>
  261. <xs:attribute ref="xlink:role"/>
  262. <xs:attribute ref="xlink:arcrole"/>
  263. <xs:attribute ref="xlink:title"/>
  264. <xs:attribute ref="xlink:show"/>
  265. <xs:attribute ref="xlink:actuate"/>
  266. <xs:attribute name="label"/>
  267. <xs:attributeGroup ref="db:db.area.coords.attribute"/>
  268. </xs:attributeGroup>
  269. <xs:group name="db.area.inareaset">
  270. <xs:sequence>
  271. <xs:element name="area">
  272. <xs:complexType>
  273. <xs:sequence>
  274. <xs:element minOccurs="0" ref="db:alt"/>
  275. </xs:sequence>
  276. <xs:attributeGroup ref="db:db.area.inareaset.attlist"/>
  277. </xs:complexType>
  278. </xs:element>
  279. </xs:sequence>
  280. </xs:group>
  281. <!-- ====================================================================== -->
  282. <xs:attributeGroup name="db.areaset.role.attribute">
  283. <xs:attribute name="role" use="required"/>
  284. </xs:attributeGroup>
  285. <xs:attributeGroup name="db.areaset.linkends.attribute">
  286. <xs:attributeGroup ref="db:db.linkends.attribute"/>
  287. </xs:attributeGroup>
  288. <xs:attributeGroup name="db.areaset.label.attribute">
  289. <xs:attributeGroup ref="db:db.label.attribute"/>
  290. </xs:attributeGroup>
  291. <xs:attributeGroup name="db.areaset.attlist">
  292. <xs:attribute name="role"/>
  293. <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
  294. <xs:attributeGroup ref="db:db.area.units.attribute"/>
  295. <xs:attribute name="linkends" type="xs:IDREFS"/>
  296. <xs:attribute ref="xlink:href"/>
  297. <xs:attributeGroup ref="xlink:type"/>
  298. <xs:attribute ref="xlink:role"/>
  299. <xs:attribute ref="xlink:arcrole"/>
  300. <xs:attribute ref="xlink:title"/>
  301. <xs:attribute ref="xlink:show"/>
  302. <xs:attribute ref="xlink:actuate"/>
  303. <xs:attribute name="label"/>
  304. </xs:attributeGroup>
  305. <xs:element name="areaset">
  306. <xs:complexType>
  307. <xs:group maxOccurs="unbounded" ref="db:db.area.inareaset"/>
  308. <xs:attributeGroup ref="db:db.areaset.attlist"/>
  309. </xs:complexType>
  310. </xs:element>
  311. <!-- ====================================================================== -->
  312. <xs:attributeGroup name="db.screenco.role.attribute">
  313. <xs:attribute name="role" use="required"/>
  314. </xs:attributeGroup>
  315. <xs:attributeGroup name="db.screenco.attlist">
  316. <xs:attribute name="role"/>
  317. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  318. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  319. </xs:attributeGroup>
  320. <xs:group name="db.screenco.info">
  321. <xs:sequence>
  322. <xs:group ref="db:db._info.title.forbidden"/>
  323. </xs:sequence>
  324. </xs:group>
  325. <xs:element name="screenco" substitutionGroup="db:db.verbatim.blocks">
  326. <xs:complexType>
  327. <xs:sequence>
  328. <xs:group ref="db:db.screenco.info"/>
  329. <xs:element ref="db:areaspec"/>
  330. <xs:element ref="db:screen"/>
  331. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:calloutlist"/>
  332. </xs:sequence>
  333. <xs:attributeGroup ref="db:db.screenco.attlist"/>
  334. </xs:complexType>
  335. </xs:element>
  336. <!-- ====================================================================== -->
  337. <xs:attributeGroup name="db.imageobjectco.role.attribute">
  338. <xs:attribute name="role" use="required"/>
  339. </xs:attributeGroup>
  340. <xs:attributeGroup name="db.imageobjectco.attlist">
  341. <xs:attribute name="role"/>
  342. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  343. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  344. </xs:attributeGroup>
  345. <xs:group name="db.imageobjectco.info">
  346. <xs:sequence>
  347. <xs:group ref="db:db._info.title.forbidden"/>
  348. </xs:sequence>
  349. </xs:group>
  350. <xs:element name="imageobjectco" substitutionGroup="db:db.mediaobject.content">
  351. <xs:complexType>
  352. <xs:sequence>
  353. <xs:group ref="db:db.imageobjectco.info"/>
  354. <xs:element ref="db:areaspec"/>
  355. <xs:element maxOccurs="unbounded" ref="db:imageobject"/>
  356. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:calloutlist"/>
  357. </xs:sequence>
  358. <xs:attributeGroup ref="db:db.imageobjectco.attlist"/>
  359. </xs:complexType>
  360. </xs:element>
  361. <!-- ====================================================================== -->
  362. <xs:attributeGroup name="db.co.role.attribute">
  363. <xs:attribute name="role" use="required"/>
  364. </xs:attributeGroup>
  365. <xs:attributeGroup name="db.co.linkends.attribute">
  366. <xs:attributeGroup ref="db:db.linkends.attribute"/>
  367. </xs:attributeGroup>
  368. <xs:attributeGroup name="db.co.label.attribute">
  369. <xs:attributeGroup ref="db:db.label.attribute"/>
  370. </xs:attributeGroup>
  371. <xs:attributeGroup name="db.co.attlist">
  372. <xs:attribute name="role"/>
  373. <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
  374. <xs:attribute name="linkends" type="xs:IDREFS"/>
  375. <xs:attribute name="label"/>
  376. </xs:attributeGroup>
  377. <xs:element name="co">
  378. <xs:complexType>
  379. <xs:attributeGroup ref="db:db.co.attlist"/>
  380. </xs:complexType>
  381. </xs:element>
  382. <!-- ====================================================================== -->
  383. <xs:attributeGroup name="db.coref.role.attribute">
  384. <xs:attribute name="role" use="required"/>
  385. </xs:attributeGroup>
  386. <xs:attributeGroup name="db.coref.label.attribute">
  387. <xs:attributeGroup ref="db:db.label.attribute"/>
  388. </xs:attributeGroup>
  389. <xs:attributeGroup name="db.coref.attlist">
  390. <xs:attribute name="role"/>
  391. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  392. <xs:attributeGroup ref="db:db.linkend.attribute"/>
  393. <xs:attribute name="label"/>
  394. </xs:attributeGroup>
  395. <xs:element name="coref">
  396. <xs:complexType>
  397. <xs:attributeGroup ref="db:db.coref.attlist"/>
  398. </xs:complexType>
  399. </xs:element>
  400. </xs:schema>