Creates a text instead of a node when the 'name' argument of the Element
constructor is not a string. See Example:

var libxmljs = require('libxmljs')
var doc = new libxmljs.Document();
var root = doc.node('node1');
root.text('Text 1');
var elem1 = libxmljs.Element(doc, 'node2', 'Text 2');
root.addChild(elem1);
var elem2 = libxmljs.Element(doc, null, 'Text 3');
root.addChild(elem2);
var elem3 = libxmljs.Element(doc, null, '/Text 4');
root.addChild(elem3);
var elem4 = libxmljs.Element(doc, 'node3', 'Text 5');
root.addChild(elem4);
console.log(doc.toString());

produces:

<?xml version="1.0" encoding="UTF-8"?>
<node1>Text 1<node2>Text 2</node2>Text 3/Text 4<node3>Text 5</node3></node1>