RE: [xsl] Coma delimited values in attribute

Subject: RE: [xsl] Coma delimited values in attribute
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 16 Sep 2005 13:38:52 +0100
In XSLT 2.0, use the tokenize() function.

In 1.0, you could use the EXSLT tokenize() template available at
www.exslt.org

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Belousov Alexey [mailto:web@xxxxxxxxxx] 
> Sent: 16 September 2005 14:05
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Coma delimited values in attribute
> 
> Hello all.
> I'm a bit new to XSL and currently having a problem. Any help would be
> greately apreciated.
> 
> I have the following XML:
> 
> -------[XML]--------------------------------------------------
> ----------
> <Fields>
> <field name="tarifSelect" value="tarif1,tarif2,tarif3,tarif4" />
> <field name="numberType"  value="str,cur,str,cur" />
> <field name="cardsNum"    value="1,1,1,1" />
> <field name="price"       value="152,100,252,203" />
> </Fields>
> --------------------------------------------------------------
> ----------
> 
> I want it to be representd as a HTML table like:

Current Thread