[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Accessing the document.XSLDocument
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|