xsl-list
[Top] [All Lists]

RE: How to open a page in xsl

2003-09-23 03:08:26
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



<Prev in Thread] Current Thread [Next in Thread>