1 <refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="default.units">
8 <refentrytitle>default.units</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
10 <refmiscinfo class="other" otherclass="value">cm</refmiscinfo>
11 <refmiscinfo class="other" otherclass="value">mm</refmiscinfo>
12 <refmiscinfo class="other" otherclass="value">in</refmiscinfo>
13 <refmiscinfo class="other" otherclass="value">pt</refmiscinfo>
14 <refmiscinfo class="other" otherclass="value">pc</refmiscinfo>
15 <refmiscinfo class="other" otherclass="value">px</refmiscinfo>
16 <refmiscinfo class="other" otherclass="value">em</refmiscinfo>
19 <refname>default.units</refname>
20 <refpurpose>Default units for an unqualified dimension</refpurpose>
24 <src:fragment xml:id="default.units.frag">
25 <xsl:param name="default.units">pt</xsl:param>
29 <refsection><info><title>Description</title></info>
31 <para>If an unqualified dimension is encountered (for example, in a
32 graphic width), the <parameter>default.units</parameter> will be used for the
33 units. Unqualified dimensions are not allowed in XSL Formatting Objects.