html.xsl
author fabien
Mon, 06 Mar 2006 10:45:25 -0500
branchcthulhu_19e
changeset 4 b612f4869efe
parent 0 b33e0bb8c644
permissions -rw-r--r--
[svn] r14629@freebird: fabien | 2006-03-02 15:18:14 -0500 Replace w3m with elinks (nicer output with links table).

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns="http://www.w3.org/TR/xhtml1/transitional"
                exclude-result-prefixes="#default"
                version='1.0'>
<xsl:import href="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl"/>
<xsl:import href="common.xsl"/>

<xsl:param name="make.valid.html" select="1"/>
<xsl:param name="html.stylesheet">aubes.css</xsl:param>

<xsl:template match="glossary">
  <div class="{name(.)}">
    <xsl:if test="$generate.id.attributes != 0">
      <xsl:attribute name="id">
        <xsl:call-template name="object.id"/>
      </xsl:attribute>
    </xsl:if>

    <xsl:call-template name="glossary.titlepage"/>

    <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>

    <dl>
      <xsl:apply-templates select="glossentry">
        <xsl:sort select="glossterm"/>
      </xsl:apply-templates>
    </dl>

    <xsl:if test="not(parent::article)">
      <xsl:call-template name="process.footnotes"/>
    </xsl:if>
  </div>
</xsl:template>

</xsl:stylesheet>