Mercurial > emacs
comparison etc/schema/xhtml-btable.rnc @ 91239:2fcaae6177a5
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 16 Dec 2007 05:08:49 +0000 |
parents | 309bef8b751c |
children |
comparison
equal
deleted
inserted
replaced
91238:5cf14a2107b5 | 91239:2fcaae6177a5 |
---|---|
1 # Basic Tables Module | |
2 | |
3 table = element table { table.attlist, caption?, tr+ } | |
4 table.attlist = | |
5 Common.attrib, | |
6 attribute summary { Text.datatype }? | |
7 caption = element caption { caption.attlist, Inline.model } | |
8 caption.attlist = Common.attrib | |
9 tr = element tr { tr.attlist, (th | td)+ } | |
10 tr.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib | |
11 th = element th { th.attlist, Flow.model } | |
12 th.attlist = Cell.attrib | |
13 td = element td { td.attlist, Flow.model } | |
14 td.attlist = Cell.attrib | |
15 Cell.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 | |
25 CellHAlign.attrib = attribute align { "left" | "center" | "right" }? | |
26 CellVAlign.attrib = attribute valign { "top" | "middle" | "bottom" }? | |
27 scope.attrib = attribute scope { "row" | "col" }? | |
28 Block.class |= table |