Sha256: 6e87202a64498d84cefb21e92becd892a5012f69ed3a09226302d82b5cb047f2
Contents?: true
Size: 611 Bytes
Versions: 6
Compression:
Stored size: 611 Bytes
Contents
module Krikri ## # A Qualified Dublin Core parser. Uses XML parser with a root path to match # the metadata path as harvested. The default root_path is the element used # by CONTENTdm; this can be overridden as with all Krikri::XmlParsers, at # the time of instantiation. # # @see Krikri::XmlParser class QdcParser < XmlParser def initialize(record, root_path = '//oai_qdc:qualifieddc', ns = {}) ns = { qdc: 'http://epubs.cclrc.ac.uk/xmlns/qdc/', oai_qdc: 'http://worldcat.org/xmlschemas/qdc-1.0/' }.merge(ns) super(record, root_path, ns) end end end
Version data entries
6 entries across 6 versions & 1 rubygems