simplexml_load_string

Example

 SimpleXMLElement simplexml_load_string ( string $data [, string $class_name = "SimpleXMLElement" [, int $options = 0 [, string $ns = "" [, bool $is_prefix = false ]]]] ) 

Description

Takes a well-formed XML string and returns it as an object.

Return Values

Returns an object of class SimpleXMLElement with properties containing the data held within the xml document, or FALSE on failure.