adf.runtype
Type |
Status |
---|---|
CML extraction template |
|
HTML5 representation |
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
1<comment class="example.output" id="adf.runType">
2 <module cmlx:lineCount="241" cmlx:templateRef="adf.runtype">
3 <scalar dataType="xsd:string" dictRef="cc:runtype">SINGLE POINT</scalar>
4 </module>
5 </comment>
Template definition
1<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']" />
2 </template>
3 </templateList>
4<transform process="delete" xpath=".//cml:list[count(*)=0]" />
5<transform process="delete" xpath=".//cml:module[count(*)=0]" />