Method: IsoDoc::PresentationXMLConvert#concept_render_init

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

#concept_render_init(node, defaults) ⇒ Object



39
40
41
42
43
44
# File 'lib/isodoc/presentation_function/concepts.rb', line 39

def concept_render_init(node, defaults)
  opts = i(bold ital ref linkref linkmention)
    .each_with_object({}) { |x, m| m[x] = node[x.to_s] || defaults[x] }
  [opts, node.at(ns("./renderterm")),
   node.at(ns("./xref | ./eref | ./termref"))]
end