Mercurial > emacs
annotate etc/schema/xhtml-btable.rnc @ 103056:b6361d016a5a
* hi-lock.el (hi-lock--inhibit-font-lock-hook): New var.
(hi-lock-set-pattern, hi-lock-font-lock-hook): Use it (Bug#3068).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 23 Apr 2009 01:34:54 +0000 |
parents | 309bef8b751c |
children |
rev | line source |
---|---|
87295
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
1 # Basic Tables Module |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
2 |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
3 table = element table { table.attlist, caption?, tr+ } |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
4 table.attlist = |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
5 Common.attrib, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
6 attribute summary { Text.datatype }? |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
7 caption = element caption { caption.attlist, Inline.model } |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
8 caption.attlist = Common.attrib |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
9 tr = element tr { tr.attlist, (th | td)+ } |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
10 tr.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
11 th = element th { th.attlist, Flow.model } |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
12 th.attlist = Cell.attrib |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
13 td = element td { td.attlist, Flow.model } |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
14 td.attlist = Cell.attrib |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
15 Cell.attrib = |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
16 Common.attrib, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
17 attribute abbr { Text.datatype }?, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
18 attribute axis { text }?, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
19 attribute headers { IDREFS.datatype }?, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
20 scope.attrib, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
21 attribute rowspan { Number.datatype }?, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
22 attribute colspan { Number.datatype }?, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
23 CellHAlign.attrib, |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
24 CellVAlign.attrib |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
25 CellHAlign.attrib = attribute align { "left" | "center" | "right" }? |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
26 CellVAlign.attrib = attribute valign { "top" | "middle" | "bottom" }? |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
27 scope.attrib = attribute scope { "row" | "col" }? |
309bef8b751c
Renamed xhtml-basic-table.rnc to xhtml-btable.rnc; all users changed.
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
28 Block.class |= table |