Method: IsoDoc::PresentationXMLConvert#convert1
- Defined in:
- lib/isodoc/presentation_xml_convert.rb
#convert1(docxml, filename, dir) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/isodoc/presentation_xml_convert.rb', line 22 def convert1(docxml, filename, dir) @outputdir = dir @outputfile = Pathname.new(filename).basename.to_s docid_prefixes(docxml) # feeds @xrefs.parse citation processing @xrefs.parse docxml @xrefs.klass. = @xrefs.klass.info docxml, nil conversions(docxml) docxml.root["type"] = "presentation" repeat_id_validate(docxml.root) docxml.to_xml.gsub("<", "<").gsub(">", ">") end |