Friday, August 4th, 2006
In this post from Dean Edwards, he quickly shows off a feature of Internet Explorer that could replace the use of ActiveX for XML communication – XML data islands.
A little known but cool feature of Internet Explorer is itâ€™s support for XML data islands. Basically, you can embed some XML data in a page and reference an external data source.
The method uses an XML object loaded, with the content pulled in via a .src and pushed into a XMLDocument object (versus the normal call to ActiveXObject and a .responseXML call). Unfortunately, it will only work with an XML file on a local file system, but if you have a proxy you’re using anyway (cross-domain ajax calls?) it’s a simple task.
Be sure to check out the comments for more handy tips on the subject.
Posted by Chris Cornutt at 8:12 am