Subject: Re: [xsl] can a value of a parameter depends on a other value From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx> Date: Wed, 30 Nov 2011 15:06:51 +0100 |
On 30 November 2011 14:26, Susanne Wunsch <xsl@xxxxxxxxxxxxxxxxx> wrote: > Wolfgang Laun <wolfgang.laun@xxxxxxxxx> writes: > >> A parameter is only applicable to a named template, and >> <xsl:with-param> is used with the call, not the definition. > > No. Kindly note that I did not write "...used *only* with the call...", and that... > You can also use <xsl:with-param> within <xsl:apply-templates>, e.g. > > <xsl:apply-templates select="*"> > <xsl:with-param name="foo" select="'bar'" as="xs:string"/> > </xsl:apply-templates> <xsl:apply-template> is akin to a call, albeit not via a name. -W
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] can a value of a paramete, Susanne Wunsch | Thread | Re: [xsl] can a value of a paramete, Michael Kay |
Re: [xsl] can a value of a paramete, Susanne Wunsch | Date | Re: [xsl] can a value of a paramete, Michael Kay |
Month |