Skip to main content

Add Attributes

Attributes are used for many different purposes in Paligo, including applying filters to your elements to include or exclude content in different scenarios. Many attributes come from the DocBook standard, but there are some Paligo-specific ones too.

To add attributes to an element:

  1. Select the element in the topic.

  2. Place the cursor in the Element Structure Menu below the toolbar.

    Element_Structure_Menu_small.png

    Note

    When you select an element in the Element Structure Menu, Paligo highlights it in yellow.

  3. Select the element and choose Go to element to show the attributes for this particular element.

    Remove_element_attributes_2.png

    The Element Attributes Panel. now shows the attributes for the selected element.

  4. Use the Add attribute search to enter the name of the attribute or scroll through the available options. Search.png

    element-attributes-add.jpg

    In the image above the attribute will be added to a para element .

  5. Select the attribute to be inserted Search.png.

    Note

    You can only add attributes that are valid for the selected element.

  6. Give the attribute a value. Depending on the attribute type:

    • Select a menu option.

    • Enter the value manually in a text-entry field.

    • Check a box in front of a profiling value or Create Profiling Values

    attributeswidget.png
    Profiling values dialog shows a list of profile values, a button to add a value, and cancel and apply buttons.

    To the left - The attribute width has a manually entered size value. To the right - The attribute audience has a list of profiling values to choose from.

  7. Select Save. Save icon.

  8. Repeat this procedure for any other elements that need attributes.

Tip

To remove an element attribute, see Remove Attributes.

To update a profiling value for an attribute, see Add or Remove Profiling Values.