adf.runtype ​
Implementation level ​
Type | Status |
---|---|
CML extraction template | |
HTML5 representation |
Template attributes ​
Attribute | Value |
---|---|
source | AMS ADF log |
id | adf.runtype |
pattern | \s+\*\s+R\sU\sN\s+T\sY\sP\sE\s\:.* |
endPattern | \s*\*{20,}.* |
offset | -1 |
endOffset | 2 |
repeat | * |
xml:base | adf/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\:{X,cc:runtype}\*.*</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]" />