Skip to content

l1.control ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
idl1.control
pattern\s\d.*/.*\;\s*
repeat*
endPattern\s*99/.*/99;\s*
endOffset1
xml:basel1/l1.control.xml

Input ​

 1/14=-1,18=20,26=3,38=1/1,3;
 2/9=110,17=6,18=5,40=1/2;
 3/5=4,6=6,7=111,11=2,16=1,25=1,30=1,74=-5/1,2,3;
 4//1;
 5/5=2,38=5/2;
 6/7=2,8=2,9=2,10=2,28=1/1;
 7//1,2,3,16;
 1/14=-1,18=20/3(1);
 99//99;
 2/9=110/2;
 3/5=4,6=6,7=111,11=2,16=1,25=1,30=1,74=-5/1,2,3;
 4/5=5,16=3/1;
 5/5=2,38=5/2;
 7//1,2,3,16;
 1/14=-1,18=20/3(-5);
 2/9=110/2;
 6/7=2,8=2,9=2,10=2,19=2,28=1/1;
 99/9=1/99;

Output text ​

xml
<comment class="example.output" id="l1.control">
    <module cmlx:templateRef="l1.control">
      <list cmlx:templateRef="control">
        <scalar dataType="xsd:string" dictRef="g:control">1/14=-1,18=20,26=3,38=1/1,3</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">2/9=110,17=6,18=5,40=1/2</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">3/5=4,6=6,7=111,11=2,16=1,25=1,30=1,74=-5/1,2,3</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">4//1</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">5/5=2,38=5/2</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">6/7=2,8=2,9=2,10=2,28=1/1</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">7//1,2,3,16</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">1/14=-1,18=20/3(1)</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">99//99</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">2/9=110/2</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">3/5=4,6=6,7=111,11=2,16=1,25=1,30=1,74=-5/1,2,3</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">4/5=5,16=3/1</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">5/5=2,38=5/2</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">7//1,2,3,16</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">1/14=-1,18=20/3(-5)</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">2/9=110/2</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">6/7=2,8=2,9=2,10=2,19=2,28=1/1</scalar>
        <scalar dataType="xsd:string" dictRef="g:control">99/9=1/99</scalar>
      </list>
    </module>
  </comment>

Template definition ​

xml
<record id="control" repeat="*">\s*&#123;X,g:control&#125;;\s*</record>