How do I return a plain XML file from an ASP.Net 2.0 app?
I tried
strXml = "<?xml version=""1.0"" ?><TruckCode>" + TruckCode + "</TruckCode>"
Response.ContentType = "text/xml"
Response.Write(strXml)
I am trying to do some Ajax programming

Signature
Arne Garvander
Certified Geek
Patrice - 03 Mar 2006 16:38 GMT
And what doesn't work ? Also use view source client side to make sure you
didn't forgot to clear HTML tags on your ASPX page.
You could also check Atlas.NET that is a beta framework for Ajax.

Signature
Patrice
> How do I return a plain XML file from an ASP.Net 2.0 app?
> I tried
> strXml = "<?xml version=""1.0"" ?><TruckCode>" + TruckCode + "</TruckCode>"
> Response.ContentType = "text/xml"
> Response.Write(strXml)
> I am trying to do some Ajax programming