Class: IsoDoc::CC::PresentationXMLConvert

Inherits:
Generic::PresentationXMLConvert
  • Object
show all
Includes:
Init
Defined in:
lib/isodoc/cc/presentation_xml_convert.rb

Instance Method Summary collapse

Methods included from Init

#i18n_init, #metadata_init, #xref_init

Instance Method Details

#annex1(elem) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/isodoc/cc/presentation_xml_convert.rb', line 8

def annex1(elem)
  lbl = @xrefs.anchor(elem["id"], :label)
  if t = elem.at(ns("./title"))
    t.children = "<strong>#{t.children.to_xml}</strong>"
  end
  prefix_name(elem, "<br/>", lbl, "title")
end