class RubyXL::OOXMLTopLevelObject
def self.parse_file(zip_file, file_path)
* +zip_file+ - .xslx file as Zip::File object
=== Parameters
Generates the top-level OOXML object by parsing its XML file from the contents of the .xslx container.
def self.parse_file(zip_file, file_path) entry = zip_file.find_entry(RubyXL::from_root(file_path)) # Accomodate for Nokogiri Java implementation which is incapable of reading from a stream entry && (entry.get_input_stream { |f| parse(defined?(JRUBY_VERSION) ? f.read : f) }) end