combine two xml files in one


I wonder if it would work if I combine content of two xml files into one? Would it work the same way as if the recipient system is getting one file after another?

for example:

 <envelope ack="info" transaction="multi">
<envelope ...>

The reason I need to do this is to make sure the first xml file get read/processed before the second one.

Who is Participating?
hpdvs2Connect With a Mentor Commented:
no.  XML standards requires a SINGLE root element.  
You can however do something like this:

Parsing requires that the first block is also the last/closes itself with nothing trailing.
sdc248Author Commented:
Got it. Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.