soes

Implementation level
Type Status
CML extraction template image1
HTML5 representation image2
Template attributes
Attribute Value
source Turbomole control file
id soes
name Soes section
pattern \s*\u0024soes.*
endPattern \s*\u0024.*
endPattern2 ~
endOffset 0
xml:base soes.xml
Input
$soes
a  4
Input
$soes
b1g  17
eu   23
t2g  all
Output text
<comment class="example.output" name="soes">
        <module cmlx:templateRef="soes">
            <scalar dataType="xsd:string" dictRef="t:soes">soes</scalar>
            <array dataType="xsd:string" dictRef="t:irrep" size="1">a</array>
            <array dataType="xsd:string" dictRef="t:lowest" size="1">4</array>
        </module>
    </comment>
Output text
<comment class="example.output" name="soes2">
       <module cmlx:templateRef="soes">
            <scalar dataType="xsd:string" dictRef="t:soes">soes</scalar>
            <array dataType="xsd:string" dictRef="t:irrep" size="3">b1g eu t2g</array>
            <array dataType="xsd:string" dictRef="t:lowest" size="3">17 23 all</array>
        </module>
    </comment>
Template definition
<record>\s*\u0024{X,t:soes}</record>
<record repeat="*" makeArray="true">{A,t:irrep}{A,t:lowest}</record>
<transform process="addChild" xpath="." elementName="cml:list" id="soes" />
<transform process="addAttribute" xpath=".//cml:list" name="cmlx:templateRef" value="soes" />
<transform process="addAttribute" xpath=".//cml:list" name="dictRef" value="t:soes" />
<transform process="move" xpath=".//cml:scalar" to=".//cml:list[@id='soes']" />
<transform process="move" xpath=".//cml:array" to=".//cml:list[@id='soes']" />
<transform process="delete" xpath=".//cml:list[count(*) = 0]" />