Content modules are described using nested tuples. Each tuple contains four values: the type, the quantifier, the name, and a tuple of children. Children are simply additional content module descriptions.
The values of the first two fields are constants defined in the
model
object of the xml.parsers.expat module. These
constants can be collected in two groups: the model type group and the
quantifier group.
The constants in the model type group are:
ANY
.
(A | B | C)
.
EMPTY
have this model type.
(A, B, C)
.
The constants in the quantifier group are:
A?
.
A+
).
A*
.
See About this document... for information on suggesting changes.