Method: IsoDoc::XrefGen::Sections#annex_anchor_names

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

#annex_anchor_names(xml) ⇒ Object



48
49
50
51
52
53
54
55
56
# File 'lib/isodoc/xref/xref_sect_gen.rb', line 48

def annex_anchor_names(xml)
  i = Counter.new("@")
  clause_order_annex(xml).each do |a|
    xml.xpath(ns(a[:path])).each do |c|
      annex_names(c, i.increment(c).print)
      a[:multi] or break
    end
  end
end