Jump to content
kaijim

XML Tutorial

Recommended Posts

Perhaps they don't need to use it, considering they may have a certain standard...Or just haven't adapted yet to the standerd... :) Good question though.

Share this post


Link to post
Share on other sites

Hello.There is an error in "XML to HTML" chapter, its example is not valid for browser EI6 (I'm user EI6).Not valid code:

...else if (ActiveXObject("Microsoft.XMLDOM"))...

Valid code:

...else if (window.ActiveXObject)...

Thanks.

Share this post


Link to post
Share on other sites

Why isn't the top snippet valid? Remember, window is the default namespace, and the top example checks for a certain ActiveX control, instead of just for the presence of ActiveX.

Share this post


Link to post
Share on other sites
Why isn't the top snippet valid? Remember, window is the default namespace, and the top example checks for a certain ActiveX control, instead of just for the presence of ActiveX.
Hello, Synook.You are right, "window" not so is important.It is valid code too:
...else if (ActiveXObject)...

But this code not working:

...else if (ActiveXObject("Microsoft.XMLDOM"))...

This fragment of a code (ActiveXObject("Microsoft.XMLDOM")) is completely not necessary, besides it still does problems, I user EI6 - I checked it.Thanks.

Edited by Hillel

Share this post


Link to post
Share on other sites
Hmm, you're right, it should be Microsoft.XMLHTTP. I suppose they forgot to update the reference.http://www.w3schools.com/XML/xml_http.asp
Yeah, I actually realized this two days ago because I'm working on an XML form that must be compatible with IE6Does anyone know how to make this work? I tried both examples with no luck, and I don't know how to implement Microsoft.XMLHTTP Edited by cowsdonthack

Share this post


Link to post
Share on other sites
Yeah, I actually realized this two days ago because I'm working on an XML form that must be compatible with IE6Does anyone know how to make this work? I tried both examples with no luck, and I don't know how to implement Microsoft.XMLHTTP
nobody seems to have resolved this thread, so i thought i'd try to 'bump' it in a manner of sorts.if you're in a localhost environment, then the way to make it work is to not use IE6 !! :)http://w3schools.invisionzone.com/index.ph...st&p=214004

Share this post


Link to post
Share on other sites

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.

Loading...

×
×
  • Create New...