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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to