# File lib/nokogiri/xml/reader.rb, line 89
      def attributes
        Hash[attribute_nodes.map { |node|
          [node.name, node.to_s]
        }].merge(namespaces || {})
      end