XML question

I am talking about the XML parts on the top of file similar to <?xml version="1.0" encoding="UTF-8"?>

all the CBC,CAC etc definitions I do need to create a sample xml, same to your example

In the meanwhile you can have a look on this: How to extract multiples records in same XML file (with namespaces)?