SimpleXML
PHP Manual

Die SimpleXMLElement-Klasse

(PHP 5, PHP 7)

Einführung

Stellt ein Element in einem XML-Dokument dar.

Klassenbeschreibung

SimpleXMLElement implements Traversable {
/* Methoden */
__construct ( string $data [, int $options [, bool $data_is_url [, string $ns [, bool $is_prefix ]]]] )
void 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 ]] )
public int count ( void )
array getDocNamespaces ([ bool $recursive ] )
string getName ( void )
array getNamespaces ([ bool $recursive ] )
bool registerXPathNamespace ( string $prefix , string $ns )
public string __toString ( void )
array xpath ( string $path )
}

Inhaltsverzeichnis


SimpleXML
PHP Manual