f:translate-attribute — Controls the translate attribute.
Function:
{http://docbook.org/ns/docbook/functions}translate-attribute#1
Defined in:
modules/functions.xsl
Used in:
main.xsl
Since:
2.1.3
Synopsis
| f:translate-attribute( | $node as element()) as xs:boolean? |
Description
When computing what attributes to put on elements in the output, this function
is called to check whether a translate attribute should be
output:
If it returns true, a
translateattribute with the value “yes” will be output.If it returns false, a
translateattribute with the value “no” will be output.If it returns the empty sequence, no
translateattribute will be output.
The default implementation of this function checks the (local) name of the
element with the $translate-suppress-elements list.