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

again for variable from js to xslt

Subject: again for variable from js to xslt
From: laurence_zhang <laurence_zhang@xxxxxxxx>
Date: Tue, 17 Jul 2001 19:58:07 +0800
variable from js in html
the variable to be transfered(bSwitch) is a globle variable in a1.js.
and the input xml file is in a function(getfile(sXMLinput)) in a2.js.
how to put these sentences:

var source = new ActiveXObject("MSXML2.DOMDocument.3.0");
source.async = false;
source.load("http://localhost/Display.xsl");
var XSLTemplate = new ActiveXObject("MSXML2.XSLTemplate.3.0");
XSLTemplate.stylesheet = source.documentElement
var myProc = XSLTemplate.createProcessor();
myProc.input = sXMLinput;
myProc.addParameter("Switch",bSwitch,"");
myProc.transform;

Thank you very much!
______________________________________

===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
¶©ÔÄÊÖ»ú¶ÌÐÅÍ·ÌõÐÂÎÅ£¬ÌìÌì½±¶à¿îʱÉÐÊÖ»ú£¡ (http://dailynews.sina.com.cn/c/272235.html)
¶©ÔÄÊÖ»ú¶ÌÐŶ¥¼¶ÐÂÎÅÿÌìµÃпîÊÖ»ú´ó½±£¡ (http://dailynews.sina.com.cn/c/266499.html)

 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.