<% var xmlDoc = Server.CreateObject("MSXML2.DOMDocument.4.0"); var xslDoc = Server.CreateObject("MSXML2.DOMDocument.4.0"); var loadedOK = xmlDoc.load(Server.MapPath("Resume_lower.xml")); if (!loadedOK){ Response.Write("XML DIDN'T LOAD"); Response.End(); } var xslNum = Request("xsl")(); if (!xslNum) xslNum=4; var loadedOK = xslDoc.load(Server.MapPath("resume"+xslNum+".xsl")); if (!loadedOK){ Response.Write("XSL DIDN'T LOAD"); Response.End(); } Response.Write(xmlDoc.transformNode(xslDoc)); %>