how to convert that MDN message in the form of an xml file?

hi,
i am sending data to partner’s TN in EDI850 format. i have to receive acknowledgement. here i can so both specified above.

Problem: how to convert that MDN message in the form of an xml file?

suggest me what to do.

Regards,
Yasodhar.