Method: IsoDoc::Function::References#biblio_list

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

#biblio_list(f, div, biblio) ⇒ Object



132
133
134
135
136
137
138
139
140
141
142
143
# File 'lib/isodoc/function/references.rb', line 132

def biblio_list(f, div, biblio)
  i = 0
  f.xpath(ns("./bibitem | ./note")).each do |b|
    next if implicit_reference(b)
    i += 1 if b.name == "bibitem"
    if b.name == "note" then note_parse(b, div)
    elsif(is_standard(b)) then std_bibitem_entry(div, b, i, biblio)
    else
      nonstd_bibitem(div, b, i, biblio)
    end
  end
end