Both the HTTP and SMTP protocols are MIME based. As XML gains in popularity it is useful to be able to represent MIME messages as XML documents. This mapping is straightforward and demonstrates handling of binary data in XML documents as BASE64 encodings. Using XMTP, SMTP messages can be transformed via XSLT into HTML pages for viewing. Mapping the MIME format into XML allows the integration of MIME messages into XML systems.
Headers become elements.
The Content-Type header defines the type of information contained in the body. XPository integrates with relational and object databases. By Jonathan Borden. MIME is the lingua franca of the Web. Both the HTTP and SMTP protocols are MIME based.