[T] l10n-xml-language — Determine the language of the given XML fragment
<xsl:template name="l10n-xml-language"> <xsl:param name="target" select="." /></xsl:template>
Returns the language of the XML content at the given node, as
determined by the lang or
xml:lang attribute.
The result is always given in a normalized form: , with the
language_code-country_codelanguage_code and
country_code always in
lower case. The - may be
missing.country_code
No checking is done to make sure the language code is valid.