|
-
Jan 31st, 2006, 08:57 AM
#1
Thread Starter
Lively Member
-
Jan 31st, 2006, 09:50 AM
#2
Re: increment count
Look at the xsl:number element. It's rather complex, so you may have to play a bit with it until you get it right.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 31st, 2006, 09:54 AM
#3
Thread Starter
Lively Member
Re: increment count
have you got an example? how do i increment it? and how do I attach it to the a href?
-
Jan 31st, 2006, 10:08 AM
#4
Re: increment count
I believe this should approximately work, but it depends on your input structure.
Code:
<xsl:for-each select="a:multistatus/a:response">
<a>
<xsl:attribute name="href">
<xsl:text>Clipping.aspx?ID=</xsl:text>
<xsl:number level="any" count="a:multistatus/a:response"/>
<xsl:text>sTitle=</xsl:text>
<xsl:value-of select="(aropstat/arop/a:href)"/>
</xsl:attribute>
</a>
</xsl:for-each>
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 31st, 2006, 10:51 AM
#5
Thread Starter
Lively Member
Re: increment count
thanks a lot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|