l101.title

Implementation level

Type

Status

CML extraction template

image1

HTML5 representation

image2

Template attributes

Attribute

Value

source

Gaussian log

id

l101.title

pattern

\s*\-+\s*$.*

endPattern

\s*\-+\s*

endOffset

1

xml:base

l101/l101.title.xml

Input

---
CH4
---

Output text

1<comment class="example.output" id="l1.redundantcoords">
2    <module cmlx:templateRef="l101.title">
3      <scalar dataType="xsd:string" dictRef="cc:title" cmlx:templateRef="title">CH4</scalar>
4    </module>
5  </comment>

Template definition

1<record />
2<record id="title">{X,cc:title}</record>
3<record />
4<transform process="pullupSingleton" xpath=".//cml:list" />
5<transform process="delete" xpath=".//cml:list[count(*)=0]" />
6<transform process="delete" xpath=".//cml:list[count(*)=0]" />