Method: IsoDoc::Function::Section#introduction

Defined in:
lib/isodoc/function/section.rb

#introduction(isoxml, out) ⇒ Object



100
101
102
103
104
105
106
107
108
109
# File 'lib/isodoc/function/section.rb', line 100

def introduction(isoxml, out)
  f = isoxml.at(ns("//introduction")) || return
  page_break(out)
  out.div **{ class: "Section3", id: f["id"] } do |div|
    clause_name(nil, f.at(ns("./title")), div, { class: "IntroTitle" })
    f.elements.each do |e|
      parse(e, div) unless e.name == "title"
    end
  end
end