-
June 14th, 2009, 09:31 PM
#1
Another itemstyle.xsl query
Hey guys,
Im trying to use itemstyle.xsl to display dynamic content in a 3-column table format. I have that working fine - in that it takes each item and adds it to the table of 3 columns. My problem is that I want some certain items to be treated differently.
Basically to cut a long story short I need a way to STOP the CurPos parameter from increasing on a certain condition. Is there a way to do this?
For example:
<xsl:if test="something">
<xslaram name="CurPos">$CurPos-1(Decrement curpos by 1 so that at the end of the template it goes back up by one and effectively doesnt change)</xslaram>
</xsl:if>
Thanks!
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
|