Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 16th, 2006, 03:01 PM
Authorized User
 
Join Date: Nov 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing parameter from javascript to xslt !!

I have a employees.xml file. Using xslt I am creating a combobox and populating the names of the employees to the combobox.

When I select a option from comobox, I am invoking a javascript function using onChange() event. Inside the javascript, I am obtaining the selected item from the combobox.

My Requirement: I want the user to view the employees details for whom he selected from the comobox and display in the same page.

Note: I cannot use the following, as if I am right, cannot be used with Mozilla and other browsers.

1) ActiveXObject("Msxml2.DOMDocument.4.0")
2) ActiveXObject("Msxml2.FreeThreadedDOMDocument.4.0" )

Thanks!

Suresh.
__________________
Cheers [-:]

Suresh!
 
Old November 16th, 2006, 04:04 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

For a cross browser API to XSLT processors, take a look at Sarissa.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old November 17th, 2006, 01:09 AM
Authorized User
 
Join Date: Nov 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I will check that out!

Thanks,

Suresh.

 
Old November 17th, 2006, 03:08 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Or zXml available at http://www.nczonline.net/ under downloads.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in passing xslt value to a javascript ! back2grave XSLT 2 June 16th, 2006 03:26 AM
Problem in passing parameter to xslt template uttamgarg XSLT 0 April 20th, 2006 09:53 AM
Passing Parameter between Javascript and VBScript rabs200 Javascript How-To 0 August 31st, 2005 08:50 AM
Passing a parameter into the XSLT thru a link Liska XSLT 0 July 16th, 2004 08:19 PM
Passing Parameter tgopal Javascript 3 August 7th, 2003 07:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.