xsl-list
[Top] [All Lists]

Re: Pass node to template

2003-05-20 08:51:22


                <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



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