From: Norman Walsh Date: Wed, 9 Jan 2002 13:27:41 +0000 (+0000) Subject: Added length-units template to extract units from lengths X-Git-Tag: release/1.79.1~6^2~5979 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2cf84e4753fcfc25bbdc51fd2c09ce912644d3b;p=docbook-dsssl Added length-units template to extract units from lengths --- diff --git a/xsl/lib/lib.xsl b/xsl/lib/lib.xsl index b5d7825f9..1dfbeba19 100644 --- a/xsl/lib/lib.xsl +++ b/xsl/lib/lib.xsl @@ -193,6 +193,39 @@ unqualified length ("20" for "20pt") from a dimension. + +Return the units from a length specification + +The length-units template returns the +units ("pt" for "20pt") from a length. If no units are supplied on the +length, the defauilt.units are returned. + + + + + + + + + + + + + + + + + + + + + + + + + + + Return a fully qualified length specification