Note: To ensure the validity of the document, the attribute must be already defined in the
document DTD or schema before referring it here.
To create custom profiling attributes for a specific document type, follow these steps:
Open the Profiling/Conditional Text preferences page from application's toolbar Options > Preferences > Editor > Edit modes > Author menu
.
In the Profiling Attributes area, press the
New button.
The following dialog is opened:
Fill-in the dialog as follows:
Choose the document type on which the profiling attribute is applied. * and
? are used as wildcards, while ,(comma character) can be used to
specify more patterns. For example use DITA* to match any document type name
that starts with DITA.
Set the attribute name.
Set a display name. This field is optional, being used only as a more descriptive
rendering in application's profiling dialogs.
Use the New, Edit,
Delete buttons to add, edit and delete possible values of the
attribute. Each attribute value can have a description.
Choose whether the attribute accepts a single value (Single
value option checked) or multiple values. Multiple values can be
separated by a default delimiter (space, comma, semicolon), or a
custom one, that must be supported by the specified document type. For example, the
DITA document type only accepts spaces as delimiters for attribute values.