- __construct() – It creates a new SimpleXMLElement object.
- addAttribute() – It adds an attribute to the SimpleXML element
- addChild() – It adds a child element the SimpleXML element
- asXML() – It returns XML string from a SimpleXML element
- attributes() – It returns a SimpleXML element’s attributes
- children() – It returns the children of a specified node
- getDocNamespaces() – It returns the children of a specified node
- getName() – It returns the name of a SimpleXML element
- getNamespace() – It returns the namespaces from XML data
- registerXPathNamespace() – It creates a namespace context for the next XPath query
- simplexml_import_dom() – It returns SimpleXMLElement object from a DOM node
- simplexml_load_file() – It returns SimpleXMLElement object from an XML document
- simplexml_load_string() – It returns SimpleXMLElement object from an XML string
- xpath() – It runs an XPath query on XML data