Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:template name="ListeActualites" match="Row[@Style='ListeActualites']" mode="itemstyle">
- <xsl:param name="CurPos" />
- <xsl:param name="Last" />
- <xsl:variable name="SafeLinkUrl">
- <xsl:call-template name="OuterTemplate.GetSafeLink">
- <xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="Image">
- <xsl:value-of select="substring-before(substring-after(@Image, 'src="'), '" style')" />
- </xsl:variable>
- <xsl:variable name="debutBloc">
- <xsl:if test="$CurPos = 1">
- <![CDATA[
- <div class="test">
- ]]>
- </xsl:if>
- </xsl:variable>
- <xsl:variable name="finBloc">
- <xsl:if test="$CurPos = $Last">
- <![CDATA[
- </div>
- ]]>
- </xsl:if>
- </xsl:variable>
- <xsl:value-of select="$debutBloc" disable-output-escaping="yes" />
- <!-- Content here -->
- <xsl:value-of select="$finBloc" disable-output-escaping="yes" />
- </xsl:template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement