Using multiple XSL's with a single XML Document
I have a single XML document. I have a stylesheet applied to it:
<?xml-stylesheet type="text/xsl" href="home.xsl"?>
I have stored all the information needed in the single XML document. In the style sheet home, I have two images. Is it possible to place a link or somthing similar to that on the images, so that once clicked on the style sheet used will change?
I also appologise if there is a previous about this, but i couldn't find anything about it.
Last edited by jabbatehhutt; 03-03-2009 at 10:46 AM.
Do you have access to any server-side capabilites? (PHP, ASP, etc..)
I have looked at that, is there an easier way? It needs to be accomplished within a certain amount of time, I'm being tested on it at Uni.
Modify the transformation function to take the xsl's filename.
When the button is clicked, call the transformation function with a different xsl filename argument.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)