f:relative-length
f:relative-length — Returns the relative portion of a length, if it has one.
Function:
{http://docbook.org/ns/docbook/functions}relative-length#1
Defined in:
modules/units.xsl
Used in:
main.xsl
Synopsis
f:relative-length( | $length as map(*)) as xs:double |
Description
For a given length, returns the relative length if it has one. For lengths that have no relative component, returns 0.0. For a discussion of units, see Section 5.2, “Lengths and units”.