polotek/libxmljs — pull request #147 by triccardi-systran (2012-07-18 15:19:08+00:00)
Title: Element constructor with no name to create a TEXT node

This add the possibility to create a text node:

```javascript
var doc = new libxml.Document();
var root = doc.node('root');
root.node('child1', 'test');
root.addChild(new libxml.Element(doc, undefined, 'new text node'));
console.log(doc.toString());
```

output:
```xml

testnew text node
```