Method: IsoDoc::PresentationXMLConvert#eref_localities0
- Defined in:
- lib/isodoc/presentation_function/erefs.rb
#eref_localities0(ref, _idx, target, node) ⇒ Object
157 158 159 160 161 162 163 164 165 |
# File 'lib/isodoc/presentation_function/erefs.rb', line 157 def eref_localities0(ref, _idx, target, node) if ref["type"] == "whole" then @i18n.wholeoftext else eref_localities1({ target:, type: ref["type"], number: "sg", from: ref.at(ns("./referenceFrom"))&.text, upto: ref.at(ns("./referenceTo"))&.text, node:, lang: @lang }) end end |