Profiling / Conditional Text Preferences
Oxygen XML Editor lets you configure how profiling and conditional text is displayed in Author mode. It has built-in support for the standard conditional text features of DITA and DocBook that you can customize for your own projects. You can also add conditional support for other XML vocabularies, including your custom vocabularies.
To configure Profiling/Conditional Text options, open the Preferences dialog box and go to .
Note: Note the following when configuring these settings:
- This preferences page is used to define how profiled elements are treated in Author mode. It does not create profiling or conditional text attributes or values in the underlying XML vocabulary. It just changes how the editor displays them.
- This preferences page should be used for profiling / conditional text elements only. To change how other types of attributes are displayed in the text, use a CSS file.
- If you are using the DITA XML vocabulary and a DITA Subject Scheme Map is defined in the root map of your document, it will be used in place of anything defined using this dialog box.
This preferences page contains the following options and sections:
- Import from DITAVAL
- This button allows you to import profiling attributes from
.ditaval files. You can merge these new profiling attributes with
the existing ones, or replace them completely. If the imported attributes conflict with
the existing ones, Oxygen XML Editor displays a dialog box that contains two
tables. The first one previews the imported attributes and the second one previews the
already defined attributes. You can choose to either keep the existing attributes or
replace them with the imported ones.Note: When importing profiling attributes from DITAVAL files, Oxygen XML Editor automatically creates condition sets based on these files.
- Profiling Attributes section
- Allows you to specify a set of allowable values for each profiling or conditional attribute. You can use the New button at the bottom of the table to add profiling attributes, the Edit button to edit existing ones, or the Delete button to delete entries from the table. Use the Up and Down buttons to change the priority of the entries. If you have multiple entries with identical names that match the same document type, Oxygen XML Editor uses the one that is positioned highest in the table.
- Allow additional profiling attribute values collected from the document
- This option is enabled by default, which means that users are allowed to add values
that are not defined in preferences to profiling attributes. If a user inserts such a
value, when invoking the Edit Profiling Attributes action from
the contextual menu in Author mode (or for DITA topics, the
Edit
Properties action in the DITA Maps Manager), the
Profiling Values Conflict dialog box will appear and
it includes an Add these values to the configuration action that
will automatically add the new value to the particular profiling attribute.If this option is disabled, it means the following:- The Profiling Values Conflict dialog box will never be displayed and the current conditional text configuration is preserved. Therefore, users will not be allowed to easily add new values to profiling attributes.
- In DITA, the automatic validation will display a warning that the value is not defined.
- In the DITA
Validate and Check for Completeness dialog
box, the Report attributes and values that conflict with profiling
preferences option is not displayed. This means that the
validation will behave the same as if that option was enabled and it will always
report such values.
- Configure profiling colors and styles link
- Use this link to open the profiling Colors and Styles preference page.
- Profiling Condition Sets section
- Allows you to specify a specific set of profiling attributes to be used to specify a particular build configuration for your content. You can use the New button at the bottom of the table to add condition sets, the Edit button to edit existing ones, or the Delete button to delete entries from the table. Use the Up and Down buttons to change the priority of the entries. If you have multiple entries with identical names that match the same document type, Oxygen XML Editor uses the one that is positioned highest in the table.