Profiling/Conditional Text

Profiling text is a way to mark blocks of text meant to appear in some renditions of the document but not in others. For example, you can mark a section of a document that is to be included in a manual to be designated for 'expert' users and another section for 'novice' users, while unmarked sections are included in all renditions.

You can use conditional text when you develop documentation for:

  • A series of similar products
  • Multiple releases of a product
  • Various audiences
The benefits of using conditional text include reducing the effort for updating and translating your content, and providing an easy way to customize the output for various audiences.

DITA offers support for profiling/conditional text by using profiling attributes. With Oxygen, you can define your own values for the DITA profiling attributes or use the default values provided by Oxygen.

Another option is to use a DITA Subject Scheme Map, allowing you to define hierarchical sets of values and to control which values should be allowed for specific attributes. Oxygen XML Editor will propose the defined values and the DITA validation will check the values used in your topics against the defined values. The subject scheme values are also presented in the dialog box for setting profiling attributes.

The profiling options can be shared between content authors through a project file. There is no need for coding or editing configuration files.

You can easily set or modify profiling attributes using the Edit Profiling Attributes contextual menu action.

Conditional Processing

Oxygen allows you to aggregate a set of profiling conditions (attributes and their values) as Profiling Condition Sets.

Toolbar action showing the profiling/condtional text menu

Using a Profiling Condition Set allows you to:

  • Generate output matching the selected condition set.
    Applying a Profiling Condition set when generating PDF output.
  • Preview which topics from the DITA map are included in the output (the excluded ones are grayed-out and the active profiling attribute values are presented in blue).
    Conditions on DITA topic References
  • Preview the text sections that will appear in the published output (the excluded text is grayed-out or hidden).
    Conditional Text in a DITA topic

Oxygen helps you quickly identify the profiled sections of a document by allowing you to define colors and styles for each profiling attribute value in Author mode.

Profiling Colors and Styles

What's New in
Oxygen XML Author 27.0

November 27, 2024

Oxygen XML Author version 27.0 is the latest major release of the ultimate toolkit for content authors, collaborators, and publishers. This release is packed with innovative new features and improvements for the Oxygen AI Positron Assistant, the powerful add-on that provides a productivity-enhancing tool to help writers by providing support for using AI-generated content within the various Oxygen tools.

Learn more

What's New in
Oxygen XML Web Author 27.0.0

November 27, 2024

Oxygen XML Web Author version 27.0.0 is the latest major release of the innovative web-based XML authoring tool. This release is packed with innovative new AI features and improvements that have been implemented in recent updates to the Oxygen AI Positron Assistant Enterprise for Web Author plugin, the powerful productivity-enhancing tool that provides you with the ability to use a specific AI engine (OpenAI, Microsoft Azure OpenAI, or Anthropic Claude) and assist in leveraging AI-generated content. Additionally, this release sees the implementation of new features for the file comparison and merge tool, support to make DITA maps editable in a specialized tree editor, various general editing improvements, and security enhancements.

Learn more