Module MARC::NokogiriReader
In: lib/marc/xml_parsers.rb

NokogiriReader uses the Nokogiri SAX Parser to quickly read a MARCXML document. Because dynamically subclassing MARC::XMLReader is a little ugly, we need to recreate all of the SAX event methods from Nokogiri::XML::SAX::Document here rather than subclassing.

Methods

each   extended   init   method_missing  

Included Modules

GenericPullParser

Public Class methods

Public Instance methods

Loop through the MARC records in the XML document

Sets our instance variables for SAX parsing in Nokogiri and parser

[Validate]