Hi there,
I am trying to loop through my xml file and create a variable "count"
The code I have is
and basically what I need to do is to assign count to an incrementing number from 0 to whaever the loop ends at.
Any help is much appriciated.
Thanks,
I am trying to loop through my xml file and create a variable "count"
The code I have is
Code:
<xsl:for-each select="hotel/images/image">
<a href="javascript:void(0);" onClick="slideshow('slideshow.php?id=4110&count=count')" target="_blank">
<img src="{ThumbnailURL}" border="0"/>
</a>
</xsl:for-each>
and basically what I need to do is to assign count to an incrementing number from 0 to whaever the loop ends at.
Any help is much appriciated.
Thanks,