GoLang DOMDocument::createTextNode

request it (351)
GoLang replacement for PHP's DOMDocument::createTextNode [edit | history]

Do you know a GoLang replacement for PHP's DOMDocument::createTextNode? Write it!

PHP DOMDocument::createTextNode

PHP original manual for DOMDocument::createTextNode [ show | php.net ]


(PHP 5, PHP 7)

DOMDocument::createTextNodeCreate new text node


public DOMText DOMDocument::createTextNode ( string $content )

This function creates a new instance of class DOMText. This node will not show up in the document unless it is inserted with (e.g.) DOMNode::appendChild().



The content of the text.

Return Values

The new DOMText or FALSE if an error occurred.

See Also