Method: IsoDoc::PresentationXMLConvert#move_norm_ref_to_sections
- Defined in:
- lib/isodoc/presentation_function/refs.rb
#move_norm_ref_to_sections(docxml) ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/isodoc/presentation_function/refs.rb', line 30 def move_norm_ref_to_sections(docxml) docxml.at(ns(@xrefs.klass.norm_ref_xpath)) or return s = move_norm_ref_to_sections_insert_pt(docxml) or return docxml.xpath(ns(@xrefs.klass.norm_ref_xpath)).each do |r| r.at("./ancestor::xmlns:bibliography") or next s << r.remove end end |