Download from http://crxml.pagodabox.com/crXml.tar
Documentation at http://crxml.pagodabox.com
$x = new crXml();
			

Welcome to crxml demo!!
Lets First make a small XML Document. In the input box above, Please enter

$x->root->person->name='tony'

and press enter.

By this statement you just assume that the root, person and name xml nodes are already present and assign the value to name node.
When a value is assigned, all the intermediate nodes are created by the class itself.