Method: IsoDoc::Function::References#standard?
- Defined in:
- lib/isodoc/function/references.rb
#standard?(bib) ⇒ Boolean
155 156 157 158 159 160 161 162 163 164 |
# File 'lib/isodoc/function/references.rb', line 155 def standard?(bib) ret = false drop = %w(metanorma DOI ISSN ISBN) bib.xpath(ns("./docidentifier")).each do |id| next if id["type"].nil? || drop.include?(id["type"]) ret = true end ret end |