Method: IsoDoc::PresentationXMLConvert#erefstack1
- Defined in:
- lib/isodoc/presentation_function/erefs.rb
#erefstack1(elem) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/isodoc/presentation_function/erefs.rb', line 10 def erefstack1(elem) locs = elem.xpath(ns("./eref")).map do |e| [e["connective"], to_xml(e)] end.flatten ret = resolve_eref_connectives(locs) elem.replace(ret[1]) end |