Changeset 152 for projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xsl
- Timestamp:
- 03/22/11 15:15:54 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xsl
r150 r152 2 2 <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"> 3 3 <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> 10 10 <xslt:param name="XFOutputFormat"/> 11 11 <!-- … … 88 88 <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/> 89 89 </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> 90 138 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 91 <fo:table-column column-width="proportional-column-width(1 6.49)" column-number="1"/>92 <fo:table-column column-width="proportional-column-width(1 6.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(4 8.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"/> 95 143 <fo:table-body> 96 144 <fo:table-row> … … 116 164 </fo:table-cell> 117 165 </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> 129 169 </fo:table-cell> 130 170 <fo:table-cell vertical-align="middle"> … … 146 186 </fo:table-cell> 147 187 </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> 153 192 </fo:table-cell> 154 193 <fo:table-cell vertical-align="middle"> … … 160 199 </fo:table-cell> 161 200 <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> 165 203 </fo:table-cell> 166 204 <fo:table-cell vertical-align="middle"> … … 172 210 </fo:table-cell> 173 211 </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> 187 216 </fo:table-cell> 188 217 <fo:table-cell vertical-align="middle"> … … 194 223 </fo:table-cell> 195 224 <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> 199 227 </fo:table-cell> 200 228 <fo:table-cell vertical-align="middle"> … … 206 234 </fo:table-cell> 207 235 </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> 223 240 </fo:table-cell> 224 241 <fo:table-cell vertical-align="middle"> … … 230 247 </fo:table-cell> 231 248 <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> 233 250 </fo:table-cell> 234 251 <fo:table-cell vertical-align="middle"> … … 239 256 </fo:block> 240 257 </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"> 243 285 <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> 245 287 </fo:table-cell> 246 288 <fo:table-cell vertical-align="middle"> … … 251 293 </fo:block> 252 294 </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> 281 297 <xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom"/> 282 298 </fo:inline></xsl:if>:</fo:block> … … 290 306 </fo:table-cell> 291 307 </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> 370 325 </fo:block> 371 326 </fo:table-cell> … … 375 330 <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> 376 331 <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> 378 333 </fo:table-cell> 379 334 <fo:table-cell vertical-align="middle"> … … 385 340 </fo:table-cell> 386 341 <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> 388 343 <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> 390 345 </fo:table-cell> 391 346 <fo:table-cell vertical-align="middle"> … … 397 352 </fo:table-cell> 398 353 </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> 412 367 </fo:table-cell> 413 368 <fo:table-cell vertical-align="middle"> … … 418 373 </fo:block> 419 374 </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> 422 379 </fo:table-cell> 423 380 <fo:table-cell vertical-align="middle"> … … 429 386 </fo:table-cell> 430 387 <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> 432 389 </fo:table-cell> 433 390 <fo:table-cell vertical-align="middle"> … … 441 398 <fo:table-row> 442 399 <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> 444 401 </fo:table-cell> 445 402 <fo:table-cell vertical-align="middle"> … … 451 408 </fo:table-cell> 452 409 <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> 454 411 </fo:table-cell> 455 412 <fo:table-cell vertical-align="middle"> … … 460 417 </fo:block> 461 418 </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> 464 423 </fo:table-cell> 465 424 <fo:table-cell vertical-align="middle"> … … 470 429 </fo:block> 471 430 </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> 484 433 <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> 486 435 </fo:table-cell> 487 436 <fo:table-cell vertical-align="middle"> … … 492 441 </fo:block> 493 442 </fo:table-cell> 443 </fo:table-row> 444 <fo:table-row> 494 445 <fo:table-cell vertical-align="middle"> 495 446 <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> 496 447 <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> 498 449 </fo:table-cell> 499 450 <fo:table-cell vertical-align="middle"> … … 504 455 </fo:block> 505 456 </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> 510 459 <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> 512 461 </fo:table-cell> 513 462 <fo:table-cell vertical-align="middle"> … … 518 467 </fo:block> 519 468 </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> 522 473 </fo:table-cell> 523 474 <fo:table-cell vertical-align="middle"> … … 528 479 </fo:block> 529 480 </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> 544 483 <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> 546 485 </fo:table-cell> 547 486 <fo:table-cell vertical-align="middle"> … … 552 491 </fo:block> 553 492 </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> 556 497 </fo:table-cell> 557 498 <fo:table-cell vertical-align="middle"> … … 563 504 </fo:table-cell> 564 505 <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> 566 507 </fo:table-cell> 567 508 <fo:table-cell vertical-align="middle"> … … 577 518 <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> 578 519 <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> 580 521 </fo:table-cell> 581 522 <fo:table-cell vertical-align="middle"> … … 587 528 </fo:table-cell> 588 529 <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> 592 532 </fo:table-cell> 593 533 <fo:table-cell vertical-align="middle"> … … 598 538 </fo:block> 599 539 </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> 604 545 </fo:table-cell> 605 546 <fo:table-cell vertical-align="middle"> … … 609 550 </fo:inline></xsl:if> 610 551 </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> 611 558 </fo:table-cell> 612 559 </fo:table-row> … … 1557 1504 <fo:table-cell> 1558 1505 <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> 1576 1520 </fo:block> 1577 1521 </fo:table-cell> … … 1585 1529 <fo:table-cell> 1586 1530 <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> 1590 1533 </fo:block> 1591 1534 </fo:table-cell> … … 1599 1542 <fo:table-cell> 1600 1543 <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> 1604 1546 </fo:block> 1605 1547 </fo:table-cell> … … 1613 1555 <fo:table-cell> 1614 1556 <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> 1625 1565 </fo:block> 1626 1566 </fo:table-cell> … … 2900 2840 <fo:table-cell> 2901 2841 <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> 2905 2844 </fo:block> 2906 2845 </fo:table-cell> … … 3037 2976 </fo:block> 3038 2977 <xslt:comment> Lithology Information </xslt:comment> 3039 <fo:block break-before="page" break-after="page">2978 <fo:block> 3040 2979 <xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/> 3041 2980 <xsl:variable name="url_mdTop"> … … 3651 3590 </fo:table-cell> 3652 3591 <fo:table-cell> 3653 <fo:block> 3654 <xslt:comment><xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/></xslt:comment> 3592 <fo:block><xslt:comment><xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/></xslt:comment> 3655 3593 duration 3656 3594 </fo:block>