Variable increment in XSLT

Posted by Pramodh on Stack Overflow See other posts from Stack Overflow or by Pramodh
Published on 2010-05-26T12:31:09Z Indexed on 2010/05/26 12:51 UTC
Read the original article Hit count: 275

Filed under:
|

hi,

i've an xml file like

<node>
 <elm val="data1"/>
 <elm val="data2"/>
 <elm val="data3"/>
 <elm val="data4"/>
 <elm val="data5"/>
 <elm val="data6"/>
 <elm val="data7"/>
</node>

i need to write an xslt for this xml file to display in a table fomat like

  1 dat1
  2 dat2
  3 dat3
  4 dat4
  5 dat5
  6 dat6
  7 dat7

please help me to do this

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xslt