class Krikri::ModsParser

A MODS parser. Uses XML parser with a root path to match the metadata path. @see Krikri::XmlParser

Public Class Methods

new(record, root_path = '//mods:mods', ns = {}) click to toggle source
Calls superclass method
# File lib/krikri/parsers/mods_parser.rb, line 9
def initialize(record, root_path = '//mods:mods', ns = {})
  ns = { mods: 'http://www.loc.gov/mods/v3' }.merge(ns)
  super(record, root_path, ns)
end