Name

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:
modules/units.xsl, modules/objects.xsl
Used by:
f:make-length(), f:object-contentwidth(), f:object-contentheight()

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 4.2, Lengths and units) from either a relative magnitude, an absolute magnitude and a unit, or both.