createElementNS(namespaceURI, qualifiedName) {
        const node = new element_1.ElementImpl();
        const pl = qualifiedName.split(':');
        const attrs = (node.attributes = new named_node_map_1.NamedNodeMapImpl());
        node.childNodes = new node_list_of_1.NodeListOfImpl();
        node.ownerDocument = this;
        node.nodeName = qualifiedName;
        node.tagName = qualifiedName;
        node.namespaceURI = namespaceURI;
        if (pl.length === 2) {
            node.prefix = pl[0];
            node.localName = pl[1];
        }
        else {
            // el.prefix = null;
            node.localName = qualifiedName;
        }
        attrs._ownerElement = node;
        return node;
    }
// Introduced in DOM Level 2:
Introduced in DOM Level 2.
Introduced in DOM Level 2 .
createElementNS(namespaceURI, qualifiedName) {
        const node = new element_1.ElementImpl();
        const pl = qualifiedName.split(':');
        const attrs = (node.attributes = new named_node_map_1.NamedNodeMapImpl());
        node.childNodes = new node_list_of_1.NodeListOfImpl();
        node.ownerDocument = this;
        node.nodeName = qualifiedName;
        node.tagName = qualifiedName;
        node.namespaceURI = namespaceURI;
        if (pl.length === 2) {
            node.prefix = pl[0];
            node.localName = pl[1];
        }
        else {
            node.localName = qualifiedName;
        }
        attrs._ownerElement = node;
        return node;
    }
createElementNS ( namespaceURI , qualifiedName ) { const node = new element_1 . ElementImpl ( ) ; const pl = qualifiedName . split ( ':' ) ; const attrs = ( node . attributes = new named_node_map_1 . NamedNodeMapImpl ( ) ) ; node . childNodes = new node_list_of_1 . NodeListOfImpl ( ) ; node . ownerDocument = this ; node . nodeName = qualifiedName ; node . tagName = qualifiedName ; node . namespaceURI = namespaceURI ; if ( pl . length === 2 ) { node . prefix = pl [ 0 ] ; node . localName = pl [ 1 ] ; } else { node . localName = qualifiedName ; } attrs . _ownerElement = node ; return node ; }
Introduced in DOM Level 2:
Introduced in DOM Level 2 :
// el.prefix = null;