f:post-label-punctuation

f:post-label-punctuation — Punctuation that follows a label.

Function:
{http://docbook.org/ns/docbook/functions}post-label-punctuation#1
{http://docbook.org/ns/docbook/functions}post-label-punctuation#2
Defined in:
modules/functions.xsl (2)
Used in:
modules/functions.xsl, modules/titles.xsl
Used by:
f:post-label-punctuation()

Synopsis

f:post-label-punctuation($node as element()) as xs:string?
f:post-label-punctuation($node as element(),
$context as xs:string?) as xs:string?

Description

Titles consist of an optional label, followed by an optional number, followed by the title. In some contexts, additional prefixes and suffixes may also be involved. In the title “Chapter 1 Introduction”, the word “Chapter” is the label, “1” is the number, and “Introduction” is the title.

When a label appears in a title, the f:post-label-punctuation() function determines what punctuation, if any, should follow it.