Thursday, June 08, 2006

Quirks of the XmlHttp object

As useful as the XmlHttp object is, it also has its quirks. They really only show up though if you don't treat it nicely. Here is a list of some quirks http://www.quirksmode.org/blog/archives/2005/09/xmlhttp_notes_r.html
 
One interesting and very useful part of XmlHttp is the responseXml field. This field is an XML DOM object that is automatically populated if the content returned from the Http request is "text/xml". Very cool! I have found it is also faster than creating your own XmlDom object and then loading the Xml.

kick it on DotNetKicks.com Shout it

No comments: