3 Generate a summary page with a list of links to all manual pages
5 Copyright (C) 2004 Jelmer Vernooij <jelmer@samba.org>
6 Published under the GNU GPLv3 or later
8 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
9 xmlns:
exsl=
"http://exslt.org/common"
12 <xsl:output method=
"xml" encoding=
"UTF-8" omit-xml-declaration=
"yes"/>
14 <xsl:template match=
"refentry">
15 <xsl:element name=
"varlistentry">
16 <xsl:apply-templates/>
20 <xsl:template match=
"refentry/refmeta">
21 <xsl:element name=
"term">
22 <xsl:element name=
"ulink">
23 <xsl:attribute name=
"url">
24 <xsl:value-of select=
"refentrytitle"/><xsl:text>.
</xsl:text><xsl:value-of select=
"manvolnum"/><xsl:text>.html
</xsl:text>
26 <xsl:value-of select=
"refentrytitle"/><xsl:text>(
</xsl:text><xsl:value-of select=
"manvolnum"/><xsl:text>)
</xsl:text>
31 <xsl:template match=
"refentry/refnamediv">
32 <xsl:element name=
"listitem">
33 <xsl:element name=
"para">
34 <xsl:value-of select=
"refpurpose"/><xsl:text> </xsl:text>
39 <xsl:template match=
"@*|node()">
40 <xsl:apply-templates/>