Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Ajax
Ajax the combination of XHTML, CSS, DOM, XML, XSLT, XMLHttpRequest, and JavaScript
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 8th, 2006, 06:02 AM
Friend of Wrox
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default IE7 native XMLHttpRequest object

Hi All...

IE7 now supports native xmlhttp which is very nice.

Does anyone know whether there is native support for creating doms e.g. like mozillas document.implementation.createDocument()?

Which version of msxml does the native xmlhttp object return?

I had two client machines both with msxml 4 and IE7 installed, created a Msxml2.DomDocument.4.0 object client-side and appended cloned nodes from a native xmlhttp request into them.

Worked perfectly on one, failed on the other due to "illegal to mix versions of msxml" so had to create another dom object and populate it with serialized xml from the request and clone from that.

Is there a way to guarantee the native xmlhttp request uses the same version of msxml as used to create a dom?

Many thanks,


Old November 9th, 2006, 04:36 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

Apparently it doesn't have the other classes available which seems to me to make use of the native XMLHttpRequest impossible as you still need ActiveX to manipulate the returned data if it's in XML rather than JSON for example.
I'm trying some experiments as to what properties the object has and if it supports expando.
It's also makes using difficult because if you test window.XMLHttpRequest to see which version to use you then still need to test further to differentiate between IE7 and Mozilla.

I'll post on my blog when done.


Joe (Microsoft MVP - XML)

Similar Threads
Thread Thread Starter Forum Replies Last Post
ResponseText property of XMLHTTPRequest Object prashantshekhar BOOK: Beginning Ajax with ASP.NET 1 August 28th, 2009 07:28 AM
ResponseXML property of XMLHTTPRequest Object prashantshekhar BOOK: Beginning Ajax with ASP.NET 0 August 14th, 2007 12:49 AM
Managed C# and Native C++ han_nomad C# 1 February 22nd, 2007 05:36 PM
XMLHttpRequest object instantiation AGS BOOK: Beginning Ajax with ASP.NET 4 September 25th, 2006 03:52 AM
Java Native Interface Bosshard Java Basics 0 January 17th, 2006 02:04 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.