Jump to content

XML Tutorial


kaijim

Recommended Posts

  • 2 years later...
  • 1 year later...

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.

Link to comment
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
Link to comment
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
Link to comment
Share on other sites

  • 1 year later...
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
Link to comment
Share on other sites

  • 7 months later...
  • 2 years later...
  • 6 years later...

XML Sitemaps have replaced the older method of "submitting to search engines" by filling out a form on the search engine's submission page. Now web developers submit a Sitemap directly, or wait for search engines to find it. Regularly submitting an updated sitemap when new pages are published may allow search engines to find and index those pages more quickly than it would by finding the pages on its own

 

 

Edited by Szabolcs Licsko
Link to comment
Share on other sites

  • 4 months later...

Small omission at https://www.w3schools.com/xml/xml_tree.asp page. Please insert the closing tag </bookstore> at the end of the document as in XML, it is illegal to omit the closing tag. All elements must have a closing tag; like this.

The next line ends the bookstore root element:

</bookstore>

You can assume, from this example, that the XML document contains information about books in a bookstore.

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...