f:length-string

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:
Not used.

Synopsis

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

Description

For a given length (see Section 5.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”).