RE: [xsl] to access a particular token in a comma separated string by specifying a numerical value ?

Subject: RE: [xsl] to access a particular token in a comma separated string by specifying a numerical value ?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 27 Jan 2004 09:20:46 -0000
Use the tokenize() function in XPath 2.0, or str:tokenize() in the EXSLT
library.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> SANWAL, ABHISHEK (HP-Houston)
> Sent: 26 January 2004 23:36
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] to access a particular token in a comma 
> separated string by specifying a numerical value ?
> 
> 
> How can I access a particular token in a comma separated 
> string by specifying a numerical value for the token number using XSL?
> 
> Assuming, my xsl:variable or xsl:parameter holds a string 
> with comma-separated values as shown below:
> 
> <xsl:variable name="ValuesString" select="'10,20,30,40,50'"/>
> 
> How would I go about finding a way to pick out the value 
> specified by a count that maps another variable/parameter.
> 
> Open to Ideas :)
> Thanks,
> 
> Abhishek 
> ____________________________________________________________
> 
> Abhishek Sanwal
> HP - Houston Campus
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread