Method: IsoDoc::Function::Table#tfoot_parse

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

#tfoot_parse(node, table) ⇒ Object



32
33
34
35
36
37
38
39
40
41
# File 'lib/isodoc/function/table.rb', line 32

def tfoot_parse(node, table)
  tfoot = node.at(ns("./tfoot"))
  if tfoot
    table.tfoot do |h|
      tfoot.element_children.each_with_index do |n, i|
        tr_parse(n, h, i, tfoot.xpath(ns("./tr")).size, false)
      end
    end
  end
end