XML: to append xml document into the node of another document
        Posted  
        
            by 
                Bibhaw
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Bibhaw
        
        
        
        Published on 2011-01-06T08:43:46Z
        Indexed on 
            2011/01/06
            8:53 UTC
        
        
        Read the original article
        Hit count: 431
        
Hi all, I have to insert file1.xml elements into another file2.xml. file2.xml has several node and each node has it's node_id. is there any way to do that.
let suppose :
file1.xml :
         <root>
            <node_1>   ......</node_1>
         </root>
file2.xml :
         <root>
            <node>
               <node_id>1</node_id>
            </node>
         </root>
I want ? file2.xml :
         <root>
           <node>
             <node_1>......</node_1> [here i want to append the file1.xml]
           </node>
         </root>
        © Stack Overflow or respective owner