Method: IsoDoc::Convert#convert1

Defined in:
lib/isodoc/convert.rb

#convert1(docxml, filename, dir) ⇒ Object



97
98
99
100
101
102
103
104
105
106
107
108
# File 'lib/isodoc/convert.rb', line 97

def convert1(docxml, filename, dir)
  @xrefs.parse docxml
  noko do |xml|
    xml.html lang: @lang.to_s do |html|
      convert1_namespaces(html.parent)
      info docxml, nil
      populate_css
      html.head { |head| define_head head, filename, dir }
      make_body(html, docxml)
    end
  end.join("\n")
end