Several text elements need per-document declarations before
they can be used. For example, variable fields require that the variables used
are being declared at the beginning of the document. These declarations are
collected at the beginning of a text document. All such declarations are
optional. The detailed description for each declaration can be found in the
appropriate chapter.
The supported text declarations are:
� variable
declarations � These declarations are used for variable fields. (cf. section
6.3.1).
� user
field declarations � These declarations are used for user-defined fields (cf.
section 6.3.5).
� sequence
declarations � These declarations are used for sequence fields (cf. section
6.3.8).
� DDE
connections � These declarations are used for DDE fields and DDE sections (cf.
sections 6.6.9 and 4.4.3, respectively).
� auto
mark file � This declaration is used for generation of alphabetical indices
(cf. section 7.8.2).
<define name="text-decls">
<optional>
<element
name="text:variable-decls">
<zeroOrMore>
<ref
name="text-variable-decl"/>
</zeroOrMore>
</element>
</optional>
<optional>
<element
name="text:sequence-decls">
<zeroOrMore>
<ref
name="text-sequence-decl"/>
</zeroOrMore>
</element>
</optional>
<optional>
<element
name="text:user-field-decls">
<zeroOrMore>
<ref
name="text-user-field-decl"/>
</zeroOrMore>
</element>
</optional>
<optional>
<element
name="text:dde-connection-decls">
<zeroOrMore>
<ref
name="text-dde-connection-decl"/>
</zeroOrMore>
</element>
</optional>
<optional>
<ref
name="text-alphabetical-index-auto-mark-file"/>
</optional>
</define>