I have a question about Xslt mod. I need to change the div class of every 3rd div from "clmn-3 doublespace" to "clmn-3". Tried several tips but could not understand where to add the argument.
<div class="clmn-9 products">
<h1>Title</h1>
<xsl:if test="$mode = 'edit'">
<xsl:text disable-output-escaping="yes"><![CDATA[<div class="webtop">]]></xsl:text>
</xsl:if>
<xsl:call-template name="ndSitePageList">
<xsl:with-param name="sPgLstID" select="1" />
<xsl:with-param name="customTemplate">
<xsl:for-each select="/ndTemplate/ndSitePageLists/ndList[instanceID=1]/ndSitePage">
<xsl:call-template name="ndReplaceListSitePageElements">
<xsl:with-param name="template">
<xsl:text disable-output-escaping="yes">
<![CDATA[
<div class="clmn-3 doublespace">
<a href="]]></xsl:text><xsl:value-of select="link"/><xsl:text disable-output-escaping="no"> <![CDATA["><img src="]]></xsl:text><xsl:value-of select="/ndTemplate/ndSpgPath"/><xsl:value-of select="srcThumb"/><xsl:text disable-output-escaping="no"><![CDATA["alt="" /></a>
<div class="clmn-3 shadow"></div>
<h2>]]></xsl:text><xsl:value-of select="title"/><xsl:text disable-output-escaping="no"><![CDATA[</h2>
<span class="text">]]></xsl:text><xsl:value-of select="description"/><xsl:text disable-output-escaping="no"><![CDATA[</span>
</div>
]]>
</xsl:text>
</xsl:with-param>
</xsl:call-template>
</xsl:for-each>
</xsl:with-param>
</xsl:call-template>
</div>
Thank you in advance Alex