How to use for loop in xslt
Posted
by Pramodh
on Stack Overflow
See other posts from Stack Overflow
or by Pramodh
Published on 2010-05-10T11:18:10Z
Indexed on
2010/05/10
11:24 UTC
Read the original article
Hit count: 262
Dear all,
How to use for loop in xslt to get value iteratively from a xml file and to dispaly it in table fromat
for example: the xml file is like
<order>
<item name ="a"/>
<item name ="b"/>
<item name ="c"/>
<item name ="d"/>
<item name ="e"/>
<item name ="f"/>
<item name ="g"/>
</order>
and the output should be
a b c d
e f g
the loop shold count the item and if it is divisble by 4 it
should close the current row and add a new row and so on..
please help me to do this
Thanks in advance
© Stack Overflow or respective owner