Guest_imported
New member
- Jan 1, 1970
- 0
Hi all,
I was unable to load the XML file generated with the ASP. Is it because the XML file MUST be raw XML data without the scripting to generate it. Can anyone help?
Below is the DOM page
--------------------------------------------------------
<%
' Load XML
Set source = Server.CreateObject("Microsoft.XMLDOM"
source.async = false
source.load(server.MapPath("xmlfile.asp")
Set source = Nothing
%>
---------------------------------------------------------
Below is the XML file genereate with ASP page (xmlfile.asp)
-----------------------------------------------------------
<%
'Generate XML through ASP
Response.ContentType="text/xml"
Response.Write("<?xml version='1.0' ?>" & vbCrLf
Response.Write("<note>" & vbCrLf
Response.Write("<from>Jani</from>" & vbCrLf
Response.Write("<to>Tove</to>" & vbCrLf
Response.Write("<message>Lunch</message>" & vbCrLf
Response.Write("</note>" & vbCrLf
%>
-----------------------------------------------------------
Appreciate anyone to help.
Ant that crawl........
I was unable to load the XML file generated with the ASP. Is it because the XML file MUST be raw XML data without the scripting to generate it. Can anyone help?
Below is the DOM page
--------------------------------------------------------
<%
' Load XML
Set source = Server.CreateObject("Microsoft.XMLDOM"
source.async = false
source.load(server.MapPath("xmlfile.asp")
Set source = Nothing
%>
---------------------------------------------------------
Below is the XML file genereate with ASP page (xmlfile.asp)
-----------------------------------------------------------
<%
'Generate XML through ASP
Response.ContentType="text/xml"
Response.Write("<?xml version='1.0' ?>" & vbCrLf
Response.Write("<note>" & vbCrLf
Response.Write("<from>Jani</from>" & vbCrLf
Response.Write("<to>Tove</to>" & vbCrLf
Response.Write("<message>Lunch</message>" & vbCrLf
Response.Write("</note>" & vbCrLf
%>
-----------------------------------------------------------
Appreciate anyone to help.
Ant that crawl........