Combine or Merge XML documents in Single XML using Boomi & Groovy
In this small post will try to show how you can merge multiple XML Documents in Boomi. Consider following scenario where you have to merge Document 1 & 2 in a new Document 3 Document 1: <?xml version="1.0" encoding="UTF-8"?> <tns:OutputParameters xmlns:tns="http://sample.com"> <tns:Book> <tns:Names> <tns:Name>XZY World</tns:Name> </tns:Names> <tns:Authors> <tns:AuthorID>12354</tns:AuthorID> </tns:Authors> </tns:Book> </tns:OutputParameters> Document 2: <?xml version="1.0" encoding="UTF-8"?> <tns:OutputParameters xmlns:tns="http://sample.com"> <tns:Book> ...