Method: Epuber::Compiler::XHTMLProcessor.xml_document_from_string
- Defined in:
- lib/epuber/compiler/xhtml_processor.rb
.xml_document_from_string(text, file_path = nil) ⇒ Object
85 86 87 88 |
# File 'lib/epuber/compiler/xhtml_processor.rb', line 85 def self.xml_document_from_string(text, file_path = nil) xml, = xml_doc_from_str_with_errors(text, file_path) xml end |