htmltbl.xsd 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  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: htmltbl.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.html.coreattrs">
  31. <xs:attribute name="class"/>
  32. <xs:attribute name="style"/>
  33. <xs:attribute name="title"/>
  34. </xs:attributeGroup>
  35. <!-- dir isn't listed here because it's already a common attribute -->
  36. <xs:attributeGroup name="db.html.i18n">
  37. <xs:attribute name="lang"/>
  38. </xs:attributeGroup>
  39. <xs:attributeGroup name="db.html.events">
  40. <xs:attribute name="onclick"/>
  41. <xs:attribute name="ondblclick"/>
  42. <xs:attribute name="onmousedown"/>
  43. <xs:attribute name="onmouseup"/>
  44. <xs:attribute name="onmouseover"/>
  45. <xs:attribute name="onmousemove"/>
  46. <xs:attribute name="onmouseout"/>
  47. <xs:attribute name="onkeypress"/>
  48. <xs:attribute name="onkeydown"/>
  49. <xs:attribute name="onkeyup"/>
  50. </xs:attributeGroup>
  51. <xs:attributeGroup name="db.html.attrs">
  52. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  53. <xs:attributeGroup ref="db:db.html.coreattrs"/>
  54. <xs:attributeGroup ref="db:db.html.i18n"/>
  55. <xs:attributeGroup ref="db:db.html.events"/>
  56. </xs:attributeGroup>
  57. <xs:attributeGroup name="db.html.cellhalign">
  58. <xs:attribute name="align">
  59. <xs:simpleType>
  60. <xs:restriction base="xs:token">
  61. <xs:enumeration value="left">
  62. <xs:annotation>
  63. <xs:documentation>Left-flush data/Left-justify text. This is the default value for table data.</xs:documentation>
  64. </xs:annotation>
  65. </xs:enumeration>
  66. <xs:enumeration value="center">
  67. <xs:annotation>
  68. <xs:documentation>Center data/Center-justify text. This is the default value for table headers.</xs:documentation>
  69. </xs:annotation>
  70. </xs:enumeration>
  71. <xs:enumeration value="right">
  72. <xs:annotation>
  73. <xs:documentation>Right-flush data/Right-justify text.</xs:documentation>
  74. </xs:annotation>
  75. </xs:enumeration>
  76. <xs:enumeration value="justify">
  77. <xs:annotation>
  78. <xs:documentation>Double-justify text.</xs:documentation>
  79. </xs:annotation>
  80. </xs:enumeration>
  81. <xs:enumeration value="char">
  82. <xs:annotation>
  83. <xs:documentation>Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified.</xs:documentation>
  84. </xs:annotation>
  85. </xs:enumeration>
  86. </xs:restriction>
  87. </xs:simpleType>
  88. </xs:attribute>
  89. <xs:attribute name="char"/>
  90. <xs:attribute name="charoff">
  91. <xs:simpleType>
  92. <xs:union memberTypes="xs:integer">
  93. <xs:simpleType>
  94. <xs:restriction base="xs:string">
  95. <xs:pattern value="[0-9]+%"/>
  96. </xs:restriction>
  97. </xs:simpleType>
  98. </xs:union>
  99. </xs:simpleType>
  100. </xs:attribute>
  101. </xs:attributeGroup>
  102. <xs:attributeGroup name="db.html.cellvalign">
  103. <xs:attribute name="valign">
  104. <xs:simpleType>
  105. <xs:restriction base="xs:token">
  106. <xs:enumeration value="top">
  107. <xs:annotation>
  108. <xs:documentation>Cell data is flush with the top of the cell.</xs:documentation>
  109. </xs:annotation>
  110. </xs:enumeration>
  111. <xs:enumeration value="middle">
  112. <xs:annotation>
  113. <xs:documentation>Cell data is centered vertically within the cell. This is the default value.</xs:documentation>
  114. </xs:annotation>
  115. </xs:enumeration>
  116. <xs:enumeration value="bottom">
  117. <xs:annotation>
  118. <xs:documentation>Cell data is flush with the bottom of the cell.</xs:documentation>
  119. </xs:annotation>
  120. </xs:enumeration>
  121. <xs:enumeration value="baseline">
  122. <xs:annotation>
  123. <xs:documentation>All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells.</xs:documentation>
  124. </xs:annotation>
  125. </xs:enumeration>
  126. </xs:restriction>
  127. </xs:simpleType>
  128. </xs:attribute>
  129. </xs:attributeGroup>
  130. <xs:attributeGroup name="db.html.table.attributes">
  131. <xs:attribute name="summary"/>
  132. <xs:attribute name="width">
  133. <xs:simpleType>
  134. <xs:union memberTypes="xs:integer">
  135. <xs:simpleType>
  136. <xs:restriction base="xs:string">
  137. <xs:pattern value="[0-9]+%"/>
  138. </xs:restriction>
  139. </xs:simpleType>
  140. </xs:union>
  141. </xs:simpleType>
  142. </xs:attribute>
  143. <xs:attribute name="border" type="xs:nonNegativeInteger"/>
  144. <xs:attribute name="frame">
  145. <xs:simpleType>
  146. <xs:restriction base="xs:token">
  147. <xs:enumeration value="void">
  148. <xs:annotation>
  149. <xs:documentation>No sides. This is the default value.</xs:documentation>
  150. </xs:annotation>
  151. </xs:enumeration>
  152. <xs:enumeration value="above">
  153. <xs:annotation>
  154. <xs:documentation>The top side only.</xs:documentation>
  155. </xs:annotation>
  156. </xs:enumeration>
  157. <xs:enumeration value="below">
  158. <xs:annotation>
  159. <xs:documentation>The bottom side only.</xs:documentation>
  160. </xs:annotation>
  161. </xs:enumeration>
  162. <xs:enumeration value="hsides">
  163. <xs:annotation>
  164. <xs:documentation>The top and bottom sides only.</xs:documentation>
  165. </xs:annotation>
  166. </xs:enumeration>
  167. <xs:enumeration value="lhs">
  168. <xs:annotation>
  169. <xs:documentation>The left-hand side only.</xs:documentation>
  170. </xs:annotation>
  171. </xs:enumeration>
  172. <xs:enumeration value="rhs">
  173. <xs:annotation>
  174. <xs:documentation>The right-hand side only.</xs:documentation>
  175. </xs:annotation>
  176. </xs:enumeration>
  177. <xs:enumeration value="vsides">
  178. <xs:annotation>
  179. <xs:documentation>The right and left sides only.</xs:documentation>
  180. </xs:annotation>
  181. </xs:enumeration>
  182. <xs:enumeration value="box">
  183. <xs:annotation>
  184. <xs:documentation>All four sides.</xs:documentation>
  185. </xs:annotation>
  186. </xs:enumeration>
  187. <xs:enumeration value="border">
  188. <xs:annotation>
  189. <xs:documentation>All four sides.</xs:documentation>
  190. </xs:annotation>
  191. </xs:enumeration>
  192. </xs:restriction>
  193. </xs:simpleType>
  194. </xs:attribute>
  195. <xs:attribute name="rules">
  196. <xs:simpleType>
  197. <xs:restriction base="xs:token">
  198. <xs:enumeration value="none">
  199. <xs:annotation>
  200. <xs:documentation>No rules. This is the default value.</xs:documentation>
  201. </xs:annotation>
  202. </xs:enumeration>
  203. <xs:enumeration value="groups">
  204. <xs:annotation>
  205. <xs:documentation>Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only.</xs:documentation>
  206. </xs:annotation>
  207. </xs:enumeration>
  208. <xs:enumeration value="rows">
  209. <xs:annotation>
  210. <xs:documentation>Rules will appear between rows only.</xs:documentation>
  211. </xs:annotation>
  212. </xs:enumeration>
  213. <xs:enumeration value="cols">
  214. <xs:annotation>
  215. <xs:documentation>Rules will appear between columns only.</xs:documentation>
  216. </xs:annotation>
  217. </xs:enumeration>
  218. <xs:enumeration value="all">
  219. <xs:annotation>
  220. <xs:documentation>Rules will appear between all rows and columns.</xs:documentation>
  221. </xs:annotation>
  222. </xs:enumeration>
  223. </xs:restriction>
  224. </xs:simpleType>
  225. </xs:attribute>
  226. <xs:attribute name="cellspacing">
  227. <xs:simpleType>
  228. <xs:union memberTypes="xs:integer">
  229. <xs:simpleType>
  230. <xs:restriction base="xs:string">
  231. <xs:pattern value="[0-9]+%"/>
  232. </xs:restriction>
  233. </xs:simpleType>
  234. </xs:union>
  235. </xs:simpleType>
  236. </xs:attribute>
  237. <xs:attribute name="cellpadding">
  238. <xs:simpleType>
  239. <xs:union memberTypes="xs:integer">
  240. <xs:simpleType>
  241. <xs:restriction base="xs:string">
  242. <xs:pattern value="[0-9]+%"/>
  243. </xs:restriction>
  244. </xs:simpleType>
  245. </xs:union>
  246. </xs:simpleType>
  247. </xs:attribute>
  248. </xs:attributeGroup>
  249. <xs:attributeGroup name="db.html.tablecell.attributes">
  250. <xs:attribute name="abbr"/>
  251. <xs:attribute name="axis"/>
  252. <xs:attribute name="headers"/>
  253. <xs:attribute name="scope">
  254. <xs:simpleType>
  255. <xs:restriction base="xs:token">
  256. <xs:enumeration value="row">
  257. <xs:annotation>
  258. <xs:documentation>The current cell provides header information for the rest of the row that contains it</xs:documentation>
  259. </xs:annotation>
  260. </xs:enumeration>
  261. <xs:enumeration value="col">
  262. <xs:annotation>
  263. <xs:documentation>The current cell provides header information for the rest of the column that contains it.</xs:documentation>
  264. </xs:annotation>
  265. </xs:enumeration>
  266. <xs:enumeration value="rowgroup">
  267. <xs:annotation>
  268. <xs:documentation>The header cell provides header information for the rest of the row group that contains it.</xs:documentation>
  269. </xs:annotation>
  270. </xs:enumeration>
  271. <xs:enumeration value="colgroup">
  272. <xs:annotation>
  273. <xs:documentation>The header cell provides header information for the rest of the column group that contains it.</xs:documentation>
  274. </xs:annotation>
  275. </xs:enumeration>
  276. </xs:restriction>
  277. </xs:simpleType>
  278. </xs:attribute>
  279. <xs:attribute name="rowspan" type="xs:nonNegativeInteger"/>
  280. <xs:attribute name="colspan" type="xs:nonNegativeInteger"/>
  281. </xs:attributeGroup>
  282. <xs:group name="db.html.table.info">
  283. <xs:sequence>
  284. <xs:group ref="db:db._info.title.forbidden"/>
  285. </xs:sequence>
  286. </xs:group>
  287. <xs:complexType name="db.html.table.model">
  288. <xs:sequence>
  289. <xs:group minOccurs="0" ref="db:db.html.table.info"/>
  290. <xs:group ref="db:db.html.caption"/>
  291. <xs:choice>
  292. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:col"/>
  293. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colgroup"/>
  294. </xs:choice>
  295. <xs:group minOccurs="0" ref="db:db.html.thead"/>
  296. <xs:group minOccurs="0" ref="db:db.html.tfoot"/>
  297. <xs:choice>
  298. <xs:group maxOccurs="unbounded" ref="db:db.html.tbody"/>
  299. <xs:element maxOccurs="unbounded" ref="db:tr"/>
  300. </xs:choice>
  301. </xs:sequence>
  302. </xs:complexType>
  303. <xs:group name="db.html.informaltable.info">
  304. <xs:sequence>
  305. <xs:group ref="db:db._info.title.forbidden"/>
  306. </xs:sequence>
  307. </xs:group>
  308. <xs:complexType name="db.html.informaltable.model">
  309. <xs:sequence>
  310. <xs:group minOccurs="0" ref="db:db.html.informaltable.info"/>
  311. <xs:choice>
  312. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:col"/>
  313. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colgroup"/>
  314. </xs:choice>
  315. <xs:group minOccurs="0" ref="db:db.html.thead"/>
  316. <xs:group minOccurs="0" ref="db:db.html.tfoot"/>
  317. <xs:choice>
  318. <xs:group maxOccurs="unbounded" ref="db:db.html.tbody"/>
  319. <xs:element maxOccurs="unbounded" ref="db:tr"/>
  320. </xs:choice>
  321. </xs:sequence>
  322. </xs:complexType>
  323. <!-- ====================================================================== -->
  324. <xs:attributeGroup name="db.html.table.role.attribute">
  325. <xs:attribute name="role" use="required"/>
  326. </xs:attributeGroup>
  327. <xs:attributeGroup name="db.html.table.label.attribute">
  328. <xs:attributeGroup ref="db:db.label.attribute"/>
  329. </xs:attributeGroup>
  330. <xs:attributeGroup name="db.html.table.attlist">
  331. <xs:attributeGroup ref="db:db.html.attrs"/>
  332. <xs:attributeGroup ref="db:db.html.table.attributes"/>
  333. <xs:attribute name="role"/>
  334. <xs:attribute name="label"/>
  335. <xs:attribute name="orient">
  336. <xs:simpleType>
  337. <xs:restriction base="xs:token">
  338. <xs:enumeration value="land">
  339. <xs:annotation>
  340. <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
  341. </xs:annotation>
  342. </xs:enumeration>
  343. <xs:enumeration value="port">
  344. <xs:annotation>
  345. <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
  346. </xs:annotation>
  347. </xs:enumeration>
  348. </xs:restriction>
  349. </xs:simpleType>
  350. </xs:attribute>
  351. <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
  352. <xs:attribute name="tabstyle"/>
  353. <xs:attribute name="floatstyle"/>
  354. </xs:attributeGroup>
  355. <xs:group name="db.html.table">
  356. <xs:sequence>
  357. <xs:element name="table">
  358. <xs:complexType>
  359. <xs:complexContent>
  360. <xs:extension base="db:db.html.table.model">
  361. <xs:attributeGroup ref="db:db.html.table.attlist"/>
  362. </xs:extension>
  363. </xs:complexContent>
  364. </xs:complexType>
  365. </xs:element>
  366. </xs:sequence>
  367. </xs:group>
  368. <!-- ====================================================================== -->
  369. <xs:attributeGroup name="db.html.informaltable.attlist">
  370. <xs:attributeGroup ref="db:db.html.attrs"/>
  371. <xs:attributeGroup ref="db:db.html.table.attributes"/>
  372. </xs:attributeGroup>
  373. <xs:group name="db.html.informaltable">
  374. <xs:sequence>
  375. <xs:element name="informaltable">
  376. <xs:complexType>
  377. <xs:complexContent>
  378. <xs:extension base="db:db.html.informaltable.model">
  379. <xs:attributeGroup ref="db:db.html.informaltable.attlist"/>
  380. </xs:extension>
  381. </xs:complexContent>
  382. </xs:complexType>
  383. </xs:element>
  384. </xs:sequence>
  385. </xs:group>
  386. <!-- ====================================================================== -->
  387. <xs:attributeGroup name="db.html.caption.attlist">
  388. <xs:attributeGroup ref="db:db.html.attrs"/>
  389. </xs:attributeGroup>
  390. <xs:group name="db.html.caption">
  391. <xs:sequence>
  392. <xs:element name="caption">
  393. <xs:complexType mixed="true">
  394. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
  395. <xs:attributeGroup ref="db:db.html.caption.attlist"/>
  396. </xs:complexType>
  397. </xs:element>
  398. </xs:sequence>
  399. </xs:group>
  400. <!-- ====================================================================== -->
  401. <xs:attributeGroup name="db.html.col.attlist">
  402. <xs:attributeGroup ref="db:db.html.attrs"/>
  403. <xs:attribute name="span" type="xs:nonNegativeInteger"/>
  404. <xs:attribute name="width"/>
  405. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  406. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  407. </xs:attributeGroup>
  408. <xs:element name="col">
  409. <xs:complexType>
  410. <xs:attributeGroup ref="db:db.html.col.attlist"/>
  411. </xs:complexType>
  412. </xs:element>
  413. <!-- ====================================================================== -->
  414. <xs:attributeGroup name="db.html.colgroup.attlist">
  415. <xs:attributeGroup ref="db:db.html.attrs"/>
  416. <xs:attribute name="span" type="xs:nonNegativeInteger"/>
  417. <xs:attribute name="width"/>
  418. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  419. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  420. </xs:attributeGroup>
  421. <xs:element name="colgroup">
  422. <xs:complexType>
  423. <xs:sequence>
  424. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:col"/>
  425. </xs:sequence>
  426. <xs:attributeGroup ref="db:db.html.colgroup.attlist"/>
  427. </xs:complexType>
  428. </xs:element>
  429. <!-- ====================================================================== -->
  430. <xs:attributeGroup name="db.html.thead.attlist">
  431. <xs:attributeGroup ref="db:db.html.attrs"/>
  432. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  433. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  434. </xs:attributeGroup>
  435. <xs:group name="db.html.thead">
  436. <xs:sequence>
  437. <xs:element name="thead">
  438. <xs:complexType>
  439. <xs:sequence>
  440. <xs:element maxOccurs="unbounded" ref="db:tr"/>
  441. </xs:sequence>
  442. <xs:attributeGroup ref="db:db.html.thead.attlist"/>
  443. </xs:complexType>
  444. </xs:element>
  445. </xs:sequence>
  446. </xs:group>
  447. <!-- ====================================================================== -->
  448. <xs:attributeGroup name="db.html.tfoot.attlist">
  449. <xs:attributeGroup ref="db:db.html.attrs"/>
  450. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  451. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  452. </xs:attributeGroup>
  453. <xs:group name="db.html.tfoot">
  454. <xs:sequence>
  455. <xs:element name="tfoot">
  456. <xs:complexType>
  457. <xs:sequence>
  458. <xs:element maxOccurs="unbounded" ref="db:tr"/>
  459. </xs:sequence>
  460. <xs:attributeGroup ref="db:db.html.tfoot.attlist"/>
  461. </xs:complexType>
  462. </xs:element>
  463. </xs:sequence>
  464. </xs:group>
  465. <!-- ====================================================================== -->
  466. <xs:attributeGroup name="db.html.tbody.attlist">
  467. <xs:attributeGroup ref="db:db.html.attrs"/>
  468. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  469. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  470. </xs:attributeGroup>
  471. <xs:group name="db.html.tbody">
  472. <xs:sequence>
  473. <xs:element name="tbody">
  474. <xs:complexType>
  475. <xs:sequence>
  476. <xs:element maxOccurs="unbounded" ref="db:tr"/>
  477. </xs:sequence>
  478. <xs:attributeGroup ref="db:db.html.tbody.attlist"/>
  479. </xs:complexType>
  480. </xs:element>
  481. </xs:sequence>
  482. </xs:group>
  483. <!-- ====================================================================== -->
  484. <xs:attributeGroup name="db.html.tr.attlist">
  485. <xs:attributeGroup ref="db:db.html.attrs"/>
  486. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  487. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  488. </xs:attributeGroup>
  489. <xs:element name="tr">
  490. <xs:complexType>
  491. <xs:choice maxOccurs="unbounded">
  492. <xs:element ref="db:th"/>
  493. <xs:element ref="db:td"/>
  494. </xs:choice>
  495. <xs:attributeGroup ref="db:db.html.tr.attlist"/>
  496. </xs:complexType>
  497. </xs:element>
  498. <!-- ====================================================================== -->
  499. <xs:attributeGroup name="db.html.th.attlist">
  500. <xs:attributeGroup ref="db:db.html.attrs"/>
  501. <xs:attributeGroup ref="db:db.html.tablecell.attributes"/>
  502. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  503. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  504. </xs:attributeGroup>
  505. <xs:element name="th">
  506. <xs:complexType mixed="true">
  507. <xs:choice>
  508. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
  509. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
  510. </xs:choice>
  511. <xs:attributeGroup ref="db:db.html.th.attlist"/>
  512. </xs:complexType>
  513. </xs:element>
  514. <!-- ====================================================================== -->
  515. <xs:attributeGroup name="db.html.td.attlist">
  516. <xs:attributeGroup ref="db:db.html.attrs"/>
  517. <xs:attributeGroup ref="db:db.html.tablecell.attributes"/>
  518. <xs:attributeGroup ref="db:db.html.cellhalign"/>
  519. <xs:attributeGroup ref="db:db.html.cellvalign"/>
  520. </xs:attributeGroup>
  521. <xs:element name="td">
  522. <xs:complexType mixed="true">
  523. <xs:choice>
  524. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
  525. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
  526. </xs:choice>
  527. <xs:attributeGroup ref="db:db.html.td.attlist"/>
  528. </xs:complexType>
  529. </xs:element>
  530. </xs:schema>