Method: IsoDoc::PresentationXMLConvert#floattitle1
- Defined in:
- lib/isodoc/presentation_function/title.rb
#floattitle1(elem) ⇒ Object
TODO not currently doing anything with the @depth attribute of floating-title
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/isodoc/presentation_function/title.rb', line 27 def floattitle1(elem) elem["id"] ||= "_#{UUIDTools::UUID.random_create}" p = elem.dup p.children = "<semx element='floating-title' source='#{elem['id']}'>" \ "#{to_xml(p.children)}</semx>" elem.next = p p.name = "p" p["type"] = "floating-title" transfer_id(elem, p) end |