The following is an example of syntax highlighting through xslt using xslthl . The following Xslt processor was used: SAXON 8.7 from Saxonica ( )

Example document

This example uses a highlighter configuration which makes use of the plugin infrastructure present in Xslthl 2.1

The example highlighter recognizes single line comments,
like this: // this is a line comment

This comment is different ## should be highlighted as doccomment


Generated by: SAXON 8.7 from Saxonica ( ) - Xslt version: 2.0