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

xml data islands and parameters

Subject: xml data islands and parameters
From: "Gitanjali" <narsu@xxxxxxxxxxxxx>
Date: Thu, 14 Jun 2001 23:09:46 -0400
xml data island parameter
I've an xml data island, can I pass the parameter to xsl file.  I'm using
Microsoft Parser 3.

I know to create template object .  But it's not working...whenever I call
my xsl by passing the parameter it hangs.

Eg:
<xml id="xmldso" src="data.xml">

I updated the xmldso by adding extra elements

I want to pass the parameter to xsl by using xmldso.

   var xslDoc = new ActiveXObject("MSXML2.FreeThreadedDOMDocument");
   xslDoc.async = false

  var tem = new ActiveXObject("MSXML2.XSLTemplate");
  tem.stylesheet = xslDoc;
  var proc = tem.createProcessor();

  //Add the parameters
  proc.addParameter("id", "0");
  proc.input = xmldso;

  //Transform the document
  proc.transform();
  var str = proc.output;


Thanks
Narsu


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • [no subject]
    • Peter Flynn - Thu, 14 Jun 2001 20:21:14 -0400 (EDT)
      • Gitanjali - Thu, 14 Jun 2001 23:06:02 -0400 (EDT) <=

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.