Re: Question about new DOM

On Sat, 5 Mar 2011, Cameron McCormack wrote:
>
> Cameron McCormack:
> > I think it wouldn’t be so unreasonable to have an innerXML …
> 
> Anne points out:
> 
>   http://html5.org/specs/dom-parsing.html
> 
> which defines innerHTML to do XML parsing/serialisation on all elements, 
> if the document is an XML document.

For background, this has been in HTML for a while:

 http://www.whatwg.org/specs/web-apps/current-work/complete.html#innerhtml

I'll be updating HTML relatively soon to just defer to Anne's draft.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 4 March 2011 23:26:12 UTC