Hello,
I'd like to use XML + XSLT to create a sortable table. The XML stores the data, and two different XSL stylesheets display the table, sorted in two different ways. What I don't understand is how to allow the user to switch between the two stylesheets (and hence two sorting options).
I can provide code snippets if that would help, but I'm basically looking for the general concept here - how can you dynamically switch XSLT stylesheets (if it's helpful, my reference point is CSS stylesheets, which are pretty easy to switch using php)?
Thanks!