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

Reg MSXML2.XSLTemplate

Subject: Reg MSXML2.XSLTemplate
From: Riju Abraham <R.Abraham@xxxxxxxxxxxx>
Date: Wed, 14 Jan 2004 16:44:25 +0300
msxml2.xsltemplate
Hi all,
     I am using this script to load the XML and the xsl file in the html
page...
  Every thing works fine till the creation of "MSXML2.XSLTemplate"
object.This object is not created.
I want to use the addparameter method of this object. I am struck here.I am
not able to create this object.
Can anyone please help me in this regard.....
   The dll version of this this MSXML2 also I  verified.
    File version is 8.1.7502.0  .Can some one please help me in this regard.



<script language=javascript>
<!--
var strXMLFileName,strXSLFileName;
var objXMLDoc,objXSLDoc,objXSLTemplate;
var currentSortDirection="ascending";
var currentSortCol="";
strXMLFileName="KSAArea.xml";
strXSLFileName="KSAARea.xsl";
 
function OnInitPage()
 {
 objXMLDoc=new ActiveXObject("MSXML2.DomDocument"); 
 objXMLDoc.async=false;
 objXMLDoc.setProperty("SelectionLanguage","XPath");  
 objXMLDoc.resolveExternals=false;
 objXMLDoc.validateOnParse=false;
 objXMLDoc.load(strXMLFileName);
 
 objXSLDoc=new ActiveXObject("MSXML2.FreeThreadedDomDocument");
 objXSLDoc.async=false;
 objXSLDoc.resolveExternals=false;
 objXSLDoc.validateOnParse =false;
 objXSLDoc.load(strXSLFileName); 
 
    
 objXSLTemplate=new ActiveXObject("MSXML2.XSLTemplate");
 objXSLTemplate.stylesheet=objXSLDoc;      
    
 window.alert("Inside InitPage"); 
 
 }
 function ClickedMe(strSortMe)
 {
   window.alert("UserClicked on  " + strSortMe); 
   
 }
 
 window.onload=OnInitPage; 
//-->
</script>

Regards,
Riju 

 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.