Method: IsoDoc::HtmlFunction::Html#convert1

Defined in:
lib/isodoc/html_function/html.rb

#convert1(docxml, filename, dir) ⇒ Object



7
8
9
10
11
12
13
14
15
16
# File 'lib/isodoc/html_function/html.rb', line 7

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