f:verbatim-syntax-highlighter

f:verbatim-syntax-highlighter — Return the syntax highlighter style for a verbatim environment.

Function:
{http://docbook.org/ns/docbook/functions}verbatim-syntax-highlighter#1
Defined in:
modules/verbatim.xsl
Used in:
main.xsl
Since:
2.5.0

Synopsis

f:verbatim-syntax-highlighter($context as element()) as xs:string

Description

This function examines a verbatim environment, the $context, and returns the value of the A db processing instruction with a syntax-highlighter pseudo-attribute may be used to override the f:global-syntax-highlighter() on a case-by-case basis.

Not all overrides are possible. You can’t, in general, use a JavaScript-based renderer, or a different JavaScript-based renderer, on a case-by-case basis.