xsl-list
[Top] [All Lists]

RE: [xsl] passing param using value-of

2012-02-16 15:42:55
Hi Mansour,

What processor are you using, and what version of XSLT?

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: Mansour Al Akeel [mailto:mansour(_dot_)alakeel(_at_)gmail(_dot_)com]
Verzonden: donderdag 16 februari 2012 22:20
Aan: xsl-list
Onderwerp: [xsl] 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 ?

--~------------------------------------------------------------------
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>
--~--

--~------------------------------------------------------------------
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>
--~--