Topic: xpath problems again, thanks in advance (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=26286" title="Pages that link to Topic: xpath problems again, thanks in advance (Page 1 of 1)" rel="nofollow" >Topic: xpath problems again, thanks in advance <span class="small">(Page 1 of 1)</span>\

 
beryl_peng
Bipolar (III) Inmate

From:
Insane since: Jul 2005

posted posted 07-19-2005 17:24

hi hi,

can i know whether variable in xsl can hold the previous value?
this is the idea what i want to do..i know the syntax is wrong

code:
<xsl:param name ="counter"/>

<xsl: for each select ="tr">
<xsl:if test="normalize-space(TD[2]/text()) != '' ">
<xsl:value-of select="concat($counter, TD[2]/text())" />
</xsl:if>
</xsl:for-each>



this code didnt work, is it possible the $counter will hold the previous value?

thanks



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu