Skip to content

title ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceTurbomole log
idtitle
nameCalculation title
pattern\s+\*{20,}.*$(?!\s+\*).*$\s+\*{20,}.*
endPattern\s+\*{20,}.*
repeat*
xml:basetitle.xml

Input ​

   *************************************************************************
   Fe(bipy)3 MLCT                                                           
   *************************************************************************    

Output text ​

xml
<comment class="example.output" id="title">
        <module cmlx:lineCount="3" cmlx:templateRef="title">
            <scalar dataType="xsd:string" dictRef="cc:title">Fe(bipy)3 MLCT</scalar>
        </module> 
    </comment>

Template definition ​

xml
<record repeat="1" />
<record>&#123;X,cc:title&#125;</record>
<record repeat="1" />
<transform process="pullup" xpath=".//cml:scalar" />
<transform process="delete" xpath=".//cml:list" />