Adobe framemaker 6.0 User Manual

Page of 323
163
ADOBE FRAMEMAKER 6.0
 MIF Statements for Structured Documents and Books
Content rules
The content rule for a container element consists of the following statements:
A required <EDObject EDContainer> statement specifies the element type.
A required EDGeneralRule statement specifies what the element can contain and in what order the 
element’s contents can appear.
An optional EDExclusions statement specifies elements that cannot appear in the defined element or in 
its descendents. 
An optional EDInclusions statement specifies elements that can appear anywhere in the defined element 
or in its descendents. 
The general rule specification must follow the conventions for data in a MIF string. If a general rule 
contains angle brackets (<>), the right angle bracket must be preceded by a backslash in the MIF string. 
For example, an element that can contain text might have the following general rule:
<EDGeneralRule `<TEXT\>'>
If you don’t provide a general rule statement for a container element, the MIF interpreter applies the 
default rule <ANY>. The rule means that any element or text is allowed.
The following general rule describes an element that must contain at least one element named Item.
<ElementDef
<EDTag `BulletList'>
<EDValidHighestLevel No >
<EDGeneralRule `Item+'>
<EDObject EDContainer >
> # end of ElementDef
For more information about content rules, see the online manual FrameMaker+SGML Developer’s Guide
Attribute definitions
Element definitions can specify attribute definitions, which describe attributes (information stored with an 
element other than its content). The definition of an attribute can specify that the attribute is required for 
all elements with the element definition. It can also provide a list of the values the attribute can have and a 
default value.
EDAttrDef statement
The EDAttrDef statement defines the formatting properties to be applied to a container, table, table child, 
or footnote element in different contexts. It must appear in an ElementDef statement.
Syntax
<EDAttrDef
Begin attribute definition
<EDAttrName 
string
>
Attribute name