view etc/schema/xhtml-table.rnc @ 102570:e5ee527bf579

(Mail Format): Fix typo. Add index entry for mail-header-separator. (Mail Headers): Put info about initialization and changing in one place at the start. Update FCC section for mbox Rmail. Clarify From section, mention mail-setup-with-from. Clarify Reply-to section. Add Mail-followup-to and mail-mailing-lists. Clarify References section. (Mail Aliases): Update example, make less contentious. Update for name change of mail-interactive-insert-alias. (Mail Mode): Remove mention of `%' as a word separator. (Mail Sending): Mention mail-send-hook. Mention Mailclient. (Header Editing): Add reply-to, mail-reply-to, and mail-followup-to commands. Clarify FCC handling. In mail-complete, add reference to Mail Aliases section, and mention mail-complete-function. (Citing Mail): Mention mail-yank-ignored-headers and mail-citation-hook. (Mail Mode Misc): Clarify the mail-signature function. Add basic signature netiquette. Explain how the mail hooks work when continuing a composition. (Mail Amusements): Internationalize the spook section a bit. Remove the spook mail-setup-hook example, since it doesn't work well. Mention fortune-file. (Mail Methods): Mention read-mail-command.
author Glenn Morris <rgm@gnu.org>
date Sat, 14 Mar 2009 22:30:53 +0000
parents 309bef8b751c
children
line wrap: on
line source

# Tables Module

# This builds on the basic tables module, unlike with the DTD
# implementation.

include "xhtml-btable.rnc" {
  table =
    element table {
      table.attlist,
      caption?,
      (col* | colgroup*),
      ((thead?, tfoot?, tbody+) | tr+)
    }
  th = element th { th.attlist, Flow.model }
  td = element td { td.attlist, Flow.model }
  CellHAlign.attrib =
    attribute align {
      "left" | "center" | "right" | "justify" | "char"
    }?,
    attribute char { Character.datatype }?,
    attribute charoff { Length.datatype }?
  CellVAlign.attrib =
    attribute valign { "top" | "middle" | "bottom" | "baseline" }?
  scope.attrib =
    attribute scope { "row" | "col" | "rowgroup" | "colgroup" }?
}
table.attlist &=
  attribute width { Length.datatype }?,
  attribute border { Pixels.datatype }?,
  frame.attrib,
  rules.attrib,
  attribute cellspacing { Length.datatype }?,
  attribute cellpadding { Length.datatype }?
col = element col { col.attlist }
col.attlist =
  Common.attrib,
  attribute span { Number.datatype }?,
  attribute width { MultiLength.datatype }?,
  CellHAlign.attrib,
  CellVAlign.attrib
colgroup = element colgroup { colgroup.attlist, col* }
colgroup.attlist =
  Common.attrib,
  attribute span { Number.datatype }?,
  attribute width { MultiLength.datatype }?,
  CellHAlign.attrib,
  CellVAlign.attrib
tbody = element tbody { tbody.attlist, tr+ }
tbody.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib
thead = element thead { thead.attlist, tr+ }
thead.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib
tfoot = element tfoot { tfoot.attlist, tr+ }
tfoot.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib
frame.attrib =
  attribute frame {
    "void"
    | "above"
    | "below"
    | "hsides"
    | "lhs"
    | "rhs"
    | "vsides"
    | "box"
    | "border"
  }?
rules.attrib =
  attribute rules { "none" | "groups" | "rows" | "cols" | "all" }?