Method: IsoDoc::PresentationXMLConvert#concept

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

#concept(docxml) ⇒ Object



3
4
5
6
7
# File 'lib/isodoc/presentation_function/concepts.rb', line 3

def concept(docxml)
  @definition_ids = docxml.xpath(ns("//definitions//dt"))
    .each_with_object({}) { |x, m| m[x["id"]] = true }
  docxml.xpath(ns("//concept")).each { |f| concept1(f) }
end