Name

f:length-string — Returns the string representation of a length.

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

Synopsis

f:length-string($length as map(*)?) as xs:string?

Description

For a given length (see Section 4.2, Lengths and units), returns the relative or absolute length formatted as a string. Relative lengths are formatted as the length followed by a literal “*” (e.g., “3*”). Absolute lengths are formatted as the length followed by the unit (e.g., “2.54cm”).