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] New: - How to clone a Node and assign a new name
Date Thu, 03 Apr 2003 12:36:50 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

           Summary: How to clone a Node and assign a new name
           Product: Xerces-J
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Samples
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: juergen.donnerstag@eds.com


Sorry, for the probably simple question. I'm not an expert on DOM.

I need to clone a Node (including all its childs) and assign a new name to this 
copy. I found the method to clone the Node and to get the name, but there seems 
to be no way to change/set the name. The only way, I found, to create a new 
Node/Element and to assign a name to it, is by Document.createElement(). 
Could someone please guide me in the right direction in how to effectively 
clone a Node and all it's childs and to assign a new to the copy?

thanks
Juergen

---------------------------------------------------------------------
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