xsl-list
[Top] [All Lists]

Coma delimited values in attribute

2005-09-16 06:04:31
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:

+--------+-----+---+-----+
| tarif1 | str | 1 | 152 |
+--------+-----+---+-----+
| tarif2 | cur | 1 | 100 |
+--------+-----+---+-----+
| tarif3 | str | 1 | 252 |
+--------+-----+---+-----+
| tarif4 | cur | 1 | 203 |
+--------+-----+---+-----+

--
Best regards, Belousov Alexey


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>