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

How to get the Browser URL within XSL?

Subject: How to get the Browser URL within XSL?
From: "Hubert Holtz" <Turnhose_alt@xxxxxxx>
Date: Tue, 13 May 2003 15:42:23 +0200
xsl get url
Hy all,

First of all I do not know if this is a pure xsl or cocoon question so i mail it to both lists.

I know I can access the request parameters of the url in xsl using the xsl-with-parameters type in my sitemap,
but how can I get the whole URL string in xsl.

The reason why I need to get this, is that I have the following URL structure:

http://www.somwhere.de/test/program.html?id=300&lang=ger

and I want to change the lang value to another value (eng i.e.) by clicking on my flag symbol, the problem is that I don't know
the sitename in front of .html, because I just want to change the lang parameter the rest should be the same,
depending on the last requested url (or is it possible to get this value inside xsl?) !

I'm using Cocoon 2.03 on tomcat4.1.

Any help is welcome.

Regards, Steve


 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.