calstbl.xsd 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425
  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: calstbl.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:attributeGroup name="db.char.attribute">
  31. <xs:attribute name="char" use="required"/>
  32. </xs:attributeGroup>
  33. <xs:attributeGroup name="db.charoff.attribute">
  34. <xs:attribute name="charoff" use="required">
  35. <xs:simpleType>
  36. <xs:restriction base="xs:decimal">
  37. <xs:minExclusive value="0"/>
  38. <xs:maxExclusive value="100"/>
  39. </xs:restriction>
  40. </xs:simpleType>
  41. </xs:attribute>
  42. </xs:attributeGroup>
  43. <xs:attributeGroup name="db.frame.attribute">
  44. <xs:attribute name="frame" use="required">
  45. <xs:simpleType>
  46. <xs:restriction base="xs:token">
  47. <xs:enumeration value="all">
  48. <xs:annotation>
  49. <xs:documentation>Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.</xs:documentation>
  50. </xs:annotation>
  51. </xs:enumeration>
  52. <xs:enumeration value="bottom">
  53. <xs:annotation>
  54. <xs:documentation>Frame only the bottom of the table.</xs:documentation>
  55. </xs:annotation>
  56. </xs:enumeration>
  57. <xs:enumeration value="none">
  58. <xs:annotation>
  59. <xs:documentation>Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.</xs:documentation>
  60. </xs:annotation>
  61. </xs:enumeration>
  62. <xs:enumeration value="sides">
  63. <xs:annotation>
  64. <xs:documentation>Frame the left and right sides of the table.</xs:documentation>
  65. </xs:annotation>
  66. </xs:enumeration>
  67. <xs:enumeration value="top">
  68. <xs:annotation>
  69. <xs:documentation>Frame the top of the table.</xs:documentation>
  70. </xs:annotation>
  71. </xs:enumeration>
  72. <xs:enumeration value="topbot">
  73. <xs:annotation>
  74. <xs:documentation>Frame the top and bottom of the table.</xs:documentation>
  75. </xs:annotation>
  76. </xs:enumeration>
  77. </xs:restriction>
  78. </xs:simpleType>
  79. </xs:attribute>
  80. </xs:attributeGroup>
  81. <xs:attributeGroup name="db.colsep.attribute">
  82. <xs:attribute name="colsep" use="required">
  83. <xs:simpleType>
  84. <xs:restriction base="xs:token">
  85. <xs:enumeration value="0">
  86. <xs:annotation>
  87. <xs:documentation>No column separator rule.</xs:documentation>
  88. </xs:annotation>
  89. </xs:enumeration>
  90. <xs:enumeration value="1">
  91. <xs:annotation>
  92. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  93. </xs:annotation>
  94. </xs:enumeration>
  95. </xs:restriction>
  96. </xs:simpleType>
  97. </xs:attribute>
  98. </xs:attributeGroup>
  99. <xs:attributeGroup name="db.rowsep.attribute">
  100. <xs:attribute name="rowsep" use="required">
  101. <xs:simpleType>
  102. <xs:restriction base="xs:token">
  103. <xs:enumeration value="0">
  104. <xs:annotation>
  105. <xs:documentation>No row separator rule.</xs:documentation>
  106. </xs:annotation>
  107. </xs:enumeration>
  108. <xs:enumeration value="1">
  109. <xs:annotation>
  110. <xs:documentation>Provide a row separator rule below</xs:documentation>
  111. </xs:annotation>
  112. </xs:enumeration>
  113. </xs:restriction>
  114. </xs:simpleType>
  115. </xs:attribute>
  116. </xs:attributeGroup>
  117. <xs:attributeGroup name="db.orient.attribute">
  118. <xs:attribute name="orient" use="required">
  119. <xs:simpleType>
  120. <xs:restriction base="xs:token">
  121. <xs:enumeration value="land">
  122. <xs:annotation>
  123. <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
  124. </xs:annotation>
  125. </xs:enumeration>
  126. <xs:enumeration value="port">
  127. <xs:annotation>
  128. <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
  129. </xs:annotation>
  130. </xs:enumeration>
  131. </xs:restriction>
  132. </xs:simpleType>
  133. </xs:attribute>
  134. </xs:attributeGroup>
  135. <xs:attributeGroup name="db.tabstyle.attribute">
  136. <xs:attribute name="tabstyle" use="required"/>
  137. </xs:attributeGroup>
  138. <xs:attributeGroup name="db.rowheader.attribute">
  139. <xs:attribute name="rowheader" use="required">
  140. <xs:simpleType>
  141. <xs:restriction base="xs:token">
  142. <xs:enumeration value="firstcol">
  143. <xs:annotation>
  144. <xs:documentation>Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).</xs:documentation>
  145. </xs:annotation>
  146. </xs:enumeration>
  147. <xs:enumeration value="norowheader">
  148. <xs:annotation>
  149. <xs:documentation>Indicates that entries in the first column have no special significance with respect to column headers.</xs:documentation>
  150. </xs:annotation>
  151. </xs:enumeration>
  152. </xs:restriction>
  153. </xs:simpleType>
  154. </xs:attribute>
  155. </xs:attributeGroup>
  156. <xs:attributeGroup name="db.align.attribute">
  157. <xs:attribute name="align" use="required">
  158. <xs:simpleType>
  159. <xs:restriction base="xs:token">
  160. <xs:enumeration value="center">
  161. <xs:annotation>
  162. <xs:documentation>Centered.</xs:documentation>
  163. </xs:annotation>
  164. </xs:enumeration>
  165. <xs:enumeration value="char">
  166. <xs:annotation>
  167. <xs:documentation>Aligned on a particular character.</xs:documentation>
  168. </xs:annotation>
  169. </xs:enumeration>
  170. <xs:enumeration value="justify">
  171. <xs:annotation>
  172. <xs:documentation>Left and right justified.</xs:documentation>
  173. </xs:annotation>
  174. </xs:enumeration>
  175. <xs:enumeration value="left">
  176. <xs:annotation>
  177. <xs:documentation>Left justified.</xs:documentation>
  178. </xs:annotation>
  179. </xs:enumeration>
  180. <xs:enumeration value="right">
  181. <xs:annotation>
  182. <xs:documentation>Right justified.</xs:documentation>
  183. </xs:annotation>
  184. </xs:enumeration>
  185. </xs:restriction>
  186. </xs:simpleType>
  187. </xs:attribute>
  188. </xs:attributeGroup>
  189. <xs:attributeGroup name="db.valign.attribute">
  190. <xs:attribute name="valign" use="required">
  191. <xs:simpleType>
  192. <xs:restriction base="xs:token">
  193. <xs:enumeration value="bottom">
  194. <xs:annotation>
  195. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  196. </xs:annotation>
  197. </xs:enumeration>
  198. <xs:enumeration value="middle">
  199. <xs:annotation>
  200. <xs:documentation>Aligned in the middle.</xs:documentation>
  201. </xs:annotation>
  202. </xs:enumeration>
  203. <xs:enumeration value="top">
  204. <xs:annotation>
  205. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  206. </xs:annotation>
  207. </xs:enumeration>
  208. </xs:restriction>
  209. </xs:simpleType>
  210. </xs:attribute>
  211. </xs:attributeGroup>
  212. <xs:attributeGroup name="db.specify-col-by-colname.attributes">
  213. <xs:attribute name="colname" use="required"/>
  214. </xs:attributeGroup>
  215. <xs:attributeGroup name="db.specify-col-by-namest.attributes">
  216. <xs:attribute name="namest" use="required"/>
  217. </xs:attributeGroup>
  218. <xs:attributeGroup name="db.specify-span-by-spanspec.attributes">
  219. <xs:attribute name="spanname" use="required"/>
  220. </xs:attributeGroup>
  221. <xs:attributeGroup name="db.specify-span-directly.attributes">
  222. <xs:attribute name="namest" use="required"/>
  223. <xs:attribute name="nameend" use="required"/>
  224. </xs:attributeGroup>
  225. <xs:attributeGroup name="db.column-spec.attributes">
  226. <xs:attribute name="colname"/>
  227. <xs:attribute name="namest"/>
  228. <xs:attribute name="spanname"/>
  229. <xs:attribute name="nameend"/>
  230. </xs:attributeGroup>
  231. <xs:attributeGroup name="db.colname.attribute">
  232. <xs:attribute name="colname" use="required"/>
  233. </xs:attributeGroup>
  234. <xs:attributeGroup name="db.spanname.attribute">
  235. <xs:attribute name="spanname" use="required"/>
  236. </xs:attributeGroup>
  237. <!-- ====================================================================== -->
  238. <xs:attributeGroup name="db.tgroup.role.attribute">
  239. <xs:attribute name="role" use="required"/>
  240. </xs:attributeGroup>
  241. <xs:attributeGroup name="db.tgroup.tgroupstyle.attribute">
  242. <xs:attribute name="tgroupstyle" use="required"/>
  243. </xs:attributeGroup>
  244. <xs:attributeGroup name="db.tgroup.cols.attribute">
  245. <xs:attribute name="cols" use="required" type="xs:positiveInteger"/>
  246. </xs:attributeGroup>
  247. <xs:attributeGroup name="db.tgroup.attlist">
  248. <xs:attribute name="role"/>
  249. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  250. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  251. <xs:attribute name="char"/>
  252. <xs:attribute name="charoff">
  253. <xs:simpleType>
  254. <xs:restriction base="xs:decimal">
  255. <xs:minExclusive value="0"/>
  256. <xs:maxExclusive value="100"/>
  257. </xs:restriction>
  258. </xs:simpleType>
  259. </xs:attribute>
  260. <xs:attribute name="tgroupstyle"/>
  261. <xs:attributeGroup ref="db:db.tgroup.cols.attribute"/>
  262. <xs:attribute name="colsep">
  263. <xs:simpleType>
  264. <xs:restriction base="xs:token">
  265. <xs:enumeration value="0">
  266. <xs:annotation>
  267. <xs:documentation>No column separator rule.</xs:documentation>
  268. </xs:annotation>
  269. </xs:enumeration>
  270. <xs:enumeration value="1">
  271. <xs:annotation>
  272. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  273. </xs:annotation>
  274. </xs:enumeration>
  275. </xs:restriction>
  276. </xs:simpleType>
  277. </xs:attribute>
  278. <xs:attribute name="rowsep">
  279. <xs:simpleType>
  280. <xs:restriction base="xs:token">
  281. <xs:enumeration value="0">
  282. <xs:annotation>
  283. <xs:documentation>No row separator rule.</xs:documentation>
  284. </xs:annotation>
  285. </xs:enumeration>
  286. <xs:enumeration value="1">
  287. <xs:annotation>
  288. <xs:documentation>Provide a row separator rule below</xs:documentation>
  289. </xs:annotation>
  290. </xs:enumeration>
  291. </xs:restriction>
  292. </xs:simpleType>
  293. </xs:attribute>
  294. <xs:attribute name="align">
  295. <xs:simpleType>
  296. <xs:restriction base="xs:token">
  297. <xs:enumeration value="center">
  298. <xs:annotation>
  299. <xs:documentation>Centered.</xs:documentation>
  300. </xs:annotation>
  301. </xs:enumeration>
  302. <xs:enumeration value="char">
  303. <xs:annotation>
  304. <xs:documentation>Aligned on a particular character.</xs:documentation>
  305. </xs:annotation>
  306. </xs:enumeration>
  307. <xs:enumeration value="justify">
  308. <xs:annotation>
  309. <xs:documentation>Left and right justified.</xs:documentation>
  310. </xs:annotation>
  311. </xs:enumeration>
  312. <xs:enumeration value="left">
  313. <xs:annotation>
  314. <xs:documentation>Left justified.</xs:documentation>
  315. </xs:annotation>
  316. </xs:enumeration>
  317. <xs:enumeration value="right">
  318. <xs:annotation>
  319. <xs:documentation>Right justified.</xs:documentation>
  320. </xs:annotation>
  321. </xs:enumeration>
  322. </xs:restriction>
  323. </xs:simpleType>
  324. </xs:attribute>
  325. </xs:attributeGroup>
  326. <xs:element name="tgroup">
  327. <xs:complexType>
  328. <xs:sequence>
  329. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
  330. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:spanspec"/>
  331. <xs:group minOccurs="0" ref="db:db.cals.thead"/>
  332. <xs:group minOccurs="0" ref="db:db.cals.tfoot"/>
  333. <xs:group ref="db:db.cals.tbody"/>
  334. </xs:sequence>
  335. <xs:attributeGroup ref="db:db.tgroup.attlist"/>
  336. </xs:complexType>
  337. </xs:element>
  338. <!-- ====================================================================== -->
  339. <xs:attributeGroup name="db.colspec.role.attribute">
  340. <xs:attribute name="role" use="required"/>
  341. </xs:attributeGroup>
  342. <xs:attributeGroup name="db.colspec.colnum.attribute">
  343. <xs:attribute name="colnum" use="required" type="xs:positiveInteger"/>
  344. </xs:attributeGroup>
  345. <xs:attributeGroup name="db.colspec.colwidth.attribute">
  346. <xs:attribute name="colwidth" use="required"/>
  347. </xs:attributeGroup>
  348. <xs:attributeGroup name="db.colspec.attlist">
  349. <xs:attribute name="role"/>
  350. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  351. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  352. <xs:attribute name="colnum" type="xs:positiveInteger"/>
  353. <xs:attribute name="char"/>
  354. <xs:attribute name="colsep">
  355. <xs:simpleType>
  356. <xs:restriction base="xs:token">
  357. <xs:enumeration value="0">
  358. <xs:annotation>
  359. <xs:documentation>No column separator rule.</xs:documentation>
  360. </xs:annotation>
  361. </xs:enumeration>
  362. <xs:enumeration value="1">
  363. <xs:annotation>
  364. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  365. </xs:annotation>
  366. </xs:enumeration>
  367. </xs:restriction>
  368. </xs:simpleType>
  369. </xs:attribute>
  370. <xs:attribute name="colwidth"/>
  371. <xs:attribute name="charoff">
  372. <xs:simpleType>
  373. <xs:restriction base="xs:decimal">
  374. <xs:minExclusive value="0"/>
  375. <xs:maxExclusive value="100"/>
  376. </xs:restriction>
  377. </xs:simpleType>
  378. </xs:attribute>
  379. <xs:attribute name="colname"/>
  380. <xs:attribute name="rowsep">
  381. <xs:simpleType>
  382. <xs:restriction base="xs:token">
  383. <xs:enumeration value="0">
  384. <xs:annotation>
  385. <xs:documentation>No row separator rule.</xs:documentation>
  386. </xs:annotation>
  387. </xs:enumeration>
  388. <xs:enumeration value="1">
  389. <xs:annotation>
  390. <xs:documentation>Provide a row separator rule below</xs:documentation>
  391. </xs:annotation>
  392. </xs:enumeration>
  393. </xs:restriction>
  394. </xs:simpleType>
  395. </xs:attribute>
  396. <xs:attribute name="align">
  397. <xs:simpleType>
  398. <xs:restriction base="xs:token">
  399. <xs:enumeration value="center">
  400. <xs:annotation>
  401. <xs:documentation>Centered.</xs:documentation>
  402. </xs:annotation>
  403. </xs:enumeration>
  404. <xs:enumeration value="char">
  405. <xs:annotation>
  406. <xs:documentation>Aligned on a particular character.</xs:documentation>
  407. </xs:annotation>
  408. </xs:enumeration>
  409. <xs:enumeration value="justify">
  410. <xs:annotation>
  411. <xs:documentation>Left and right justified.</xs:documentation>
  412. </xs:annotation>
  413. </xs:enumeration>
  414. <xs:enumeration value="left">
  415. <xs:annotation>
  416. <xs:documentation>Left justified.</xs:documentation>
  417. </xs:annotation>
  418. </xs:enumeration>
  419. <xs:enumeration value="right">
  420. <xs:annotation>
  421. <xs:documentation>Right justified.</xs:documentation>
  422. </xs:annotation>
  423. </xs:enumeration>
  424. </xs:restriction>
  425. </xs:simpleType>
  426. </xs:attribute>
  427. </xs:attributeGroup>
  428. <xs:element name="colspec">
  429. <xs:complexType>
  430. <xs:attributeGroup ref="db:db.colspec.attlist"/>
  431. </xs:complexType>
  432. </xs:element>
  433. <!-- ====================================================================== -->
  434. <xs:attributeGroup name="db.spanspec.role.attribute">
  435. <xs:attribute name="role" use="required"/>
  436. </xs:attributeGroup>
  437. <xs:attributeGroup name="db.spanspec.namest.attribute">
  438. <xs:attribute name="namest" use="required"/>
  439. </xs:attributeGroup>
  440. <xs:attributeGroup name="db.spanspec.nameend.attribute">
  441. <xs:attribute name="nameend" use="required"/>
  442. </xs:attributeGroup>
  443. <xs:attributeGroup name="db.spanspec.attlist">
  444. <xs:attribute name="role"/>
  445. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  446. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  447. <xs:attributeGroup ref="db:db.spanname.attribute"/>
  448. <xs:attributeGroup ref="db:db.spanspec.namest.attribute"/>
  449. <xs:attributeGroup ref="db:db.spanspec.nameend.attribute"/>
  450. <xs:attribute name="char"/>
  451. <xs:attribute name="colsep">
  452. <xs:simpleType>
  453. <xs:restriction base="xs:token">
  454. <xs:enumeration value="0">
  455. <xs:annotation>
  456. <xs:documentation>No column separator rule.</xs:documentation>
  457. </xs:annotation>
  458. </xs:enumeration>
  459. <xs:enumeration value="1">
  460. <xs:annotation>
  461. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  462. </xs:annotation>
  463. </xs:enumeration>
  464. </xs:restriction>
  465. </xs:simpleType>
  466. </xs:attribute>
  467. <xs:attribute name="charoff">
  468. <xs:simpleType>
  469. <xs:restriction base="xs:decimal">
  470. <xs:minExclusive value="0"/>
  471. <xs:maxExclusive value="100"/>
  472. </xs:restriction>
  473. </xs:simpleType>
  474. </xs:attribute>
  475. <xs:attribute name="rowsep">
  476. <xs:simpleType>
  477. <xs:restriction base="xs:token">
  478. <xs:enumeration value="0">
  479. <xs:annotation>
  480. <xs:documentation>No row separator rule.</xs:documentation>
  481. </xs:annotation>
  482. </xs:enumeration>
  483. <xs:enumeration value="1">
  484. <xs:annotation>
  485. <xs:documentation>Provide a row separator rule below</xs:documentation>
  486. </xs:annotation>
  487. </xs:enumeration>
  488. </xs:restriction>
  489. </xs:simpleType>
  490. </xs:attribute>
  491. <xs:attribute name="align">
  492. <xs:simpleType>
  493. <xs:restriction base="xs:token">
  494. <xs:enumeration value="center">
  495. <xs:annotation>
  496. <xs:documentation>Centered.</xs:documentation>
  497. </xs:annotation>
  498. </xs:enumeration>
  499. <xs:enumeration value="char">
  500. <xs:annotation>
  501. <xs:documentation>Aligned on a particular character.</xs:documentation>
  502. </xs:annotation>
  503. </xs:enumeration>
  504. <xs:enumeration value="justify">
  505. <xs:annotation>
  506. <xs:documentation>Left and right justified.</xs:documentation>
  507. </xs:annotation>
  508. </xs:enumeration>
  509. <xs:enumeration value="left">
  510. <xs:annotation>
  511. <xs:documentation>Left justified.</xs:documentation>
  512. </xs:annotation>
  513. </xs:enumeration>
  514. <xs:enumeration value="right">
  515. <xs:annotation>
  516. <xs:documentation>Right justified.</xs:documentation>
  517. </xs:annotation>
  518. </xs:enumeration>
  519. </xs:restriction>
  520. </xs:simpleType>
  521. </xs:attribute>
  522. </xs:attributeGroup>
  523. <xs:element name="spanspec">
  524. <xs:complexType>
  525. <xs:attributeGroup ref="db:db.spanspec.attlist"/>
  526. </xs:complexType>
  527. </xs:element>
  528. <!-- ====================================================================== -->
  529. <xs:attributeGroup name="db.cals.thead.role.attribute">
  530. <xs:attribute name="role" use="required"/>
  531. </xs:attributeGroup>
  532. <xs:attributeGroup name="db.cals.thead.attlist">
  533. <xs:attribute name="role"/>
  534. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  535. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  536. <xs:attribute name="valign">
  537. <xs:simpleType>
  538. <xs:restriction base="xs:token">
  539. <xs:enumeration value="bottom">
  540. <xs:annotation>
  541. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  542. </xs:annotation>
  543. </xs:enumeration>
  544. <xs:enumeration value="middle">
  545. <xs:annotation>
  546. <xs:documentation>Aligned in the middle.</xs:documentation>
  547. </xs:annotation>
  548. </xs:enumeration>
  549. <xs:enumeration value="top">
  550. <xs:annotation>
  551. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  552. </xs:annotation>
  553. </xs:enumeration>
  554. </xs:restriction>
  555. </xs:simpleType>
  556. </xs:attribute>
  557. </xs:attributeGroup>
  558. <xs:group name="db.cals.thead">
  559. <xs:sequence>
  560. <xs:element name="thead">
  561. <xs:complexType>
  562. <xs:sequence>
  563. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
  564. <xs:group maxOccurs="unbounded" ref="db:db.row"/>
  565. </xs:sequence>
  566. <xs:attributeGroup ref="db:db.cals.thead.attlist"/>
  567. </xs:complexType>
  568. </xs:element>
  569. </xs:sequence>
  570. </xs:group>
  571. <!-- ====================================================================== -->
  572. <xs:attributeGroup name="db.cals.tfoot.role.attribute">
  573. <xs:attribute name="role" use="required"/>
  574. </xs:attributeGroup>
  575. <xs:attributeGroup name="db.cals.tfoot.attlist">
  576. <xs:attribute name="role"/>
  577. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  578. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  579. <xs:attribute name="valign">
  580. <xs:simpleType>
  581. <xs:restriction base="xs:token">
  582. <xs:enumeration value="bottom">
  583. <xs:annotation>
  584. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  585. </xs:annotation>
  586. </xs:enumeration>
  587. <xs:enumeration value="middle">
  588. <xs:annotation>
  589. <xs:documentation>Aligned in the middle.</xs:documentation>
  590. </xs:annotation>
  591. </xs:enumeration>
  592. <xs:enumeration value="top">
  593. <xs:annotation>
  594. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  595. </xs:annotation>
  596. </xs:enumeration>
  597. </xs:restriction>
  598. </xs:simpleType>
  599. </xs:attribute>
  600. </xs:attributeGroup>
  601. <xs:group name="db.cals.tfoot">
  602. <xs:sequence>
  603. <xs:element name="tfoot">
  604. <xs:complexType>
  605. <xs:sequence>
  606. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
  607. <xs:group maxOccurs="unbounded" ref="db:db.row"/>
  608. </xs:sequence>
  609. <xs:attributeGroup ref="db:db.cals.tfoot.attlist"/>
  610. </xs:complexType>
  611. </xs:element>
  612. </xs:sequence>
  613. </xs:group>
  614. <!-- ====================================================================== -->
  615. <xs:attributeGroup name="db.cals.tbody.role.attribute">
  616. <xs:attribute name="role" use="required"/>
  617. </xs:attributeGroup>
  618. <xs:attributeGroup name="db.cals.tbody.attlist">
  619. <xs:attribute name="role"/>
  620. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  621. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  622. <xs:attribute name="valign">
  623. <xs:simpleType>
  624. <xs:restriction base="xs:token">
  625. <xs:enumeration value="bottom">
  626. <xs:annotation>
  627. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  628. </xs:annotation>
  629. </xs:enumeration>
  630. <xs:enumeration value="middle">
  631. <xs:annotation>
  632. <xs:documentation>Aligned in the middle.</xs:documentation>
  633. </xs:annotation>
  634. </xs:enumeration>
  635. <xs:enumeration value="top">
  636. <xs:annotation>
  637. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  638. </xs:annotation>
  639. </xs:enumeration>
  640. </xs:restriction>
  641. </xs:simpleType>
  642. </xs:attribute>
  643. </xs:attributeGroup>
  644. <xs:group name="db.cals.tbody">
  645. <xs:sequence>
  646. <xs:element name="tbody">
  647. <xs:complexType>
  648. <xs:group maxOccurs="unbounded" ref="db:db.row"/>
  649. <xs:attributeGroup ref="db:db.cals.tbody.attlist"/>
  650. </xs:complexType>
  651. </xs:element>
  652. </xs:sequence>
  653. </xs:group>
  654. <!-- ====================================================================== -->
  655. <xs:attributeGroup name="db.row.role.attribute">
  656. <xs:attribute name="role" use="required"/>
  657. </xs:attributeGroup>
  658. <xs:attributeGroup name="db.row.attlist">
  659. <xs:attribute name="role"/>
  660. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  661. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  662. <xs:attribute name="rowsep">
  663. <xs:simpleType>
  664. <xs:restriction base="xs:token">
  665. <xs:enumeration value="0">
  666. <xs:annotation>
  667. <xs:documentation>No row separator rule.</xs:documentation>
  668. </xs:annotation>
  669. </xs:enumeration>
  670. <xs:enumeration value="1">
  671. <xs:annotation>
  672. <xs:documentation>Provide a row separator rule below</xs:documentation>
  673. </xs:annotation>
  674. </xs:enumeration>
  675. </xs:restriction>
  676. </xs:simpleType>
  677. </xs:attribute>
  678. <xs:attribute name="valign">
  679. <xs:simpleType>
  680. <xs:restriction base="xs:token">
  681. <xs:enumeration value="bottom">
  682. <xs:annotation>
  683. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  684. </xs:annotation>
  685. </xs:enumeration>
  686. <xs:enumeration value="middle">
  687. <xs:annotation>
  688. <xs:documentation>Aligned in the middle.</xs:documentation>
  689. </xs:annotation>
  690. </xs:enumeration>
  691. <xs:enumeration value="top">
  692. <xs:annotation>
  693. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  694. </xs:annotation>
  695. </xs:enumeration>
  696. </xs:restriction>
  697. </xs:simpleType>
  698. </xs:attribute>
  699. </xs:attributeGroup>
  700. <xs:group name="db.row">
  701. <xs:sequence>
  702. <xs:element name="row">
  703. <xs:complexType>
  704. <xs:choice maxOccurs="unbounded">
  705. <xs:element ref="db:entry"/>
  706. <xs:element ref="db:entrytbl"/>
  707. </xs:choice>
  708. <xs:attributeGroup ref="db:db.row.attlist"/>
  709. </xs:complexType>
  710. </xs:element>
  711. </xs:sequence>
  712. </xs:group>
  713. <!-- ====================================================================== -->
  714. <xs:attributeGroup name="db.entry.role.attribute">
  715. <xs:attribute name="role" use="required"/>
  716. </xs:attributeGroup>
  717. <xs:attributeGroup name="db.entry.morerows.attribute">
  718. <xs:attribute name="morerows" use="required" type="xs:integer"/>
  719. </xs:attributeGroup>
  720. <xs:attributeGroup name="db.entry.rotate.attribute">
  721. <xs:attribute name="rotate" use="required">
  722. <xs:simpleType>
  723. <xs:restriction base="xs:token">
  724. <xs:enumeration value="0">
  725. <xs:annotation>
  726. <xs:documentation>Do not rotate the cell.</xs:documentation>
  727. </xs:annotation>
  728. </xs:enumeration>
  729. <xs:enumeration value="1">
  730. <xs:annotation>
  731. <xs:documentation>Rotate the cell 90 degrees counter-clockwise.</xs:documentation>
  732. </xs:annotation>
  733. </xs:enumeration>
  734. </xs:restriction>
  735. </xs:simpleType>
  736. </xs:attribute>
  737. </xs:attributeGroup>
  738. <xs:attributeGroup name="db.entry.attlist">
  739. <xs:attribute name="role"/>
  740. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  741. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  742. <xs:attribute name="valign">
  743. <xs:simpleType>
  744. <xs:restriction base="xs:token">
  745. <xs:enumeration value="bottom">
  746. <xs:annotation>
  747. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  748. </xs:annotation>
  749. </xs:enumeration>
  750. <xs:enumeration value="middle">
  751. <xs:annotation>
  752. <xs:documentation>Aligned in the middle.</xs:documentation>
  753. </xs:annotation>
  754. </xs:enumeration>
  755. <xs:enumeration value="top">
  756. <xs:annotation>
  757. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  758. </xs:annotation>
  759. </xs:enumeration>
  760. </xs:restriction>
  761. </xs:simpleType>
  762. </xs:attribute>
  763. <xs:attribute name="char"/>
  764. <xs:attribute name="colsep">
  765. <xs:simpleType>
  766. <xs:restriction base="xs:token">
  767. <xs:enumeration value="0">
  768. <xs:annotation>
  769. <xs:documentation>No column separator rule.</xs:documentation>
  770. </xs:annotation>
  771. </xs:enumeration>
  772. <xs:enumeration value="1">
  773. <xs:annotation>
  774. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  775. </xs:annotation>
  776. </xs:enumeration>
  777. </xs:restriction>
  778. </xs:simpleType>
  779. </xs:attribute>
  780. <xs:attribute name="charoff">
  781. <xs:simpleType>
  782. <xs:restriction base="xs:decimal">
  783. <xs:minExclusive value="0"/>
  784. <xs:maxExclusive value="100"/>
  785. </xs:restriction>
  786. </xs:simpleType>
  787. </xs:attribute>
  788. <xs:attribute name="morerows" type="xs:integer"/>
  789. <xs:attributeGroup ref="db:db.column-spec.attributes"/>
  790. <xs:attribute name="rowsep">
  791. <xs:simpleType>
  792. <xs:restriction base="xs:token">
  793. <xs:enumeration value="0">
  794. <xs:annotation>
  795. <xs:documentation>No row separator rule.</xs:documentation>
  796. </xs:annotation>
  797. </xs:enumeration>
  798. <xs:enumeration value="1">
  799. <xs:annotation>
  800. <xs:documentation>Provide a row separator rule below</xs:documentation>
  801. </xs:annotation>
  802. </xs:enumeration>
  803. </xs:restriction>
  804. </xs:simpleType>
  805. </xs:attribute>
  806. <xs:attribute name="rotate">
  807. <xs:simpleType>
  808. <xs:restriction base="xs:token">
  809. <xs:enumeration value="0">
  810. <xs:annotation>
  811. <xs:documentation>Do not rotate the cell.</xs:documentation>
  812. </xs:annotation>
  813. </xs:enumeration>
  814. <xs:enumeration value="1">
  815. <xs:annotation>
  816. <xs:documentation>Rotate the cell 90 degrees counter-clockwise.</xs:documentation>
  817. </xs:annotation>
  818. </xs:enumeration>
  819. </xs:restriction>
  820. </xs:simpleType>
  821. </xs:attribute>
  822. <xs:attribute name="align">
  823. <xs:simpleType>
  824. <xs:restriction base="xs:token">
  825. <xs:enumeration value="center">
  826. <xs:annotation>
  827. <xs:documentation>Centered.</xs:documentation>
  828. </xs:annotation>
  829. </xs:enumeration>
  830. <xs:enumeration value="char">
  831. <xs:annotation>
  832. <xs:documentation>Aligned on a particular character.</xs:documentation>
  833. </xs:annotation>
  834. </xs:enumeration>
  835. <xs:enumeration value="justify">
  836. <xs:annotation>
  837. <xs:documentation>Left and right justified.</xs:documentation>
  838. </xs:annotation>
  839. </xs:enumeration>
  840. <xs:enumeration value="left">
  841. <xs:annotation>
  842. <xs:documentation>Left justified.</xs:documentation>
  843. </xs:annotation>
  844. </xs:enumeration>
  845. <xs:enumeration value="right">
  846. <xs:annotation>
  847. <xs:documentation>Right justified.</xs:documentation>
  848. </xs:annotation>
  849. </xs:enumeration>
  850. </xs:restriction>
  851. </xs:simpleType>
  852. </xs:attribute>
  853. </xs:attributeGroup>
  854. <xs:element name="entry">
  855. <xs:complexType mixed="true">
  856. <xs:choice>
  857. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
  858. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
  859. </xs:choice>
  860. <xs:attributeGroup ref="db:db.entry.attlist"/>
  861. </xs:complexType>
  862. </xs:element>
  863. <!-- ====================================================================== -->
  864. <xs:attributeGroup name="db.entrytbl.role.attribute">
  865. <xs:attribute name="role" use="required"/>
  866. </xs:attributeGroup>
  867. <xs:attributeGroup name="db.entrytbl.tgroupstyle.attribute">
  868. <xs:attribute name="tgroupstyle" use="required"/>
  869. </xs:attributeGroup>
  870. <xs:attributeGroup name="db.entrytbl.cols.attribute">
  871. <xs:attribute name="cols" use="required" type="xs:positiveInteger"/>
  872. </xs:attributeGroup>
  873. <xs:attributeGroup name="db.entrytbl.attlist">
  874. <xs:attribute name="role"/>
  875. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  876. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  877. <xs:attribute name="char"/>
  878. <xs:attribute name="charoff">
  879. <xs:simpleType>
  880. <xs:restriction base="xs:decimal">
  881. <xs:minExclusive value="0"/>
  882. <xs:maxExclusive value="100"/>
  883. </xs:restriction>
  884. </xs:simpleType>
  885. </xs:attribute>
  886. <xs:attributeGroup ref="db:db.column-spec.attributes"/>
  887. <xs:attribute name="tgroupstyle"/>
  888. <xs:attribute name="cols" type="xs:positiveInteger"/>
  889. <xs:attribute name="colsep">
  890. <xs:simpleType>
  891. <xs:restriction base="xs:token">
  892. <xs:enumeration value="0">
  893. <xs:annotation>
  894. <xs:documentation>No column separator rule.</xs:documentation>
  895. </xs:annotation>
  896. </xs:enumeration>
  897. <xs:enumeration value="1">
  898. <xs:annotation>
  899. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  900. </xs:annotation>
  901. </xs:enumeration>
  902. </xs:restriction>
  903. </xs:simpleType>
  904. </xs:attribute>
  905. <xs:attribute name="rowsep">
  906. <xs:simpleType>
  907. <xs:restriction base="xs:token">
  908. <xs:enumeration value="0">
  909. <xs:annotation>
  910. <xs:documentation>No row separator rule.</xs:documentation>
  911. </xs:annotation>
  912. </xs:enumeration>
  913. <xs:enumeration value="1">
  914. <xs:annotation>
  915. <xs:documentation>Provide a row separator rule below</xs:documentation>
  916. </xs:annotation>
  917. </xs:enumeration>
  918. </xs:restriction>
  919. </xs:simpleType>
  920. </xs:attribute>
  921. <xs:attribute name="align">
  922. <xs:simpleType>
  923. <xs:restriction base="xs:token">
  924. <xs:enumeration value="center">
  925. <xs:annotation>
  926. <xs:documentation>Centered.</xs:documentation>
  927. </xs:annotation>
  928. </xs:enumeration>
  929. <xs:enumeration value="char">
  930. <xs:annotation>
  931. <xs:documentation>Aligned on a particular character.</xs:documentation>
  932. </xs:annotation>
  933. </xs:enumeration>
  934. <xs:enumeration value="justify">
  935. <xs:annotation>
  936. <xs:documentation>Left and right justified.</xs:documentation>
  937. </xs:annotation>
  938. </xs:enumeration>
  939. <xs:enumeration value="left">
  940. <xs:annotation>
  941. <xs:documentation>Left justified.</xs:documentation>
  942. </xs:annotation>
  943. </xs:enumeration>
  944. <xs:enumeration value="right">
  945. <xs:annotation>
  946. <xs:documentation>Right justified.</xs:documentation>
  947. </xs:annotation>
  948. </xs:enumeration>
  949. </xs:restriction>
  950. </xs:simpleType>
  951. </xs:attribute>
  952. </xs:attributeGroup>
  953. <xs:element name="entrytbl">
  954. <xs:complexType>
  955. <xs:sequence>
  956. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
  957. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:spanspec"/>
  958. <xs:group minOccurs="0" ref="db:db.cals.entrytbl.thead"/>
  959. <xs:group ref="db:db.cals.entrytbl.tbody"/>
  960. </xs:sequence>
  961. <xs:attributeGroup ref="db:db.entrytbl.attlist"/>
  962. </xs:complexType>
  963. </xs:element>
  964. <!-- ====================================================================== -->
  965. <xs:attributeGroup name="db.cals.entrytbl.thead.role.attribute">
  966. <xs:attribute name="role" use="required"/>
  967. </xs:attributeGroup>
  968. <xs:attributeGroup name="db.cals.entrytbl.thead.attlist">
  969. <xs:attribute name="role"/>
  970. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  971. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  972. <xs:attribute name="valign">
  973. <xs:simpleType>
  974. <xs:restriction base="xs:token">
  975. <xs:enumeration value="bottom">
  976. <xs:annotation>
  977. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  978. </xs:annotation>
  979. </xs:enumeration>
  980. <xs:enumeration value="middle">
  981. <xs:annotation>
  982. <xs:documentation>Aligned in the middle.</xs:documentation>
  983. </xs:annotation>
  984. </xs:enumeration>
  985. <xs:enumeration value="top">
  986. <xs:annotation>
  987. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  988. </xs:annotation>
  989. </xs:enumeration>
  990. </xs:restriction>
  991. </xs:simpleType>
  992. </xs:attribute>
  993. </xs:attributeGroup>
  994. <xs:group name="db.cals.entrytbl.thead">
  995. <xs:sequence>
  996. <xs:element name="thead">
  997. <xs:complexType>
  998. <xs:sequence>
  999. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
  1000. <xs:group maxOccurs="unbounded" ref="db:db.entrytbl.row"/>
  1001. </xs:sequence>
  1002. <xs:attributeGroup ref="db:db.cals.entrytbl.thead.attlist"/>
  1003. </xs:complexType>
  1004. </xs:element>
  1005. </xs:sequence>
  1006. </xs:group>
  1007. <!-- ====================================================================== -->
  1008. <xs:attributeGroup name="db.cals.entrytbl.tbody.role.attribute">
  1009. <xs:attribute name="role" use="required"/>
  1010. </xs:attributeGroup>
  1011. <xs:attributeGroup name="db.cals.entrytbl.tbody.attlist">
  1012. <xs:attribute name="role"/>
  1013. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  1014. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  1015. <xs:attribute name="valign">
  1016. <xs:simpleType>
  1017. <xs:restriction base="xs:token">
  1018. <xs:enumeration value="bottom">
  1019. <xs:annotation>
  1020. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  1021. </xs:annotation>
  1022. </xs:enumeration>
  1023. <xs:enumeration value="middle">
  1024. <xs:annotation>
  1025. <xs:documentation>Aligned in the middle.</xs:documentation>
  1026. </xs:annotation>
  1027. </xs:enumeration>
  1028. <xs:enumeration value="top">
  1029. <xs:annotation>
  1030. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  1031. </xs:annotation>
  1032. </xs:enumeration>
  1033. </xs:restriction>
  1034. </xs:simpleType>
  1035. </xs:attribute>
  1036. </xs:attributeGroup>
  1037. <xs:group name="db.cals.entrytbl.tbody">
  1038. <xs:sequence>
  1039. <xs:element name="tbody">
  1040. <xs:complexType>
  1041. <xs:group maxOccurs="unbounded" ref="db:db.entrytbl.row"/>
  1042. <xs:attributeGroup ref="db:db.cals.entrytbl.tbody.attlist"/>
  1043. </xs:complexType>
  1044. </xs:element>
  1045. </xs:sequence>
  1046. </xs:group>
  1047. <!-- ====================================================================== -->
  1048. <xs:attributeGroup name="db.entrytbl.row.role.attribute">
  1049. <xs:attribute name="role" use="required"/>
  1050. </xs:attributeGroup>
  1051. <xs:attributeGroup name="db.entrytbl.row.attlist">
  1052. <xs:attribute name="role"/>
  1053. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  1054. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  1055. <xs:attribute name="rowsep">
  1056. <xs:simpleType>
  1057. <xs:restriction base="xs:token">
  1058. <xs:enumeration value="0">
  1059. <xs:annotation>
  1060. <xs:documentation>No row separator rule.</xs:documentation>
  1061. </xs:annotation>
  1062. </xs:enumeration>
  1063. <xs:enumeration value="1">
  1064. <xs:annotation>
  1065. <xs:documentation>Provide a row separator rule below</xs:documentation>
  1066. </xs:annotation>
  1067. </xs:enumeration>
  1068. </xs:restriction>
  1069. </xs:simpleType>
  1070. </xs:attribute>
  1071. <xs:attribute name="valign">
  1072. <xs:simpleType>
  1073. <xs:restriction base="xs:token">
  1074. <xs:enumeration value="bottom">
  1075. <xs:annotation>
  1076. <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
  1077. </xs:annotation>
  1078. </xs:enumeration>
  1079. <xs:enumeration value="middle">
  1080. <xs:annotation>
  1081. <xs:documentation>Aligned in the middle.</xs:documentation>
  1082. </xs:annotation>
  1083. </xs:enumeration>
  1084. <xs:enumeration value="top">
  1085. <xs:annotation>
  1086. <xs:documentation>Aligned at the top of the entry.</xs:documentation>
  1087. </xs:annotation>
  1088. </xs:enumeration>
  1089. </xs:restriction>
  1090. </xs:simpleType>
  1091. </xs:attribute>
  1092. </xs:attributeGroup>
  1093. <xs:group name="db.entrytbl.row">
  1094. <xs:sequence>
  1095. <xs:element name="row">
  1096. <xs:complexType>
  1097. <xs:sequence>
  1098. <xs:element maxOccurs="unbounded" ref="db:entry"/>
  1099. </xs:sequence>
  1100. <xs:attributeGroup ref="db:db.entrytbl.row.attlist"/>
  1101. </xs:complexType>
  1102. </xs:element>
  1103. </xs:sequence>
  1104. </xs:group>
  1105. <!-- ====================================================================== -->
  1106. <xs:attributeGroup name="db.cals.table.role.attribute">
  1107. <xs:attribute name="role" use="required"/>
  1108. </xs:attributeGroup>
  1109. <xs:attributeGroup name="db.cals.table.label.attribute">
  1110. <xs:attributeGroup ref="db:db.label.attribute"/>
  1111. </xs:attributeGroup>
  1112. <xs:attributeGroup name="db.cals.table.attlist">
  1113. <xs:attribute name="role"/>
  1114. <xs:attribute name="label"/>
  1115. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  1116. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  1117. <xs:attribute name="tabstyle"/>
  1118. <xs:attribute name="floatstyle"/>
  1119. <xs:attribute name="orient">
  1120. <xs:simpleType>
  1121. <xs:restriction base="xs:token">
  1122. <xs:enumeration value="land">
  1123. <xs:annotation>
  1124. <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
  1125. </xs:annotation>
  1126. </xs:enumeration>
  1127. <xs:enumeration value="port">
  1128. <xs:annotation>
  1129. <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
  1130. </xs:annotation>
  1131. </xs:enumeration>
  1132. </xs:restriction>
  1133. </xs:simpleType>
  1134. </xs:attribute>
  1135. <xs:attribute name="colsep">
  1136. <xs:simpleType>
  1137. <xs:restriction base="xs:token">
  1138. <xs:enumeration value="0">
  1139. <xs:annotation>
  1140. <xs:documentation>No column separator rule.</xs:documentation>
  1141. </xs:annotation>
  1142. </xs:enumeration>
  1143. <xs:enumeration value="1">
  1144. <xs:annotation>
  1145. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  1146. </xs:annotation>
  1147. </xs:enumeration>
  1148. </xs:restriction>
  1149. </xs:simpleType>
  1150. </xs:attribute>
  1151. <xs:attribute name="rowsep">
  1152. <xs:simpleType>
  1153. <xs:restriction base="xs:token">
  1154. <xs:enumeration value="0">
  1155. <xs:annotation>
  1156. <xs:documentation>No row separator rule.</xs:documentation>
  1157. </xs:annotation>
  1158. </xs:enumeration>
  1159. <xs:enumeration value="1">
  1160. <xs:annotation>
  1161. <xs:documentation>Provide a row separator rule below</xs:documentation>
  1162. </xs:annotation>
  1163. </xs:enumeration>
  1164. </xs:restriction>
  1165. </xs:simpleType>
  1166. </xs:attribute>
  1167. <xs:attribute name="frame">
  1168. <xs:simpleType>
  1169. <xs:restriction base="xs:token">
  1170. <xs:enumeration value="all">
  1171. <xs:annotation>
  1172. <xs:documentation>Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.</xs:documentation>
  1173. </xs:annotation>
  1174. </xs:enumeration>
  1175. <xs:enumeration value="bottom">
  1176. <xs:annotation>
  1177. <xs:documentation>Frame only the bottom of the table.</xs:documentation>
  1178. </xs:annotation>
  1179. </xs:enumeration>
  1180. <xs:enumeration value="none">
  1181. <xs:annotation>
  1182. <xs:documentation>Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.</xs:documentation>
  1183. </xs:annotation>
  1184. </xs:enumeration>
  1185. <xs:enumeration value="sides">
  1186. <xs:annotation>
  1187. <xs:documentation>Frame the left and right sides of the table.</xs:documentation>
  1188. </xs:annotation>
  1189. </xs:enumeration>
  1190. <xs:enumeration value="top">
  1191. <xs:annotation>
  1192. <xs:documentation>Frame the top of the table.</xs:documentation>
  1193. </xs:annotation>
  1194. </xs:enumeration>
  1195. <xs:enumeration value="topbot">
  1196. <xs:annotation>
  1197. <xs:documentation>Frame the top and bottom of the table.</xs:documentation>
  1198. </xs:annotation>
  1199. </xs:enumeration>
  1200. </xs:restriction>
  1201. </xs:simpleType>
  1202. </xs:attribute>
  1203. <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
  1204. <xs:attribute name="shortentry">
  1205. <xs:simpleType>
  1206. <xs:restriction base="xs:token">
  1207. <xs:enumeration value="0">
  1208. <xs:annotation>
  1209. <xs:documentation>Indicates that the full title should be used.</xs:documentation>
  1210. </xs:annotation>
  1211. </xs:enumeration>
  1212. <xs:enumeration value="1">
  1213. <xs:annotation>
  1214. <xs:documentation>Indicates that the short short title (titleabbrev) should be used.</xs:documentation>
  1215. </xs:annotation>
  1216. </xs:enumeration>
  1217. </xs:restriction>
  1218. </xs:simpleType>
  1219. </xs:attribute>
  1220. <xs:attribute name="tocentry">
  1221. <xs:simpleType>
  1222. <xs:restriction base="xs:token">
  1223. <xs:enumeration value="0">
  1224. <xs:annotation>
  1225. <xs:documentation>Indicates that the table should not occur in the List of Tables.</xs:documentation>
  1226. </xs:annotation>
  1227. </xs:enumeration>
  1228. <xs:enumeration value="1">
  1229. <xs:annotation>
  1230. <xs:documentation>Indicates that the table should appear in the List of Tables.</xs:documentation>
  1231. </xs:annotation>
  1232. </xs:enumeration>
  1233. </xs:restriction>
  1234. </xs:simpleType>
  1235. </xs:attribute>
  1236. <xs:attribute name="rowheader">
  1237. <xs:simpleType>
  1238. <xs:restriction base="xs:token">
  1239. <xs:enumeration value="firstcol">
  1240. <xs:annotation>
  1241. <xs:documentation>Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).</xs:documentation>
  1242. </xs:annotation>
  1243. </xs:enumeration>
  1244. <xs:enumeration value="norowheader">
  1245. <xs:annotation>
  1246. <xs:documentation>Indicates that entries in the first column have no special significance with respect to column headers.</xs:documentation>
  1247. </xs:annotation>
  1248. </xs:enumeration>
  1249. </xs:restriction>
  1250. </xs:simpleType>
  1251. </xs:attribute>
  1252. </xs:attributeGroup>
  1253. <xs:group name="db.cals.table.info">
  1254. <xs:sequence>
  1255. <xs:group ref="db:db._info.title.onlyreq"/>
  1256. </xs:sequence>
  1257. </xs:group>
  1258. <xs:group name="db.cals.table">
  1259. <xs:sequence>
  1260. <xs:element name="table">
  1261. <xs:complexType>
  1262. <xs:sequence>
  1263. <xs:group ref="db:db.cals.table.info"/>
  1264. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1265. <xs:element ref="db:alt"/>
  1266. <xs:group ref="db:db.indexing.inlines"/>
  1267. <xs:element ref="db:textobject"/>
  1268. </xs:choice>
  1269. <xs:choice>
  1270. <xs:element maxOccurs="unbounded" ref="db:mediaobject"/>
  1271. <xs:element maxOccurs="unbounded" ref="db:tgroup"/>
  1272. </xs:choice>
  1273. <xs:group minOccurs="0" ref="db:db.caption"/>
  1274. </xs:sequence>
  1275. <xs:attributeGroup ref="db:db.cals.table.attlist"/>
  1276. </xs:complexType>
  1277. </xs:element>
  1278. </xs:sequence>
  1279. </xs:group>
  1280. <!-- ====================================================================== -->
  1281. <xs:attributeGroup name="db.cals.informaltable.role.attribute">
  1282. <xs:attribute name="role" use="required"/>
  1283. </xs:attributeGroup>
  1284. <xs:attributeGroup name="db.cals.informaltable.attlist">
  1285. <xs:attribute name="role"/>
  1286. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  1287. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  1288. <xs:attribute name="tabstyle"/>
  1289. <xs:attribute name="floatstyle"/>
  1290. <xs:attribute name="orient">
  1291. <xs:simpleType>
  1292. <xs:restriction base="xs:token">
  1293. <xs:enumeration value="land">
  1294. <xs:annotation>
  1295. <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
  1296. </xs:annotation>
  1297. </xs:enumeration>
  1298. <xs:enumeration value="port">
  1299. <xs:annotation>
  1300. <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
  1301. </xs:annotation>
  1302. </xs:enumeration>
  1303. </xs:restriction>
  1304. </xs:simpleType>
  1305. </xs:attribute>
  1306. <xs:attribute name="colsep">
  1307. <xs:simpleType>
  1308. <xs:restriction base="xs:token">
  1309. <xs:enumeration value="0">
  1310. <xs:annotation>
  1311. <xs:documentation>No column separator rule.</xs:documentation>
  1312. </xs:annotation>
  1313. </xs:enumeration>
  1314. <xs:enumeration value="1">
  1315. <xs:annotation>
  1316. <xs:documentation>Provide a column separator rule on the right</xs:documentation>
  1317. </xs:annotation>
  1318. </xs:enumeration>
  1319. </xs:restriction>
  1320. </xs:simpleType>
  1321. </xs:attribute>
  1322. <xs:attribute name="rowsep">
  1323. <xs:simpleType>
  1324. <xs:restriction base="xs:token">
  1325. <xs:enumeration value="0">
  1326. <xs:annotation>
  1327. <xs:documentation>No row separator rule.</xs:documentation>
  1328. </xs:annotation>
  1329. </xs:enumeration>
  1330. <xs:enumeration value="1">
  1331. <xs:annotation>
  1332. <xs:documentation>Provide a row separator rule below</xs:documentation>
  1333. </xs:annotation>
  1334. </xs:enumeration>
  1335. </xs:restriction>
  1336. </xs:simpleType>
  1337. </xs:attribute>
  1338. <xs:attribute name="frame">
  1339. <xs:simpleType>
  1340. <xs:restriction base="xs:token">
  1341. <xs:enumeration value="all">
  1342. <xs:annotation>
  1343. <xs:documentation>Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.</xs:documentation>
  1344. </xs:annotation>
  1345. </xs:enumeration>
  1346. <xs:enumeration value="bottom">
  1347. <xs:annotation>
  1348. <xs:documentation>Frame only the bottom of the table.</xs:documentation>
  1349. </xs:annotation>
  1350. </xs:enumeration>
  1351. <xs:enumeration value="none">
  1352. <xs:annotation>
  1353. <xs:documentation>Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.</xs:documentation>
  1354. </xs:annotation>
  1355. </xs:enumeration>
  1356. <xs:enumeration value="sides">
  1357. <xs:annotation>
  1358. <xs:documentation>Frame the left and right sides of the table.</xs:documentation>
  1359. </xs:annotation>
  1360. </xs:enumeration>
  1361. <xs:enumeration value="top">
  1362. <xs:annotation>
  1363. <xs:documentation>Frame the top of the table.</xs:documentation>
  1364. </xs:annotation>
  1365. </xs:enumeration>
  1366. <xs:enumeration value="topbot">
  1367. <xs:annotation>
  1368. <xs:documentation>Frame the top and bottom of the table.</xs:documentation>
  1369. </xs:annotation>
  1370. </xs:enumeration>
  1371. </xs:restriction>
  1372. </xs:simpleType>
  1373. </xs:attribute>
  1374. <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
  1375. <xs:attribute name="rowheader">
  1376. <xs:simpleType>
  1377. <xs:restriction base="xs:token">
  1378. <xs:enumeration value="firstcol">
  1379. <xs:annotation>
  1380. <xs:documentation>Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).</xs:documentation>
  1381. </xs:annotation>
  1382. </xs:enumeration>
  1383. <xs:enumeration value="norowheader">
  1384. <xs:annotation>
  1385. <xs:documentation>Indicates that entries in the first column have no special significance with respect to column headers.</xs:documentation>
  1386. </xs:annotation>
  1387. </xs:enumeration>
  1388. </xs:restriction>
  1389. </xs:simpleType>
  1390. </xs:attribute>
  1391. </xs:attributeGroup>
  1392. <xs:group name="db.cals.informaltable.info">
  1393. <xs:sequence>
  1394. <xs:group ref="db:db._info.title.forbidden"/>
  1395. </xs:sequence>
  1396. </xs:group>
  1397. <xs:group name="db.cals.informaltable">
  1398. <xs:sequence>
  1399. <xs:element name="informaltable">
  1400. <xs:complexType>
  1401. <xs:sequence>
  1402. <xs:group ref="db:db.cals.informaltable.info"/>
  1403. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1404. <xs:element ref="db:alt"/>
  1405. <xs:group ref="db:db.indexing.inlines"/>
  1406. <xs:element ref="db:textobject"/>
  1407. </xs:choice>
  1408. <xs:choice>
  1409. <xs:element maxOccurs="unbounded" ref="db:mediaobject"/>
  1410. <xs:element maxOccurs="unbounded" ref="db:tgroup"/>
  1411. </xs:choice>
  1412. <xs:group minOccurs="0" ref="db:db.caption"/>
  1413. </xs:sequence>
  1414. <xs:attributeGroup ref="db:db.cals.informaltable.attlist"/>
  1415. </xs:complexType>
  1416. </xs:element>
  1417. </xs:sequence>
  1418. </xs:group>
  1419. </xs:schema>