class Krikri::MARCXMLParser
A MARCXML parser. Uses XML parser with a root path to match the metadata path. @see Krikri::XmlParser
Public Class Methods
new(record, root_path = '//marc:record', ns = {})
click to toggle source
Calls superclass method
# File lib/krikri/parsers/marcxml_parser.rb, line 9 def initialize(record, root_path = '//marc:record', ns = {}) ns = { marc: 'http://www.loc.gov/MARC21/slim' }.merge(ns) super(record, root_path, ns) end