Class XMLHighlighter


public class XMLHighlighter extends WholeHighlighter
XML/SGML highlighter. It has a couple of default styles: tag, attribute, value, directive. Accepted parameters:
elementSet
Specialized highlighting for set elements
elementPrefix
Specialized highlighting for element prefixes
styleElement
The style to use for elements, defaults to 'tag'
styleAttributes
The style to use for attributes, defaults to 'attribute'
styleValue
The style to use for attribute values, defaults to 'value'
stylePi
The style to use for processing instructions, defaults to 'directive'
styleComment
The style to use for comments, defaults to 'comment'
styleDoctype
The style to use for the doctype declaration, defaults to 'doccomment'