Sorry, I haven't understood something. You seem to be describing an ASP or PHP application in which an XSLT transformation is invoked on the server. Then you say the "xml and xsl have already been sent to the client". Which is it?
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference