[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Dynamically changing an XML stylesheet using javascript
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
|
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
|