Subject: Accessing the document.XSLDocument From: Bharat.Chintapally@xxxxxxxxxxxxxxxxx Date: Wed, 8 Nov 2000 17:54:33 -0500 |
I am trying to set couple of params on the stylesheet and reapply the Stylesheet to the Document based on some user action (Paging), My JavaScript function looks like the following (thanks to Jeni T) but I am unable to access the object document.XSLDocument. The MSXML doc says the following, but I am getting error that document.XSLDocument is undefined when I try to access it. The document.XSLDocument property returns the root node of the XSLT style sheet document. function displayPage(startRow, endRow) { XSLStylesheet = new ActiveXObject('Msxml2.XSLTemplate'); XSLStylesheet.stylesheet = document.XSLDocument; // Failing here XSLTProcessor = XSLStylesheet.createProcessor(); XSLTProcessor.input = XMLDOM; XSLTProcessor.addParameter('startRow', startRow); XSLTProcessor.addParameter('endRow', endRow); XSLTProcessor.transform(); } Any pointers or ideas?? thanks --bharat --------------------------------------------------------------- Bharat Chintapally CommerceQuest Inc. bharat.chintapally@xxxxxxxxxxxxxxxxx New Phone # 813-639-6478 --------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: distinct filtering, Xu, Xiaocun | Thread | Re: Accessing the document.XSLDocum, Jeni Tennison |
How to tranform the xml, Sarboday Misra | Date | Re: Preserving output formatting af, Mike Brown |
Month |