You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/04/03 16:27:06 UTC
DO NOT REPLY [Bug 18654] -
How to clone a Node and assign a new name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18654>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18654
How to clone a Node and assign a new name
------- Additional Comments From keshlam@us.ibm.com 2003-04-03 14:27 -------
In DOM Level 1 and 2, nodes may not be renamed. Create a new node with the
appropriate name, and copy the other content to it.
DOM Level 3 (currently under development, may or may not yet be prototyped in
Xalan) adds the method renameNode... but you should read the description of that
method carefully, as not all DOMs can support renaming an existing node object
and the method may have to create a new one.
Given the workaround, and given the new DOM method in the pipe, I think this
request is pretty well covered...
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org