Method: IsoDoc::Function::Section#introduction

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

#introduction(isoxml, out) ⇒ Object



151
152
153
154
155
156
157
158
159
160
# File 'lib/isodoc/function/section.rb', line 151

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