lib/cultural_network/import/feature_data.rb
#
# Returns an Hpricot instance
# based on a document found at the given url or file path
# and cache xml document in @current_xml_document
Returns an Hpricot instance
based on a document found at the given url or file path
and cache xml document in @current_xml_document
Returns an Hpricot instance based on a document found at the given url or file path and cache xml document in @current_xml_document
def create_doc(path)
      doc = File.read(path)
      @current_xml_document = doc
      Hpricot.XML(doc)
    end
def create_doc ( path ) doc = File . read ( path ) @current_xml_document = doc Hpricot . XML ( doc ) end
Returns an Hpricot instance
based on a document found at the given url or file path
and cache xml document in @current_xml_document
Returns an Hpricot instance based on a document found at the given url or file path and cache xml document in @current_xml_document
path
<not_specific>