"Swanson, Brion" wrote:
> 
> I assume you're working with a DOM document.
> 
> You cannot simply change the name of an element, you must create a new
> element and clone/import the old element's contents into the new element.

It's not that bad. While you have to create an element with the new name
you can simply move the children and attributes from the old element to
the new one.
-- 
Arnaud  Le Hors - IBM Cupertino, XML Strategy Group

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to