Jump to content

Link to multiple xsl files from one xml file


Guest ddtraveller
 Share

Recommended Posts

Guest ddtraveller

Hello,I have an table in an XSL page that pulls data from an XML page. I'd like to be able to allow the viewer to click the head of each column to sort by that column. I don't want to have to create a separate XML page for each sort style but I can't figure out how to change the link from the XML to the XSL page dynamically.Is there a better way to do this kind of thing?Thanks,Dave

Link to comment
Share on other sites

XSLT can't react on events. Some JavaScript with some XML DOM to add/change the <xsl:sort> element might do the trick, but I have no idea how such script would look like.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...