Method: IsoDoc::Function::XrefGen#sequential_recommendation_names

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

#sequential_recommendation_names(clause) ⇒ Object



204
205
206
207
208
209
# File 'lib/isodoc/function/xref_gen.rb', line 204

def sequential_recommendation_names(clause)
  clause.xpath(ns(".//recommendation")).each_with_index do |t, i|
    next if t["id"].nil? || t["id"].empty?
    @anchors[t["id"]] = anchor_struct(i + 1, t, @recommendation_lbl, "recommendation")
  end
end