Custom Colors for Element Tags

By default, Oxygen XML Author does not display element tags. You can use the Partial Tags button from the Author tool bar to control the amount of displayed markup.

To configure the default background and foreground colors of the tags, go to Editor Edit modes Author. The -oxy-tags-background-color and -oxy-tags-color properties allow you to control the background and foreground colors for any particular XML element.

para {
    -oxy-tags-color:white;
    -oxy-tags-background-color:green;
}
title {
    -oxy-tags-color:yellow;
    -oxy-tags-background-color:black;
}

Was this helpful?