Here is an ASP snippet that injects request parameters into XSLT to generate a web page:
<%@ Language = "JScript" %>
<%
var myparam = String(Request.queryString("myparam"));
var xslDoc = Server.createObject("Msxml2.FreeThreadedDOMDocument.4.0");
xslDoc.load(Server.mapPath("mystyle.xsl"));
var xmlDoc = Server.CreateObject("Msxml2.DOMDocument.4.0");
xmlDoc.load(Server.mapPath("mydata.xml"));
var xslt = Server.createObject("Msxml2.XSLTemplate.4.0");
xslt.stylesheet = xslDoc;
var xslProc = xslt.createProcessor();
xslProc.input = xmlDoc;
xslProc.addParameter("myparam", myparam);
xslProc.transform();
Response.write(xslProc.output);
%>