You are viewing the pre-release documentation of the upcoming ioChem-BD v5 release.ioChem-BD v5 pre-release docs.What's newWhat's newยทVisit the v4 legacy documentationv4 docs
Skip to content

rundate โ€‹

Implementation level โ€‹

TypeStatus
CML extraction template
HTML5 representation

Template attributes โ€‹

AttributeValue
sourcexTB log
idrundate
nameRun date
pattern\s*\*\s*started\s+run\s+on.*
endPattern.*
xml:baserundate.xml

Input

* started run on 2025/02/19 at 17:39:32.337

Output text

xml
<comment class="example.output" id="rundate">
        <module cmlx:templateRef="rundate">
            <scalar dataType="xsd:string" dictRef="cc:rundate">2025/02/19 at 17:39:32.337</scalar>
        </module>
    </comment>

Template definition

xml
<record>\s*\*\s*started\s+run\s+on&#123;X,cc:rundate&#125;</record>
<transform process="createDate" xpath=".//cml:scalar[@dictRef='cc:rundate']" format="yyyy/MM/dd 'at' HH:mm:ss.SSS" />
<transform process="pullup" xpath=".//cml:scalar" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />