Forum Moderators: open
<element type="">
<title>Terminology</title>
<body>
<glossentry>
<glossterm>TERM 1</glossterm>
<glossdef>
<para>Explanation 1</para>
</glossdef>
</glossentry>
<glossentry>
<glossterm>TERM n</glossterm>
<glossdef>
<para>Explanation n</para>
</glossdef>
</glossentry>
</body>
</element>
<xsl:template match="title">
<fo:block font-size="20pt" font-family="Helvetica" line-height="24pt" space-after.optimum="20pt" text-align="left" font-weight="bold">
<xsl:value-of select="."/>
</fo:block>
<xsl:if test="/element/@type='term'">
<xsl:apply-templates select="/element/body/glossentry">
<xsl:sort select="glossterm" order="ascending"/>
</xsl:apply-templates>
</xsl:if>
</xsl:template>
<xsl:template match="glossterm">
<fo:block font-weight="bold" font-size="11pt">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<xsl:template match="glossdef">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<xsl:template match="para">
<fo:block font-family="serif" font-size="11pt" line-height="14pt" space-after.optimum="10pt">
<xsl:apply-templates/>
</fo:block>
</xsl:template>