Elements / Attributes by Prefix Preferences

Oxygen XML Editor lets you specify different colors for XML elements and attributes with specific namespace prefixes. To configure the Elements / Attributes by Prefix preferences, open the Preferences dialog box and go to Editor > Colors > Elements / Attributes by Prefix.

To change the syntax coloring for a specific namespace prefix, choose the prefix from the list, or add a new one using the New button, and use the color and style selectors to set the syntax highlighting style for that namespace prefix.

Note: Syntax highlighting is based on the literal namespace prefix, not the namespace that the prefix is bound to in the document.

If you want only the prefix, and not the whole element or attribute name, to be styled differently, select Draw only the prefix with a separate color.