Changing dynamically stylesheet ?

wxdqz

New Member
Perhaps this is a stupid question , but anyway:

In my XML page, I have something like:

<?xml-stylesheet type="text/xsl" href=http://www.webdeveloper.com/forum/archive/index.php/"./MCD.xsl"?>


This works all right, the transformations are OK, and the result is a HTML page just like I wished it.

Now is there any possibility, using any tool (JavaScript or whatever), to let the user change dynamically the stylesheet used, so that he will get the same data as those enclosed in the main XML page, but presented a different way ? I want the XML page to remain unchanged, except for the xsl stylesheet to be used.

I'm completely lost here. Any ideas welcome. :confused: :confused: :confused:
 
Back
Top