module SolrEad::OmBehaviors::ClassMethods
This modifies the behavior of the OM gem, specifically, the way it creates documents using existing xml.
Instead of using the xml as-as, this module will override OM::XML::Container.to_xml and remove all the namespaces from the xml first, then return the Nokogiri object. This makes working with the terminologies in SolrEad::Document
much easier.
Any customized ead document definitions that extend SolrEad::Document
will include this module. Example:
class MyDocument < SolrEad::Document end