Debian Codegraph @

doc/SystemTap_Tapset_Reference/sort-tapsets.xslt

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method="xml" omit-xml-declaration="no" encoding="UTF-8" doctype-system="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" indent="yes" />
5
6 <xsl:template match="node()|@*">
7 <xsl:copy>
8 <xsl:apply-templates select="node()|@*"/>
9 </xsl:copy>
10 </xsl:template>
11
12 <xsl:template match="chapter">
13 <xsl:copy>
14 <xsl:apply-templates select="title|para|@*"/>
15 <xsl:apply-templates select="refentry">
16 <xsl:sort select="refnamediv/refname"/>
17 </xsl:apply-templates>
18 </xsl:copy>
19 </xsl:template>
20 </xsl:stylesheet>