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

RE: passing parameter from javascript

Subject: RE: passing parameter from javascript
From: "James Fuller" <james.fuller@xxxxxxxxxx>
Date: Mon, 5 Aug 2002 11:49:12 +0100
javascript in xsl samplecode


> I had posted the query given below but got no reponse... I am new
> to xsl and would appreciate some help...

us not answer a question, must be an anomoly !

> I am having an xml which contains employee details like the following.
>
> <Employee>
> <ID>T1464</ID>
> <Name>TOM</Name>
> <Designation>System Architect</Designation>
> <Project>Project 1</Project>
> </Employee>
>
> I populate a combo with designations from the xml. On the basis
> of the designation selected by the user i have to list out all
> the employees with their details in a table.

> Is it possible to set a variable in a javascript when the
> designation is selected and use this variable to filter the
> employees? Or pass this parameter to another xsl whixh does the
> filtering of employees??? Does any one have some sample code on
> using this param in xsl??? Is there a better and simpler way? How
> do i go about this?

this is what the xsl:param is for, though each XSLT processor has different
methods for invoking it, now if you are using javascript and IE its easy and
FAQ

cheers, jim





 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.