how to use if statement in xsl

admin

Administrator
Staff member
hi all,im using if statement in my code but it returns true alwaysfollowing is my code <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method = "text" /> <xsl:template match = "/" > <xsl:if test="IsOverView=1"><xsl:text><img src=http://forums.devx.com/archive/index.php/"/images/pac.gif" border="0"/></xsl:text></xsl:if></xsl:template></xsl:stylesheet> can anybody tell me whats wrong with my code ?
 
Back
Top