view etc/schema/dbsoextbl.rnc @ 86361:38f93f3d00a2

Initial merge of nxml
author Mark A. Hershberger <mah@everybody.org>
date Fri, 23 Nov 2007 06:58:00 +0000
parents
children
line wrap: on
line source

# Definitions specific to the OASIS XML Exchange Table Model.

# Reference OASIS Exchange Table Model
include "soextbl.rnc" {
  # Override definition of start
  start |= notAllowed
  # Add common attributes and the Label attribute to Table and
  # InformalTable.
  bodyatt = common.attrib, label.attrib, tables.role.attrib
  # Add common attributes to TGroup, ColSpec, TBody, THead, Row, Entry
  tbl.tgroup.att = common.attrib
  tbl.colspec.att = common.attrib
  tbl.tbody.att = common.attrib
  tbl.thead.att = common.attrib
  tbl.row.att = common.attrib
  tbl.entry.att = common.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

# end of table.module