[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:00:50 +0000
javascript transformtodocument
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?

For example

	var processor = new XSLTProcessor();
	xslDoc.load(xsl+".xsl");
	processor.importStylesheet(xslDoc);
	processor.setParameter(null, "pos", pos);
	var xmlResult = processor.transformToDocument(xml);

Am i missing something?



On Thu, 17 Feb 2005 20:09:45 +0100, Camalesn <noelamac@xxxxxxxxx> wrote:
> On Thu, 17 Feb 2005 19:41:46 +0100, Camalesn wrote:
>
> > Thank you all for your comments. I will keep reading the list.
>
> Uhm. How about using cookies? Could I set a cookie with javascript and
> then read the cookie value to use it as xsl variable? I don't like
> very much using cookies, but sometimes is the only way to exchange
> values between different programming languajes...
>
> Can this be an option?

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.