Re: How can I DomDocument->renameNode?

From: Date: Sun, 03 Jun 2007 18:20:19 +0000
Subject: Re: How can I DomDocument->renameNode?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-256027@lists.php.net to get a copy of this message
Create a copy manually and then rename the node. -- itoctopus - http://www.itoctopus.com ""Eric Wiener"" <ewiener@rightmedia.com> wrote in message news:D0EE299B3057664DBA3D11BA74F994BD057BBD@cba0e2k12.CBA0.centerbeam.com... Apparently renameNode is not yet implemented into Dom, so how can I rename a node without affecting its value and/or child nodes? I have tried making a new node, inserting it before the old node then removing the old node but I could not figure out how to get the nodeValue to include the child nodes, so they get stripped out leaving only the text value.

« previous php.general (#256027) next »