W3C home > Mailing lists > Public > public-webapi@w3.org > October 2007

Re: XHR data: and javascript: requests

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 04 Oct 2007 16:44:52 -0500
Message-ID: <47055ED4.7040407@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: "Web API WG (public)" <public-webapi@w3.org>

Ian Hickson wrote:
> The only special case I can think of is getting an XML or HTML file parsed 
> into a DOM

Frankly, either the innerHTML thing or something like Gecko's DOMParser seems 
like a much much better approach to this than hacking together XMLHttpRequest 
with a data: URI that you then have to generate, etc.

Received on Thursday, 4 October 2007 21:45:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:24 UTC