Newbie to XSLT. Hi I have this for each statment. I wish to make sure that every other time it Itartates through this loop it runs one or anouther set of XSLT code. hope that makes sence. Think that I probably need some sort of If statment. Please help much appreciated.
<xsl:for-each select="vacancies">
<xsl:value-of select="EmployerName"/> - <xsl:value-of select="ProgrammeDesc"/>
<xsl:text>This should only appear with 1,3,5.. etc iteration</xsl:text>
<xsl:value-of select="VacancyDesc"/>
</xsl:for-each>
<xsl:for-each select="vacancies">
<xsl:value-of select="EmployerName"/> - <xsl:value-of select="ProgrammeDesc"/>
<xsl:text>This should only appear with 1,3,5.. etc iteration</xsl:text>
<xsl:value-of select="VacancyDesc"/>
</xsl:for-each>