Click to See Complete Forum and Search --> : Getting Perlscript output into a vairable


EliteMenace
April 16th, 2003, 04:17 PM
I need to know how you would use ASP to execute a .pl with passed variables and then take the responce of that .pl (in this case the responce is properly formatted xml) and put it into a variable so that I can transform it into html. Here is the code I have that transforms the xml output, what I now need to know is how to get the output of the pl into a variable without first having to write it to file.


'Load the XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.loadXML("need passed to place perlscript output here")

'Load the XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath("mls-residential.xsl"))

Response.Write(xml.transformNode(xsl))