On Tue, Aug 30, 2011 at 4:44 PM, Karl Dubost <[email protected]> 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?

Reply via email to