Setting user-specific attribute values
The procedure in this topic assumes Skribenta is installed and configured for normal operation, and:
-
You have logged into Skribenta.
-
You are assigned to one of the following user roles: content provider, technical writer or administrator.
-
You have selected the workspace you want to work in.
-
A content file or a configuration file is created in the workspace.
-
You have browsed to and opened the file in the Workspace view or the Publications view.
-
You have created an element, for example, a paragraph or an ordered or unordered list.
You need to set an attribute, other than the available standard attributes, on an element in your file.
You can add custom metadata to an element to process it in some specific way. Apart from the standard XML attributes in Skribenta, it is possible to set user-specific attribute values using the data attribute.
This instruction tells you how to set user-specific attributes on an element.
This is the All tab on the Attributes tab before setting attributes on a paragraph element.
This is the All tab on the Attributes tab after setting user-specific attributes on a paragraph element.
Open the file, then set user-specific attributes using the data attribute on an element in your file content.
1 minute
Procedure
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
1. Make sure that the step(s) in section "Starting point" (see section "Background" above) are performed.
A pop-up list opens.
A toolbar opens.
The All tab opens.
The user-specific attributes are set on the element via the data attribute.
In the XML code, the user-specific attributes are defined in the data attribute and separated by a semicolon character.
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
1. Make sure that the step(s) in section "Starting point" (see section "Background" above) are performed.
The All tab on the element Attributes toolbar opens.
The user-specific attributes are set on the element via the data attribute.
In the XML code, the user-specific attributes are defined in the data attribute and separated by a semicolon character.