Re: [xsl] Selecting a substring()

Subject: Re: [xsl] Selecting a substring()
From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx>
Date: Thu, 8 Dec 2005 14:28:09 +0100
Hi Julian,

<xsl:variable name="image" select='substring-after("$currentnode/@*[name()
=current()/@field]","-")'/>

Should be:
<xsl:variable name="image"
select='substring-after($currentnode/@*[name()=current()/@field],"-")'/>

That is, without the " around the XPath, that you want to execute.

Regards,
Ragulf Pickaxe :-)

Current Thread