[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: String Tokenizer in XSLT
From: Kamal Bhatt <kbhatt@xxxxxxxxx>
Date: Thu, 07 Dec 2006 08:58:28 +1100
Florent Georges wrote:
Kamal Bhatt wrote:

Hi

<xsl:for-each select="str:tokenize('1,2,3', ',')">
<xsl:value-of select="."/><xsl:text>|</xsl:text>
</xsl:for-each>

will give 1|2|3

Or more precisely 1|2|3| ;-)


Regards,
You are right. to get my output you need a not(position() = last()).

--
Kamal Bhatt

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member