Managing XML data: Identify XML documents (IBM developerWorks)
The name of an XML file does not have to end in .xml. In fact, an XML document doesnt have to be in a file at all. It can be a database record, a piece of a file, a transitory stream of bytes in memory thats never written to disk, or a combination of several different files. However, many XML documents do reside on hard disks and other fixed media. When they do, its useful to be able to identify them quickly. This article summarizes the common file extensions and MIME media types that are used for XML documents."
