The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.
Basic SimpleXML usage can be used by either loading xml strings by passing the string in to the SimpleXML class or by using the simplexml_load_string() function. We …