summaryrefslogtreecommitdiff
path: root/tests/general/bug-216.xsl
blob: 50cc4b1182730c4f3752955c879ef3a26cefe47c (plain)
1
2
3
4
5
6
7
8
9
10
11
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" version="1.0" extension-element-prefixes="func">
  <func:function name="func:f">
    <xsl:for-each select="namespace::*">
      <xsl:sort/>
    </xsl:for-each>
    <func:result>10</func:result>
  </func:function>
  <xsl:template match="*">
    <xsl:value-of select="func:f()+count(abc)"/>
  </xsl:template>
</xsl:stylesheet>