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

Re: Javascript variable to XSL variable

Subject: Re: Javascript variable to XSL variable
From: António Mota <amsmota@xxxxxxxxx>
Date: Thu, 17 Feb 2005 20:47:37 +0000
xsl variable javascript
Take a look at the Sarissa project, maybe it's usefull.


On Thu, 17 Feb 2005 12:45:29 -0800, Robert Koberg <rob@xxxxxxxxxx> wrote:
> Camalesn wrote:
> > On Thu, 17 Feb 2005 20:00:50 +0000, Antsnio Mota wrote:
> >
> >
> >>I didn't follow this thread, but i have a lot of xslt being called
> >>from Javascript passing parameters to it, what's the problem?
> >
> >
> > Background:
> >
> > - I am using Sablotron and PHP to parse / transform XML with XSL file.
> > A total of 3 files: processor.php, data.xml and template.xsl.
> >
> > - I need to bind a Javascript variable to XSL variable.
>
> Sabletron works on the server (not that I have ever used it, but...). It
> sends the transformed HTML (including your select) to the browser.
> Javascript works in the browser. It cannot communicate with Sabletron.
>
> What you can do is submit a form with your required parameters and
> transform a new HTML page to be sent back to the browser.
>
> Another option is to use XMLHttpRequest(on safari, and mozilla based
> browsers) and ActiveXObject("Microsoft.XMLHTTP") on IE to send your
> information and get a result without a page refresh. You will still need
> to use JavaScript to do the send, recieve and then change the HTML.
>
> best,
> -Rob
>
>
> >
> > - I guess you are using Microsoft parser... isn't it?

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.