Comparision --what's wrong in this simple fragment

admin

Administrator
Staff member
Hi,I seems so simple. I thought this has to result in Ok,but I get Cancel.I am probably not using the correct syntax for the test.But I did not find any documentation on what is wrong orhow I should compare variables.Please help.<xsl:variable name="vloc1" select="x"></xsl:variable><xsl:variable name="vloc2" select="x"> </xsl:variable><xsl:choose><xsl:when test="$vloc1 = $vloc2">Ok</xsl:when><xsl:otherwise>Cancel</xsl:otherwise></xsl:choose>Thanks,Arun
 
Back
Top