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

Re: Client-side XSLT

Subject: Re: Client-side XSLT
From: "Mark" <mark@xxxxxxxxxxxx>
Date: Sun, 25 Sep 2011 09:25:07 -0700
Re:  Client-side XSLT
Thanks all,
I'll put aside a purely XSLT resolution and move on to a scripting solution.
I appreciate all your advice and time,
Mark

-----Original Message----- From: Martin Honnen
Sent: Sunday, September 25, 2011 9:10 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Client-side XSLT


Mark wrote:

My question: is it possible to open that target XML file with a
parameter (such as the number "635") and then pass that parameter on to
the XSL processing instruction in some manner that makes it available to
"render.xsl"? If I can pass this single parameter through to the XSLT
stylesheet, my problem is completely solved. (Since my website is
non-commercial, I can insist that it is only available to browsers that
can automatically process XSLT).

Or, as both you and Martin seem to imply, must I use a scripting
language to achieve my goal of passing a parameter to the XSLT stylesheet?

If you want to process query parameters in a URL you need more than XSLT I think, you can do that stuff with any server-side language (like PHP) or framework (like ASP.NET or JSP) so you would load e.g. http://example.com/applyxslt.php?sheet=sheet1.xsl&number=635 and your PHP script applyxslt.php would then read out those parameters and run the transformation on the server, setting stylesheet parameters as needed.



--

Martin Honnen --- MVP Data Platform Development
http://msmvps.com/blogs/martin_honnen/

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.