Classifying content
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 classify content in your file to be able to style it differently when publishing.
You can add a value to the class attribute to specify what purpose an element has. Furthermore, you can, for example, set the class attribute value to spare-part-list for a table to say that the table contains spare part components.
A number of elements in Skribenta has a value for the class attribute when you create them. For example, the wrapper element.
-
class = note: Makes a note wrapper containing information that is important to highlight.
-
class = warning: Makes a warning wrapper to inform about dangerous aspects of handling a product.
-
class = figure: Makes a figure wrapper often containing an image with a title.
Skribenta can be configured to let you select attribute values from a predefined list, which can be specific for a given element.
This instruction tells you how to classify content for specific treatment.
This is the content before classifying a paragraph element:
This is the content after classifying a paragraph element:
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
Open the file, then set a class attribute on an element in your file content.
Less than 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 Class tab opens.
The class attribute is set on the element.