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

Re: Dynamically passing Parameters to XSL

Subject: Re: Dynamically passing Parameters to XSL
From: "Agnes kielen" <a.kielen@xxxxxxx>
Date: Fri, 22 Feb 2002 15:55:57 +0100
passing param to javascript functions
Hello Siva,

Yesterday I answered a similar question in response to a question from Kit:
'passing parameter via asp'. From the XSLT and passing parameter point of
view it is not important if the transformation is done on the client of
I posted some javascript code which retrieves all values from a HTML-form
and placed all values in an array. I also send some code which passed the
values to the XSL. Did you see this post. If not take a look at it. You can
also look for the post of Andrew Welch who gave some examples in VB-script.


----- Original Message -----
From: "Siva Sankari" <saiva_sankari@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, February 22, 2002 6:41 AM
Subject:  Dynamically passing Parameters to XSL

> Hi ,
>  I would like to know if global parameter values to an
>  file can be set dynamically through Javascript ,and
> also
> transform the xml file dynamically through Javascript
> functions.
>  I have an HTML form , which has a  list of products .
> on selection of a product ,
> <select name="product" size=1
> onSelect="setParameterValue()">
> <option value="P001">Scanners</option>
> <option value="P002">PalmTops</option>....ans so on
> .<select>
> .
> .
> a Javascript function (in the onSelect or onChange
> event of choice box) , should be able to set
>  the selected product to the  XSL's global parmeter
> value
>  and also transform the XML ,using the XSL.
> Its like using one single XSL , for different outputs
> ,
> based on the user input.
> Also ,the XSL file and source  XML file to be used are
> already known .
> This has to be a purely client side functionality
> ,with no use of servlets or JSP.
> Is this possible ,Can I get help on this?
> Regards,
> Siva
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.