Scholar Repository
Home>Manual>The SimpleXMLElement class

The SimpleXMLElement class


The SimpleXMLElement class

Introduction

Represents an element in XML document.

Class synopsis

SimpleXMLElement {
/* Methods */
void SimpleXMLElement::addAttribute ( string $name , string $value [, string $namespace ] )
SimpleXMLElement addChild ( string $name [, string $value [, string $namespace ]] )
mixed asXML ([ string $filename ] )
SimpleXMLElement attributes ([ string $ns [, bool $is_prefix ]] )
SimpleXMLElement children ([ string $ns [, bool $is_prefix = false ]] )
integer SimpleXMLElement::count ( void )
array getDocNamespaces ([ bool $recursive ] )
string getName ( void )
array getNamespaces ([ bool $recursive ] )
bool registerXPathNamespace ( string $prefix , string $ns )
array xpath ( string $path )
}

Table of Contents


Home>Manual>The SimpleXMLElement class