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

using different templates

Subject: using different templates
From: Madhavi Thottempudi <madhavi@xxxxxxxxxxxxxxx>
Date: Tue, 03 Dec 2002 18:20:43 +0000
 using different templates
Hi there!
I am having a mainMenu.xsl page which gets accessed from two links
1. login
2. redirect

When I login successfuly, at server side I create an xml document called - login
Some variables - x & y in mainMenu.xsl will be populated through "login".


At some pages I do redirect - I create an xml document called - redirect
And again the same variables - x & y (as in above case) will be populated through "redirect".


I did this and it didn't work...
  <xsl:template match="/">
     <xsl:variable  name = "sName">
	<xsl:value-of select="./uSession/sName"/>
     </xsl:variable>
     <xsl:variable  name = "sid">
	<xsl:value-of select="./uSession/sid"/>
     </xsl:variable>
  </xsl:template>

I can't go for having same name for the document beacuse this type of overlap happens with other pages too.
how can i achieve this?? Any suggestions will be of great help.


regards
-Madhavi


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.