Method: IsoDoc::Function::Section#annex

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

#annex(isoxml, out) ⇒ Object



35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/isodoc/function/section.rb', line 35

def annex(isoxml, out)
  isoxml.xpath(ns("//annex")).each do |c|
    page_break(out)
    out.div **attr_code(annex_attrs(c)) do |s|
      c.elements.each do |c1|
        if c1.name == "title" then annex_name(c, c1, s)
        else
          parse(c1, s)
        end
      end
    end
  end
end