OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
xslt,xpath problems
This page's ID:
26232
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
hi, thanks for your suggestion. i try with this. [code] <xsl:param name="counter" select="'2'"/> ........ .......... <xsl:template match="table[starts-with(normalize-space(tr/td[2]/span/b/text()),'User ID:')]"> <xsl:for-each select="tr"> <xsl:element name="$buyer"> <xsl:value-of select="td[2]/a/text()"/> <xsl:value-of select="$counter+1"/> </xsl:element> </xsl:template> [/code] but how come i fail to get the tag name printed out. what i want is, [code] <2> value 3 </2> [/code] and can i know whether the counter will keep track of the previous value in the for loop or always follow the default value as i always get the value for $counter+ 1 is 3, i thought that it should be 3,4,5..... thanks !! beryl
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »