f:l10n-language

f:l10n-language — Returns the best matching localization language.

Function:
{http://docbook.org/ns/docbook/functions}l10n-language#1
Defined in:
modules/functions.xsl
Used in:
modules/index.xsl
Used by:
t:generate-index

Synopsis

f:l10n-language($target as element()) as xs:string

Description

This function returns the localization language that best matches the language of the $target node. The default language will be returned if there is no localization available for that language.