Re: [xsl] Pass node to template

Subject: Re: [xsl] Pass node to template
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 20 May 2003 16:51:22 +0100

                <xsl:with-param name="nodEdit"><xsl:value-of
select="$EDITPROP" /></xsl:with-param>

xsl:value-of always returns the string value of its select expression,
so in this case you get a string not a node, you want

<xsl:with-param name="nodEdit" select="$EDITPROP" />

then the param is a node and you can go


    <xsl:value-of select="$nodEdit/@type"/>


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread