----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 3:32 PM
Subject: [Bug 2128] New: - Named templates and xsl:with-param
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2128
>
> *** shadow/2128 Tue Jun 12 05:32:34 2001
> --- shadow/2128.tmp.4441 Tue Jun 12 05:32:34 2001
> ***************
> *** 0 ****
> --- 1,28 ----
> +
+===========================================================================
=+
> + | Named templates and xsl:with-param
|
> +
+---------------------------------------------------------------------------
-+
> + | Bug #: 2128 Product: XalanJ2
|
> + | Status: NEW Version: 2.0.x
|
> + | Resolution: Platform: PC
|
> + | Severity: Blocker OS/Version: Windows NT/2K
|
> + | Priority: Other Component:
org.apache.xalan.transf |
> +
+---------------------------------------------------------------------------
-+
> + | Assigned To: [EMAIL PROTECTED]
|
> + | Reported By: [EMAIL PROTECTED]
|
> + | CC list: Cc:
|
> +
+---------------------------------------------------------------------------
-+
> + | URL:
|
> +
+===========================================================================
=+
> + | DESCRIPTION
|
> + When calling named templates with params the processor stops with error
> + message.
> + "VariableReference given for variable out of contexts or without
definition!"
> +
> +
> + <xsl:call-template name="x">
> + <xsl:with-param name="_titel">LIVE-MUSIK</xsl:with-param>
> + </xsl:call-template>
> +
> + <xsl:template name="x">
> + <xsl:value-of select="$_titel"></xsl:value-of>
> + </xsl:template>
> \ No newline at end of file
<xsl:template name="x">
<!-- don't miss that --> <xsl:param name="_titel"/>
<xsl:value-of select="$_titel"></xsl:value-of>
</xsl:template>