Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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()

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...