Hi
I think the code you should is below:
<xsl:choose>
<xsl:when test="contain($username,'yahoo')">
<SCRIPT LANGUAGE=javascript>
<!--
window.location.href = "http://mail.yahoo.com/";
//-->
</SCRIPT>
</xsl:when>
<xsl:otherwise>
do something by default
</xsl:otherwise>
</xsl:choose>
Hope that helps.
__________________________________________________
Do You Yahoo!?
A free party for the most "shiok" photo!
http://sg.yahoo.com/shiok
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list