Subject:Changing stylesheet href dynamically Author:Manipe Date:13 Jan 2006 11:23 AM
What I'm trying to do is change the stylesheet that an xml file uses while viewing a file to a different one.
Basically I'm trying to edit the <?xml-stylesheet ...> tag dynamically, i.e. with javascript, and then reloading the page. Or if it works by just changing the tag without reloading, that'd be even better.
Is there a way to do this, or do I have to make a different xml file for each different xsl i want to use and just link to them instead.
Subject:Changing stylesheet href dynamically Author:Manipe Date:15 Jan 2006 05:35 AM Originally Posted: 15 Jan 2006 05:34 AM
Well, I want it to work on all browsers possible, with one script.<br>
I wonder would it be possible to change the DOCTYPE source, or would I run into the same problem.