Next / Previous / Contents / NM Tech homepage

11.6.4. variablelist: Variable list entry term

There are two ways to render DocBook's variablelist. The default is a two-column table, with the terms on the left and the definitions on the right. Our preference is the way HTML dl elements are rendered: with each term unindented, followed by the definition as an indented block. A single option,, selects the latter behavior.

<! Definitions indented under terms-->
<xsl:param name="" select="1"></xsl:param>

Because sometimes the indentation doesn't really make the term stand out enough, we boldface the term.

<!--Boldface the term in a varlistentry-->
<xsl:template match="d:varlistentry/d:term">
  <xsl:call-template name="inline.boldseq"/>