f:length-units

f:length-units — Returns the units associated with a length.

Function:
{http://docbook.org/ns/docbook/functions}length-units#1
Defined in:
modules/units.xsl
Used in:
Not used.

Synopsis

f:length-units($length as xs:string?) as xs:string?

Description

For a given length (see Section 5.2, “Lengths and units”), returns the units associated with the length. Returns an empty sequence for relative lengths.