# File lib/xml/dom2/document.rb, line 258 def createAttributeNS(nsuri, qname) nsuri = XMLNSNS if qname == 'xmlns' or qname =~ /^xmlns:/u ret = Attr.new([nsuri, qname]) ret.ownerDocument = self ret end