Skip to content

l716.diagvib ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
idl716.diagvib
pattern\sDiagonal vibrational polarizability:\s*$\s\s+[\d\.\-\s]+
endPattern.*
endPattern2~
endOffset0
xml:basel716/l716.diagvib.xml

Input ​

 Diagonal vibrational polarizability:
       26.5910881       4.6882388       9.8373439

Output text ​

xml
<comment class="example.output" id="l716.diagvib">
    <module cmlx:templateRef="l716.diagvib">
      <array dataType="xsd:double" size="3" dictRef="cc:diagvib" cmlx:templateRef="diagvib">26.5910881 4.6882388 9.8373439</array>
    </module>
  </comment>

Template definition ​

xml
<record id="diagvib" />
<record id="diagvib">\s*&#123;3F,cc:diagvib&#125;\s*</record>
<transform process="pullupSingleton" xpath=".//cml:list" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />