Method: IsoDoc::PresentationXMLConvert#designation1
- Defined in:
- lib/isodoc/presentation_function/concepts.rb
#designation1(desgn) ⇒ Object
186 187 188 189 190 191 192 193 194 195 196 |
# File 'lib/isodoc/presentation_function/concepts.rb', line 186 def designation1(desgn) desgn.parent.name == "related" and return out = desgn.parent.at(ns("./fmt-#{desgn.name}")) d1 = semx_fmt_dup(desgn) s = d1.at(ns("./termsource")) name = d1.at(ns("./expression/name | ./letter-symbol/name | " \ "./graphical-symbol")) or return designation_annotate(d1, name, desgn) out << d1 s and out << s.wrap("<fmt-termsource></fmt-termsource>").parent end |