Subversion Repositories Projects

Rev

Rev 1570 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1570 Rev 1633
1
<?xml version="1.0" encoding="ISO-8859-1"?>
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
<xsl:output method="xml" indent="yes"/>
3
<xsl:output method="xml" indent="yes"/>
-
 
4
   <xsl:template match="/mk-debugdata" >
-
 
5
<debug>
-
 
6
<xsl:apply-templates />
-
 
7
</debug>
-
 
8
   </xsl:template>
-
 
9
 
4
        <xsl:template match="*"><xsl:apply-templates /></xsl:template>
10
        <xsl:template match="*"><xsl:apply-templates /></xsl:template>
5
 
11
 
6
        <xsl:template match="dataset">
12
        <xsl:template match="dataset">
7
        <xsl:copy>
13
        <xsl:copy>
8
        <xsl:apply-templates select="@*"/>
14
        <xsl:apply-templates select="@*"/>
9
        <xsl:apply-templates />
15
        <xsl:apply-templates />
10
        </xsl:copy>
16
        </xsl:copy>
11
        <xsl:text>
17
        <xsl:text>
12
        </xsl:text>
18
        </xsl:text>
13
        </xsl:template>
19
        </xsl:template>
14
 
20
 
15
        <xsl:template match="text()"></xsl:template>
21
        <xsl:template match="text()"></xsl:template>
16
       
22
       
17
        <xsl:template match="data[@offset='20' or @offset='21' or @offset='22' or @offset='23' or @offset='24' or @offset='25' or @offset='26' or @offset='27' or @offset='28' or @offset='29' or @offset='30']">
23
        <xsl:template match="data[@offset='19']">
18
                <xsl:copy><xsl:apply-templates select="@*"/></xsl:copy>
24
                <xsl:copy><xsl:apply-templates select="@*"/></xsl:copy>
19
                <!-- <xsl:apply-templates select=''/> -->
25
                <!-- <xsl:apply-templates select=''/> -->
20
                <xsl:text>
26
                <xsl:text>
21
                </xsl:text>
27
                </xsl:text>
22
        </xsl:template>
28
        </xsl:template>
23
 
29
 
24
        <xsl:template match="data"></xsl:template>
30
        <xsl:template match="data"></xsl:template>
25
       
31
       
26
        <xsl:template match="attribute::*">
32
        <xsl:template match="attribute::*">
27
                <xsl:copy>
33
                <xsl:copy>
28
                </xsl:copy>
34
                </xsl:copy>
29
        </xsl:template>
35
        </xsl:template>
30
</xsl:stylesheet>
36
</xsl:stylesheet>