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

Re: Using URL parameters in XSL

Subject: Re: Using URL parameters in XSL
From: Julian Wood <woodj@xxxxxxxxxxx>
Date: Mon, 11 Aug 2003 12:24:57 -0600
xslt url parameters
Hi Michael,

This all taking place in a local environment, in a web browser. In fact it's a web page which generates the parameter (the whole URL to the XML file, actually) which somehow needs to be passed to the XSLT code in question. I don't see how that web page can have the facility to pass them into the XSLT code as parameters. You're talking about the application writing out the XSLT with the pertinent parameter intact, right? Or am I misunderstanding? Any way to pass info from one page to another, such that the xslt processor in the second page can get access to that info before the transform, in a local environment, would be sufficient, but I'm starting to think I will have to use a much messier javascript solution.

Thanks,

J

On Monday, August 11, 2003, at 02:12 AM, Michael Kay wrote:

You need to extract the relevant components of the URL in the calling
application, and pass them from the application to the XSLT code as
stylesheet parameters.

Michael Kay

Hi,


I'm trying to gain access to the URL parameters used to load an xml
file. For instance, can robin.xsl, used to process
batman.xml, get the
imageNum parameter in its URL?

http://bla.bla/batman.xml?imageNum=3
--
Julian Wood

Programmer/Analyst
Learning Commons, University of Calgary


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.