doc/share/xsl/freebsd-common.xsl
2013-06-30 09:58:03 +00:00

32 lines
1 KiB
XML

<?xml version='1.0'?>
<!-- $FreeBSD$ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:db="http://docbook.org/ns/docbook"
exclude-result-prefixes="db"
version='1.0'>
<!-- Global customisation -->
<!-- Redefine variables, and replace templates as necessary here -->
<xsl:template match="db:buildtarget|db:command|db:userinput">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
<xsl:template name="svnweb.link">
<xsl:param name="repo" select="'base'"/>
<xsl:param name="rev"/>
<xsl:value-of select="concat('http://svnweb.freebsd.org/', $repo,
'?view=revision&amp;revision=', $rev)"/>
</xsl:template>
<xsl:param name="toc.section.depth" select="1"/>
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="section.label.includes.component.label" select="1"/>
<xsl:param name="generate.index" select="0"/>
<xsl:param name="graphic.default.extension">png</xsl:param>
</xsl:stylesheet>