Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Ajax
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 8th, 2006, 06:02 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
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,

Chris



Reply With Quote
  #2 (permalink)  
Old November 9th, 2006, 04:36 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

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)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:28 PM.


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