DOMDocument::createTextNode
Create new text node
&reftitle.description;
public DOMTextDOMDocument::createTextNode
stringdata
This function creates a new instance of class
DOMText. &dom.node.inserted;
&reftitle.parameters;
data
The content of the text.
&reftitle.returnvalues;
The new DOMText.
&reftitle.changelog;
&Version;
&Description;
8.1.0
In case of an error, a DomException is thrown now.
Previously, &false; was returned.
&reftitle.seealso;
DOMNode::appendChild
DOMDocument::createAttribute
DOMDocument::createAttributeNS
DOMDocument::createCDATASection
DOMDocument::createComment
DOMDocument::createDocumentFragment
DOMDocument::createElement
DOMDocument::createElementNS
DOMDocument::createEntityReference
DOMDocument::createProcessingInstruction