This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Accessing the document.XSLDocument
- To: XSL-List at mulberrytech dot com
- Subject: Accessing the document.XSLDocument
- From: Bharat dot Chintapally at CommerceQuest dot com
- Date: Wed, 8 Nov 2000 17:54:33 -0500
- Reply-To: xsl-list at mulberrytech dot com
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@commercequest.com
New Phone # 813-639-6478
---------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list