xsl-list
[Top] [All Lists]

[xsl] passing param using value-of

2012-02-16 15:20:13
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 ?

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>