| php-manual.net |
|
| Home | PHP Manual auf Deutsch | PHP Manual in English | PHP manuel le sur le français | Impressum |
DOMDocument->createElementNS()(No version information available, might be only in CVS) DOMDocument->createElementNS() — Create new element node with an associated namespace BeschreibungDOMDocument
DOMElement createElementNS
( string $namespaceURI
, string $qualifiedName
[, string $value
] )
This function creates a new element node with an associated namespace. Dieser Knoten wird in Ihrem Dokument nicht sichtbar sein, bis dieser zum Beispiel mit der Funktion DOMNode->appendChild() eingefügt wird. Parameter Liste
RückgabewerteThe new DOMElement or FALSE if an error occured. Fehler/Exceptions
Beispiele
Example#1 Creating a new element and inserting it as root
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
Siehe auch
|