[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to open a page in xsl

Subject: RE: How to open a page in xsl
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2003 09:14:41 +0100
asda asd
a sample src xml and desired xml may reveal what you want to do, possibly

you want a choose statement

<xsl:choose>
	<xsl:when test="contain($username,'yahoo')">
		do something
	</xsl:when>
	<xsl:otherwise>
		do something by default
	</xsl:otherwise>
</xsl:choose>

not sure at all what you want to do ?

gl, jim fuller

-----Original Message-----
From: Archana Rao [mailto:archana_heroor@xxxxxxxxx]
Sent: 22 September 2003 22:41
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  How to open a page in xsl


Hello everybody,

JSP passes the username to my xsl, i know what the
user name is that is, in my xsl i have <xsl:param
name="username"/>

So i know what the username is, now my problem is i am
trying to open up www.yahoo.com if the username is
xyz@xxxxxxxxx and www.hotmail.com if the username has
xyz@xxxxxxxxxxxx

I know i can use <xsl:if test="contain($username,
'yahoo')"> to check for the username, but then i don't
know how to specify in the <xsl:if> to open up
www.yahoo.com.

Hope you understood my problem.

TIA,
Archana

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.