tests/expr/higher-order-functions/higher-order-functions-058.xsl
author Michael Kay <mike@saxonica.com>
Mon, 30 Mar 2015 08:50:22 +0100
changeset 888 8b46519c1ab1
parent 1 9fa075f0bb80
permissions -rw-r--r--
Fix bug 28369
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     3
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     4
    xmlns:local="http://local/"
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     5
    exclude-result-prefixes="xs"
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     6
    version="3.0">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     7
    
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     8
    <!-- Heterogeneous sequence on rhs of "/" -->
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     9
 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    10
    
888
8b46519c1ab1 Fix bug 28369
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
    11
    <xsl:variable name="f" as="element(*)"><a b="3"/></xsl:variable>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    12
    
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    13
 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    14
    <xsl:template name="main">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    15
        <out>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    16
            <xsl:value-of select="$f/(@b, upper-case#1)"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    17
        </out>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    18
    </xsl:template>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    19
    
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    20
 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    21
     
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    22
 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    23
</xsl:stylesheet>