SimpleXML is an Object-Oriented library, so there are few procedural functions. As such, most method calls are to a
Method signatures come from the PHP online manual at http://php.net/simplexml, but I have attempted to test each method and to fill in the gaps when the PHP online manual is incomplete or ambiguous. Please refer to the online manual for the most complete and up-to-date information.
Note that the iterative properties of
SimpleXMLElement methods can prevent the returned object from being viewed with
var_dump() or anything else that can examine objects. Results may vary with different debuggers.