Is there a better way of doing:
Code:
<xsl:variable name="frlink">
<xsl:choose>
<xsl:when test="@isFriend = '0'"><xsl:value-of select="concat('friends.php?add=', @uid)"/></xsl:when>
<xsl:otherwise> <xsl:value-of select="concat('friends.php?add=', @uid)"/></xsl:otherwise>
</xsl:choose>
Leave a comment: