W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2006

[whatwg] innerHTML in XML

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 28 Oct 2006 01:43:41 +1000
Message-ID: <4542292D.4030302@lachy.id.au>
Anne van Kesteren wrote:
>   <foo>
>    <bar/>
>    <bar/>
>   </foo>
> 
> How can <foo>.innerHTML be well-formed here?

It could be if it were treated as an external parsed entity.

http://www.w3.org/TR/REC-xml/#NT-extParsedEnt

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Friday, 27 October 2006 08:43:41 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC