f:verbatim-style

f:verbatim-style — Returns the style of a verbatim listing.

Function:
{http://docbook.org/ns/docbook/functions}verbatim-style#1
Defined in:
modules/verbatim.xsl
Used in:
modules/verbatim.xsl, modules/attributes.xsl

Synopsis

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

Description

The f:verbatim-style() function returns the style of presentation that should be used for the specified verbatim listing.

If a db processing instruction with a verbatim-style pseudo-attribute is present, the value of that pseudo-attribute will be returned. Otherwise, it will be “lines” if the element’s name is listed in $verbatim-line-style, “plain” if the element’s name is listed in $verbatim-plain-style, or “raw”.