Update copyright notices for 2013.
[bpt/emacs.git] / etc / schema / xhtml-btable.rnc
CommitLineData
8cd39fb3
MH
1# Basic Tables Module
2
3table = element table { table.attlist, caption?, tr+ }
4table.attlist =
5 Common.attrib,
6 attribute summary { Text.datatype }?
7caption = element caption { caption.attlist, Inline.model }
8caption.attlist = Common.attrib
9tr = element tr { tr.attlist, (th | td)+ }
10tr.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib
11th = element th { th.attlist, Flow.model }
12th.attlist = Cell.attrib
13td = element td { td.attlist, Flow.model }
14td.attlist = Cell.attrib
15Cell.attrib =
16 Common.attrib,
17 attribute abbr { Text.datatype }?,
18 attribute axis { text }?,
19 attribute headers { IDREFS.datatype }?,
20 scope.attrib,
21 attribute rowspan { Number.datatype }?,
22 attribute colspan { Number.datatype }?,
23 CellHAlign.attrib,
24 CellVAlign.attrib
25CellHAlign.attrib = attribute align { "left" | "center" | "right" }?
26CellVAlign.attrib = attribute valign { "top" | "middle" | "bottom" }?
27scope.attrib = attribute scope { "row" | "col" }?
28Block.class |= table