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

Re: Parsing of HTML fragments

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 24 Apr 2007 23:16:07 +0000 (UTC)
To: Dão Gottwald <dao@design-noir.de>
Cc: Edward O'Connor <hober0@gmail.com>, public-html@w3.org, foolistbar@googlemail.com
Message-ID: <Pine.LNX.4.62.0704242315250.12336@dhalsim.dreamhost.com>
On Tue, 24 Apr 2007, Dão Gottwald wrote:
> > 
> > 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.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 24 April 2007 23:16:19 GMT

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