diff options
author | Mark A. Hershberger <mah@everybody.org> | 2007-11-23 06:58:00 +0000 |
---|---|---|
committer | Mark A. Hershberger <mah@everybody.org> | 2007-11-23 06:58:00 +0000 |
commit | 8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc (patch) | |
tree | 7bcd47a7dcbbad100dd3e8f8a7e08b48353c58a8 /etc/schema/xhtml-basic-table.rnc | |
parent | f7cf8b2009b0bc2526d50c3455f737a543122dd4 (diff) | |
download | emacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.tar.gz emacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.tar.bz2 emacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.zip |
Initial merge of nxml
Diffstat (limited to 'etc/schema/xhtml-basic-table.rnc')
-rw-r--r-- | etc/schema/xhtml-basic-table.rnc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/etc/schema/xhtml-basic-table.rnc b/etc/schema/xhtml-basic-table.rnc new file mode 100644 index 00000000000..97e10a56743 --- /dev/null +++ b/etc/schema/xhtml-basic-table.rnc @@ -0,0 +1,28 @@ +# Basic Tables Module + +table = element table { table.attlist, caption?, tr+ } +table.attlist = + Common.attrib, + attribute summary { Text.datatype }? +caption = element caption { caption.attlist, Inline.model } +caption.attlist = Common.attrib +tr = element tr { tr.attlist, (th | td)+ } +tr.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib +th = element th { th.attlist, Flow.model } +th.attlist = Cell.attrib +td = element td { td.attlist, Flow.model } +td.attlist = Cell.attrib +Cell.attrib = + Common.attrib, + attribute abbr { Text.datatype }?, + attribute axis { text }?, + attribute headers { IDREFS.datatype }?, + scope.attrib, + attribute rowspan { Number.datatype }?, + attribute colspan { Number.datatype }?, + CellHAlign.attrib, + CellVAlign.attrib +CellHAlign.attrib = attribute align { "left" | "center" | "right" }? +CellVAlign.attrib = attribute valign { "top" | "middle" | "bottom" }? +scope.attrib = attribute scope { "row" | "col" }? +Block.class |= table |