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

Defined in:
Used in:
modules/verbatim.xsl, modules/attributes.xsl


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


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.