W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: Parsing of HTML fragments

From: Edward O'Connor <hober0@gmail.com>
Date: Tue, 24 Apr 2007 17:04:23 -0700
Message-ID: <3b31caf90704241704t2452575fnaf2e075ca0ff7032@mail.gmail.com>
To: public-html@w3.org

> > > If this WG adopts the WHATWG draft, I imagine this would be handled by
> > > the innerHTML parsing mode.
> >
> > Um, not necessarily. A feed consumer doesn't have to use innerHTML to
> > insert fragments into a given document. In fact, HTML fragments can be
> > delivered as XML nodes instead of CDATA.
>
> The "innerHTML parsing mode" isn't restricted to innerHTML; it's just a
> way to parse fragments with a particular context. You can use the
> algorithm described for innerHTML in the spec for other purposes, such as
> this one.

Right, this is what I had in mind.


-- 
Edward O'Connor
Received on Wednesday, 25 April 2007 00:04:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:53 GMT