File: dox-toc.xsl

package info (click to toggle)
tulip 3.7.0dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 39,428 kB
  • sloc: cpp: 231,403; php: 11,023; python: 1,128; sh: 671; yacc: 522; makefile: 315; xml: 63; lex: 55
file content (26 lines) | stat: -rwxr-xr-x 954 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:output method="text"/>
<!-- éventuellement des paramètres -->
<xsl:template match="tagfile">
    <xsl:apply-templates select="compound[@kind = 'page']"/>
    <xsl:apply-templates select="compound[@kind = 'group']"/>
&lt;/section>
</xsl:template>

<xsl:template match="compound[@kind = 'page']">
    &lt;section ref="./doxygen/allPlugins.html" title="<xsl:value-of select="title"/>">
</xsl:template>
<xsl:template match="compound[@kind = 'group']">
    &lt;section ref="./doxygen/allPlugins.html#<xsl:value-of select="name"/>" title="<xsl:value-of select="title"/>">
        <xsl:for-each select="class">
            &lt;section ref="./doxygen/allPlugins.html#<xsl:value-of select="current()"/>" title="<xsl:value-of select="current()"/>">
            &lt;/section>
        </xsl:for-each>
    &lt;/section>
</xsl:template>

</xsl:stylesheet>