f:l10n-token

f:l10n-token — Returns the gentext token for a key.

Function:
{http://docbook.org/ns/docbook/functions}l10n-token#2
{http://docbook.org/ns/docbook/functions}l10n-token#3
Defined in:
modules/l10n.xsl (2)
Used in:
main.xsl, modules/chunk-output.xsl
Since:
2.0.0

Synopsis

f:l10n-token($context as element(),
$key as xs:string) as item()*
f:l10n-token($context as element(),
$lang as xs:string,
$key as xs:string) as item()*

Description

This function returns the gentext token for a key. This is usually accomplished by looking in the localization, but if you need an override for a specific element, you can replace this function.