Method: IsoDoc::PresentationXMLConvert#standard?
- Defined in:
- lib/isodoc/presentation_function/refs.rb
#standard?(bib) ⇒ Boolean
227 228 229 230 231 232 233 234 235 |
# File 'lib/isodoc/presentation_function/refs.rb', line 227 def standard?(bib) ret = false bib.xpath(ns("./docidentifier")).each do |id| id["type"].nil? || id.at(".//self::*[#{SKIP_DOCID} or @type = 'metanorma']") and next ret = true end ret end |