hier.xsd 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  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: hier.rnc 8994 2011-04-19 20:07:33Z 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:attributeGroup name="db.status.attribute">
  31. <xs:attribute name="status" use="required"/>
  32. </xs:attributeGroup>
  33. <!-- ====================================================================== -->
  34. <xs:group name="db.toplevel.sections">
  35. <xs:choice>
  36. <xs:choice>
  37. <xs:sequence>
  38. <xs:element maxOccurs="unbounded" ref="db:section"/>
  39. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
  40. </xs:sequence>
  41. <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
  42. </xs:choice>
  43. <xs:sequence>
  44. <xs:element maxOccurs="unbounded" ref="db:sect1"/>
  45. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
  46. </xs:sequence>
  47. <xs:element maxOccurs="unbounded" ref="db:refentry"/>
  48. </xs:choice>
  49. </xs:group>
  50. <xs:group name="db.toplevel.blocks.or.sections">
  51. <xs:choice>
  52. <xs:sequence>
  53. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  54. <xs:group minOccurs="0" ref="db:db.toplevel.sections"/>
  55. </xs:sequence>
  56. <xs:group ref="db:db.toplevel.sections"/>
  57. </xs:choice>
  58. </xs:group>
  59. <xs:group name="db.recursive.sections">
  60. <xs:choice>
  61. <xs:choice>
  62. <xs:sequence>
  63. <xs:element maxOccurs="unbounded" ref="db:section"/>
  64. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
  65. </xs:sequence>
  66. <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
  67. </xs:choice>
  68. <xs:element maxOccurs="unbounded" ref="db:refentry"/>
  69. </xs:choice>
  70. </xs:group>
  71. <xs:group name="db.recursive.blocks.or.sections">
  72. <xs:choice>
  73. <xs:sequence>
  74. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  75. <xs:group minOccurs="0" ref="db:db.recursive.sections"/>
  76. </xs:sequence>
  77. <xs:group ref="db:db.recursive.sections"/>
  78. </xs:choice>
  79. </xs:group>
  80. <!-- ====================================================================== -->
  81. <xs:element name="db.divisions" abstract="true"/>
  82. <xs:element name="db.components" abstract="true"/>
  83. <xs:group name="db.navigation.components">
  84. <xs:choice>
  85. <xs:element ref="db:glossary"/>
  86. <xs:element ref="db:bibliography"/>
  87. <xs:element ref="db:index"/>
  88. <xs:element ref="db:toc"/>
  89. </xs:choice>
  90. </xs:group>
  91. <xs:group name="db.component.contentmodel">
  92. <xs:sequence>
  93. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
  94. <xs:group ref="db:db.toplevel.blocks.or.sections"/>
  95. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
  96. </xs:sequence>
  97. </xs:group>
  98. <!-- ====================================================================== -->
  99. <xs:element name="db.setindex.components" abstract="true">
  100. <xs:complexType>
  101. <xs:sequence>
  102. <xs:group ref="db:db.setindex.info"/>
  103. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
  104. <xs:choice>
  105. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexdiv"/>
  106. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexentry"/>
  107. </xs:choice>
  108. </xs:sequence>
  109. <xs:attributeGroup ref="db:db.setindex.attlist"/>
  110. </xs:complexType>
  111. </xs:element>
  112. <xs:group name="db.toc.components">
  113. <xs:sequence>
  114. <xs:element ref="db:toc"/>
  115. </xs:sequence>
  116. </xs:group>
  117. <xs:element name="db.set.components" abstract="true"/>
  118. <!-- ====================================================================== -->
  119. <xs:attributeGroup name="db.set.status.attribute">
  120. <xs:attributeGroup ref="db:db.status.attribute"/>
  121. </xs:attributeGroup>
  122. <xs:attributeGroup name="db.set.role.attribute">
  123. <xs:attribute name="role" use="required"/>
  124. </xs:attributeGroup>
  125. <xs:attributeGroup name="db.set.attlist">
  126. <xs:attribute name="role"/>
  127. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  128. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  129. <xs:attribute name="label"/>
  130. <xs:attribute name="status"/>
  131. </xs:attributeGroup>
  132. <xs:group name="db.set.info">
  133. <xs:sequence>
  134. <xs:group ref="db:db._info.title.req"/>
  135. </xs:sequence>
  136. </xs:group>
  137. <xs:element name="set" substitutionGroup="db:db.set.components">
  138. <xs:complexType>
  139. <xs:sequence>
  140. <xs:group ref="db:db.set.info"/>
  141. <xs:group minOccurs="0" ref="db:db.toc.components"/>
  142. <xs:element maxOccurs="unbounded" ref="db:db.set.components"/>
  143. <xs:element minOccurs="0" ref="db:db.setindex.components"/>
  144. </xs:sequence>
  145. <xs:attributeGroup ref="db:db.set.attlist"/>
  146. </xs:complexType>
  147. </xs:element>
  148. <!-- ====================================================================== -->
  149. <xs:group name="db.book.components">
  150. <xs:choice>
  151. <xs:choice minOccurs="0" maxOccurs="unbounded">
  152. <xs:group ref="db:db.navigation.components"/>
  153. <xs:element ref="db:db.components"/>
  154. <xs:element ref="db:db.divisions"/>
  155. </xs:choice>
  156. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:topic"/>
  157. </xs:choice>
  158. </xs:group>
  159. <!-- ====================================================================== -->
  160. <xs:attributeGroup name="db.book.status.attribute">
  161. <xs:attributeGroup ref="db:db.status.attribute"/>
  162. </xs:attributeGroup>
  163. <xs:attributeGroup name="db.book.role.attribute">
  164. <xs:attribute name="role" use="required"/>
  165. </xs:attributeGroup>
  166. <xs:attributeGroup name="db.book.attlist">
  167. <xs:attribute name="role"/>
  168. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  169. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  170. <xs:attribute name="label"/>
  171. <xs:attribute name="status"/>
  172. </xs:attributeGroup>
  173. <xs:group name="db.book.info">
  174. <xs:sequence>
  175. <xs:group ref="db:db._info"/>
  176. </xs:sequence>
  177. </xs:group>
  178. <xs:element name="book" substitutionGroup="db:db.set.components">
  179. <xs:complexType>
  180. <xs:sequence>
  181. <xs:group ref="db:db.book.info"/>
  182. <xs:group ref="db:db.book.components"/>
  183. </xs:sequence>
  184. <xs:attributeGroup ref="db:db.book.attlist"/>
  185. </xs:complexType>
  186. </xs:element>
  187. <!-- ====================================================================== -->
  188. <xs:attributeGroup name="db.dedication.status.attribute">
  189. <xs:attributeGroup ref="db:db.status.attribute"/>
  190. </xs:attributeGroup>
  191. <xs:attributeGroup name="db.dedication.role.attribute">
  192. <xs:attribute name="role" use="required"/>
  193. </xs:attributeGroup>
  194. <xs:attributeGroup name="db.dedication.attlist">
  195. <xs:attribute name="role"/>
  196. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  197. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  198. <xs:attribute name="label"/>
  199. <xs:attribute name="status"/>
  200. </xs:attributeGroup>
  201. <xs:group name="db.dedication.info">
  202. <xs:sequence>
  203. <xs:group ref="db:db._info"/>
  204. </xs:sequence>
  205. </xs:group>
  206. <xs:element name="dedication" substitutionGroup="db:db.components">
  207. <xs:complexType>
  208. <xs:sequence>
  209. <xs:group ref="db:db.dedication.info"/>
  210. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  211. </xs:sequence>
  212. <xs:attributeGroup ref="db:db.dedication.attlist"/>
  213. </xs:complexType>
  214. </xs:element>
  215. <!-- ====================================================================== -->
  216. <xs:attributeGroup name="db.acknowledgements.status.attribute">
  217. <xs:attributeGroup ref="db:db.status.attribute"/>
  218. </xs:attributeGroup>
  219. <xs:attributeGroup name="db.acknowledgements.role.attribute">
  220. <xs:attribute name="role" use="required"/>
  221. </xs:attributeGroup>
  222. <xs:attributeGroup name="db.acknowledgements.attlist">
  223. <xs:attribute name="role"/>
  224. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  225. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  226. <xs:attribute name="label"/>
  227. <xs:attribute name="status"/>
  228. </xs:attributeGroup>
  229. <xs:group name="db.acknowledgements.info">
  230. <xs:sequence>
  231. <xs:group ref="db:db._info"/>
  232. </xs:sequence>
  233. </xs:group>
  234. <xs:element name="acknowledgements" substitutionGroup="db:db.components">
  235. <xs:complexType>
  236. <xs:sequence>
  237. <xs:group ref="db:db.acknowledgements.info"/>
  238. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  239. </xs:sequence>
  240. <xs:attributeGroup ref="db:db.acknowledgements.attlist"/>
  241. </xs:complexType>
  242. </xs:element>
  243. <!-- ====================================================================== -->
  244. <xs:attributeGroup name="db.colophon.status.attribute">
  245. <xs:attributeGroup ref="db:db.status.attribute"/>
  246. </xs:attributeGroup>
  247. <xs:attributeGroup name="db.colophon.role.attribute">
  248. <xs:attribute name="role" use="required"/>
  249. </xs:attributeGroup>
  250. <xs:attributeGroup name="db.colophon.attlist">
  251. <xs:attribute name="role"/>
  252. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  253. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  254. <xs:attribute name="label"/>
  255. <xs:attribute name="status"/>
  256. </xs:attributeGroup>
  257. <xs:group name="db.colophon.info">
  258. <xs:sequence>
  259. <xs:group ref="db:db._info"/>
  260. </xs:sequence>
  261. </xs:group>
  262. <xs:element name="colophon" substitutionGroup="db:db.components">
  263. <xs:complexType>
  264. <xs:sequence>
  265. <xs:group ref="db:db.colophon.info"/>
  266. <xs:choice>
  267. <xs:sequence>
  268. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  269. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
  270. </xs:sequence>
  271. <xs:sequence>
  272. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
  273. <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
  274. </xs:sequence>
  275. </xs:choice>
  276. </xs:sequence>
  277. <xs:attributeGroup ref="db:db.colophon.attlist"/>
  278. </xs:complexType>
  279. </xs:element>
  280. <!-- ====================================================================== -->
  281. <xs:group name="db.appendix.contentmodel">
  282. <xs:choice>
  283. <xs:group ref="db:db.component.contentmodel"/>
  284. <xs:element maxOccurs="unbounded" ref="db:topic"/>
  285. </xs:choice>
  286. </xs:group>
  287. <!-- ====================================================================== -->
  288. <xs:attributeGroup name="db.appendix.status.attribute">
  289. <xs:attributeGroup ref="db:db.status.attribute"/>
  290. </xs:attributeGroup>
  291. <xs:attributeGroup name="db.appendix.role.attribute">
  292. <xs:attribute name="role" use="required"/>
  293. </xs:attributeGroup>
  294. <xs:attributeGroup name="db.appendix.attlist">
  295. <xs:attribute name="role"/>
  296. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  297. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  298. <xs:attribute name="label"/>
  299. <xs:attribute name="status"/>
  300. </xs:attributeGroup>
  301. <xs:group name="db.appendix.info">
  302. <xs:sequence>
  303. <xs:group ref="db:db._info.title.req"/>
  304. </xs:sequence>
  305. </xs:group>
  306. <xs:element name="appendix" substitutionGroup="db:db.components">
  307. <xs:complexType>
  308. <xs:sequence>
  309. <xs:group ref="db:db.appendix.info"/>
  310. <xs:group ref="db:db.appendix.contentmodel"/>
  311. </xs:sequence>
  312. <xs:attributeGroup ref="db:db.appendix.attlist"/>
  313. </xs:complexType>
  314. </xs:element>
  315. <!-- ====================================================================== -->
  316. <xs:group name="db.chapter.contentmodel">
  317. <xs:choice>
  318. <xs:group ref="db:db.component.contentmodel"/>
  319. <xs:element maxOccurs="unbounded" ref="db:topic"/>
  320. </xs:choice>
  321. </xs:group>
  322. <!-- ====================================================================== -->
  323. <xs:attributeGroup name="db.chapter.status.attribute">
  324. <xs:attributeGroup ref="db:db.status.attribute"/>
  325. </xs:attributeGroup>
  326. <xs:attributeGroup name="db.chapter.role.attribute">
  327. <xs:attribute name="role" use="required"/>
  328. </xs:attributeGroup>
  329. <xs:attributeGroup name="db.chapter.attlist">
  330. <xs:attribute name="role"/>
  331. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  332. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  333. <xs:attribute name="label"/>
  334. <xs:attribute name="status"/>
  335. </xs:attributeGroup>
  336. <xs:group name="db.chapter.info">
  337. <xs:sequence>
  338. <xs:group ref="db:db._info.title.req"/>
  339. </xs:sequence>
  340. </xs:group>
  341. <xs:element name="chapter" substitutionGroup="db:db.components">
  342. <xs:complexType>
  343. <xs:sequence>
  344. <xs:group ref="db:db.chapter.info"/>
  345. <xs:group ref="db:db.chapter.contentmodel"/>
  346. </xs:sequence>
  347. <xs:attributeGroup ref="db:db.chapter.attlist"/>
  348. </xs:complexType>
  349. </xs:element>
  350. <!-- ====================================================================== -->
  351. <xs:group name="db.part.components">
  352. <xs:choice>
  353. <xs:choice>
  354. <xs:group ref="db:db.navigation.components"/>
  355. <xs:element ref="db:db.components"/>
  356. </xs:choice>
  357. <xs:choice>
  358. <xs:element ref="db:refentry"/>
  359. <xs:element ref="db:reference"/>
  360. </xs:choice>
  361. </xs:choice>
  362. </xs:group>
  363. <xs:group name="db.part.contentmodel">
  364. <xs:choice>
  365. <xs:group maxOccurs="unbounded" ref="db:db.part.components"/>
  366. <xs:element maxOccurs="unbounded" ref="db:topic"/>
  367. </xs:choice>
  368. </xs:group>
  369. <!-- ====================================================================== -->
  370. <xs:attributeGroup name="db.part.status.attribute">
  371. <xs:attributeGroup ref="db:db.status.attribute"/>
  372. </xs:attributeGroup>
  373. <xs:attributeGroup name="db.part.role.attribute">
  374. <xs:attribute name="role" use="required"/>
  375. </xs:attributeGroup>
  376. <xs:attributeGroup name="db.part.attlist">
  377. <xs:attribute name="role"/>
  378. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  379. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  380. <xs:attribute name="label"/>
  381. <xs:attribute name="status"/>
  382. </xs:attributeGroup>
  383. <xs:group name="db.part.info">
  384. <xs:sequence>
  385. <xs:group ref="db:db._info.title.req"/>
  386. </xs:sequence>
  387. </xs:group>
  388. <xs:element name="part" substitutionGroup="db:db.divisions">
  389. <xs:complexType>
  390. <xs:sequence>
  391. <xs:group ref="db:db.part.info"/>
  392. <xs:element minOccurs="0" ref="db:partintro"/>
  393. <xs:group ref="db:db.part.contentmodel"/>
  394. </xs:sequence>
  395. <xs:attributeGroup ref="db:db.part.attlist"/>
  396. </xs:complexType>
  397. </xs:element>
  398. <!-- ====================================================================== -->
  399. <xs:attributeGroup name="db.preface.status.attribute">
  400. <xs:attributeGroup ref="db:db.status.attribute"/>
  401. </xs:attributeGroup>
  402. <xs:attributeGroup name="db.preface.role.attribute">
  403. <xs:attribute name="role" use="required"/>
  404. </xs:attributeGroup>
  405. <xs:attributeGroup name="db.preface.attlist">
  406. <xs:attribute name="role"/>
  407. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  408. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  409. <xs:attribute name="label"/>
  410. <xs:attribute name="status"/>
  411. </xs:attributeGroup>
  412. <xs:group name="db.preface.info">
  413. <xs:sequence>
  414. <xs:group ref="db:db._info.title.req"/>
  415. </xs:sequence>
  416. </xs:group>
  417. <xs:element name="preface" substitutionGroup="db:db.components">
  418. <xs:complexType>
  419. <xs:sequence>
  420. <xs:group ref="db:db.preface.info"/>
  421. <xs:group ref="db:db.component.contentmodel"/>
  422. </xs:sequence>
  423. <xs:attributeGroup ref="db:db.preface.attlist"/>
  424. </xs:complexType>
  425. </xs:element>
  426. <!-- ====================================================================== -->
  427. <xs:attributeGroup name="db.partintro.status.attribute">
  428. <xs:attributeGroup ref="db:db.status.attribute"/>
  429. </xs:attributeGroup>
  430. <xs:attributeGroup name="db.partintro.role.attribute">
  431. <xs:attribute name="role" use="required"/>
  432. </xs:attributeGroup>
  433. <xs:attributeGroup name="db.partintro.attlist">
  434. <xs:attribute name="role"/>
  435. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  436. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  437. <xs:attribute name="label"/>
  438. <xs:attribute name="status"/>
  439. </xs:attributeGroup>
  440. <xs:group name="db.partintro.info">
  441. <xs:sequence>
  442. <xs:group ref="db:db._info"/>
  443. </xs:sequence>
  444. </xs:group>
  445. <xs:element name="partintro">
  446. <xs:complexType>
  447. <xs:sequence>
  448. <xs:group ref="db:db.partintro.info"/>
  449. <xs:group ref="db:db.toplevel.blocks.or.sections"/>
  450. </xs:sequence>
  451. <xs:attributeGroup ref="db:db.partintro.attlist"/>
  452. </xs:complexType>
  453. </xs:element>
  454. <!-- ====================================================================== -->
  455. <xs:attributeGroup name="db.section.status.attribute">
  456. <xs:attributeGroup ref="db:db.status.attribute"/>
  457. </xs:attributeGroup>
  458. <xs:attributeGroup name="db.section.role.attribute">
  459. <xs:attribute name="role" use="required"/>
  460. </xs:attributeGroup>
  461. <xs:attributeGroup name="db.section.attlist">
  462. <xs:attribute name="role"/>
  463. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  464. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  465. <xs:attribute name="label"/>
  466. <xs:attribute name="status"/>
  467. </xs:attributeGroup>
  468. <xs:group name="db.section.info">
  469. <xs:sequence>
  470. <xs:group ref="db:db._info.title.req"/>
  471. </xs:sequence>
  472. </xs:group>
  473. <xs:element name="section">
  474. <xs:complexType>
  475. <xs:sequence>
  476. <xs:group ref="db:db.section.info"/>
  477. <xs:group ref="db:db.recursive.blocks.or.sections"/>
  478. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
  479. </xs:sequence>
  480. <xs:attributeGroup ref="db:db.section.attlist"/>
  481. </xs:complexType>
  482. </xs:element>
  483. <!-- ====================================================================== -->
  484. <xs:attributeGroup name="db.simplesect.status.attribute">
  485. <xs:attributeGroup ref="db:db.status.attribute"/>
  486. </xs:attributeGroup>
  487. <xs:attributeGroup name="db.simplesect.role.attribute">
  488. <xs:attribute name="role" use="required"/>
  489. </xs:attributeGroup>
  490. <xs:attributeGroup name="db.simplesect.attlist">
  491. <xs:attribute name="role"/>
  492. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  493. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  494. <xs:attribute name="label"/>
  495. <xs:attribute name="status"/>
  496. </xs:attributeGroup>
  497. <xs:group name="db.simplesect.info">
  498. <xs:sequence>
  499. <xs:group ref="db:db._info.title.req"/>
  500. </xs:sequence>
  501. </xs:group>
  502. <xs:element name="simplesect">
  503. <xs:complexType>
  504. <xs:sequence>
  505. <xs:group ref="db:db.simplesect.info"/>
  506. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  507. </xs:sequence>
  508. <xs:attributeGroup ref="db:db.simplesect.attlist"/>
  509. </xs:complexType>
  510. </xs:element>
  511. <!-- ====================================================================== -->
  512. <xs:group name="db.article.components">
  513. <xs:sequence>
  514. <xs:group ref="db:db.toplevel.sections"/>
  515. </xs:sequence>
  516. </xs:group>
  517. <xs:group name="db.article.navcomponents">
  518. <xs:choice>
  519. <xs:group ref="db:db.navigation.components"/>
  520. <xs:element ref="db:acknowledgements"/>
  521. <xs:element ref="db:dedication"/>
  522. <xs:element ref="db:appendix"/>
  523. <xs:element ref="db:colophon"/>
  524. </xs:choice>
  525. </xs:group>
  526. <!-- ====================================================================== -->
  527. <xs:attributeGroup name="db.article.status.attribute">
  528. <xs:attributeGroup ref="db:db.status.attribute"/>
  529. </xs:attributeGroup>
  530. <xs:simpleType name="db.article.class.enumeration">
  531. <xs:restriction base="xs:token">
  532. <xs:enumeration value="faq">
  533. <xs:annotation>
  534. <xs:documentation>A collection of frequently asked questions.</xs:documentation>
  535. </xs:annotation>
  536. </xs:enumeration>
  537. <xs:enumeration value="journalarticle">
  538. <xs:annotation>
  539. <xs:documentation>An article in a journal or other periodical.</xs:documentation>
  540. </xs:annotation>
  541. </xs:enumeration>
  542. <xs:enumeration value="productsheet">
  543. <xs:annotation>
  544. <xs:documentation>A description of a product.</xs:documentation>
  545. </xs:annotation>
  546. </xs:enumeration>
  547. <xs:enumeration value="specification">
  548. <xs:annotation>
  549. <xs:documentation>A specification.</xs:documentation>
  550. </xs:annotation>
  551. </xs:enumeration>
  552. <xs:enumeration value="techreport">
  553. <xs:annotation>
  554. <xs:documentation>A technical report.</xs:documentation>
  555. </xs:annotation>
  556. </xs:enumeration>
  557. <xs:enumeration value="whitepaper">
  558. <xs:annotation>
  559. <xs:documentation>A white paper.</xs:documentation>
  560. </xs:annotation>
  561. </xs:enumeration>
  562. </xs:restriction>
  563. </xs:simpleType>
  564. <xs:attributeGroup name="db.article.class.attribute">
  565. <xs:attribute name="class" use="required" type="db:db.article.class.enumeration"/>
  566. </xs:attributeGroup>
  567. <xs:attributeGroup name="db.article.role.attribute">
  568. <xs:attribute name="role" use="required"/>
  569. </xs:attributeGroup>
  570. <xs:attributeGroup name="db.article.attlist">
  571. <xs:attribute name="role"/>
  572. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  573. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  574. <xs:attribute name="label"/>
  575. <xs:attribute name="status"/>
  576. <xs:attribute name="class" type="db:db.article.class.enumeration"/>
  577. </xs:attributeGroup>
  578. <xs:group name="db.article.info">
  579. <xs:sequence>
  580. <xs:group ref="db:db._info.title.req"/>
  581. </xs:sequence>
  582. </xs:group>
  583. <xs:element name="article" substitutionGroup="db:db.components">
  584. <xs:complexType>
  585. <xs:sequence>
  586. <xs:group ref="db:db.article.info"/>
  587. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.article.navcomponents"/>
  588. <xs:choice>
  589. <xs:sequence>
  590. <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
  591. <xs:group minOccurs="0" ref="db:db.article.components"/>
  592. </xs:sequence>
  593. <xs:group ref="db:db.article.components"/>
  594. </xs:choice>
  595. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.article.navcomponents"/>
  596. </xs:sequence>
  597. <xs:attributeGroup ref="db:db.article.attlist"/>
  598. </xs:complexType>
  599. </xs:element>
  600. </xs:schema>