Hi I'm trying to create a choosing statement by using a link ie
if(Link == google)
run something
else (Link == yahoo)
Meaning that if the declared link is google it will do something
else if it will load yahoo
Here's what i'm thinking how the code is :
<xsl:element name="a">
<xsl:attribute name="href">http://www.google.com</xsl:attribute>// first get the link
<xsl:choose>
<xsl:when test="http://www.google.com">
Do something 1
</xsl:when>
<xsl:otherwise>
Do something 2
</xsl:choose>
</xsl:element>
Please tell me what i'm doing wrong here