Merge multiple XML files into one using PowerShell 2.0?
I have a directory of very large XML files with a structure as this: file1.xml: <root> <EmployeeInfo attr="one" /> <EmployeeInfo attr="two" /> <EmployeeInfo attr="three" /> </root> file2.xml: <root> <EmployeeInfo attr="four" /> <EmployeeInfo attr="five" /> <EmployeeInfo attr="six" /> </root> Now I am looking for a simple way to merge these files (*.xml) files into one output file: <root> <EmployeeInfo attr="one" /> <EmployeeInfo attr="two" /> <EmployeeInfo attr="three" /> <EmployeeInfo attr="four" /> <EmployeeInfo attr="five" /> <EmployeeInfo attr="six" /> </root> I was thinking about using