]> git.ipfire.org Git - ddns.git/blob - man/custom-html.xsl
Bump version to 015.
[ddns.git] / man / custom-html.xsl
1 <?xml version='1.0'?>
2
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4
5 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
6
7 <!-- translate man page references to links to html pages -->
8 <xsl:template match="citerefentry">
9 <a>
10 <xsl:attribute name="href">
11 <xsl:value-of select="refentrytitle"/><xsl:text>.html</xsl:text>
12 </xsl:attribute>
13 <xsl:call-template name="inline.charseq"/>
14 </a>
15 </xsl:template>
16
17 <!-- add Index link at top of page -->
18 <xsl:template name="user.header.content">
19 <a>
20 <xsl:attribute name="href">
21 <xsl:text>index.html</xsl:text>
22 </xsl:attribute>
23 <xsl:text>Index</xsl:text>
24 </a>
25 <hr/>
26 </xsl:template>
27
28 <!-- Switch things to UTF-8, ISO-8859-1 is soo yesteryear -->
29 <xsl:output method="html" encoding="UTF-8" indent="no"/>
30
31 </xsl:stylesheet>