Understand how you can setup Adobe FrameMaker to automatically assign unique ID attribute values to elements and work with the Config File Maker.
FrameMaker allows you to define the elements in your Structured Application for which you want it to auto-assign unique IDs.
For example, say your Structured Application includes a <section>
element that has an @id
attribute. You can create a rule that ensures that whenever you add the <section>
element to your structured document, FrameMaker will auto-generate a unique ID. FrameMaker will then automatically assign a unique ID to the @id
attribute of the <section>
element.
To define the auto-generation rules for a Structured Application, do the following:
Choose
.In the Configuration File Settings dialog, you define the ID generation rules.
Click Save or Save As to save the ID generation rules to a configuration (.xml) file.
To load the set of rules defined in an existing configuration file, click Load Configuration File.
You can then include this configuration file to your Structures Application.
The following settings can be configured in the Configuration File Settings dialog:
The name of the attribute to which FrameMaker will assign the auto-generated ID.
Choose <auto>
to allow FrameMaker to decide to which attribute the ID is assigned.
Specify the names of elements to which FrameMaker will assign an ID to the attribute specified in Assign ID to Attribute described above.
You can also choose to specify elements by their attribute values.
This implies that you can define an attribute name to ensure that FrameMaker assigns an ID to any element that contains the specified attribute. For example, you can ensure that FrameMaker will assgin an ID to all elements that have the attribute @audience
. However, the ID is assigned to the attribute that is specified in the Assign ID to Attribute field described above.
You can also add attribute values to the above attribute rule. For example, you can ensure that FrameMaker will assgin an ID to all elements that have the attribute @audience
and the value admin.
Also, you can specify multiple values and FrameMaker will assign the ID based on any one of the values. For the @audience
example, you can specify the value as admin or end-user. In this case, the ID is assigned if the element contains the @audience
attribute and the value of the attribute is either admin or end-user.