Method: IsoDoc::XrefGen::Blocks#sequential_table_names

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

#sequential_table_names(clause, container: false) ⇒ Object



117
118
119
120
121
122
123
124
125
126
# File 'lib/isodoc/xref/xref_gen_seq.rb', line 117

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