Show
Ignore:
Timestamp:
03/22/11 15:15:54 (13 years ago)
Author:
yaolu
Message:

fixed some of the changes regarding xsl and the report view

Files:
1 modified

Legend:

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

    r150 r152  
    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-16</xslt:param> 
    5 <xslt:param name="XFCrtLocalTime">14:57:36</xslt:param> 
    6 <xslt:param name="XFCrtLocalDateTime">2011-03-16T14:57:36</xslt:param> 
    7 <xslt:param name="XFCrtUTCDate">2011-03-16</xslt:param> 
    8 <xslt:param name="XFCrtUTCTime">13:57:36</xslt:param> 
    9 <xslt:param name="XFCrtUTCDateTime">2011-03-16T13:57:36</xslt:param> 
     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> 
    1010<xslt:param name="XFOutputFormat"/> 
    1111<!-- 
     
    8888                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/> 
    8989                                </xsl:variable> 
     90                                <xsl:variable name="url_typeWellbore"> 
     91                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/> 
     92                                </xsl:variable> 
     93                                <xsl:variable name="url_mdKickoff"> 
     94                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/> 
     95                                </xsl:variable> 
     96                                <xsl:variable name="url_tvdKickoff"> 
     97                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/> 
     98                                </xsl:variable> 
     99                                <xsl:variable name="url_mdPlugTop"> 
     100                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/> 
     101                                </xsl:variable> 
     102                                <xsl:variable name="url_md"> 
     103                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/> 
     104                                </xsl:variable> 
     105                                <xsl:variable name="url_tvd"> 
     106                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/> 
     107                                </xsl:variable> 
     108                                <xsl:variable name="url_distDrill"> 
     109                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/> 
     110                                </xsl:variable> 
     111                                <xsl:variable name="url_ropCurrent"> 
     112                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/> 
     113                                </xsl:variable> 
     114                                <xsl:variable name="url_diaHole"> 
     115                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/> 
     116                                </xsl:variable> 
     117                                <xsl:variable name="url_presTestType"> 
     118                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/> 
     119                                </xsl:variable> 
     120                                <xsl:variable name="url_strengthForm"> 
     121                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/> 
     122                                </xsl:variable> 
     123                                <xsl:variable name="url_mdStrengthForm"> 
     124                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/> 
     125                                </xsl:variable> 
     126                                <xsl:variable name="url_tvdStrengthForm"> 
     127                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/> 
     128                                </xsl:variable> 
     129                                <xsl:variable name="url_diaCsgLast"> 
     130                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/> 
     131                                </xsl:variable> 
     132                                <xsl:variable name="url_mdCsgLast"> 
     133                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/> 
     134                                </xsl:variable> 
     135                                <xsl:variable name="url_tvdCsgLast"> 
     136                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/> 
     137                                </xsl:variable> 
    90138                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    91                                         <fo:table-column column-width="proportional-column-width(16.49)" column-number="1"/> 
    92                                         <fo:table-column column-width="proportional-column-width(16.931)" column-number="2"/> 
    93                                         <fo:table-column column-width="proportional-column-width(18.397)" column-number="3"/> 
    94                                         <fo:table-column column-width="proportional-column-width(48.182)" column-number="4"/> 
     139                                        <fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/> 
     140                                        <fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/> 
     141                                        <fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/> 
     142                                        <fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/> 
    95143                                        <fo:table-body> 
    96144                                                <fo:table-row> 
     
    116164                                                        </fo:table-cell> 
    117165                                                </fo:table-row> 
    118                                         </fo:table-body> 
    119                                 </fo:table> 
    120                                 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    121                                         <fo:table-column column-width="proportional-column-width(16.637)" column-number="1"/> 
    122                                         <fo:table-column column-width="proportional-column-width(16.931)" column-number="2"/> 
    123                                         <fo:table-column column-width="proportional-column-width(18.398)" column-number="3"/> 
    124                                         <fo:table-column column-width="proportional-column-width(48.034)" column-number="4"/> 
    125                                         <fo:table-body> 
    126                                                 <fo:table-row> 
    127                                                         <fo:table-cell vertical-align="middle"> 
    128                                                                 <fo:block font-size="11pt" font-weight="bold">Wellbore:</fo:block> 
     166                                                <fo:table-row> 
     167                                                        <fo:table-cell vertical-align="middle"> 
     168                                                                <fo:block font-weight="bold">Wellbore:</fo:block> 
    129169                                                        </fo:table-cell> 
    130170                                                        <fo:table-cell vertical-align="middle"> 
     
    146186                                                        </fo:table-cell> 
    147187                                                </fo:table-row> 
    148                                                 <fo:table-row height="13.280px" overflow="hidden"> 
    149                                                         <fo:table-cell vertical-align="middle"> 
    150                                                                 <fo:block> 
    151                                                                         <fo:basic-link external-destination="url({$url_versionKind})" font-weight="bold">Status:</fo:basic-link> 
    152                                                                 </fo:block> 
     188                                                <fo:table-row> 
     189                                                        <fo:table-cell vertical-align="middle"> 
     190                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_versionKind})" font-weight="bold">Status:</fo:basic-link> 
     191                                                                 </fo:block> 
    153192                                                        </fo:table-cell> 
    154193                                                        <fo:table-cell vertical-align="middle"> 
     
    160199                                                        </fo:table-cell> 
    161200                                                        <fo:table-cell vertical-align="middle"> 
    162                                                                 <fo:block> 
    163                                                                         <fo:basic-link external-destination="url({$url_createDate})" font-weight="bold">Created date:</fo:basic-link> 
    164                                                                 </fo:block> 
     201                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_createDate})" font-weight="bold">Created date:</fo:basic-link> 
     202                                                                 </fo:block> 
    165203                                                        </fo:table-cell> 
    166204                                                        <fo:table-cell vertical-align="middle"> 
     
    172210                                                        </fo:table-cell> 
    173211                                                </fo:table-row> 
    174                                         </fo:table-body> 
    175                                 </fo:table> 
    176                                 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    177                                         <fo:table-column column-width="proportional-column-width(16.638)" column-number="1"/> 
    178                                         <fo:table-column column-width="proportional-column-width(16.638)" column-number="2"/> 
    179                                         <fo:table-column column-width="proportional-column-width(18.91)" column-number="3"/> 
    180                                         <fo:table-column column-width="proportional-column-width(47.814)" column-number="4"/> 
    181                                         <fo:table-body> 
    182                                                 <fo:table-row> 
    183                                                         <fo:table-cell vertical-align="middle"> 
    184                                                                 <fo:block> 
    185                                                                         <fo:basic-link external-destination="url({$url_operator})" font-weight="bold">Operator:</fo:basic-link> 
    186                                                                 </fo:block> 
     212                                                <fo:table-row> 
     213                                                        <fo:table-cell vertical-align="middle"> 
     214                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_operator})" font-weight="bold">Operator:</fo:basic-link> 
     215                                                                 </fo:block> 
    187216                                                        </fo:table-cell> 
    188217                                                        <fo:table-cell vertical-align="middle"> 
     
    194223                                                        </fo:table-cell> 
    195224                                                        <fo:table-cell vertical-align="middle"> 
    196                                                                 <fo:block> 
    197                                                                         <fo:basic-link external-destination="url({$url_drillContractor})" font-weight="bold">Drilling contractor:</fo:basic-link> 
    198                                                                 </fo:block> 
     225                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_drillContractor})" font-weight="bold">Drilling contractor:</fo:basic-link> 
     226                                                                 </fo:block> 
    199227                                                        </fo:table-cell> 
    200228                                                        <fo:table-cell vertical-align="middle"> 
     
    206234                                                        </fo:table-cell> 
    207235                                                </fo:table-row> 
    208                                         </fo:table-body> 
    209                                 </fo:table> 
    210                                 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    211                                         <fo:table-column column-width="proportional-column-width(16.667)" column-number="1"/> 
    212                                         <fo:table-column column-width="proportional-column-width(16.52)" column-number="2"/> 
    213                                         <fo:table-column column-width="proportional-column-width(18.868)" column-number="3"/> 
    214                                         <fo:table-column column-width="proportional-column-width(10.945)" column-number="4"/> 
    215                                         <fo:table-column column-width="proportional-column-width(27.083)" column-number="5"/> 
    216                                         <fo:table-column column-width="proportional-column-width(9.917)" column-number="6"/> 
    217                                         <fo:table-body> 
    218                                                 <fo:table-row> 
    219                                                         <fo:table-cell vertical-align="middle"> 
    220                                                                 <fo:block> 
    221                                                                         <fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">Rig name:</fo:basic-link> 
    222                                                                 </fo:block> 
     236                                                <fo:table-row> 
     237                                                        <fo:table-cell vertical-align="middle"> 
     238                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">Rig name:</fo:basic-link> 
     239                                                                 </fo:block> 
    223240                                                        </fo:table-cell> 
    224241                                                        <fo:table-cell vertical-align="middle"> 
     
    230247                                                        </fo:table-cell> 
    231248                                                        <fo:table-cell vertical-align="middle"> 
    232                                                                 <fo:block><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">NPD Rig Id:</fo:basic-link><fo:inline font-size="11pt" font-weight="bold"> </fo:inline></fo:block> 
     249                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">NPD Rig Id:</fo:basic-link><fo:inline font-size="11pt" font-weight="bold"> </fo:inline> </fo:block> 
    233250                                                        </fo:table-cell> 
    234251                                                        <fo:table-cell vertical-align="middle"> 
     
    239256                                                                </fo:block> 
    240257                                                        </fo:table-cell> 
    241                                                         <fo:table-cell vertical-align="middle"> 
    242                                                                 <fo:block><fo:basic-link external-destination="url({$url_elevKelly})" font-weight="bold">Eleveation RKB-MSL</fo:basic-link><fo:inline font-size="11pt"> <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom)"><fo:inline font-weight="bold"> 
     258                                                </fo:table-row> 
     259                                                <fo:table-row height="17.840px" overflow="hidden"> 
     260                                                        <fo:table-cell vertical-align="middle"> 
     261                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_dTimSpud})" font-weight="bold">Spud date:</fo:basic-link> 
     262                                                                 </fo:block> 
     263                                                        </fo:table-cell> 
     264                                                        <fo:table-cell vertical-align="middle"> 
     265                                                                <fo:block> 
     266                                                                        <xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T'))"><fo:inline> 
     267<xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T')"/> 
     268</fo:inline></xsl:if> 
     269                                                                </fo:block> 
     270                                                        </fo:table-cell> 
     271                                                        <fo:table-cell vertical-align="middle"> 
     272                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_dateDrillComplete})" font-weight="bold">Date Well Complete:</fo:basic-link> 
     273                                                                 </fo:block> 
     274                                                        </fo:table-cell> 
     275                                                        <fo:table-cell vertical-align="middle"> 
     276                                                                <fo:block> <xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T'))"><fo:inline> 
     277<xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T')"/> 
     278</fo:inline></xsl:if> 
     279                                                                </fo:block> 
     280                                                        </fo:table-cell> 
     281                                                </fo:table-row> 
     282                                                <fo:table-row> 
     283                                                        <fo:table-cell vertical-align="middle"> 
     284                                                                <fo:block font-weight="bold">Elevation RKB-MSL <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom)"><fo:inline font-weight="bold"> 
    243285<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom"/> 
    244 </fo:inline></xsl:if>:</fo:inline></fo:block> 
     286</fo:inline></xsl:if>:</fo:block> 
    245287                                                        </fo:table-cell> 
    246288                                                        <fo:table-cell vertical-align="middle"> 
     
    251293                                                                </fo:block> 
    252294                                                        </fo:table-cell> 
    253                                                 </fo:table-row> 
    254                                                 <fo:table-row> 
    255                                                         <fo:table-cell vertical-align="middle"> 
    256                                                                 <fo:block> 
    257                                                                         <fo:basic-link external-destination="url({$url_dTimSpud})" font-weight="bold">Spud date:</fo:basic-link> 
    258                                                                 </fo:block> 
    259                                                         </fo:table-cell> 
    260                                                         <fo:table-cell vertical-align="middle"> 
    261                                                                 <fo:block> 
    262                                                                         <xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T'))"><fo:inline> 
    263 <xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T')"/> 
    264 </fo:inline></xsl:if> 
    265                                                                 </fo:block> 
    266                                                         </fo:table-cell> 
    267                                                         <fo:table-cell vertical-align="middle"> 
    268                                                                 <fo:block> 
    269                                                                         <fo:basic-link external-destination="url({$url_dateDrillComplete})" font-weight="bold">Date Well Complete:</fo:basic-link> 
    270                                                                 </fo:block> 
    271                                                         </fo:table-cell> 
    272                                                         <fo:table-cell vertical-align="middle"> 
    273                                                                 <fo:block> 
    274                                                                         <xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T'))"><fo:inline> 
    275 <xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T')"/> 
    276 </fo:inline></xsl:if> 
    277                                                                 </fo:block> 
    278                                                         </fo:table-cell> 
    279                                                         <fo:table-cell vertical-align="middle"> 
    280                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Water depth MSL </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom)"><fo:inline> 
     295                                                        <fo:table-cell vertical-align="middle"> 
     296                                                                <fo:block font-size="11pt" font-weight="bold">Water depth MSL <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom)"><fo:inline> 
    281297<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom"/> 
    282298</fo:inline></xsl:if>:</fo:block> 
     
    290306                                                        </fo:table-cell> 
    291307                                                </fo:table-row> 
    292                                         </fo:table-body> 
    293                                 </fo:table> 
    294                         </fo:block> 
    295 <xslt:comment> Status info </xslt:comment> 
    296                         <fo:block> 
    297                                 <xsl:variable name="url_typeWellbore"> 
    298                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/> 
    299                                 </xsl:variable> 
    300                                 <xsl:variable name="url_mdKickoff"> 
    301                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/> 
    302                                 </xsl:variable> 
    303                                 <xsl:variable name="url_tvdKickoff"> 
    304                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/> 
    305                                 </xsl:variable> 
    306                                 <xsl:variable name="url_mdPlugTop"> 
    307                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/> 
    308                                 </xsl:variable> 
    309                                 <xsl:variable name="url_md"> 
    310                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/> 
    311                                 </xsl:variable> 
    312                                 <xsl:variable name="url_tvd"> 
    313                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/> 
    314                                 </xsl:variable> 
    315                                 <xsl:variable name="url_distDrill"> 
    316                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/> 
    317                                 </xsl:variable> 
    318                                 <xsl:variable name="url_ropCurrent"> 
    319                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/> 
    320                                 </xsl:variable> 
    321                                 <xsl:variable name="url_diaHole"> 
    322                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/> 
    323                                 </xsl:variable> 
    324                                 <xsl:variable name="url_presTestType"> 
    325                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/> 
    326                                 </xsl:variable> 
    327                                 <xsl:variable name="url_strengthForm"> 
    328                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/> 
    329                                 </xsl:variable> 
    330                                 <xsl:variable name="url_mdStrengthForm"> 
    331                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/> 
    332                                 </xsl:variable> 
    333                                 <xsl:variable name="url_tvdStrengthForm"> 
    334                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/> 
    335                                 </xsl:variable> 
    336                                 <xsl:variable name="url_diaCsgLast"> 
    337                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/> 
    338                                 </xsl:variable> 
    339                                 <xsl:variable name="url_mdCsgLast"> 
    340                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/> 
    341                                 </xsl:variable> 
    342                                 <xsl:variable name="url_tvdCsgLast"> 
    343                                         <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/> 
    344                                 </xsl:variable> 
    345                                 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    346                                         <fo:table-column column-width="proportional-column-width(16.784)" column-number="1"/> 
    347                                         <fo:table-column column-width="proportional-column-width(16.49)" column-number="2"/> 
    348                                         <fo:table-column column-width="proportional-column-width(18.692)" column-number="3"/> 
    349                                         <fo:table-column column-width="proportional-column-width(48.034)" column-number="4"/> 
    350                                         <fo:table-body> 
    351                                                 <fo:table-row> 
    352                                                         <fo:table-cell vertical-align="middle"> 
    353                                                                 <fo:block><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Tight well:</fo:basic-link> </fo:block> 
    354                                                         </fo:table-cell> 
    355                                                         <fo:table-cell vertical-align="middle"> 
    356                                                                 <fo:block> 
    357                                                                         <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell)"><fo:inline> 
    358 <xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell"/> 
    359 </fo:inline></xsl:if> 
    360                                                                 </fo:block> 
    361                                                         </fo:table-cell> 
    362                                                         <fo:table-cell vertical-align="middle"> 
    363                                                                 <fo:block><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">High pressure - High temperature</fo:basic-link> </fo:block> 
    364                                                         </fo:table-cell> 
    365                                                         <fo:table-cell vertical-align="middle"> 
    366                                                                 <fo:block> 
    367                                                                         <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht)"><fo:inline> 
    368 <xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht"/> 
    369 </fo:inline></xsl:if> 
     308                                                <fo:table-row> 
     309                                                        <fo:table-cell vertical-align="middle"> 
     310                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Tight well</fo:basic-link>: </fo:block> 
     311                                                        </fo:table-cell> 
     312                                                        <fo:table-cell vertical-align="middle"> 
     313                                                                <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> 
     316                                                                </fo:block> 
     317                                                        </fo:table-cell> 
     318                                                        <fo:table-cell vertical-align="middle"> 
     319                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">High pressure - High temperature</fo:basic-link>  </fo:block> 
     320                                                        </fo:table-cell> 
     321                                                        <fo:table-cell vertical-align="middle"> 
     322                                                                <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> 
    370325                                                                </fo:block> 
    371326                                                        </fo:table-cell> 
     
    375330                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Pressure </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH/@uom)"><fo:inline> 
    376331<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH/@uom"/> 
    377 </fo:inline></xsl:if>:</fo:block> 
     332</fo:inline></xsl:if>: </fo:block> 
    378333                                                        </fo:table-cell> 
    379334                                                        <fo:table-cell vertical-align="middle"> 
     
    385340                                                        </fo:table-cell> 
    386341                                                        <fo:table-cell vertical-align="middle"> 
    387                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Temperature </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom)"><fo:inline> 
     342                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Temperature </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom)"><fo:inline> 
    388343<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom"/> 
    389 </fo:inline></xsl:if>:</fo:block> 
     344</fo:inline></xsl:if>: </fo:block> 
    390345                                                        </fo:table-cell> 
    391346                                                        <fo:table-cell vertical-align="middle"> 
     
    397352                                                        </fo:table-cell> 
    398353                                                </fo:table-row> 
    399                                         </fo:table-body> 
    400                                 </fo:table> 
    401                                 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    402                                         <fo:table-column column-width="proportional-column-width(16.667)" column-number="1"/> 
    403                                         <fo:table-column column-width="proportional-column-width(16.667)" column-number="2"/> 
    404                                         <fo:table-column column-width="proportional-column-width(19.013)" column-number="3"/> 
    405                                         <fo:table-column column-width="proportional-column-width(10.65)" column-number="4"/> 
    406                                         <fo:table-column column-width="proportional-column-width(26.937)" column-number="5"/> 
    407                                         <fo:table-column column-width="proportional-column-width(10.065)" column-number="6"/> 
    408                                         <fo:table-body> 
    409                                                 <fo:table-row> 
    410                                                         <fo:table-cell vertical-align="middle"> 
    411                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_typeWellbore})">Wellbore type:</fo:basic-link> </fo:block> 
     354                                                <fo:table-row> 
     355                                                        <fo:table-cell vertical-align="middle"> 
     356                                                                <fo:block font-weight="bold">Rig type</fo:block> 
     357                                                        </fo:table-cell> 
     358                                                        <fo:table-cell vertical-align="middle"> 
     359                                                                <fo:block> 
     360                                                                        <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType)"><fo:inline> 
     361<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType"/> 
     362</fo:inline></xsl:if> 
     363                                                                </fo:block> 
     364                                                        </fo:table-cell> 
     365                                                        <fo:table-cell vertical-align="middle"> 
     366                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_typeWellbore})">Wellbore type:</fo:basic-link>   </fo:block> 
    412367                                                        </fo:table-cell> 
    413368                                                        <fo:table-cell vertical-align="middle"> 
     
    418373                                                                </fo:block> 
    419374                                                        </fo:table-cell> 
    420                                                         <fo:table-cell vertical-align="middle"> 
    421                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdKickoff})">Depth at Kick Off mMD:</fo:basic-link> </fo:block> 
     375                                                </fo:table-row> 
     376                                                <fo:table-row> 
     377                                                        <fo:table-cell vertical-align="middle"> 
     378                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdKickoff})">Depth at Kick Off mMD:</fo:basic-link>   </fo:block> 
    422379                                                        </fo:table-cell> 
    423380                                                        <fo:table-cell vertical-align="middle"> 
     
    429386                                                        </fo:table-cell> 
    430387                                                        <fo:table-cell vertical-align="middle"> 
    431                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdKickoff})">Depth at Kick Off mTVD:</fo:basic-link> </fo:block> 
     388                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_tvdKickoff})">Depth at Kick Off mTVD:</fo:basic-link>  </fo:block> 
    432389                                                        </fo:table-cell> 
    433390                                                        <fo:table-cell vertical-align="middle"> 
     
    441398                                                <fo:table-row> 
    442399                                                        <fo:table-cell vertical-align="middle"> 
    443                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_md})">Depth mMD:</fo:basic-link> </fo:block> 
     400                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_md})">Depth mMD:</fo:basic-link>  </fo:block> 
    444401                                                        </fo:table-cell> 
    445402                                                        <fo:table-cell vertical-align="middle"> 
     
    451408                                                        </fo:table-cell> 
    452409                                                        <fo:table-cell vertical-align="middle"> 
    453                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvd})">Depth mTVD:</fo:basic-link> </fo:block> 
     410                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_tvd})">Depth mTVD:</fo:basic-link>  </fo:block> 
    454411                                                        </fo:table-cell> 
    455412                                                        <fo:table-cell vertical-align="middle"> 
     
    460417                                                                </fo:block> 
    461418                                                        </fo:table-cell> 
    462                                                         <fo:table-cell vertical-align="middle"> 
    463                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdPlugTop})">Plug Back Depth mMD:</fo:basic-link> </fo:block> 
     419                                                </fo:table-row> 
     420                                                <fo:table-row> 
     421                                                        <fo:table-cell vertical-align="middle"> 
     422                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdPlugTop})">Plug Back Depth mMD:</fo:basic-link>  </fo:block> 
    464423                                                        </fo:table-cell> 
    465424                                                        <fo:table-cell vertical-align="middle"> 
     
    470429                                                                </fo:block> 
    471430                                                        </fo:table-cell> 
    472                                                 </fo:table-row> 
    473                                         </fo:table-body> 
    474                                 </fo:table> 
    475                                 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    476                                         <fo:table-column column-width="proportional-column-width(16.93)" column-number="1"/> 
    477                                         <fo:table-column column-width="proportional-column-width(16.637)" column-number="2"/> 
    478                                         <fo:table-column column-width="proportional-column-width(18.692)" column-number="3"/> 
    479                                         <fo:table-column column-width="proportional-column-width(47.74)" column-number="4"/> 
    480                                         <fo:table-body> 
    481                                                 <fo:table-row height="19.840px" overflow="hidden"> 
    482                                                         <fo:table-cell vertical-align="middle"> 
    483                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_distDrill})">Dist Drilled</fo:basic-link>  <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom)"><fo:inline> 
     431                                                        <fo:table-cell vertical-align="middle"> 
     432                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_distDrill})">Dist Drilled</fo:basic-link>  <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom)"><fo:inline> 
    484433<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom"/> 
    485 </fo:inline></xsl:if>:</fo:block> 
     434</fo:inline></xsl:if>: </fo:block> 
    486435                                                        </fo:table-cell> 
    487436                                                        <fo:table-cell vertical-align="middle"> 
     
    492441                                                                </fo:block> 
    493442                                                        </fo:table-cell> 
     443                                                </fo:table-row> 
     444                                                <fo:table-row> 
    494445                                                        <fo:table-cell vertical-align="middle"> 
    495446                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_ropCurrent})">Penetration Rate</fo:basic-link> <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent/@uom)"><fo:inline> 
    496447<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent/@uom"/> 
    497 </fo:inline></xsl:if>:</fo:block> 
     448</fo:inline></xsl:if>: </fo:block> 
    498449                                                        </fo:table-cell> 
    499450                                                        <fo:table-cell vertical-align="middle"> 
     
    504455                                                                </fo:block> 
    505456                                                        </fo:table-cell> 
    506                                                 </fo:table-row> 
    507                                                 <fo:table-row height="13.280px" overflow="hidden"> 
    508                                                         <fo:table-cell vertical-align="middle"> 
    509                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_diaHole})">Hole Dia </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom)"><fo:inline> 
     457                                                        <fo:table-cell vertical-align="middle"> 
     458                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_diaHole})">Hole Dia </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom)"><fo:inline> 
    510459<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom"/> 
    511 </fo:inline></xsl:if>:</fo:block> 
     460</fo:inline></xsl:if>: </fo:block> 
    512461                                                        </fo:table-cell> 
    513462                                                        <fo:table-cell vertical-align="middle"> 
     
    518467                                                                </fo:block> 
    519468                                                        </fo:table-cell> 
    520                                                         <fo:table-cell vertical-align="middle"> 
    521                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_presTestType})">Pressure Test Type:</fo:basic-link> </fo:block> 
     469                                                </fo:table-row> 
     470                                                <fo:table-row> 
     471                                                        <fo:table-cell vertical-align="middle"> 
     472                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_presTestType})">Pressure Test Type:</fo:basic-link>  </fo:block> 
    522473                                                        </fo:table-cell> 
    523474                                                        <fo:table-cell vertical-align="middle"> 
     
    528479                                                                </fo:block> 
    529480                                                        </fo:table-cell> 
    530                                                 </fo:table-row> 
    531                                         </fo:table-body> 
    532                                 </fo:table> 
    533                                 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 
    534                                         <fo:table-column column-width="proportional-column-width(16.960)" column-number="1"/> 
    535                                         <fo:table-column column-width="proportional-column-width(16.373)" column-number="2"/> 
    536                                         <fo:table-column column-width="proportional-column-width(16.667)" column-number="3"/> 
    537                                         <fo:table-column column-width="proportional-column-width(16.667)" column-number="4"/> 
    538                                         <fo:table-column column-width="proportional-column-width(16.667)" column-number="5"/> 
    539                                         <fo:table-column column-width="proportional-column-width(16.667)" column-number="6"/> 
    540                                         <fo:table-body> 
    541                                                 <fo:table-row> 
    542                                                         <fo:table-cell vertical-align="middle"> 
    543                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_strengthForm})">Formation Strength</fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom)"><fo:inline> 
     481                                                        <fo:table-cell vertical-align="middle"> 
     482                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_strengthForm})">Formation Strength</fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom)"><fo:inline> 
    544483<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom"/> 
    545 </fo:inline></xsl:if>:</fo:block> 
     484</fo:inline></xsl:if>: </fo:block> 
    546485                                                        </fo:table-cell> 
    547486                                                        <fo:table-cell vertical-align="middle"> 
     
    552491                                                                </fo:block> 
    553492                                                        </fo:table-cell> 
    554                                                         <fo:table-cell vertical-align="middle"> 
    555                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdStrengthForm})">Depth At Formation Strength mMD:</fo:basic-link> </fo:block> 
     493                                                </fo:table-row> 
     494                                                <fo:table-row> 
     495                                                        <fo:table-cell vertical-align="middle"> 
     496                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdStrengthForm})">Depth At Formation Strength mMD:</fo:basic-link>   </fo:block> 
    556497                                                        </fo:table-cell> 
    557498                                                        <fo:table-cell vertical-align="middle"> 
     
    563504                                                        </fo:table-cell> 
    564505                                                        <fo:table-cell vertical-align="middle"> 
    565                                                                 <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdStrengthForm})">Depth At Formation Strength mTVD</fo:basic-link>:</fo:block> 
     506                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_tvdStrengthForm})">Depth At Formation Strength mTVD</fo:basic-link>: </fo:block> 
    566507                                                        </fo:table-cell> 
    567508                                                        <fo:table-cell vertical-align="middle"> 
     
    577518                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_diaCsgLast})">Dia Last Casing</fo:basic-link>  <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast/@uom)"><fo:inline> 
    578519<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast/@uom"/> 
    579 </fo:inline></xsl:if>:</fo:block> 
     520</fo:inline></xsl:if>: </fo:block> 
    580521                                                        </fo:table-cell> 
    581522                                                        <fo:table-cell vertical-align="middle"> 
     
    587528                                                        </fo:table-cell> 
    588529                                                        <fo:table-cell vertical-align="middle"> 
    589                                                                 <fo:block font-weight="bold"> 
    590                                                                         <fo:basic-link external-destination="url({$url_mdCsgLast})">Depth At Last Casing mMD:</fo:basic-link> 
    591                                                                 </fo:block> 
     530                                                                <fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_mdCsgLast})">Depth At Last Casing mMD:</fo:basic-link> 
     531                                                                 </fo:block> 
    592532                                                        </fo:table-cell> 
    593533                                                        <fo:table-cell vertical-align="middle"> 
     
    598538                                                                </fo:block> 
    599539                                                        </fo:table-cell> 
    600                                                         <fo:table-cell vertical-align="middle"> 
    601                                                                 <fo:block font-weight="bold"> 
    602                                                                         <fo:basic-link external-destination="url({$url_tvdCsgLast})">Depth At Last Casing mTVD:</fo:basic-link> 
    603                                                                 </fo:block> 
     540                                                </fo:table-row> 
     541                                                <fo:table-row> 
     542                                                        <fo:table-cell vertical-align="middle"> 
     543                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdCsgLast})">Depth At Last Casing mTVD:</fo:basic-link> 
     544                                                                 </fo:block> 
    604545                                                        </fo:table-cell> 
    605546                                                        <fo:table-cell vertical-align="middle"> 
     
    609550</fo:inline></xsl:if> 
    610551                                                                </fo:block> 
     552                                                        </fo:table-cell> 
     553                                                        <fo:table-cell vertical-align="middle"> 
     554                                                                <fo:block font-size="11pt" font-weight="bold"> </fo:block> 
     555                                                        </fo:table-cell> 
     556                                                        <fo:table-cell vertical-align="middle"> 
     557                                                                <fo:block> </fo:block> 
    611558                                                        </fo:table-cell> 
    612559                                                </fo:table-row> 
     
    15571504                                                                                                        <fo:table-cell> 
    15581505                                                                                                                <fo:block> 
    1559                                                                                                                         <xsl:if test="string(witsml:topPlug)"><fo:inline> 
    1560 <xsl:value-of select="witsml:topPlug"/> 
    1561 </fo:inline></xsl:if> 
    1562                                                                                                                 </fo:block> 
    1563                                                                                                         </fo:table-cell> 
    1564                                                                                                         <fo:table-cell> 
    1565                                                                                                                 <fo:block> 
    1566                                                                                                                         <xsl:if test="string(witsml:botPlug)"><fo:inline> 
    1567 <xsl:value-of select="witsml:botPlug"/> 
    1568 </fo:inline></xsl:if> 
    1569                                                                                                                 </fo:block> 
    1570                                                                                                         </fo:table-cell> 
    1571                                                                                                         <fo:table-cell> 
    1572                                                                                                                 <fo:block> 
    1573                                                                                                                         <xsl:if test="string(not(witsml:plugBumped))"><fo:inline> 
    1574 <xsl:value-of select="not(witsml:plugBumped)"/> 
    1575 </fo:inline></xsl:if> 
     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> 
    15761520                                                                                                                </fo:block> 
    15771521                                                                                                        </fo:table-cell> 
     
    15851529                                                                                                        <fo:table-cell> 
    15861530                                                                                                                <fo:block> 
    1587                                                                                                                         <xsl:if test="string(not(witsml:floatHeld))"><fo:inline> 
    1588 <xsl:value-of select="not(witsml:floatHeld)"/> 
    1589 </fo:inline></xsl:if> 
     1531                                                                                                                        <xsl:if test="witsml:floatHeld='true'">yes</xsl:if> 
     1532                                                                                                                        <xsl:if test="witsml:floatHeld='false'">no</xsl:if> 
    15901533                                                                                                                </fo:block> 
    15911534                                                                                                        </fo:table-cell> 
     
    15991542                                                                                                        <fo:table-cell> 
    16001543                                                                                                                <fo:block> 
    1601                                                                                                                         <xsl:if test="string(witsml:annFlowAfter)"><fo:inline> 
    1602 <xsl:value-of select="witsml:annFlowAfter"/> 
    1603 </fo:inline></xsl:if> 
     1544                                                                                                                        <xsl:if test="witsml:annFlowAfter='true'">yes</xsl:if> 
     1545                                                                                                                        <xsl:if test="witsml:annFlowAfter='false'">no</xsl:if> 
    16041546                                                                                                                </fo:block> 
    16051547                                                                                                        </fo:table-cell> 
     
    16131555                                                                                                        <fo:table-cell> 
    16141556                                                                                                                <fo:block> 
    1615                                                                                                                         <xsl:if test="string(witsml:reciprocated)"><fo:inline> 
    1616 <xsl:value-of select="witsml:reciprocated"/> 
    1617 </fo:inline></xsl:if> 
    1618                                                                                                                 </fo:block> 
    1619                                                                                                         </fo:table-cell> 
    1620                                                                                                         <fo:table-cell> 
    1621                                                                                                                 <fo:block> 
    1622                                                                                                                         <xsl:if test="string(witsml:rotated)"><fo:inline> 
    1623 <xsl:value-of select="witsml:rotated"/> 
    1624 </fo:inline></xsl:if> 
     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> 
    16251565                                                                                                                </fo:block> 
    16261566                                                                                                        </fo:table-cell> 
     
    29002840                                                                                                <fo:table-cell> 
    29012841                                                                                                        <fo:block> 
    2902                                                                                                                 <xsl:if test="string(witsml:goodSeal)"><fo:inline> 
    2903 <xsl:value-of select="witsml:goodSeal"/> 
    2904 </fo:inline></xsl:if> 
     2842                                                                                                                <xsl:if test="witsml:goodSeal='true'">yes</xsl:if> 
     2843                                                                                                                <xsl:if test="witsml:goodSeal='false'">no</xsl:if> 
    29052844                                                                                                        </fo:block> 
    29062845                                                                                                </fo:table-cell> 
     
    30372976                        </fo:block> 
    30382977<xslt:comment> Lithology Information </xslt:comment> 
    3039                         <fo:block break-before="page" break-after="page"> 
     2978                        <fo:block> 
    30402979                                <xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/> 
    30412980                                <xsl:variable name="url_mdTop"> 
     
    36513590                                                                                                </fo:table-cell> 
    36523591                                                                                                <fo:table-cell> 
    3653                                                                                                         <fo:block> 
    3654                                                                                                                 <xslt:comment>&lt;xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/&gt;</xslt:comment> 
     3592                                                                                                        <fo:block><xslt:comment>&lt;xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/&gt;</xslt:comment> 
    36553593                                                                                                                duration 
    36563594                                                                                                        </fo:block>