The DomDocument class / xml.DomDocument methods |
Creates an XML Text DomNode object for a DomDocument object.
createTextNode( text STRING ) RETURNING object xml.DomNode
Creates an XML Text DomNode object for this DomDocument object, where text is the data of the XML Text node, or NULL.
Returns a DomNode object, or NULL.
Only the characters #x9, #xA, #xD, [#x20-#xD7FF], [#xE000-#xFFFD] and [#x10000-#x10FFFF] are allowed in the content of an XML Text node. The save() and normalize() methods will fail if characters other than those allowed exist in a Text node.