Create Profiling Attributes

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:

  1. Open the Profiling/Conditional Text preferences page from Window > Preferences > oXygen > Editor > Edit modes > Author > Profiling / Conditional Text.
  2. In the Profiling Attributes area, press the New button.

    The following dialog is opened:

  3. Fill-in the dialog as follows:
    1. 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.
    2. Set the attribute name.
    3. Set a display name. This field is optional, being used only as a more descriptive rendering in application's profiling dialogs.
    4. Use the New, Edit, Delete buttons to add, edit and delete possible values of the attribute. Each attribute value can have a description.
    5. 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.
  4. Click OK.
  5. Click Apply to save the profiling attribute.