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.

Brion Swanson

-----Original Message-----
From: Laurent For�t [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 9:18 AM
To: Xerces-J-User
Subject: setNodeName() ?



Using xerces 1.2.1.

I would like to programmatically change a node Name, (only if the node is an
element).

But there's no setNodeName() method to my element. How could I do ?

Thanks.

-------------------------

Laurent For�t
Service d�veloppement

[EMAIL PROTECTED]
www.korom.net


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

Reply via email to