view etc/schema/xhtml-btable.rnc @ 98353:f1adde06246e

(Search): Shorten introduction. (Basic Isearch): Add command table. Discuss reverse isearch and isearch highlighting. (Repeat Isearch): Move lazy highlighting discussion here. Add search ring to cindex. (Special Isearch): Move input methods discussion here. (Non-ASCII Isearch): Node deleted, merged with Special Isearch. (Isearch Yank): Node deleted, and contents moved into Basic Isearch and Repeat Isearch. (Isearch Minibuffer): New node. (Word Search): Document new word search commands. (Regexp Example): Simplify example using sentence-end-base variable. (Replace): Reword introduction. (Unconditional Replace): Remove unnecessary example. (Other Repeating Search): Document new `M-s o' binding.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 25 Sep 2008 17:52:23 +0000
parents 309bef8b751c
children
line wrap: on
line source

# 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