http://fr2.php.net/manual/en/function.simplexml-load-string.php It should be SimpleXMLElement.