Subject: RE: passing parameter from javascript
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Mon, 5 Aug 2002 12:00:41 +0100
|
Hi,
To get a parameter from Javascript into your XSLT, check out the
IXSLProcessor object and the <xsl:param> element.
Have a look at:
http://sources.redhat.com/ml/xsl-list/2001-12/msg01038.html
for an answer I gave a while back.
cheers
andrew
> -----Original Message-----
> From: ashwati s [mailto:ashwatis@xxxxxxxxx]
> Sent: 05 August 2002 10:10
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: passing parameter from javascript
>
>
> Hi,
>
> I had posted the query given below but got no reponse... I am
> new to xsl and would appreciate some help...
>
> 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?
>
> Thanks
> ashwati
>
>
>
> __________________________________________________________
> Win a First Class Trip to Hawaii to Vacation Elvis Style!
> http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|