This function returns a new instance of class DOMComment. The content of the comment is the value of the passed parameter. Dieser Knoten wird in Ihrem Dokument nicht sichtbar sein, bis dieser zum Beispiel mit der Funktion DOMNode->appendChild() eingefügt wird.
The return value is FALSE if an error occurred.
See also DOMNode->appendChild(), DOMDocument->createElement(), DOMDocument->createTextNode(), DOMDocument->createAttribute(), DOMDocument->createProcessingInstruction().
Zurück | Zum Anfang | Weiter |
DOMDocument->createCDATASection | Nach oben | DOMDocument->createDocumentFragment |