view etc/schema/xhtml-btable.rnc @ 104743:a1892c562b6d

("kirshenbaum-ipa", "x-sampa-ipa"): Two new input methods, both following widely-used Usenet conventions for mapping ASCII to the IPA. Kirshenbaum is common in sci.lang and alt.usage.english, X-SAMPA in various (mostly European) non-English language fora. X-SAMPA is slightly more complex to support in Quail that Kirshenbaum, whence the two extra function and one extra submap to support it. (x-sampa-prepend-to-keymap-entry): New function. (x-sampa-underscore-implosive): New function. (x-sampa-implosive-submap): New Quail submap.
author Juri Linkov <juri@jurta.org>
date Sun, 30 Aug 2009 23:30:46 +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