lib/mead/extractor.rb
def get_series
      c01_series = @dsc.xpath(".//xmlns:c01[@level='series']")
      if c01_series and !c01_series.empty?
        c01_series.each_with_index do |c01, i|
          if mead.series.to_i == i + 1
            @series = c01
          end
        end
      else
        @series = @dsc
      end
    end
def get_series
      c01_series = @dsc.xpath(".//xmlns:c01[@level='series']")
      if c01_series and !c01_series.empty?
        c01_series.each_with_index do |c01, i|
          if mead.series.to_i == i + 1
            @series = c01
          end
        end
      else
        @series = @dsc
      end
    end
FIXME: This currently depends on series being numbered sequentially and being
 arranged in that order in the EAD XML.