Todo List
Package to create MXML documents.
To create a new document you have to call createDocument() statically:
require_once 'XML/MXML.php'; $doc = XML_MXML::createDocument( 'myXML.mxml' );
The document object provides methods to create and add any element you like:
try { $root = $doc->createElement('Application', array('application'=> 'Demo application for MXML')); $doc->addRoot($root); } catch (Exception $e) { die($e->getMessage()); }
string apiVersion( )
object Instance createDocument( [string $filename = null])
void loadFile( string $filename)
void loadString( string $filename)