[whatwg] innerHTML in XML

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