Next / Previous / Contents / TCC Help System / NM Tech homepage

8.6.3. 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, variablelist.as.blocks, selects the latter behavior.

<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>

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

<xsl:template match="varlistentry/term">
  <xsl:call-template name="inline.boldseq"/>
</xsl:template>