[whatwg] innerHTML in XML

Lachlan Hunt lachlan.hunt at lachy.id.au
Fri Oct 27 08:43:41 PDT 2006


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/



More information about the whatwg mailing list