PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DOMDocument::createTextNode> <DOMDocument::createEntityReference
Last updated: Fri, 05 Sep 2008

view this page in

DOMDocument::createProcessingInstruction

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

DOMDocument::createProcessingInstructionCreates new PI node

Beschreibung

DOMProcessingInstruction DOMDocument::createProcessingInstruction ( string $target [, string $data ] )

This function creates a new instance of class DOMProcessingInstruction. Dieser Knoten wird in Ihrem Dokument nicht sichtbar sein, bis dieser zum Beispiel mit der Funktion DOMNode->appendChild() eingefügt wird.

Parameter-Liste

target

The target of the processing instruction.

data

The content of the processing instruction.

Rückgabewerte

The new DOMProcessingInstruction or FALSE if an error occured.

Fehler/Exceptions

DOM_INVALID_CHARACTER_ERR

Raised if target contains an invalid character.



add a note add a note User Contributed Notes
DOMDocument::createProcessingInstruction
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites