how to find

In trading network how to find out the file is “xml” or “flatfile”?
how to process document?
how to rectify duplicate documents in TN and FTP and Broker?

Your question is bit confusing. Kindly go through TN docmentation


Please review the documention and get understanding the IS/TN document processes and built-in services guide for more explanation. (webMethods section)

Also do use the keyword search functionality of this forum,there tons of useful thread discussions which can guide you lot of ways.