SIMPLEXMLELEMENT(3) 1 SIMPLEXMLELEMENT(3)
The SimpleXMLElement class
INTRODUCTION
Represents an element in an XML document.
CLASS SYNOPSIS
SimpleXMLElement
SimpleXMLElementTraversable
Methods
o finalpublic SimpleXMLElement::__construct (string $data, [int $options], [bool $data_is_url = false], [string $ns = ""], [bool
$is_prefix = false])
o public void SimpleXMLElement::addAttribute (string $name, [string $value], [string $namespace])
o public SimpleXMLElement SimpleXMLElement::addChild (string $name, [string $value], [string $namespace])
o public mixed SimpleXMLElement::asXML ([string $filename])
o public SimpleXMLElement SimpleXMLElement::attributes NULL ([string $ns], [bool $is_prefix = false])
o public SimpleXMLElement SimpleXMLElement::children ([string $ns], [bool $is_prefix = false])
o public int SimpleXMLElement::count (void )
o public array SimpleXMLElement::getDocNamespaces ([bool $recursive = false], [bool $from_root = true])
o public string SimpleXMLElement::getName (void )
o public array SimpleXMLElement::getNamespaces ([bool $recursive = false])
o public bool SimpleXMLElement::registerXPathNamespace (string $prefix, string $ns)
o public string SimpleXMLElement::__toString (void )
o public array SimpleXMLElement::xpath (string $path)
PHP Documentation Group SIMPLEXMLELEMENT(3)