Arnaud Le Hors wrote:
> 
> "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.

You might want to take a look at
http://www.w3.org/DOM/faq.html#rename_node

-- 
K. Ari Krupnikov

DBDOM - bridging XML and relational databases
http://www.iter.co.il

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

Reply via email to