# File lib/xml/dom2/element.rb, line 513
      def hasAttributeNS(nsuri, localname)
        !getAttributeNodeNS(nsuri, localname).nil?
      end