Edit online

Syntax Highlighting in XSLT

Oxygen XML Editor supports syntax highlighting in Text mode to make it easier to read the semantics of the structured content by displaying each type of code in different colors and fonts.

To customize the colors or styles used for the syntax highlighting colors for XSLT files, follow these steps:
  1. Open the Preferences dialog box (Options > Preferences).
  2. Go to Editor > Syntax Highlight.
  3. Select and expand the XML section in the top pane.
  4. Select the component you want to change and customize the colors or styles using the selectors to the right of the pane.
  5. Select the XSL tab in the Preview pane to see the effects of your changes.
Tip:
Oxygen XML Editor also allows you to specify syntax highlighting colors for specific XML elements and attributes with specific namespace prefixes. This can be done in the Editor > Syntax Highlight > Elements/Attributes by Prefix preferences page.