aboutsummaryrefslogtreecommitdiff
path: root/lib/xml/index.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-08-16 14:51:06 +0100
committerMichael Williamson <mike@zwobble.org>2015-08-16 14:51:06 +0100
commit578ff57e4b86c4b31268e8b22a401c7bfaa9fe1a (patch)
treedaa87dd08fd71df9539832627cef0b2516e815f6 /lib/xml/index.js
parentbc1550787eec24964c506ebbddff9363d114b9e6 (diff)
Write text nodes
Diffstat (limited to 'lib/xml/index.js')
-rw-r--r--lib/xml/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/xml/index.js b/lib/xml/index.js
index 6c35998..0320bc2 100644
--- a/lib/xml/index.js
+++ b/lib/xml/index.js
@@ -1,2 +1,6 @@
-exports.Element = require("./nodes").Element;
+var nodes = require("./nodes");
+
+exports.Element = nodes.Element;
+exports.element = nodes.element;
+exports.text = nodes.text;
exports.readString = require("./reader").readString;