def rubymarc_to_marc4j(rmarc)
      marc4j = @factory.newRecord(rmarc.leader)
      rmarc.each do |f|
        if f.is_a? MARC::ControlField
          new_field = @factory.newControlField(f.tag, f.value)
        else
          new_field = @factory.new_data_field(f.tag, f.indicator1.ord, f.indicator2.ord)
          f.each do |sf|
            new_field.add_subfield(@factory.new_subfield(sf.code.ord, sf.value))
          end
        end
        marc4j.add_variable_field(new_field)
      end
      return marc4j
    end
def rubymarc_to_marc4j(rmarc)
      marc4j = @factory.newRecord(rmarc.leader)
      rmarc.each do |f|
        if f.is_a? MARC::ControlField
          new_field = @factory.newControlField(f.tag, f.value)
        else
          new_field = @factory.new_data_field(f.tag, f.indicator1.ord, f.indicator2.ord)
          f.each do |sf|
            new_field.add_subfield(@factory.new_subfield(sf.code.ord, sf.value))
          end
        end
        marc4j.add_variable_field(new_field)
      end
      return marc4j
    end
Given a rubymarc record, return a marc4j record