Method: IsoDoc::Function::References#iso_title

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

#iso_title(bib) ⇒ Object



108
109
110
111
112
113
# File 'lib/isodoc/function/references.rb', line 108

def iso_title(bib)
  bib.at(ns("./title[@language = '#{@lang}' and @type = 'main']")) ||
    bib.at(ns("./title[@language = '#{@lang}']")) ||
    bib.at(ns("./title[@type = 'main']")) ||
    bib.at(ns("./title"))
end