Placeholders for Empty Elements: -oxy-show-placeholder and -oxy-placeholder-content Properties

Oxygen XML Editor displays the element name as pseudo-content for empty elements, if the Show placeholders for empty elements option is enabled and there is no before or after content set in CSS for this type of element.

The -oxy-placeholder-content CSS Property

To control the displayed pseudo-content for empty elements, you can use the -oxy-placeholder-content CSS property.
The following example would change the keyword element to be displayed as key:
keyword{
    -oxy-placeholder-content:"key";
}

The -oxy-show-placeholder CSS Property

The -oxy-show-placeholder property allows you to decide whether the placeholder will be shown. The possible values are:
Note: Deprecated properties show-placeholder and placeholder-content are also supported.