Mail_mimeDecode::getXML()

Mail_mimeDecode::getXML() -- create XML representation of MIME parts

Synopsis

require_once 'Mail/mimeDecode.php';

string getXML (array $decoded)

Description

getXML() converts the returned array from decode () into a valid XML document. The DTD for this document is avaible from the Mail_MimeDecode-Package or http://www.phpguru.org/xmail/.

Parameter

Return value

string - the XML document

Note

This function can be called statically.

Example