# File lib/marc/xml_parsers.rb, line 388
      def attributes_to_hash(attributes)
        hash = {}
        @parser.getAttributeCount.times do | i |
          hash[@parser.getAttributeName(i).getLocalPart] = @parser.getAttributeValue(i)
        end
        hash
      end