Subject: RE: passing param using value-of
From: Geert Josten <geert.josten@xxxxxxxx>
Date: Thu, 16 Feb 2012 22:42:39 +0100
|
Hi Mansour,
What processor are you using, and what version of XSLT?
Kind regards,
Geert
> -----Oorspronkelijk bericht-----
> Van: Mansour Al Akeel [mailto:mansour.alakeel@xxxxxxxxx]
> Verzonden: donderdag 16 februari 2012 22:20
> Aan: xsl-list
> Onderwerp: passing param using value-of
>
> This works fine.
>
> <xsl:call-template name="myTemplate">
> <xsl:with-param name="arguments" select="preceding-sibling::*" >
> </xsl:with-param>
> </xsl:call-template>
>
> But this doesn't:
>
> <xsl:call-template name="myTemplate">
> <xsl:with-param name="arguments">
> <xsl:value-of select="preceding-sibling::*" />
> </xsl:with-param>
> </xsl:call-template>
>
> Why ? How do I use value-of to set the value of a parameter ?
|