File: allprojects.xsl

package info (click to toggle)
libgroboutils-java 5-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,396 kB
  • ctags: 11,186
  • sloc: java: 59,748; xml: 12,762; sh: 377; perl: 104; makefile: 20
file content (55 lines) | stat: -rw-r--r-- 1,478 bytes parent folder | download | duplicates (3)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
    <xsl:output
        method="xml"
        indent="yes"
        standalone="yes"
        encoding="ISO-8859-1" />

        
    <!-- base document -->
   <xsl:template match="set" >
<document>
<head>
    <name url="allprojects.html">GroboUtils</name>
</head>
<body>

<P>
GroboUtils is a large package of various Java utilities.  It attempts to
have both JDK 1.1 and 1.2 compatiblity for most of the packages.
</P>
<P>Below is a partial catalog of what is contained:
</P>

<project-list>
    <xsl:apply-templates select="type" />
</project-list>

</body>
</document>
    </xsl:template>
    
    <xsl:template match="type" >
    <project-category>
        <xsl:attribute name="name"><xsl:value-of select="@name" /></xsl:attribute>
        
        <xsl:apply-templates />
    </project-category>
    </xsl:template>
    
    <xsl:template match="subproject">
        <subproject>
            <xsl:attribute name="project"><xsl:value-of select="@name" /></xsl:attribute>
            <xsl:attribute name="version"><xsl:value-of select="@version" /></xsl:attribute>
            
            <xsl:apply-templates />
        </subproject>
    </xsl:template>
    
    <xsl:template match="@*|node()" name="CopyWithTemplates">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" />
        </xsl:copy>
    </xsl:template>
</xsl:stylesheet>