You are viewing the pre-release documentation of the upcoming ioChem-BD v5 release.ioChem-BD v5 pre-release docs.What's newWhat's newยทVisit the v4 legacy documentationv4 docs
Skip to content

l101.title โ€‹

Implementation level โ€‹

TypeStatus
CML extraction template
HTML5 representation

Template attributes โ€‹

AttributeValue
sourceGaussian log
idl101.title
pattern\s*\-+\s*$.*
endPattern\s*\-+\s*
endOffset1
xml:basel101/l101.title.xml

Input

 ---
 CH4
 ---

Output text

xml
<comment class="example.output" id="l1.redundantcoords">
    <module cmlx:templateRef="l101.title">
      <scalar dataType="xsd:string" dictRef="cc:title" cmlx:templateRef="title">CH4</scalar>
    </module>
  </comment>

Template definition

xml
<record />
<record id="title">&#123;X,cc:title&#125;</record>
<record />
<transform process="pullupSingleton" xpath=".//cml:list" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />