createAttributeNS(namespaceURI, qualifiedName) {
        const node = new attr_1.AttrImpl();
        const pl = qualifiedName.split(':');
        node.ownerDocument = this;
        node.nodeName = qualifiedName;
        node.name = qualifiedName;
        node.namespaceURI = namespaceURI;
        node.specified = true;
        if (pl.length === 2) {
            node.prefix = pl[0];
            node.localName = pl[1];
        }
        else {
            // el.prefix = null;
            node.localName = qualifiedName;
        }
        return node;
    }
// Introduced in DOM Level 2:
Introduced in DOM Level 2.
Introduced in DOM Level 2 .
createAttributeNS(namespaceURI, qualifiedName) {
        const node = new attr_1.AttrImpl();
        const pl = qualifiedName.split(':');
        node.ownerDocument = this;
        node.nodeName = qualifiedName;
        node.name = qualifiedName;
        node.namespaceURI = namespaceURI;
        node.specified = true;
        if (pl.length === 2) {
            node.prefix = pl[0];
            node.localName = pl[1];
        }
        else {
            node.localName = qualifiedName;
        }
        return node;
    }
createAttributeNS ( namespaceURI , qualifiedName ) { const node = new attr_1 . AttrImpl ( ) ; const pl = qualifiedName . split ( ':' ) ; node . ownerDocument = this ; node . nodeName = qualifiedName ; node . name = qualifiedName ; node . namespaceURI = namespaceURI ; node . specified = true ; if ( pl . length === 2 ) { node . prefix = pl [ 0 ] ; node . localName = pl [ 1 ] ; } else { node . localName = qualifiedName ; } return node ; }
Introduced in DOM Level 2:
Introduced in DOM Level 2 :
// el.prefix = null;