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.
Return value
string
-
the XML document
Note
This function can be called statically.
Example
Create a XML representation
<?php
...
$output = $obj->decode();
$xml = Mail_mimeDecode::getXML($output);
...
?>