|
Subject: Re: [xsl] passing param using value-of From: Emmanuel Bégué <medusis@xxxxxxxxx> Date: Thu, 16 Feb 2012 23:38:18 +0100 |
Hi,
What if you try this:
<xsl:call-template name="myTemplate">
<xsl:with-param name="arguments">
<xsl:sequence select="preceding-sibling::*" />
</xsl:with-param>
</xsl:call-template>
Regards,
EB
2012/2/16 Mansour Al Akeel <mansour.alakeel@xxxxxxxxx>:
> 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 ?
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] passing param using value, Andrew Welch | Thread | [xsl] trying to search and replace , Jamie DelleMonache |
| Re: [xsl] passing param using value, Wendell Piez | Date | Re: [xsl] passing param using value, Andrew Welch |
| Month |