Understand how you can work with element attributes in Structured FrameMaker.
An element can have attributes, which provide information about the element that is not part of the element’s contents. Your document uses attributes for several purposes:
To control the formatting of an element. For example, perhaps a @type
attribute in a <list>
element has two possible values—bulleted
and numbered
.
To record descriptive information about an element, such as level of classification. An attribute value can even trigger a custom routine that hides the element when the document is displayed.
To store source and destination information for elements, typically for cross-referencing. A <section>
element sometimes has an @ID
attribute that stores a unique value. A cross-reference element that points to the section stores the same value in a @reference
attribute, to maintain the connection between the elements.
You typically enter and edit the values for attributes, unless the attributes are defined to be read-only. Cross-reference IDs are often read-only and are generated by FrameMaker.