Creating and Editing Profiling Attributes in DITA
You can filter DITA content or the structure of a document by using profiling attributes or profiling conditions sets.
Defining Profiling Attributes for DITA Content
To create or edit profiling attributes for filtering DITA content, follow these steps:
- Tip:For less technical users who do not want to create attribute specializations in DTD/XML Schema, you may want to use profiling attribute groups instead (use an existing profiling attribute with sub-attributes).
- and go to Information:The Profiling Attributes section is used to define the attributes and their values. For DITA documents, the default attributes are included (
@audience
,@platform
,@product
,@props
,@otherprops
, and@rev
), but if a Subject Scheme Map is used for profiling your content, you will see the attributes defined in your subject scheme map instead.
. -
- Attribute Values Table
-
This table displays information about the values for the profiling attribute. You can configure them by using the buttons at the bottom of the table (
NewNew,
Edit,
Delete).
The columns are as follows:- Value - The attribute value. You can also define
profiling attribute groups using the following format:
ParentAttrValue(SubAttrValue1 SubAttrValue2)
. For more information, see Conditional Profiling Attribute Groups. - Label - You can specify a label for the attribute value that will be rendered as its name in various components in Author mode (Edit Profiling Attributes dialog box, Condition Set dialog box, Profiling tab in the Edit Properties dialog box, DITA Maps Manager). If the Label is not specified, the Value will be used as its rendered name.
- Description - A description for the attribute value that will be displayed in this table.
- Value - The attribute value. You can also define
profiling attribute groups using the following format:
Result: You should see your changes in the Profiling Attribute table.
You can also use the Profiling Condition Sets section to apply more complex filters on your DITA content.