view etc/schema/dbcalstbl.rnc @ 107540:bdfbbc1e8374

Misc cleanup. * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex): Use replace-regexp-in-string. (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table. (makefile-imake-mode-syntax-table): Move init into defvar. (makefile-mode): Use define-derived-mode.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 24 Mar 2010 19:56:43 -0400
parents 38f93f3d00a2
children
line wrap: on
line source

# Definitions specific to the CALS Table Model.

# Reference CALS Table Model
include "calstbl.rnc" {
  # Override definition of start
  start |= notAllowed
  # Add label and role attributes to table and informaltable
  bodyatt = label.attrib
  # Add common attributes to Table, TGroup, TBody, THead, TFoot, Row,
  # EntryTbl, and Entry (and InformalTable element).
  secur = common.attrib, tables.role.attrib
  # Content model for Table.
  tbl.table.mdl =
    blockinfo?,
    formalobject.title.content,
    ndxterm.class*,
    textobject*,
    (graphic+ | mediaobject+ | tgroup+)
  # Allow either objects or inlines; beware of REs between elements.
  tbl.entry.mdl = para.char.mix | tabentry.mix
}

common.table.attribs = bodyatt, secur

# end of table.module