PHP Tutorial SimpleXMLElement

Basic

  1. Add a child element to the body element and a footer element in PHP
  2. Add an attribute to the root element and to the body element in PHP
  3. Count the children of the car nodes in PHP
  4. Create a SimpleXMLElement object from a URL in PHP
  5. Create a namespace context for the next XPath query in PHP
  6. Create a new SimpleXMLElement object, then output the content of the body node in PHP
  7. Format the SimpleXML object ' s data in XML in PHP
  8. Get namespaces declared in parent and child nodes of the XML document in PHP
  9. Get the namespaces declared in the root of the XML document: in PHP
  10. Return the name of the XML element and the children in PHP
  11. Return the namespaces used in the XML document in PHP




















Home »
  PHP Tutorial »
    XML »




DOM
SimpleXML
SimpleXMLElement
XML Parser