I want put some BUTTON on the web, and one BUTTON applies one xsl:template to the XML file.

I want write these xsl:templates in one XSL file. Can anyone tell me how to do ?