Method: IsoDoc::XrefGen::Blocks#hierarchical_table_names

Defined in:
lib/isodoc/xref/xref_gen_seq.rb

#hierarchical_table_names(clause, num) ⇒ Object



180
181
182
183
184
185
186
187
188
# File 'lib/isodoc/xref/xref_gen_seq.rb', line 180

def hierarchical_table_names(clause, num)
  c = Counter.new
  clause.xpath(ns(".//table")).noblank.each do |t|
    labelled_ancestor(t) and next
    @anchors[t["id"]] =
      anchor_struct("#{num}#{hiersep}#{c.increment(t).print}",
                    nil, @labels["table"], "table", t["unnumbered"])
  end
end