Not in DOM Level 2. Edit the tree to remove the old element, insert a new
one, and copy the children and attributes from old to new.

DOM Level 3 has proposed adding a function to do this which *MAY* work in
*SOME* implementations. (Architected but optional feature; there are many
good reasons why an implementation may not want to support it.)
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


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

Reply via email to