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

GetParameter from XSL

Subject: GetParameter from XSL
From: Claudio Russo <claudio_russo@xxxxxxxxx>
Date: Thu, 19 Jun 2003 12:02:00 -0700 (PDT)
xsl getparameter
I've tried the next javascript code while accessing
from an onClick in an XSLT stylesheet, but
unfortunately I get an error at the "var" definition
when trying to get a parameter value in the stylsheet.
Does anybody know why?

=======================================================
     xslProc_table = xslTemp_table.createProcessor();
     xslProc_table.input = xml_table;

     var sortVal = xslProc_table.getParameter(null,
"sortorder");
     alert(xslProc_table.stylesheet.xml);
     
     if (sortVal == "" || sortVal == "descending")
     	xslProc_table.addParameter("sortorder",
"ascending");
     else
     	xslProc_table.addParameter("sortorder",
"descending");
=======================================================


=====
Regards, Claudio.

IT Consultant.
Buenos Aires, Argentina.
e-mail: claudio_russo@xxxxxxxxx


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

 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.