Dynamically changing an XML stylesheet using javascript

Subject: Dynamically changing an XML stylesheet using javascript
From: "Nimmons, Daniel" <bustern@xxxxxxxx>
Date: Tue, 3 Aug 1999 11:32:11 -0500
I have an XML file with the following tag

<?xml-stylesheet type="text/xsl" href="isolistexpand2.xsl"?>

In the XSL style sheet I have a link with an onClick event which calls the
following function

function changestylesheet()
{
window.event.returnValue=false;
XMLdocument.changeStyle("isolistexpand3.xsl");
}


My question is what is the correct way to access the stylesheet declaration
in the XML file to change it from isolistexpand2.xsl to isolistexpand3.xsl
Daniel (Buster) Nimmons

Information Management Specialist
Phone: (713) 845-4991
CELL #:(281) 224-8013
Fax #:  (713) 640-8717
E-mail: dlnimmons@xxxxxxxx




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


Current Thread