public createTextNode(data as String) as Text
Creates a text node.
New text node.
text = document.createTextNode("hello")