summaryrefslogtreecommitdiff
path: root/etc/schema/dbsoextbl.rnc
blob: a547586ca17e71c023201964ca516fec54562161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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