Show
Ignore:
Timestamp:
03/30/11 10:33:08 (13 years ago)
Author:
yaolu
Message:

Did changes for both HTML report and PDF report so it is closer to how WITSML should be.

Location:
projects/DailyDrillingReport_1.2/XML/PDFreport
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.fo

    r152 r159  
    3636                        <fo:block> 
    3737                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    38                                         <fo:table-column column-width="proportional-column-width(16.49)" column-number="1"/> 
    39                                         <fo:table-column column-width="proportional-column-width(16.931)" column-number="2"/> 
    40                                         <fo:table-column column-width="proportional-column-width(18.397)" column-number="3"/> 
    41                                         <fo:table-column column-width="proportional-column-width(48.182)" column-number="4"/> 
     38                                        <fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/> 
     39                                        <fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/> 
     40                                        <fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/> 
     41                                        <fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/> 
    4242                                        <fo:table-body> 
    4343                                                <fo:table-row> 
     
    6161                                                <fo:table-row> 
    6262                                                        <fo:table-cell vertical-align="middle"> 
    63                                                                 <fo:block font-size="11pt" font-weight="bold">Wellbore:</fo:block> 
     63                                                                <fo:block font-weight="bold">Wellbore:</fo:block> 
    6464                                                        </fo:table-cell> 
    6565                                                        <fo:table-cell vertical-align="middle"> 
     
    8989                                                        </fo:table-cell> 
    9090                                                        <fo:table-cell vertical-align="middle"> 
    91                                                                 <fo:block font-size="11pt" font-weight="bold"> 
     91                                                                <fo:block> 
    9292                                                                        <fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364064)" font-weight="bold">Created date:</fo:basic-link> 
    9393                                                                 </fo:block> 
     
    186186                                                        </fo:table-cell> 
    187187                                                        <fo:table-cell vertical-align="middle"> 
    188                                                                 <fo:block font-size="11pt" font-weight="bold"> 
     188                                                                <fo:block> 
    189189                                                                        <fo:basic-link external-destination="url(http://www.posccaesar.org)" font-weight="bold">High pressure - High temperature</fo:basic-link>  </fo:block> 
    190190                                                        </fo:table-cell> 
     
    855855                                                                                                </fo:table-cell> 
    856856                                                                                                <fo:table-cell> 
    857                                                                                                         <fo:block/> 
    858                                                                                                 </fo:table-cell> 
    859                                                                                                 <fo:table-cell> 
    860                                                                                                         <fo:block/> 
     857                                                                                                        <fo:block> 
     858                                                                                                                <fo:inline>1</fo:inline> 
     859                                                                                                        </fo:block> 
     860                                                                                                </fo:table-cell> 
     861                                                                                                <fo:table-cell> 
     862                                                                                                        <fo:block> 
     863                                                                                                                <fo:inline>1</fo:inline> 
     864                                                                                                        </fo:block> 
    861865                                                                                                </fo:table-cell> 
    862866                                                                                                <fo:table-cell> 
     
    871875                                                                                                </fo:table-cell> 
    872876                                                                                                <fo:table-cell> 
    873                                                                                                         <fo:block/> 
     877                                                                                                        <fo:block> 
     878                                                                                                                <fo:inline>3</fo:inline> 
     879                                                                                                        </fo:block> 
    874880                                                                                                </fo:table-cell> 
    875881                                                                                                <fo:table-cell> 
     
    916922                                                                                                </fo:table-cell> 
    917923                                                                                                <fo:table-cell> 
    918                                                                                                         <fo:block/> 
    919                                                                                                 </fo:table-cell> 
    920                                                                                                 <fo:table-cell> 
    921                                                                                                         <fo:block/> 
     924                                                                                                        <fo:block> 
     925                                                                                                                <fo:inline>3</fo:inline> 
     926                                                                                                        </fo:block> 
     927                                                                                                </fo:table-cell> 
     928                                                                                                <fo:table-cell> 
     929                                                                                                        <fo:block> 
     930                                                                                                                <fo:inline>2</fo:inline> 
     931                                                                                                        </fo:block> 
    922932                                                                                                </fo:table-cell> 
    923933                                                                                                <fo:table-cell> 
     
    932942                                                                                                </fo:table-cell> 
    933943                                                                                                <fo:table-cell> 
    934                                                                                                         <fo:block/> 
     944                                                                                                        <fo:block> 
     945                                                                                                                <fo:inline>5</fo:inline> 
     946                                                                                                        </fo:block> 
    935947                                                                                                </fo:table-cell> 
    936948                                                                                                <fo:table-cell> 
     
    10511063                                                                                                </fo:table-cell> 
    10521064                                                                                                <fo:table-cell> 
    1053                                                                                                         <fo:block/> 
    1054                                                                                                 </fo:table-cell> 
    1055                                                                                                 <fo:table-cell> 
    1056                                                                                                         <fo:block> 
    1057                                                                                                                 <fo:inline>12:00</fo:inline> 
     1065                                                                                                        <fo:block> 
     1066                                                                                                                <fo:inline>Top</fo:inline> 
     1067                                                                                                        </fo:block> 
     1068                                                                                                </fo:table-cell> 
     1069                                                                                                <fo:table-cell> 
     1070                                                                                                        <fo:block> 
     1071                                                                                                                <fo:inline>14:00</fo:inline> 
    10581072                                                                                                        </fo:block> 
    10591073                                                                                                </fo:table-cell> 
     
    11151129                                                                                                </fo:table-cell> 
    11161130                                                                                                <fo:table-cell> 
    1117                                                                                                         <fo:block/> 
    1118                                                                                                 </fo:table-cell> 
    1119                                                                                                 <fo:table-cell> 
    1120                                                                                                         <fo:block> 
    1121                                                                                                                 <fo:inline>13:00</fo:inline> 
     1131                                                                                                        <fo:block> 
     1132                                                                                                                <fo:inline>Intermediate</fo:inline> 
     1133                                                                                                        </fo:block> 
     1134                                                                                                </fo:table-cell> 
     1135                                                                                                <fo:table-cell> 
     1136                                                                                                        <fo:block> 
     1137                                                                                                                <fo:inline>17:00</fo:inline> 
    11221138                                                                                                        </fo:block> 
    11231139                                                                                                </fo:table-cell> 
     
    11791195                                                                                                </fo:table-cell> 
    11801196                                                                                                <fo:table-cell> 
    1181                                                                                                         <fo:block/> 
    1182                                                                                                 </fo:table-cell> 
    1183                                                                                                 <fo:table-cell> 
    1184                                                                                                         <fo:block> 
    1185                                                                                                                 <fo:inline>15:00</fo:inline> 
     1197                                                                                                        <fo:block> 
     1198                                                                                                                <fo:inline>Production</fo:inline> 
     1199                                                                                                        </fo:block> 
     1200                                                                                                </fo:table-cell> 
     1201                                                                                                <fo:table-cell> 
     1202                                                                                                        <fo:block> 
     1203                                                                                                                <fo:inline>10:00</fo:inline> 
    11861204                                                                                                        </fo:block> 
    11871205                                                                                                </fo:table-cell> 
     
    13051323                                                                                                        </fo:table-cell> 
    13061324                                                                                                        <fo:table-cell> 
    1307                                                                                                                 <fo:block>Plug failed to bump</fo:block> 
     1325                                                                                                                <fo:block>Plug bumped</fo:block> 
    13081326                                                                                                        </fo:table-cell> 
    13091327                                                                                                        <fo:table-cell> 
     
    13141332                                                                                                        </fo:table-cell> 
    13151333                                                                                                        <fo:table-cell> 
    1316                                                                                                                 <fo:block>Float failed</fo:block> 
     1334                                                                                                                <fo:block>Float held</fo:block> 
    13171335                                                                                                        </fo:table-cell> 
    13181336                                                                                                        <fo:table-cell> 
     
    13481366                                                                                                        <fo:table-cell> 
    13491367                                                                                                                <fo:block> 
    1350                                                                                                                         <fo:inline> 
    1351  
    1352                                         Cement squeeze 
    1353  
    1354                                                                                                                         </fo:inline> 
     1368                                                                                                                        <fo:inline>squeeze</fo:inline> 
    13551369                                                                                                                </fo:block> 
    13561370                                                                                                        </fo:table-cell> 
     
    14861500                                                                                                        <fo:table-cell> 
    14871501                                                                                                                <fo:block> 
    1488                                                                                                                         <fo:inline> 
    1489  
    1490                                         Spacer 
    1491  
    1492                                                                                                                         </fo:inline> 
     1502                                                                                                                        <fo:inline>Spacer</fo:inline> 
    14931503                                                                                                                </fo:block> 
    14941504                                                                                                        </fo:table-cell> 
     
    16101620                                                                                                        </fo:table-cell> 
    16111621                                                                                                        <fo:table-cell> 
    1612                                                                                                                 <fo:block>Plug failed to bump</fo:block> 
     1622                                                                                                                <fo:block>Plug bumped</fo:block> 
    16131623                                                                                                        </fo:table-cell> 
    16141624                                                                                                        <fo:table-cell> 
     
    16191629                                                                                                        </fo:table-cell> 
    16201630                                                                                                        <fo:table-cell> 
    1621                                                                                                                 <fo:block>Float failed</fo:block> 
     1631                                                                                                                <fo:block>Float held</fo:block> 
    16221632                                                                                                        </fo:table-cell> 
    16231633                                                                                                        <fo:table-cell> 
     
    16531663                                                                                                        <fo:table-cell> 
    16541664                                                                                                                <fo:block> 
    1655                                                                                                                         <fo:inline> 
    1656  
    1657                                         Casing and liner 
    1658  
    1659                                                                                                                         </fo:inline> 
     1665                                                                                                                        <fo:inline>primary</fo:inline> 
    16601666                                                                                                                </fo:block> 
    16611667                                                                                                        </fo:table-cell> 
     
    17911797                                                                                                        <fo:table-cell> 
    17921798                                                                                                                <fo:block> 
    1793                                                                                                                         <fo:inline> 
    1794  
    1795                                         Mud 
    1796  
    1797                                                                                                                         </fo:inline> 
     1799                                                                                                                        <fo:inline>Mud</fo:inline> 
    17981800                                                                                                                </fo:block> 
    17991801                                                                                                        </fo:table-cell> 
     
    18311833                                                                                                                <fo:block> 
    18321834                                                                                                                        <fo:inline>2</fo:inline> 
     1835                                                                                                                </fo:block> 
     1836                                                                                                        </fo:table-cell> 
     1837                                                                                                        <fo:table-cell> 
     1838                                                                                                                <fo:block> 
     1839                                                                                                                        <fo:inline>bla bla bla...</fo:inline> 
     1840                                                                                                                </fo:block> 
     1841                                                                                                        </fo:table-cell> 
     1842                                                                                                </fo:table-row> 
     1843                                                                                                <fo:table-row> 
     1844                                                                                                        <fo:table-cell> 
     1845                                                                                                                <fo:block> 
     1846                                                                                                                        <fo:inline>Slurry</fo:inline> 
     1847                                                                                                                </fo:block> 
     1848                                                                                                        </fo:table-cell> 
     1849                                                                                                        <fo:table-cell> 
     1850                                                                                                                <fo:block> 
     1851                                                                                                                        <fo:inline>bla bla bla...</fo:inline> 
     1852                                                                                                                </fo:block> 
     1853                                                                                                        </fo:table-cell> 
     1854                                                                                                        <fo:table-cell> 
     1855                                                                                                                <fo:block> 
     1856                                                                                                                        <fo:inline>10</fo:inline> 
     1857                                                                                                                </fo:block> 
     1858                                                                                                        </fo:table-cell> 
     1859                                                                                                        <fo:table-cell> 
     1860                                                                                                                <fo:block> 
     1861                                                                                                                        <fo:inline>24</fo:inline> 
     1862                                                                                                                </fo:block> 
     1863                                                                                                        </fo:table-cell> 
     1864                                                                                                        <fo:table-cell> 
     1865                                                                                                                <fo:block> 
     1866                                                                                                                        <fo:inline>12</fo:inline> 
     1867                                                                                                                </fo:block> 
     1868                                                                                                        </fo:table-cell> 
     1869                                                                                                        <fo:table-cell> 
     1870                                                                                                                <fo:block> 
     1871                                                                                                                        <fo:inline>12</fo:inline> 
     1872                                                                                                                </fo:block> 
     1873                                                                                                        </fo:table-cell> 
     1874                                                                                                        <fo:table-cell> 
     1875                                                                                                                <fo:block> 
     1876                                                                                                                        <fo:inline>40</fo:inline> 
     1877                                                                                                                </fo:block> 
     1878                                                                                                        </fo:table-cell> 
     1879                                                                                                        <fo:table-cell> 
     1880                                                                                                                <fo:block> 
     1881                                                                                                                        <fo:inline>3</fo:inline> 
     1882                                                                                                                </fo:block> 
     1883                                                                                                        </fo:table-cell> 
     1884                                                                                                        <fo:table-cell> 
     1885                                                                                                                <fo:block> 
     1886                                                                                                                        <fo:inline>bla bla bla...</fo:inline> 
     1887                                                                                                                </fo:block> 
     1888                                                                                                        </fo:table-cell> 
     1889                                                                                                </fo:table-row> 
     1890                                                                                                <fo:table-row> 
     1891                                                                                                        <fo:table-cell> 
     1892                                                                                                                <fo:block> 
     1893                                                                                                                        <fo:inline>Spacer</fo:inline> 
     1894                                                                                                                </fo:block> 
     1895                                                                                                        </fo:table-cell> 
     1896                                                                                                        <fo:table-cell> 
     1897                                                                                                                <fo:block> 
     1898                                                                                                                        <fo:inline>bla bla bla...</fo:inline> 
     1899                                                                                                                </fo:block> 
     1900                                                                                                        </fo:table-cell> 
     1901                                                                                                        <fo:table-cell> 
     1902                                                                                                                <fo:block> 
     1903                                                                                                                        <fo:inline>10</fo:inline> 
     1904                                                                                                                </fo:block> 
     1905                                                                                                        </fo:table-cell> 
     1906                                                                                                        <fo:table-cell> 
     1907                                                                                                                <fo:block> 
     1908                                                                                                                        <fo:inline>24</fo:inline> 
     1909                                                                                                                </fo:block> 
     1910                                                                                                        </fo:table-cell> 
     1911                                                                                                        <fo:table-cell> 
     1912                                                                                                                <fo:block> 
     1913                                                                                                                        <fo:inline>12</fo:inline> 
     1914                                                                                                                </fo:block> 
     1915                                                                                                        </fo:table-cell> 
     1916                                                                                                        <fo:table-cell> 
     1917                                                                                                                <fo:block> 
     1918                                                                                                                        <fo:inline>12</fo:inline> 
     1919                                                                                                                </fo:block> 
     1920                                                                                                        </fo:table-cell> 
     1921                                                                                                        <fo:table-cell> 
     1922                                                                                                                <fo:block> 
     1923                                                                                                                        <fo:inline>40</fo:inline> 
     1924                                                                                                                </fo:block> 
     1925                                                                                                        </fo:table-cell> 
     1926                                                                                                        <fo:table-cell> 
     1927                                                                                                                <fo:block> 
     1928                                                                                                                        <fo:inline>3</fo:inline> 
    18331929                                                                                                                </fo:block> 
    18341930                                                                                                        </fo:table-cell> 
     
    29703066                                                                <fo:block> 
    29713067                                                                        <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    2972                                                                                 <fo:table-column column-width="proportional-column-width(10)" column-number="1"/> 
    2973                                                                                 <fo:table-column column-width="proportional-column-width(5)" column-number="2"/> 
    2974                                                                                 <fo:table-column column-width="proportional-column-width(5)" column-number="3"/> 
    2975                                                                                 <fo:table-column column-width="proportional-column-width(5)" column-number="4"/> 
     3068                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/> 
     3069                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/> 
     3070                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/> 
     3071                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/> 
    29763072                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/> 
    29773073                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/> 
     
    32143310                                                                <fo:block> 
    32153311                                                                        <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    3216                                                                                 <fo:table-column column-width="proportional-column-width(10)" column-number="1"/> 
    3217                                                                                 <fo:table-column column-width="proportional-column-width(5)" column-number="2"/> 
    3218                                                                                 <fo:table-column column-width="proportional-column-width(5)" column-number="3"/> 
    3219                                                                                 <fo:table-column column-width="proportional-column-width(5)" column-number="4"/> 
     3312                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/> 
     3313                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/> 
     3314                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/> 
     3315                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/> 
    32203316                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/> 
    32213317                                                                                <fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/> 
     
    36853781                                                                                                <fo:table-cell> 
    36863782                                                                                                        <fo:block> 
    3687                                                                                                                 <fo:inline>02:00</fo:inline> 
     3783                                                                                                                <fo:inline>2001-12-31T02:00</fo:inline> 
    36883784                                                                                                        </fo:block> 
    36893785                                                                                                </fo:table-cell> 
  • projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xfd

    r152 r159  
    261261                                                        <fo:table-cell vertical-align="middle"> 
    262262                                                                <fo:block> 
    263                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true'">yes</xsl:if> 
    264                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false'">no</xsl:if> 
     263                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='1'">yes</xsl:if> 
     264                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='0'">no</xsl:if> 
    265265                                                                </fo:block> 
    266266                                                        </fo:table-cell> 
     
    270270                                                        <fo:table-cell vertical-align="middle"> 
    271271                                                                <fo:block> 
    272                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true'">yes</xsl:if> 
    273                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false'">no</xsl:if> 
     272                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='1'">yes</xsl:if> 
     273                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='0'">no</xsl:if> 
    274274                                                                </fo:block> 
    275275                                                        </fo:table-cell> 
     
    856856                                                                                                </fo:table-cell> 
    857857                                                                                                <fo:table-cell> 
     858                                                                                                        <fo:block>Hole made (run)</fo:block> 
     859                                                                                                        <fo:block> 
     860                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> 
     861                                                                                                        </fo:block> 
     862                                                                                                </fo:table-cell> 
     863                                                                                                <fo:table-cell> 
     864                                                                                                        <fo:block>Hours drilled (run)</fo:block> 
     865                                                                                                        <fo:block> 
     866                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> 
     867                                                                                                        </fo:block> 
     868                                                                                                </fo:table-cell> 
     869                                                                                                <fo:table-cell> 
     870                                                                                                        <fo:block>ROP</fo:block> 
     871                                                                                                        <fo:block> 
     872                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/> 
     873                                                                                                        </fo:block> 
     874                                                                                                </fo:table-cell> 
     875                                                                                                <fo:table-cell> 
     876                                                                                                        <fo:block>Total hole made</fo:block> 
     877                                                                                                        <fo:block> 
     878                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/> 
     879                                                                                                        </fo:block> 
     880                                                                                                </fo:table-cell> 
     881                                                                                                <fo:table-cell> 
     882                                                                                                        <fo:block>Total hours drilled</fo:block> 
     883                                                                                                        <fo:block> 
     884                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/> 
     885                                                                                                        </fo:block> 
     886                                                                                                </fo:table-cell> 
     887                                                                                                <fo:table-cell> 
     888                                                                                                        <fo:block>Total ROP</fo:block> 
     889                                                                                                        <fo:block> 
     890                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/> 
     891                                                                                                        </fo:block> 
     892                                                                                                </fo:table-cell> 
     893                                                                                                <fo:table-cell> 
    858894                                                                                                        <fo:block>Dull grade</fo:block> 
    859                                                                                                 </fo:table-cell> 
    860                                                                                                 <fo:table-cell> 
    861                                                                                                         <fo:block>Hole made (run)</fo:block> 
    862                                                                                                         <fo:block> 
    863                                                                                                                 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> 
    864                                                                                                         </fo:block> 
    865                                                                                                 </fo:table-cell> 
    866                                                                                                 <fo:table-cell> 
    867                                                                                                         <fo:block>Hours drilled (run)</fo:block> 
    868                                                                                                         <fo:block> 
    869                                                                                                                 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> 
    870                                                                                                         </fo:block> 
    871                                                                                                 </fo:table-cell> 
    872                                                                                                 <fo:table-cell> 
    873                                                                                                         <fo:block>ROP</fo:block> 
    874                                                                                                         <fo:block> 
    875                                                                                                                 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/> 
    876                                                                                                         </fo:block> 
    877                                                                                                 </fo:table-cell> 
    878                                                                                                 <fo:table-cell> 
    879                                                                                                         <fo:block>Total hole made</fo:block> 
    880                                                                                                         <fo:block> 
    881                                                                                                                 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/> 
    882                                                                                                         </fo:block> 
    883                                                                                                 </fo:table-cell> 
    884                                                                                                 <fo:table-cell> 
    885                                                                                                         <fo:block>Total hours drilled</fo:block> 
    886                                                                                                         <fo:block> 
    887                                                                                                                 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/> 
    888                                                                                                         </fo:block> 
    889                                                                                                 </fo:table-cell> 
    890                                                                                                 <fo:table-cell> 
    891                                                                                                         <fo:block>Total ROP</fo:block> 
    892                                                                                                         <fo:block> 
    893                                                                                                                 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/> 
    894                                                                                                         </fo:block> 
    895895                                                                                                </fo:table-cell> 
    896896                                                                                        </fo:table-row> 
     
    928928                                                                                                <fo:table-cell> 
    929929                                                                                                        <fo:block> 
     930                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/> 
     931                                                                                                        </fo:block> 
     932                                                                                                </fo:table-cell> 
     933                                                                                                <fo:table-cell> 
     934                                                                                                        <fo:block> 
     935                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/> 
     936                                                                                                        </fo:block> 
     937                                                                                                </fo:table-cell> 
     938                                                                                                <fo:table-cell> 
     939                                                                                                        <fo:block> 
     940                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:ropAv"/> 
     941                                                                                                        </fo:block> 
     942                                                                                                </fo:table-cell> 
     943                                                                                                <fo:table-cell> 
     944                                                                                                        <fo:block> 
     945                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/> 
     946                                                                                                        </fo:block> 
     947                                                                                                </fo:table-cell> 
     948                                                                                                <fo:table-cell> 
     949                                                                                                        <fo:block> 
     950                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/> 
     951                                                                                                        </fo:block> 
     952                                                                                                </fo:table-cell> 
     953                                                                                                <fo:table-cell> 
     954                                                                                                        <fo:block> 
     955                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:ropMx"/> 
     956                                                                                                        </fo:block> 
     957                                                                                                </fo:table-cell> 
     958                                                                                                <fo:table-cell> 
     959                                                                                                        <fo:block> 
    930960                                                                                                                <xfd:field xpath="witsml:dullGrade"/> 
    931                                                                                                         </fo:block> 
    932                                                                                                 </fo:table-cell> 
    933                                                                                                 <fo:table-cell> 
    934                                                                                                         <fo:block> 
    935                                                                                                                 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/> 
    936                                                                                                         </fo:block> 
    937                                                                                                 </fo:table-cell> 
    938                                                                                                 <fo:table-cell> 
    939                                                                                                         <fo:block> 
    940                                                                                                                 <xfd:field xpath="witsml:bit/Run/witsml:eTimOpBit"/> 
    941                                                                                                         </fo:block> 
    942                                                                                                 </fo:table-cell> 
    943                                                                                                 <fo:table-cell> 
    944                                                                                                         <fo:block> 
    945                                                                                                                 <xfd:field xpath="witsml:ropAv"/> 
    946                                                                                                         </fo:block> 
    947                                                                                                 </fo:table-cell> 
    948                                                                                                 <fo:table-cell> 
    949                                                                                                         <fo:block> 
    950                                                                                                                 <xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/> 
    951                                                                                                         </fo:block> 
    952                                                                                                 </fo:table-cell> 
    953                                                                                                 <fo:table-cell> 
    954                                                                                                         <fo:block> 
    955                                                                                                                 <xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/> 
    956                                                                                                         </fo:block> 
    957                                                                                                 </fo:table-cell> 
    958                                                                                                 <fo:table-cell> 
    959                                                                                                         <fo:block> 
    960                                                                                                                 <xfd:field xpath="witsml:ropMx"/> 
    961961                                                                                                        </fo:block> 
    962962                                                                                                </fo:table-cell> 
     
    10711071                                                                                                <fo:table-cell> 
    10721072                                                                                                        <fo:block> 
    1073                                                                                                                 <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='stimStageType']/xsd:restriction"/> 
    1074                                                                                                                 <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind"/> 
    1075                                                                                                                 <xfd:field xpath="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 
    1076                                                                                                         </fo:block> 
    1077                                                                                                 </fo:table-cell> 
    1078                                                                                                 <fo:table-cell> 
    1079                                                                                                         <fo:block> 
    1080                                                                                                                 <xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/> 
     1073                                                                                                                <xfd:field xpath="witsml:casing_liner_tubing_run/witsml:tubularJobType"/> 
     1074                                                                                                        </fo:block> 
     1075                                                                                                </fo:table-cell> 
     1076                                                                                                <fo:table-cell> 
     1077                                                                                                        <fo:block> 
     1078                                                                                                                <xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/> 
    10811079                                                                                                        </fo:block> 
    10821080                                                                                                </fo:table-cell> 
     
    12001198                                                                                                        </fo:table-cell> 
    12011199                                                                                                        <fo:table-cell> 
    1202                                                                                                                 <fo:block>Plug failed to bump</fo:block> 
     1200                                                                                                                <fo:block>Plug bumped</fo:block> 
    12031201                                                                                                        </fo:table-cell> 
    12041202                                                                                                        <fo:table-cell> 
     
    12091207                                                                                                        </fo:table-cell> 
    12101208                                                                                                        <fo:table-cell> 
    1211                                                                                                                 <fo:block>Float failed</fo:block> 
     1209                                                                                                                <fo:block>Float held</fo:block> 
    12121210                                                                                                        </fo:table-cell> 
    12131211                                                                                                        <fo:table-cell> 
     
    12431241                                                                                                        <fo:table-cell> 
    12441242                                                                                                                <fo:block> 
    1245                                                                                                                         <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/> 
    1246                                                                                                                         <xsl:variable name="jobTypes" select="witsml:jobType"/> 
    1247                                                                                                                         <xfd:field xpath="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/> 
     1243                                                                                                                        <xfd:field xpath="witsml:jobType"/> 
    12481244                                                                                                                </fo:block> 
    12491245                                                                                                        </fo:table-cell> 
     
    12601256                                                                                                        <fo:table-cell> 
    12611257                                                                                                                <fo:block> 
    1262                                                                                                                         <xsl:if test="witsml:topPlug='true'">yes</xsl:if> 
    1263                                                                                                                         <xsl:if test="witsml:topPlug='false'">no</xsl:if> 
    1264                                                                                                                 </fo:block> 
    1265                                                                                                         </fo:table-cell> 
    1266                                                                                                         <fo:table-cell> 
    1267                                                                                                                 <fo:block> 
    1268                                                                                                                         <xsl:if test="witsml:botPlug='true'">yes</xsl:if> 
    1269                                                                                                                         <xsl:if test="witsml:botPlug='false'">no</xsl:if> 
    1270                                                                                                                 </fo:block> 
    1271                                                                                                         </fo:table-cell> 
    1272                                                                                                         <fo:table-cell> 
    1273                                                                                                                 <fo:block> 
    1274                                                                                                                         <xsl:if test="witsml:plugBumped='true'">yes</xsl:if> 
    1275                                                                                                                         <xsl:if test="witsml:plugBumped='false'">no</xsl:if> 
     1258                                                                                                                        <xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if> 
     1259                                                                                                                        <xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if> 
     1260                                                                                                                </fo:block> 
     1261                                                                                                        </fo:table-cell> 
     1262                                                                                                        <fo:table-cell> 
     1263                                                                                                                <fo:block> 
     1264                                                                                                                        <xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if> 
     1265                                                                                                                        <xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if> 
     1266                                                                                                                </fo:block> 
     1267                                                                                                        </fo:table-cell> 
     1268                                                                                                        <fo:table-cell> 
     1269                                                                                                                <fo:block> 
     1270                                                                                                                        <xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if> 
     1271                                                                                                                        <xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if> 
    12761272                                                                                                                </fo:block> 
    12771273                                                                                                        </fo:table-cell> 
     
    12831279                                                                                                        <fo:table-cell> 
    12841280                                                                                                                <fo:block> 
    1285                                                                                                                         <xsl:if test="witsml:floatHeld='true'">yes</xsl:if> 
    1286                                                                                                                         <xsl:if test="witsml:floatHeld='false'">no</xsl:if> 
     1281                                                                                                                        <xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if> 
     1282                                                                                                                        <xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if> 
    12871283                                                                                                                </fo:block> 
    12881284                                                                                                        </fo:table-cell> 
     
    12941290                                                                                                        <fo:table-cell> 
    12951291                                                                                                                <fo:block> 
    1296                                                                                                                         <xsl:if test="witsml:annFlowAfter='true'">yes</xsl:if> 
    1297                                                                                                                         <xsl:if test="witsml:annFlowAfter='false'">no</xsl:if> 
     1292                                                                                                                        <xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if> 
     1293                                                                                                                        <xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if> 
    12981294                                                                                                                </fo:block> 
    12991295                                                                                                        </fo:table-cell> 
     
    13051301                                                                                                        <fo:table-cell> 
    13061302                                                                                                                <fo:block> 
    1307                                                                                                                         <xsl:if test="witsml:reciprocated='true'">yes</xsl:if> 
    1308                                                                                                                         <xsl:if test="witsml:reciprocated='false'">no</xsl:if> 
    1309                                                                                                                 </fo:block> 
    1310                                                                                                         </fo:table-cell> 
    1311                                                                                                         <fo:table-cell> 
    1312                                                                                                                 <fo:block> 
    1313                                                                                                                         <xsl:if test="witsml:rotated='true'">yes</xsl:if> 
    1314                                                                                                                         <xsl:if test="witsml:rotated='false'">no</xsl:if> 
     1303                                                                                                                        <xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if> 
     1304                                                                                                                        <xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if> 
     1305                                                                                                                </fo:block> 
     1306                                                                                                        </fo:table-cell> 
     1307                                                                                                        <fo:table-cell> 
     1308                                                                                                                <fo:block> 
     1309                                                                                                                        <xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if> 
     1310                                                                                                                        <xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if> 
    13151311                                                                                                                </fo:block> 
    13161312                                                                                                        </fo:table-cell> 
     
    13991395                                                                                                        <fo:table-cell> 
    14001396                                                                                                                <fo:block> 
    1401                                                                                                                         <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/> 
    1402                                                                                                                         <xsl:variable name="fluidTypes" select="witsml:typeFluid"/> 
    1403                                                                                                                         <xfd:field xpath="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/> 
     1397                                                                                                                        <xfd:field xpath="witsml:typeFluid"/> 
    14041398                                                                                                                </fo:block> 
    14051399                                                                                                        </fo:table-cell> 
     
    24122406                                                                                                <fo:table-cell> 
    24132407                                                                                                        <fo:block> 
    2414                                                                                                                 <xsl:if test="witsml:goodSeal='true'">yes</xsl:if> 
    2415                                                                                                                 <xsl:if test="witsml:goodSeal='false'">no</xsl:if> 
     2408                                                                                                                <xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if> 
     2409                                                                                                                <xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if> 
    24162410                                                                                                        </fo:block> 
    24172411                                                                                                </fo:table-cell> 
  • projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xsl

    r152 r159  
    22<xslt:stylesheet xmlns:date="http://exslt.org/dates-and-times" xmlns:str="http://exslt.org/strings" xmlns:xslt="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" extension-element-prefixes="date str"> 
    33<xslt:output indent="yes" encoding="utf-8"/> 
    4 <xslt:param name="XFCrtLocalDate">2011-03-22</xslt:param> 
    5 <xslt:param name="XFCrtLocalTime">14:27:24</xslt:param> 
    6 <xslt:param name="XFCrtLocalDateTime">2011-03-22T14:27:24</xslt:param> 
    7 <xslt:param name="XFCrtUTCDate">2011-03-22</xslt:param> 
    8 <xslt:param name="XFCrtUTCTime">13:27:24</xslt:param> 
    9 <xslt:param name="XFCrtUTCDateTime">2011-03-22T13:27:24</xslt:param> 
     4<xslt:param name="XFCrtLocalDate">2011-03-30</xslt:param> 
     5<xslt:param name="XFCrtLocalTime">10:29:36</xslt:param> 
     6<xslt:param name="XFCrtLocalDateTime">2011-03-30T10:29:36</xslt:param> 
     7<xslt:param name="XFCrtUTCDate">2011-03-30</xslt:param> 
     8<xslt:param name="XFCrtUTCTime">08:29:36</xslt:param> 
     9<xslt:param name="XFCrtUTCDateTime">2011-03-30T08:29:36</xslt:param> 
    1010<xslt:param name="XFOutputFormat"/> 
    1111<!-- 
     
    312312                                                        <fo:table-cell vertical-align="middle"> 
    313313                                                                <fo:block> 
    314                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true'">yes</xsl:if> 
    315                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false'">no</xsl:if> 
     314                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='1'">yes</xsl:if> 
     315                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='0'">no</xsl:if> 
    316316                                                                </fo:block> 
    317317                                                        </fo:table-cell> 
     
    321321                                                        <fo:table-cell vertical-align="middle"> 
    322322                                                                <fo:block> 
    323                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true'">yes</xsl:if> 
    324                                                                         <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false'">no</xsl:if> 
     323                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='1'">yes</xsl:if> 
     324                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='0'">no</xsl:if> 
    325325                                                                </fo:block> 
    326326                                                        </fo:table-cell> 
     
    10051005                                                                                                </fo:table-cell> 
    10061006                                                                                                <fo:table-cell> 
    1007                                                                                                         <fo:block>Dull grade</fo:block> 
    1008                                                                                                 </fo:table-cell> 
    1009                                                                                                 <fo:table-cell> 
    10101007                                                                                                        <fo:block>Hole made (run)</fo:block> 
    10111008                                                                                                        <fo:block> 
     
    10541051</fo:inline></xsl:if> 
    10551052                                                                                                        </fo:block> 
     1053                                                                                                </fo:table-cell> 
     1054                                                                                                <fo:table-cell> 
     1055                                                                                                        <fo:block>Dull grade</fo:block> 
    10561056                                                                                                </fo:table-cell> 
    10571057                                                                                        </fo:table-row> 
     
    11021102                                                                                                <fo:table-cell> 
    11031103                                                                                                        <fo:block> 
     1104                                                                                                                <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart)"><fo:inline> 
     1105<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/> 
     1106</fo:inline></xsl:if> 
     1107                                                                                                        </fo:block> 
     1108                                                                                                </fo:table-cell> 
     1109                                                                                                <fo:table-cell> 
     1110                                                                                                        <fo:block> 
     1111                                                                                                                <xsl:if test="string(witsml:bitRun/witsml:eTimOpBit)"><fo:inline> 
     1112<xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/> 
     1113</fo:inline></xsl:if> 
     1114                                                                                                        </fo:block> 
     1115                                                                                                </fo:table-cell> 
     1116                                                                                                <fo:table-cell> 
     1117                                                                                                        <fo:block> 
     1118                                                                                                                <xsl:if test="string(witsml:bitRun/witsml:ropAv)"><fo:inline> 
     1119<xsl:value-of select="witsml:bitRun/witsml:ropAv"/> 
     1120</fo:inline></xsl:if> 
     1121                                                                                                        </fo:block> 
     1122                                                                                                </fo:table-cell> 
     1123                                                                                                <fo:table-cell> 
     1124                                                                                                        <fo:block> 
     1125                                                                                                                <xsl:if test="string(witsml:bitRun/witsml:mdTotHoleMade)"><fo:inline> 
     1126<xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/> 
     1127</fo:inline></xsl:if> 
     1128                                                                                                        </fo:block> 
     1129                                                                                                </fo:table-cell> 
     1130                                                                                                <fo:table-cell> 
     1131                                                                                                        <fo:block> 
     1132                                                                                                                <xsl:if test="string(witsml:bitRun/witsml:totHrsDrilled)"><fo:inline> 
     1133<xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/> 
     1134</fo:inline></xsl:if> 
     1135                                                                                                        </fo:block> 
     1136                                                                                                </fo:table-cell> 
     1137                                                                                                <fo:table-cell> 
     1138                                                                                                        <fo:block> 
     1139                                                                                                                <xsl:if test="string(witsml:bitRun/witsml:ropMx)"><fo:inline> 
     1140<xsl:value-of select="witsml:bitRun/witsml:ropMx"/> 
     1141</fo:inline></xsl:if> 
     1142                                                                                                        </fo:block> 
     1143                                                                                                </fo:table-cell> 
     1144                                                                                                <fo:table-cell> 
     1145                                                                                                        <fo:block> 
    11041146                                                                                                                <xsl:if test="string(witsml:dullGrade)"><fo:inline> 
    11051147<xsl:value-of select="witsml:dullGrade"/> 
    1106 </fo:inline></xsl:if> 
    1107                                                                                                         </fo:block> 
    1108                                                                                                 </fo:table-cell> 
    1109                                                                                                 <fo:table-cell> 
    1110                                                                                                         <fo:block> 
    1111                                                                                                                 <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart)"><fo:inline> 
    1112 <xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/> 
    1113 </fo:inline></xsl:if> 
    1114                                                                                                         </fo:block> 
    1115                                                                                                 </fo:table-cell> 
    1116                                                                                                 <fo:table-cell> 
    1117                                                                                                         <fo:block> 
    1118                                                                                                                 <xsl:if test="string(witsml:bit/Run/witsml:eTimOpBit)"><fo:inline> 
    1119 <xsl:value-of select="witsml:bit/Run/witsml:eTimOpBit"/> 
    1120 </fo:inline></xsl:if> 
    1121                                                                                                         </fo:block> 
    1122                                                                                                 </fo:table-cell> 
    1123                                                                                                 <fo:table-cell> 
    1124                                                                                                         <fo:block> 
    1125                                                                                                                 <xsl:if test="string(witsml:ropAv)"><fo:inline> 
    1126 <xsl:value-of select="witsml:ropAv"/> 
    1127 </fo:inline></xsl:if> 
    1128                                                                                                         </fo:block> 
    1129                                                                                                 </fo:table-cell> 
    1130                                                                                                 <fo:table-cell> 
    1131                                                                                                         <fo:block> 
    1132                                                                                                                 <xsl:if test="string(witsml:bitRun/witsml:mdTotHoleMade)"><fo:inline> 
    1133 <xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/> 
    1134 </fo:inline></xsl:if> 
    1135                                                                                                         </fo:block> 
    1136                                                                                                 </fo:table-cell> 
    1137                                                                                                 <fo:table-cell> 
    1138                                                                                                         <fo:block> 
    1139                                                                                                                 <xsl:if test="string(witsml:bitRun/witsml:totHrsDrilled)"><fo:inline> 
    1140 <xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/> 
    1141 </fo:inline></xsl:if> 
    1142                                                                                                         </fo:block> 
    1143                                                                                                 </fo:table-cell> 
    1144                                                                                                 <fo:table-cell> 
    1145                                                                                                         <fo:block> 
    1146                                                                                                                 <xsl:if test="string(witsml:ropMx)"><fo:inline> 
    1147 <xsl:value-of select="witsml:ropMx"/> 
    11481148</fo:inline></xsl:if> 
    11491149                                                                                                        </fo:block> 
     
    12751275                                                                                                <fo:table-cell> 
    12761276                                                                                                        <fo:block> 
    1277                                                                                                                 <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='stimStageType']/xsd:restriction"/> 
    1278                                                                                                                 <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind"/> 
    1279                                                                                                                 <xsl:if test="string($element_casing//xsd:enumeration[@value=$casingTypes])"><fo:inline> 
    1280 <xsl:value-of select="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 
    1281 </fo:inline></xsl:if> 
    1282                                                                                                         </fo:block> 
    1283                                                                                                 </fo:table-cell> 
    1284                                                                                                 <fo:table-cell> 
    1285                                                                                                         <fo:block> 
    1286                                                                                                                 <xsl:if test="string(substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T'))"><fo:inline> 
    1287 <xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/> 
     1277                                                                                                                <xsl:if test="string(witsml:casing_liner_tubing_run/witsml:tubularJobType)"><fo:inline> 
     1278<xsl:value-of select="witsml:casing_liner_tubing_run/witsml:tubularJobType"/> 
     1279</fo:inline></xsl:if> 
     1280                                                                                                        </fo:block> 
     1281                                                                                                </fo:table-cell> 
     1282                                                                                                <fo:table-cell> 
     1283                                                                                                        <fo:block> 
     1284                                                                                                                <xsl:if test="string(substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T'))"><fo:inline> 
     1285<xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/> 
    12881286</fo:inline></xsl:if> 
    12891287                                                                                                        </fo:block> 
     
    14301428                                                                                                        </fo:table-cell> 
    14311429                                                                                                        <fo:table-cell> 
    1432                                                                                                                 <fo:block>Plug failed to bump</fo:block> 
     1430                                                                                                                <fo:block>Plug bumped</fo:block> 
    14331431                                                                                                        </fo:table-cell> 
    14341432                                                                                                        <fo:table-cell> 
     
    14411439                                                                                                        </fo:table-cell> 
    14421440                                                                                                        <fo:table-cell> 
    1443                                                                                                                 <fo:block>Float failed</fo:block> 
     1441                                                                                                                <fo:block>Float held</fo:block> 
    14441442                                                                                                        </fo:table-cell> 
    14451443                                                                                                        <fo:table-cell> 
     
    14811479                                                                                                        <fo:table-cell> 
    14821480                                                                                                                <fo:block> 
    1483                                                                                                                         <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/> 
    1484                                                                                                                         <xsl:variable name="jobTypes" select="witsml:jobType"/> 
    1485                                                                                                                         <xsl:if test="string($element_jobTypes//xsd:enumeration[@value=$jobTypes])"><fo:inline> 
    1486 <xsl:value-of select="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/> 
     1481                                                                                                                        <xsl:if test="string(witsml:jobType)"><fo:inline> 
     1482<xsl:value-of select="witsml:jobType"/> 
    14871483</fo:inline></xsl:if> 
    14881484                                                                                                                </fo:block> 
     
    15041500                                                                                                        <fo:table-cell> 
    15051501                                                                                                                <fo:block> 
    1506                                                                                                                         <xsl:if test="witsml:topPlug='true'">yes</xsl:if> 
    1507                                                                                                                         <xsl:if test="witsml:topPlug='false'">no</xsl:if> 
    1508                                                                                                                 </fo:block> 
    1509                                                                                                         </fo:table-cell> 
    1510                                                                                                         <fo:table-cell> 
    1511                                                                                                                 <fo:block> 
    1512                                                                                                                         <xsl:if test="witsml:botPlug='true'">yes</xsl:if> 
    1513                                                                                                                         <xsl:if test="witsml:botPlug='false'">no</xsl:if> 
    1514                                                                                                                 </fo:block> 
    1515                                                                                                         </fo:table-cell> 
    1516                                                                                                         <fo:table-cell> 
    1517                                                                                                                 <fo:block> 
    1518                                                                                                                         <xsl:if test="witsml:plugBumped='true'">yes</xsl:if> 
    1519                                                                                                                         <xsl:if test="witsml:plugBumped='false'">no</xsl:if> 
     1502                                                                                                                        <xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if> 
     1503                                                                                                                        <xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if> 
     1504                                                                                                                </fo:block> 
     1505                                                                                                        </fo:table-cell> 
     1506                                                                                                        <fo:table-cell> 
     1507                                                                                                                <fo:block> 
     1508                                                                                                                        <xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if> 
     1509                                                                                                                        <xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if> 
     1510                                                                                                                </fo:block> 
     1511                                                                                                        </fo:table-cell> 
     1512                                                                                                        <fo:table-cell> 
     1513                                                                                                                <fo:block> 
     1514                                                                                                                        <xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if> 
     1515                                                                                                                        <xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if> 
    15201516                                                                                                                </fo:block> 
    15211517                                                                                                        </fo:table-cell> 
     
    15291525                                                                                                        <fo:table-cell> 
    15301526                                                                                                                <fo:block> 
    1531                                                                                                                         <xsl:if test="witsml:floatHeld='true'">yes</xsl:if> 
    1532                                                                                                                         <xsl:if test="witsml:floatHeld='false'">no</xsl:if> 
     1527                                                                                                                        <xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if> 
     1528                                                                                                                        <xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if> 
    15331529                                                                                                                </fo:block> 
    15341530                                                                                                        </fo:table-cell> 
     
    15421538                                                                                                        <fo:table-cell> 
    15431539                                                                                                                <fo:block> 
    1544                                                                                                                         <xsl:if test="witsml:annFlowAfter='true'">yes</xsl:if> 
    1545                                                                                                                         <xsl:if test="witsml:annFlowAfter='false'">no</xsl:if> 
     1540                                                                                                                        <xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if> 
     1541                                                                                                                        <xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if> 
    15461542                                                                                                                </fo:block> 
    15471543                                                                                                        </fo:table-cell> 
     
    15551551                                                                                                        <fo:table-cell> 
    15561552                                                                                                                <fo:block> 
    1557                                                                                                                         <xsl:if test="witsml:reciprocated='true'">yes</xsl:if> 
    1558                                                                                                                         <xsl:if test="witsml:reciprocated='false'">no</xsl:if> 
    1559                                                                                                                 </fo:block> 
    1560                                                                                                         </fo:table-cell> 
    1561                                                                                                         <fo:table-cell> 
    1562                                                                                                                 <fo:block> 
    1563                                                                                                                         <xsl:if test="witsml:rotated='true'">yes</xsl:if> 
    1564                                                                                                                         <xsl:if test="witsml:rotated='false'">no</xsl:if> 
     1553                                                                                                                        <xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if> 
     1554                                                                                                                        <xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if> 
     1555                                                                                                                </fo:block> 
     1556                                                                                                        </fo:table-cell> 
     1557                                                                                                        <fo:table-cell> 
     1558                                                                                                                <fo:block> 
     1559                                                                                                                        <xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if> 
     1560                                                                                                                        <xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if> 
    15651561                                                                                                                </fo:block> 
    15661562                                                                                                        </fo:table-cell> 
     
    16621658                                                                                                        <fo:table-cell> 
    16631659                                                                                                                <fo:block> 
    1664                                                                                                                         <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/> 
    1665                                                                                                                         <xsl:variable name="fluidTypes" select="witsml:typeFluid"/> 
    1666                                                                                                                         <xsl:if test="string($element_fluidTypes//xsd:enumeration[@value=$fluidTypes])"><fo:inline> 
    1667 <xsl:value-of select="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/> 
     1660                                                                                                                        <xsl:if test="string(witsml:typeFluid)"><fo:inline> 
     1661<xsl:value-of select="witsml:typeFluid"/> 
    16681662</fo:inline></xsl:if> 
    16691663                                                                                                                </fo:block> 
     
    28402834                                                                                                <fo:table-cell> 
    28412835                                                                                                        <fo:block> 
    2842                                                                                                                 <xsl:if test="witsml:goodSeal='true'">yes</xsl:if> 
    2843                                                                                                                 <xsl:if test="witsml:goodSeal='false'">no</xsl:if> 
     2836                                                                                                                <xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if> 
     2837                                                                                                                <xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if> 
    28442838                                                                                                        </fo:block> 
    28452839                                                                                                </fo:table-cell>