Skip to content

adf.runtype ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceAMS ADF log
idadf.runtype
pattern\s+\*\s+R\sU\sN\s+T\sY\sP\sE\s\:.*
endPattern\s*\*{20,}.*
offset-1
endOffset2
repeat*
xml:baseadf/runtype.xml

Input ​

                       ************************************
                       *  R U N   T Y P E : SINGLE POINT  *
                       ************************************

Output text ​

xml
<comment class="example.output" id="adf.runType">
      <module cmlx:lineCount="241" cmlx:templateRef="adf.runtype">       
       <scalar dataType="xsd:string" dictRef="cc:runtype">SINGLE POINT</scalar>
      </module>
    </comment>

Template definition ​

xml
<templateList>  <template pattern=".*R\sU\sN\s+T\sY\sP\sE.*" endPattern=".*" endOffset="0">    <record id="runtype">.*R\sU\sN\s+T\sY\sP\sE\s\:&#123;X,cc:runtype&#125;\*.*</record>    <transform process="pullup" repeat="2" xpath=".//cml:scalar[@dictRef='cc:runtype']" />
        </template>   
    </templateList>
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:module[count(*)=0]" />