Forum und email

XMLWriter->writeElementNS

(No version information available, might be only in CVS)

XMLWriter->writeElementNS — Komplettes Element mit Namensraum schreiben

Beschreibung

Objektorientiert:

XMLWriter
bool writeElementNS ( string $prefix , string $name , string $uri [, string $content ] )

Prozedural:

bool xmlwriter_write_element_ns ( resource $xmlwriter , string $prefix , string $name , string $uri [, string $content ] )

Schreibt ein vollständiges Element mit Namensraum.

Parameter Liste

xmlwriter

Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().

prefix

Präfix des Namensraum.

name

Name des Elements.

uri

URI des Namensraum.

content

Inhalt des Elements.

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.

ChangeLog

Version Beschreibung
PHP 5.2.3 Der Parameter content wurde optional.