Method: IsoDoc::PresentationXMLConvert#termsource1

Defined in:
lib/isodoc/presentation_function/terms.rb

#termsource1(elem) ⇒ Object



152
153
154
155
156
157
# File 'lib/isodoc/presentation_function/terms.rb', line 152

def termsource1(elem)
  while elem&.next_element&.name == "termsource"
    elem << "; #{to_xml(elem.next_element.remove.children)}"
  end
  elem.children = l10n("[#{@i18n.source}: #{to_xml(elem.children).strip}]")
end