Hi,
I'm trying to write some JScript code to query a database and give the output as a pure XML file... I've found loads of help doing this with VBScript but none for JScript.
If I can get:
<%@LANGUAGE="JScript"%>
<%
response.ContentType="text/xml"
response.Write("<?xml version='1.0' encoding='ISO-8859-1'?>"
response.Write("<note>"
response.Write("<from>from: Jani</from>"
response.Write("<to>Tove</to>"
response.Write("<message>Remember me this weekend</message>"
response.Write("</note>"
%>
to work it would be a start! This works fine if I change Jscript to VBScript.
any ideas/pointers
Emma
I'm trying to write some JScript code to query a database and give the output as a pure XML file... I've found loads of help doing this with VBScript but none for JScript.
If I can get:
<%@LANGUAGE="JScript"%>
<%
response.ContentType="text/xml"
response.Write("<?xml version='1.0' encoding='ISO-8859-1'?>"
response.Write("<note>"
response.Write("<from>from: Jani</from>"
response.Write("<to>Tove</to>"
response.Write("<message>Remember me this weekend</message>"
response.Write("</note>"
%>
to work it would be a start! This works fine if I change Jscript to VBScript.
any ideas/pointers
Emma