
ADOBE FRAMEMAKER 10
MIF Reference
60
Filter By Attribute
Elements in a structured document can have one or more attributes associated with them. Using FrameMaker, you
can filter a structured document based on the value of these attributes.
All MIF 8 documents contain a catalog of predefined attribute values. If no values are defined, the catalog remains
empty. Each definition in a catalog includes an attribute tag (
AttributeTag
) and the corresponding list of values
(
AttributeValue
).
DefAttrValuesCatalog statement
The
DefAttrValuesCatalog
statement is used to define the contents of the Defined Attribute Values catalog. A
MIF file can contain one
DefAttrValuesCatalog
statement only.
Syntax
All MIF 8 documents contain a catalog of predefined filters.
DefAttrValues statement
The
DefAttrValues
statement is used to define a set of attributes with relevant values.
Syntax
<BoolCondExpr string>
Boolean expression used for show/hide evaluation of conditional
text. (
OR
,
NOT
, and
AND
are the operators and condition tags are
operands within a quoted string) For example, “
Comment” OR
“Tag1”
.
<BoolCondState string>
Indicates whether the evaluation of showing or hiding conditional
text is based on this expression.
The string must contain one of the following values:
•
'Active'
•
'Inactive'
> #
End of
BoolCond
<DefAttrValuesCatalog
<DefAttrValues.........>
Defines an attribute and its corresponding values
<DefAttrValues.........>
Additional statements, as required.
> #
End of DefAttrValuesCatalog
<DefAttrValues
<AttributeTag
string
>
Attribute Name
<AttributeValue
string
>
Attribute Value
<AttributeValue
string
>
Additional attribute values, as required.
> #
End of DefAttrValues