Method: IsoDoc::PresentationXMLConvert#single_term_clause_retitle
- Defined in:
- lib/isodoc/presentation_function/section.rb
#single_term_clause_retitle(elem) ⇒ Object
67 68 69 70 71 72 73 |
# File 'lib/isodoc/presentation_function/section.rb', line 67 def single_term_clause_retitle(elem) t = elem.at(ns("./terms | ./definitions | ./references")) title1 = elem.at(ns("./title")) title2 = t.at(ns("./title"))&.remove !title1 && title2 and elem.first_element_child.previous = title2 end |