f:verbatim-numbered

f:verbatim-numbered — Returns true if the listing should be numbered.

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

Synopsis

f:verbatim-numbered($context as element()) as xs:boolean

Description

The f:verbatim-numbered() function returns true of the specified verbatim listing should be numbered. This will be true if:

There are two overriding conditions that will force the value to be false: first, if the linenumbering attribute is specified and has the value unnumbered, the listing will not be numbered. Second if the listing has a db processing instruction with a verbatim-style pseudo attribute that specifies the “plain” style. Listings in the plain style cannot be numbered, attempting to do so will generate a warning message from the stylesheets.