xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18654] - How to clone a Node and assign a new name
Date Thu, 03 Apr 2003 14:27:06 GMT
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


Mime
View raw message