Commit 8f1665e0 authored by Michael Witrant's avatar Michael Witrant
Browse files

find text

parent 3c2b4bec
......@@ -23,3 +23,9 @@ doc = Nokogiri::XML::Document.parse(xml)
if xml_dump_path, "w") { |f| f.write doc.to_xml(indent: 2) }
text = doc.xpath('//office:text').first
raise "no office:text found" unless text
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment