Method: IsoDoc::PresentationXMLConvert#date_note_process
- Defined in:
- lib/isodoc/presentation_function/refs.rb
#date_note_process(bib) ⇒ Object
strip any fns in docidentifier before they are extracted for rendering
181 182 183 184 185 186 187 |
# File 'lib/isodoc/presentation_function/refs.rb', line 181 def date_note_process(bib) ret = ident_fn(bib) date_note = bib.at(ns("./note[@type = 'Unpublished-Status']")) date_note.nil? and return ret id = UUIDTools::UUID.random_create.to_s "#{ret}<fn reference='#{id}'><p>#{date_note.content}</p></fn>" end |