74 lines
2.6 KiB
XML
74 lines
2.6 KiB
XML
<?xml version='1.0'?>
|
|
|
|
<!-- $FreeBSD$ -->
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version='1.0'
|
|
xmlns="http://www.w3.org/TR/xhtml1/transitional"
|
|
exclude-result-prefixes="#default">
|
|
|
|
<!-- Include the common customizations -->
|
|
<xsl:include href="freebsd-common.xsl"/>
|
|
|
|
<!-- Redefine variables, and replace templates as necessary here -->
|
|
|
|
<xsl:param name="use.id.as.filename" select="1"/>
|
|
<xsl:param name="html.stylesheet" select="'docbook.css'"/>
|
|
<xsl:param name="link.mailto.url" select="'doc@FreeBSD.org'"/>
|
|
<xsl:param name="callout.graphics.path" select="'./imagelib/callouts/'"/>
|
|
<xsl:param name="citerefentry.link" select="1"/>
|
|
<xsl:param name="admon.style"/>
|
|
|
|
<xsl:template name="user.footer.navigation">
|
|
<p align="center"><small>This, and other documents, can be downloaded
|
|
from <a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/</a></small></p>
|
|
|
|
<p align="center"><small>For questions about FreeBSD, read the
|
|
<a href="http://www.FreeBSD.org/docs.html">documentation</a> before
|
|
contacting <<a href="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>>.<br/>
|
|
For questions about this documentation, e-mail <<a href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>>.</small></p>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="svnref">
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
<xsl:text>http://svnweb.freebsd.org/base?view=revision&revision=</xsl:text>
|
|
<xsl:value-of select="."/>
|
|
</xsl:attribute>
|
|
|
|
<span class="svnref">
|
|
<xsl:value-of select="."/>
|
|
</span>
|
|
</a>
|
|
</xsl:template>
|
|
|
|
<xsl:template name="generate.citerefentry.link">
|
|
<xsl:text>http://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>
|
|
<xsl:value-of select="refentrytitle"/>
|
|
<xsl:text>&amp;sektion=</xsl:text>
|
|
<xsl:value-of select="manvolnum"/>
|
|
</xsl:template>
|
|
|
|
<xsl:template name="nongraphical.admonition">
|
|
<div>
|
|
<xsl:call-template name="common.html.attributes">
|
|
<xsl:with-param name="inherit" select="1"/>
|
|
</xsl:call-template>
|
|
<xsl:if test="$admon.style">
|
|
<xsl:attribute name="style">
|
|
<xsl:value-of select="$admon.style"/>
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
|
|
<xsl:if test="$admon.textlabel != 0 or title or info/title">
|
|
<h3 class="admontitle">
|
|
<xsl:call-template name="anchor"/>
|
|
<xsl:apply-templates select="." mode="object.title.markup"/>
|
|
<xsl:text>: </xsl:text>
|
|
</h3>
|
|
</xsl:if>
|
|
|
|
<xsl:apply-templates/>
|
|
</div>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|