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]" />