Project

Profile

Help

How to connect?
Download (998 Bytes) Statistics
| Branch: | Tag: | Revision:

he / latest9.6 / hec / samples / trax / xsl / err.xsl @ 74569bc0

1
<xsl:stylesheet 
2
      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='2.0'
3
      xmlns:bar="http://apache.org/bar"
4
      exclude-result-prefixes="bar"
5
      >
6
      
7
  <xsl:include href="inc1/inc1.xsl"/>
8
      
9
  <xsl:param name="a-param">default param value</xsl:param>
10

    
11
  <xsl:output encoding="iso-8859-1"/>
12
  
13
  <xsl:template match="/">
14
    <xsl:comment><xsl:value-of select="system-property('xsl:product-version')"/></xsl:comment>
15
    <xsl:next-match/>
16
  </xsl:template>  
17
  
18
  <xsl:template match="bar:element">
19
    <bar>
20
      <param-val>
21
        <xsl:value-of /><xsl:text>, </xsl:text>
22
        <xsl:value-of select="$my-var"/>
23
      </param-val>
24
      <data><xsl:apply-templates/></data>
25
    </bar>
26
  </xsl:template>
27
      
28
  <xsl:template 
29
      match="@*|*|text()|processing-instruction()">
30
    <xsl:copy>
31
      <xsl:apply-templates 
32
         select="@*|*|text()|processing-instruction()"/>
33
    </xsl:copy>
34
  </xsl:template>
35
</xsl:stylesheet>
(2-2/10)