Project

Profile

Help

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

he / src / main / c / samples / data / package-019-include.xsl @ 55b80284

1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet
3
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
    xmlns:pkg="urn:use-me"
5
    version="3.0">
6
    
7
    <!-- testing using a pkg (twice), the used pkg contains two functions which do nothing -->    
8
    <xsl:use-package name="urn:use-me" package-version="*"  >
9
        <xsl:accept component="function" names="pkg:function1" visibility="public" />
10
    </xsl:use-package>
11
    
12
    <xsl:template match="second-child">
13
        <xsl:value-of select="pkg:function1()" />
14
    </xsl:template>
15
    
16
</xsl:stylesheet>
(15-15/19)