Sha256: dbf5a502399afdc4008cc60825fc0a85d49588c1bb0b1892dab01b399926c53f

Contents?: true

Size: 387 Bytes

Versions: 36

Compression:

Stored size: 387 Bytes

Contents

module Krikri
  ##
  # A MARCXML parser. Uses XML parser with a root path to match the
  # metadata path.
  # @see Krikri::XmlParser
  class MARCXMLParser < XmlParser
    include Krikri::OaiParserHeaders

    def initialize(record, root_path = '//marc:record', ns = {})
      ns = { marc: 'http://www.loc.gov/MARC21/slim' }.merge(ns)
      super(record, root_path, ns)
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
krikri-0.15.2 lib/krikri/parsers/marcxml_parser.rb
krikri-0.15.1 lib/krikri/parsers/marcxml_parser.rb
krikri-0.15.0 lib/krikri/parsers/marcxml_parser.rb
krikri-0.14.0 lib/krikri/parsers/marcxml_parser.rb
krikri-0.13.2 lib/krikri/parsers/marcxml_parser.rb
krikri-0.13.1 lib/krikri/parsers/marcxml_parser.rb
krikri-0.13.0 lib/krikri/parsers/marcxml_parser.rb
krikri-0.12.4 lib/krikri/parsers/marcxml_parser.rb
krikri-0.12.3 lib/krikri/parsers/marcxml_parser.rb
krikri-0.12.1 lib/krikri/parsers/marcxml_parser.rb
krikri-0.12.0 lib/krikri/parsers/marcxml_parser.rb
krikri-0.12.0.pre.rc.1 lib/krikri/parsers/marcxml_parser.rb
krikri-0.11.2 lib/krikri/parsers/marcxml_parser.rb
krikri-0.11.1 lib/krikri/parsers/marcxml_parser.rb
krikri-0.11.0 lib/krikri/parsers/marcxml_parser.rb
krikri-0.10.1 lib/krikri/parsers/marcxml_parser.rb
krikri-0.10.0 lib/krikri/parsers/marcxml_parser.rb
krikri-0.9.0 lib/krikri/parsers/marcxml_parser.rb
krikri-0.8.9 lib/krikri/parsers/marcxml_parser.rb
krikri-0.8.8 lib/krikri/parsers/marcxml_parser.rb