<xsl:for-each select="$Rows">
<xsl:variable name="thisNode" select="."/>
<xsl:variable name="ID" select="$thisNode/@ID"/>
<xsl:variable name="Title" select="$thisNode/@Title"/>
<xsl:variable name="Logo" select="$thisNode/@Logo"/>
<xsl:choose>
<xsl:when test="position() = 1">
<div class="first">
<a href="#" onclick="openWindow();" ><img src="{$Logo}" alt="{$Title}" /></a>
</div>
</xsl:when>
<xsl:otherwise>
<div class="others">
<a href="#" onclick="openWindow();" ><img src="{$Logo}" alt="{$Title}" /></a>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:variable name="thisNode" select="."/>
<xsl:variable name="ID" select="$thisNode/@ID"/>
<xsl:variable name="Title" select="$thisNode/@Title"/>
<xsl:variable name="Logo" select="$thisNode/@Logo"/>
<xsl:choose>
<xsl:when test="position() = 1">
<div class="first">
<a href="#" onclick="openWindow();" ><img src="{$Logo}" alt="{$Title}" /></a>
</div>
</xsl:when>
<xsl:otherwise>
<div class="others">
<a href="#" onclick="openWindow();" ><img src="{$Logo}" alt="{$Title}" /></a>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
No comments:
Post a Comment