Method: IsoDoc::Function::Table#table_parse

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

#table_parse(node, out) ⇒ Object



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/isodoc/function/table.rb', line 74

def table_parse(node, out)
  @in_table = true
  table_title_parse(node, out)
  out.table **table_attrs(node) do |t|
    tcaption(node, t)
    colgroup(node, t)
    thead_parse(node, t)
    tbody_parse(node, t)
    tfoot_parse(node, t)
    (dl = node.at(ns("./dl"))) && parse(dl, out)
    node.xpath(ns("./note")).each { |n| parse(n, out) }
  end
  @in_table = false
  # out.p { |p| p << "&#xa0;" }
end