Method: IsoDoc::PresentationXMLConvert#prefix_container?

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

#prefix_container?(container, node) ⇒ Boolean

Returns:

  • (Boolean)


83
84
85
86
87
88
89
# File 'lib/isodoc/presentation_function/xrefs.rb', line 83

def prefix_container?(container, node)
  node["style"] == "modspec" and return false # TODO: move to mn-requirements?
  type = @xrefs.anchor(node["target"], :type)
  container &&
    get_note_container_id(node, type) != container &&
    @xrefs.get[node["target"]]
end