My XML is
<row>
<entry>1.</entry>
<entry>foo</entry>
<entry>morefoo</entry>
</row>
<row>
<entry>2.</entry>
<entry>2foo</entry>
<entry>2morefoo</entry>
</row>
using XSLT, i’m trying to represent this information in a html table, and i want to have a Serial no. column.
How do i go about selecting the value of only the first ‘entry’ tag?
In your XSLT you should have something like this:
Note: the code above is not tested, use it as a template for your own real code and data.
Output would be something like the following: