dynamic xml

metamind

Newcomer
Joined
Dec 28, 2003
Messages
6
Hi,

I have a webpage that uses xml in an AJAX fashion. When I point it at a static xml file it works fine. When I create the xml dynamically in vb.net framework 1.1 (MS Visual studio 2003) there is a problem.

When I try to open up the page in ie with the javascript I get a null xmlDoc.

I can call the page directly from the browser and it returns the xml ok. I then save the source as a static xml file, point page with the script at it and the javascript reads it in fine - so the xml itself seems to be fine.

It also works fine in firefox.

Any pointers much appreciated.

Blow is the code used to generate the xml.
==============================

Response.ContentType = "text/xml"

Response.Write("<?xml version=""1.0"" standalone=""yes""?><blah>blah</blah>")

Response.Flush()
Response.Close()
Response.End()
 
Back
Top