Skip to content

l601.state ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
idl601.state
nameElectronic state
repeat*
pattern\s*The electronic state.*
endPattern.*
endPattern2~
endOffset0
keepfirst
xml:basel601/l601.state.xml

Input ​

 The electronic state of the initial guess is 1-A.

Input ​

 The electronic state is 1-A.

Output text ​

xml
<comment class="example.output" id="l601.state">
    <module cmlx:templateRef="l601.state">
      <scalar dataType="xsd:string" dictRef="g:l601.state">1-A.</scalar>
    </module>
  </comment>

Output text ​

xml
<comment class="example.output" id="l601.state1">
    <module cmlx:templateRef="l601.state">
      <scalar dataType="xsd:string" dictRef="g:l601.state">1-A.</scalar>
    </module>
  </comment>

Template definition ​

xml
<record id="l601.state">\s*The electronic state\s*.*\s*is&#123;A,g:l601.state&#125;</record>
<transform process="pullup" xpath=".//cml:scalar" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />