require_once 'Mail/mimeDecode.php';
string getXML (array $decoded)
string getXML
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/.
array $decode - the array from decode().
string - the XML document
This function can be called statically.
Example 46-1. Create a XML representation
... $output = $obj->decode(); $xml = Mail_mimeDecode::getXML($output); ...