© Copyright Excosoft. Powered by Skribenta CCMS® and Topic Finder CDP®

Find and navigate

Filters


Add/remove/view favorites


Table of contents

File properties

Setting a pre-defined attribute

Background

The procedure in this topic assumes Skribenta is installed and configured for normal operation, and:

You need to set an attribute, other than the most common attributes, on an element in your file.

Apart from the most common Skribenta attributes class, type, label, id and condition, it is possible to set other attributes on the element and give it a value. This is handy if, for example, you want to control a particular styling.

About this task

This instruction tells you how to set an attribute, other than the most common attributes, on an element in your file.

This is the content before setting a pre-defined attribute on a paragraph element:

This is the content after setting pre-defined attribute child-background-color to yellow on 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 an 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 attribute value is set on the element.

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 attribute value is set on the element.