aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/xml/nodes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xml/nodes.js b/lib/xml/nodes.js
index 2c77d4d..567fde0 100644
--- a/lib/xml/nodes.js
+++ b/lib/xml/nodes.js
@@ -20,7 +20,8 @@ var emptyElement = exports.emptyElement = {
firstOrEmpty: function() {
return emptyElement;
},
- attributes: {}
+ attributes: {},
+ children: []
};
function Element(name, attributes, children) {