Re: [xsl] Selecting the first item from a tokenized string

Subject: Re: [xsl] Selecting the first item from a tokenized string
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 12 Jan 2006 21:28:46 GMT
> I am trying to select the first item from a tokenized
> string.

tokenize(foo,',') returrns a sequence of items and like any sequence you
can use
tokenize(foo,',')[1]
to select the first item.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread