diff --git a/src/DOM/Node/Document.js b/src/DOM/Node/Document.js index abad5ab..0463a0a 100644 --- a/src/DOM/Node/Document.js +++ b/src/DOM/Node/Document.js @@ -59,7 +59,7 @@ exports.createElementNS = function (ns) { return function (qualifiedName) { return function (doc) { return function () { - return doc.createElement(ns, qualifiedName); + return doc.createElementNS(ns, qualifiedName); }; }; };