what is the difference between text xml and application xml?
If an XML document -- that is, the unprocessed, source XML document -- is readable by casual users, text/xml is preferable to application/xml. ... Application/xml is preferable when the XML MIME entity is unreadable by casual users.