public XMLText(data as String = "", ownerDocument as Document = null, nodeName as String = "#text", nodeType as Int = Node.TEXT_NODE)
Creates a text node.
| Parameter | Description |
|---|---|
data | Text content. |
ownerDocument | Owner document. |
text = XMLText("content", document)