Skip to content

l502.footer2 ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
idl502.footer2
repeat*
pattern\s+S\*\*2\sbefore\sannihilation.*
endPattern.*
endOffset0
xml:basel502/l502.footer2.xml

Input ​

        S**2 before annihilation     0.7541,   after     2.0001

Output text ​

xml
<comment class="example.output" id="l502.footer2">
        <module id="spincontamination" cmlx:lineCount="1" cmlx:templateRef="l502.footer2">
            <scalar dataType="xsd:double" dictRef="cc:spincontamination">0.7541</scalar>
        </module>
    </comment>

Template definition ​

xml
<record id="spincontamination">\s+S\*\*2\sbefore\sannihilation&#123;F,cc:spincontamination&#125;.*</record>
<transform process="pullup" xpath="./cml:list/cml:scalar" />
<transform process="delete" xpath="./cml:list[count(*)=0]" />