f:make-length

f:make-length — Construct a length from constituent parts.

Function:
{http://docbook.org/ns/docbook/functions}make-length#1
{http://docbook.org/ns/docbook/functions}make-length#2
{http://docbook.org/ns/docbook/functions}make-length#3
Defined in:
modules/units.xsl (3)
Used in:
main.xsl

Synopsis

f:make-length($relative as xs:double) as map(*)
f:make-length($magnitude as xs:double,
$unit as xs:string) as map(*)
f:make-length($relative as xs:double,
$magnitude as xs:double,
$unit as xs:string) as map(*)

Description

These functions construct a length (see Section 5.2, “Lengths and units”) from either a relative magnitude, an absolute magnitude and a unit, or both.