When the user clicks, you want to execute some JavaScript which fires off a new XSLT transformation and places the result in the HTML page. The new transformation can use a different stylesheet, or it can use the same stylesheet with different parameters (or a different source document). You'll find examples of this in the appendix of my book dealing with MSXML.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference