PHP Manual Function Reference XML Manipulation SimpleXML SimpleXML Functions SimpleXMLIterator::valid simplexml_import_dom SimpleXML Functions Table of Contentssimplexml_import_dom — Get a SimpleXMLElement object from a DOM node.simplexml_load_file — Interprets an XML file into an objectsimplexml_load_string — Interprets a string of XML into an object