Mercurial > emacs
comparison etc/schema/xhtml-basic-table.rnc @ 86361:38f93f3d00a2
Initial merge of nxml
| author | Mark A. Hershberger <mah@everybody.org> |
|---|---|
| date | Fri, 23 Nov 2007 06:58:00 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 86360:aa83d83c27fe | 86361:38f93f3d00a2 |
|---|---|
| 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 |
