Re: Some way to change an element's name would be useful

On Tue, Aug 30, 2011 at 4:44 PM, Karl Dubost <karld@opera.com> wrote:
>
> Le 29 août 2011 à 14:57, Aryeh Gregor a écrit :
>> In editing, it's common to want to change an element's name.  For
>> instance, document.execCommand("formatblock", false, "h1") will change
>> the current line's wrapper to an <h1>.  Unbolding <b id=foo> should
>> produce <span id=foo>.
>
> Does that also mean that if you feed a complete different markup, you could reassign a different document in the browser? Could it be the equivalent of an XSLT transform at the top of the document?

Sorry, I don't understand the question.  Could you elaborate?

Received on Tuesday, 30 August 2011 21:27:16 UTC