how to join multiple 3 xmls in one file?

fernandezmule

New Member
how to join multiple 3 xmls in one file?In XML FILE : 01.xml\[code\] <xmlResponse> <Person> <FirstName>FirstName_1</FirstName> <LastName>LastName_1</LastName> </Person> <Person> <FirstName>FirstName_2</FirstName> <LastName>LastName_2</LastName> </Person> </xmlResponse>\[/code\]In XML FILE : 02.xml\[code\]<xmlResponse> <Person> <FirstName>FirstName_2</FirstName> <LastName>LastName_2</LastName> </Person> <Person> <FirstName>FirstName_3</FirstName> <LastName>LastName_3</LastName> </Person> <Person> <FirstName>FirstName_4</FirstName> <LastName>LastName_4</LastName> </Person></xmlResponse>\[/code\]In XML FILE : 03.xml\[code\]<xmlResponse> <Person> <FirstName>FirstName_5</FirstName> <LastName>LastName_5</LastName> </Person></xmlResponse>\[/code\]I need output like below (01.xml + 02.xml + 03.XML)\[code\]<xmlResponse> <Person> <FirstName>FirstName_1</FirstName> <LastName>LastName_1</LastName> </Person> <Person> <FirstName>FirstName_2</FirstName> <LastName>LastName_2</LastName> </Person> <Person> <FirstName>FirstName_2</FirstName> <LastName>LastName_2</LastName> </Person> <Person> <FirstName>FirstName_3</FirstName> <LastName>LastName_3</LastName> </Person> <Person> <FirstName>FirstName_4</FirstName> <LastName>LastName_4</LastName> </Person> <Person> <FirstName>FirstName_5</FirstName> <LastName>LastName_5</LastName> </Person></xmlResponse> \[/code\]hoping your response,tks...
 
Back
Top