summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatterns/stylesheets/useParameters.xsl
blob: 72aa056dbd350a0ec97e5edf8d4ed6f22970230f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<xsl:stylesheet
    version="2.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:param name="defaultedParam" select="'defParam'"/>
    <xsl:param name="overridedDefaultedParam" select="'DOESNOTAPPEAR'"/>
    <xsl:param name="implicitlyRequiredValue" as="xs:string"/>

    <xsl:template name="main">
        <xsl:sequence select="$defaultedParam,

                              $overridedDefaultedParam,

                              $implicitlyRequiredValue"/>
    </xsl:template>

</xsl:stylesheet>