# File proofreader.rb, line 51 def use_document(xml, use_internal_proof=false) if use_internal_proof proofsheets = Proofsheets.new @xml_document = proofsheets.load_document_proofsheets(xml) @proof = Proof.new(proofsheets) else if xml.is_a?(REXML::Document) @xml_document = xml_document else @xml_document = REXML::Document.new(fetch_xml(xml)) end end end