Method: IsoDoc::PresentationXMLConvert#related_designation1
- Defined in:
- lib/isodoc/presentation_function/concepts.rb
#related_designation1(desgn) ⇒ Object
121 122 123 124 125 126 127 128 |
# File 'lib/isodoc/presentation_function/concepts.rb', line 121 def (desgn) out = desgn.parent.at(ns("./fmt-#{desgn.name}")) d1 = semx_fmt_dup(desgn) %w(preferred admitted deprecates).each do |w| d = d1.at(ns("./#{w}[last()]")) and d.after("<fmt-#{w}/>") end out << d1 end |