Like it or not, there's plenty of people who want to do cross-domain remoting. The typical technique is via script tags, and since this means the response must be valid Javascript, JSON is usually the message format. But what if you want to grab some XML instead of a JSON-formatted object? Dave Johnson explains how to achieve cross-domain XML, building on the standard script tag trick.
The server responds with a script that includes the XML string, along with some code to convert it to a DOM object ... as Dave's code shows, XMLHttpRequest is not the only way to make such a conversion:
If it's a DOM object you're after, I guess there's an alternative strategy here too: pull down a JSON-formatted DOM object.