Show jrefhtml.xsl syntax highlighted
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:import href="../../../html/docbook.xsl"/>
<xsl:output
method="html"
indent="yes"
encoding="ISO-8859-1"/>
<!-- ********************************************************************
$Id: jrefhtml.xsl 6299 2006-09-14 07:30:40Z xmldoc $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
and other information.
******************************************************************** -->
<!-- ==================================================================== -->
<xsl:param name="part.autolabel" select="0"/>
<xsl:param name="html.stylesheet" select="'../css/reference.css'"/>
<xsl:param name="admon.graphics" select="1"></xsl:param>
<xsl:param name="admon.textlabel" select="0"></xsl:param>
<xsl:param name="admon.graphics.path">../images/</xsl:param>
<xsl:param name="admon.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="admon.style"/>
<xsl:param name="html.append"><xsl:text>
</xsl:text></xsl:param>
<xsl:template match="refentry">
<xsl:apply-imports/>
</xsl:template>
<xsl:template match="refdescription">
<div class="{name(.)}">
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refauthor">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Author</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refversion">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Version</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refparameter">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Parameters</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refreturn">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Returns</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refexception|refthrows">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Exceptions</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refsee">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>See</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refsince">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Since</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refserial">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Serial</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="refdeprecated">
<div class="{name(.)}">
<b>
<a>
<xsl:attribute name="name">
<xsl:call-template name="object.id"/>
</xsl:attribute>
</a>
<xsl:text>Deprecated</xsl:text>
</b>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="copyright" mode="titlepage.mode">
<xsl:variable name="years" select="year"/>
<xsl:variable name="holders" select="holder"/>
<p class="{name(.)}">
<a href="../copyright.html">
<xsl:call-template name="gentext.element.name"/>
</a>
<xsl:call-template name="gentext.space"/>
<xsl:call-template name="dingbat">
<xsl:with-param name="dingbat">copyright</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="gentext.space"/>
<xsl:apply-templates select="$years" mode="titlepage.mode"/>
<xsl:call-template name="gentext.space"/>
<xsl:call-template name="gentext.by"/>
<xsl:call-template name="gentext.space"/>
<xsl:apply-templates select="$holders" mode="titlepage.mode"/>
<xsl:text>. </xsl:text>
<a href="../warranty.html">No Warranty</a>
<xsl:text>.</xsl:text>
</p>
</xsl:template>
<!-- ==================================================================== -->
</xsl:stylesheet>
See more files for this project here