[5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <xsl:stylesheet version="1.0" |
---|
| 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
| 4 | xmlns:witsml="http://www.witsml.org/schemas/1series" |
---|
| 5 | xmlns:sawsdl="http://www.w3.org/ns/sawsdl" |
---|
| 6 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
---|
| 7 | |
---|
| 8 | <xsl:output method="html" version="1.0" encoding="UTF-8" |
---|
| 9 | indent="yes" /> |
---|
| 10 | <!-- import the schema enables sawsdl:modelReference lookup --> |
---|
| 11 | <xsd:import namespace="http://www.witsml.org/schemas/1series" |
---|
| 12 | schemaLocation="WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd"/> |
---|
| 13 | |
---|
| 14 | <!-- A global variable for the Drill Report schema file name. Required for URL lookup of element definitions in RDL --> |
---|
| 15 | <xsl:variable name="ddrSchema" select="'WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd'"/> |
---|
| 16 | <xsl:template match="/"> |
---|
| 17 | |
---|
| 18 | <html> |
---|
| 19 | <head> |
---|
| 20 | <link href="css_ddrHtmlReport.css" type="text/css" rel="stylesheet" /> |
---|
| 21 | </head> |
---|
| 22 | |
---|
| 23 | <body> |
---|
| 24 | <xsl:variable name="urlRDS" select="'http://www.posccaesar.org'"/> |
---|
| 25 | <xsl:for-each select="witsml:drillReports/witsml:drillReport"> |
---|
| 26 | <table width="1000" cellspacing="1" cellpadding="1"> |
---|
| 27 | <tr class="light"> |
---|
| 28 | <td> |
---|
| 29 | <table id="table1" width="100%"> |
---|
| 30 | <tr> |
---|
| 31 | <td width="40%" align="left" class="ReportHeader">Summary report Wellbore: <xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name" /></td> |
---|
| 32 | <td width="60%" align="right" class="ReportHeader">End time: <xsl:value-of select="substring(witsml:dTimEnd, 0,17)" /> </td> |
---|
| 33 | </tr> |
---|
| 34 | </table> |
---|
| 35 | </td> |
---|
| 36 | </tr> |
---|
| 37 | <tr height="5px"> |
---|
| 38 | <td><hr size="4px" color="black" /></td> |
---|
| 39 | </tr> |
---|
| 40 | <tr class="light"> |
---|
| 41 | <xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/> |
---|
| 42 | <td> |
---|
| 43 | <table id="table1"> |
---|
| 44 | <tr class="light"> |
---|
| 45 | <xsl:variable name="url_wellboreAlias"><xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='wellboreInfo']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 46 | <td class="ColHead"><a target="_blank" href="{$urlRDS}">Wellbore:</a></td> |
---|
| 47 | <td class="light"><xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name" /></td> |
---|
| 48 | <td class="ColHead"><a target="_blank" href="{$urlRDS}">Wellbore Id:</a></td> |
---|
| 49 | <td class="light"><xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name" /></td> |
---|
| 50 | <td colspan="2"/> |
---|
| 51 | </tr> |
---|
| 52 | <tr class="light"> |
---|
| 53 | <xsl:variable name="url_versionKind"><xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 54 | <xsl:variable name="url_createDate"><xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 55 | <td class="dark"><a href="{$url_versionKind}" target="_blank">Status:</a></td> |
---|
| 56 | <td><xsl:value-of select="witsml:versionKind" /></td> |
---|
| 57 | <td class="dark"><a href="{$url_createDate}" target="_blank">Created Date:</a></td> |
---|
| 58 | <td colspan="3"><xsl:value-of select="witsml:createDate" /></td> |
---|
| 59 | </tr> |
---|
| 60 | <tr class="light"> |
---|
| 61 | <td class="ColHead">Period:</td> |
---|
| 62 | <td colspan="5"><xsl:value-of select="substring(witsml:dTimStart, 0,17)" /> - <xsl:value-of select="substring(witsml:dTimEnd, 0,17)" /></td> |
---|
| 63 | </tr> |
---|
| 64 | <tr height="5px"> |
---|
| 65 | <td colspan="6" /> |
---|
| 66 | </tr> |
---|
| 67 | |
---|
| 68 | <xsl:apply-templates select="witsml:wellboreInfo" /> |
---|
| 69 | <!-- Well Status Info --> |
---|
| 70 | <xsl:apply-templates select="witsml:statusInfo" /> |
---|
| 71 | |
---|
| 72 | </table> |
---|
| 73 | </td> |
---|
| 74 | </tr> |
---|
| 75 | <tr height="5px"> |
---|
| 76 | <td/> |
---|
| 77 | </tr> |
---|
| 78 | <tr> |
---|
| 79 | <td><HR/></td> |
---|
| 80 | </tr> |
---|
| 81 | <tr> |
---|
| 82 | <td class="SectionHead">Summary of Activities (24 Hours)</td> |
---|
| 83 | </tr> |
---|
| 84 | <tr> |
---|
| 85 | <td class="light"><xsl:value-of select="witsml:statusInfo/witsml:sum24Hr" /></td> |
---|
| 86 | </tr> |
---|
| 87 | <tr height="5px"> |
---|
| 88 | <td/> |
---|
| 89 | </tr> |
---|
| 90 | <tr> |
---|
| 91 | <td><HR/></td> |
---|
| 92 | </tr> |
---|
| 93 | <tr> |
---|
| 94 | <td class="SectionHead">Summary of Planned Activities (Next 24 Hours)</td> |
---|
| 95 | </tr> |
---|
| 96 | <tr> |
---|
| 97 | <td class="light" ><xsl:value-of select="witsml:statusInfo/witsml:forecast24Hr" /></td> |
---|
| 98 | </tr> |
---|
| 99 | |
---|
| 100 | <!-- Operation Mode --> |
---|
| 101 | <xsl:if test="count(witsml:activity) > 0"> |
---|
| 102 | <tr height="5px"> |
---|
| 103 | <td/> |
---|
| 104 | </tr> |
---|
| 105 | <tr> |
---|
| 106 | <td><HR/></td> |
---|
| 107 | </tr> |
---|
| 108 | <tr> |
---|
| 109 | <td class="SectionHead">Operation</td> |
---|
| 110 | </tr> |
---|
| 111 | <tr> |
---|
| 112 | <td> |
---|
| 113 | <table id="table1"> |
---|
| 114 | <xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/> |
---|
| 115 | <xsl:variable name="url_dTimStart"><xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 116 | <xsl:variable name="url_dTimEnd"><xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 117 | <xsl:variable name="url_md"><xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 118 | <xsl:variable name="url_proprietaryCode"><xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 119 | <xsl:variable name="url_state"><xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 120 | <xsl:variable name="url_comments"><xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 121 | <tr> |
---|
| 122 | <td width="50" align="left" valign="top"><a href="{$url_dTimStart}" target="_blank">Start Time</a></td> |
---|
| 123 | <td width="50" align="left" valign="top"><a href="{$url_dTimEnd}" target="_blank">End Time</a></td> |
---|
| 124 | <td width="60" align="left" valign="top"><a href="{$url_md}" target="_blank">Depth mMD</a></td> |
---|
| 125 | <td width="120" align="left" valign="top"><a href="{$url_proprietaryCode}" target="_blank">Main Oper Class</a></td> |
---|
| 126 | <td width="80" align="left" valign="top"><a href="{$url_state}" target="_blank">Main Oper Eval Class</a></td> |
---|
| 127 | <td align="left" valign="top"><a href="{$url_comments}" target="_blank"><b>Remark</b></a></td> |
---|
| 128 | </tr> |
---|
| 129 | <xsl:for-each select="witsml:activity"> |
---|
| 130 | <tr class="light"> |
---|
| 131 | <td valign="top"><xsl:value-of select="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/></td> |
---|
| 132 | <td valign="top"><xsl:value-of select="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/></td> |
---|
| 133 | <td valign="top"><xsl:value-of select="witsml:md"/></td> |
---|
| 134 | <td valign="top"><xsl:value-of select="witsml:proprietaryCode"/></td> |
---|
| 135 | <td valign="top"><xsl:value-of select="witsml:state"/></td> |
---|
| 136 | <td><xsl:value-of select="witsml:comments"/></td> |
---|
| 137 | </tr> |
---|
| 138 | </xsl:for-each><!--"witsml:activity" --> |
---|
| 139 | </table> |
---|
| 140 | </td> |
---|
| 141 | </tr> |
---|
| 142 | </xsl:if> |
---|
| 143 | |
---|
| 144 | <!-- equipFailureInfo --> |
---|
| 145 | <xsl:if test="count(witsml:equipFailureInfo) > 0"> |
---|
| 146 | <tr height="5px"> |
---|
| 147 | <td/> |
---|
| 148 | </tr> |
---|
| 149 | <tr> |
---|
| 150 | <td><hr/></td> |
---|
| 151 | </tr> |
---|
| 152 | <tr> |
---|
| 153 | <td class="SectionHead">Equipment Failure Information</td> |
---|
| 154 | </tr> |
---|
| 155 | <tr> |
---|
| 156 | <td> |
---|
| 157 | <table id="table1"> |
---|
| 158 | <xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/> |
---|
| 159 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 160 | <xsl:variable name="url_md"><xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 161 | <xsl:variable name="url_equipClass"><xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 162 | <xsl:variable name="url_eTimMissProduction"><xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 163 | <xsl:variable name="url_dTimRepair"><xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 164 | <xsl:variable name="url_description"><xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 165 | <tr> |
---|
| 166 | <td width="80" align="left" valign="top"><a href="{$url_dTim}" target="_blank">Start</a></td> |
---|
| 167 | <td width="60" align="left" valign="top"><a href="{$url_md}" target="_blank">Depth mMD</a></td> |
---|
| 168 | <td width="120" align="left" valign="top"><a href="{$url_equipClass}" target="_blank">Sub Equip Syst Class</a></td> |
---|
| 169 | <td width="60" align="center" valign="top"> |
---|
| 170 | <table id="two" width="100%"> |
---|
| 171 | <tr> |
---|
| 172 | <td align="center"><a href="{$url_eTimMissProduction}" target="_blank" valign="top">Operation Downtime</a></td> |
---|
| 173 | </tr> |
---|
| 174 | <tr> |
---|
| 175 | <td align="center" class="ColHead"><xsl:value-of select="witsml:equipFailureInfo/witsml:eTimMissProduction/@uom"/></td> |
---|
| 176 | </tr> |
---|
| 177 | </table> |
---|
| 178 | </td> |
---|
| 179 | <td width="80" align="left" valign="top"><a href="{$url_dTimRepair}" target="_blank">Equipment Repaired</a></td> |
---|
| 180 | <td align="left" valign="top"><a href="{$url_description}" target="_blank">Equip Failure Description</a></td> |
---|
| 181 | </tr> |
---|
| 182 | <xsl:for-each select="witsml:equipFailureInfo"> |
---|
| 183 | <tr class="light"> |
---|
| 184 | <td valign="top"><xsl:value-of select="substring(witsml:dTim, 0, 17)"/></td> |
---|
| 185 | <td valign="top"><xsl:value-of select="witsml:md"/></td> |
---|
| 186 | <td valign="top"><xsl:value-of select="witsml:equipClass"/></td> |
---|
| 187 | <td valign="top" align="center"><xsl:value-of select="witsml:eTimMissProduction"/></td> |
---|
| 188 | <td valign="top"><xsl:value-of select="substring(witsml:dTimRepair, 0 ,17)"/></td> |
---|
| 189 | <td valign="top"><xsl:value-of select="witsml:description"/></td> |
---|
| 190 | </tr> |
---|
| 191 | </xsl:for-each> |
---|
| 192 | </table> |
---|
| 193 | </td> |
---|
| 194 | </tr> |
---|
| 195 | </xsl:if> |
---|
| 196 | |
---|
| 197 | |
---|
| 198 | <!-- Bit Record --> |
---|
| 199 | <xsl:if test="count(witsml:bitRecord) > 0"> |
---|
| 200 | <tr height="5px"><td/></tr> |
---|
| 201 | <tr><td><hr /></td></tr> |
---|
| 202 | <tr> |
---|
| 203 | <td class="SectionHead">Bit record</td> |
---|
| 204 | </tr> |
---|
| 205 | <tr> |
---|
| 206 | <td> |
---|
| 207 | <table id="table1"> |
---|
| 208 | <xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/> |
---|
| 209 | <xsl:variable name="url_numBit"><xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 210 | <xsl:variable name="url_diaBit"><xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 211 | <xsl:variable name="url_codeMfg"><xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 212 | <xsl:variable name="url_manufacturer"><xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 213 | |
---|
| 214 | <tr> |
---|
| 215 | <td align="center" width="50" valign="top"><a target="_blank" href="{$url_numBit}">Run No</a></td> |
---|
| 216 | <td align="center" width="50" valign="top"><a target="_blank" href="{$url_diaBit}">Bit size <xsl:value-of select="witsml:bitRecord/witsml:diaBit/@uom" /></a></td> |
---|
| 217 | <td align="center" width="80" valign="top"><a target="_blank" href="{$url_codeMfg}">Bit Type</a></td> |
---|
| 218 | <td valign="top"><a target="_blank" href="{$url_manufacturer}">Manufacturer</a></td> |
---|
| 219 | </tr> |
---|
| 220 | <xsl:for-each select="witsml:bitRecord"> |
---|
| 221 | <tr class="light"> |
---|
| 222 | <td align="center"> |
---|
| 223 | <xsl:value-of select="witsml:numBit" /> |
---|
| 224 | </td> |
---|
| 225 | <td align="center"> |
---|
| 226 | <xsl:value-of select="witsml:diaBit" /> |
---|
| 227 | </td> |
---|
| 228 | <td align="center"> |
---|
| 229 | <xsl:value-of select="witsml:codeMfg" /> |
---|
| 230 | </td> |
---|
| 231 | <td> |
---|
| 232 | <xsl:value-of select="witsml:manufacturer" /> |
---|
| 233 | </td> |
---|
| 234 | </tr> |
---|
| 235 | </xsl:for-each> |
---|
| 236 | </table> |
---|
| 237 | </td> |
---|
| 238 | </tr> |
---|
| 239 | </xsl:if> |
---|
| 240 | |
---|
| 241 | <!-- witsml:fluid --> |
---|
| 242 | <xsl:if test="count(witsml:fluid) > 0"> |
---|
| 243 | <tr height="5px"><td/></tr> |
---|
| 244 | <tr><td><hr /></td></tr> |
---|
| 245 | <tr> |
---|
| 246 | <td class="SectionHead">Drilling Fluid Information</td> |
---|
| 247 | </tr> |
---|
| 248 | <tr> |
---|
| 249 | <td> |
---|
| 250 | <table id="table2"> |
---|
| 251 | <xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_fluid']/xsd:sequence"/> |
---|
| 252 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 253 | <xsl:variable name="url_md"><xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 254 | <xsl:variable name="url_mudClass"><xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 255 | <xsl:variable name="url_density"><xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 256 | <xsl:variable name="url_pv"><xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 257 | <xsl:variable name="url_yp"><xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 258 | <tr> |
---|
| 259 | <td align="left" valign="top"><a target="_blank" href="{$url_dTim}">Sample Time</a> |
---|
| 260 | </td> |
---|
| 261 | <td align="center" width="60" valign="top"> |
---|
| 262 | <a target="_blank" href="{$url_md}">Depth At Logging mMD</a> |
---|
| 263 | </td> |
---|
| 264 | <td align="center" width="100" valign="top"> |
---|
| 265 | <a target="_blank" href="{$url_mudClass}">Fuild Type</a> |
---|
| 266 | </td> |
---|
| 267 | <td align="center" width="100" valign="top"> |
---|
| 268 | <a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:fluid/witsml:density/@uom" /></a> |
---|
| 269 | </td> |
---|
| 270 | <td align="center" width="120" valign="top"> |
---|
| 271 | <a target="_blank" href="{$url_pv}">Fluid Viscosity <xsl:value-of select="witsml:fluid/witsml:pv/@uom" /></a> |
---|
| 272 | </td> |
---|
| 273 | <td align="center" width="80" valign="top"> |
---|
| 274 | <a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:fluid/witsml:yp/@uom" /></a> |
---|
| 275 | </td> |
---|
| 276 | <td/> |
---|
| 277 | </tr> |
---|
| 278 | <xsl:for-each select="witsml:fluid"> |
---|
| 279 | <tr class="light"> |
---|
| 280 | <td> |
---|
| 281 | <xsl:value-of select="substring(witsml:dTim, 0, 17)" /> |
---|
| 282 | </td> |
---|
| 283 | <td align="center"> |
---|
| 284 | <xsl:value-of select="witsml:md" /> |
---|
| 285 | </td> |
---|
| 286 | <td align="center"> |
---|
| 287 | <xsl:value-of select="witsml:mudClass" /> |
---|
| 288 | </td> |
---|
| 289 | <td align="center"> |
---|
| 290 | <xsl:value-of select="witsml:density" /> |
---|
| 291 | </td> |
---|
| 292 | <td align="center"> |
---|
| 293 | <xsl:value-of select="witsml:pv" /> |
---|
| 294 | </td> |
---|
| 295 | <td align="center"> |
---|
| 296 | <xsl:value-of select="witsml:yp" /> |
---|
| 297 | </td> |
---|
| 298 | <td/> |
---|
| 299 | </tr> |
---|
| 300 | </xsl:for-each> |
---|
| 301 | |
---|
| 302 | </table> |
---|
| 303 | </td> |
---|
| 304 | </tr> |
---|
| 305 | </xsl:if> |
---|
| 306 | |
---|
| 307 | <!-- porePressure --> |
---|
| 308 | <xsl:if test="count(witsml:porePressure) > 0"> |
---|
| 309 | <tr height="5px"><td/></tr> |
---|
| 310 | <tr><td><hr /></td></tr> |
---|
| 311 | <tr> |
---|
| 312 | <td class="SectionHead">Pore Pressure</td> |
---|
| 313 | </tr> |
---|
| 314 | <tr> |
---|
| 315 | <td> |
---|
| 316 | <table id="table2"> |
---|
| 317 | <xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/> |
---|
| 318 | <xsl:variable name="url_readingKind"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 319 | <xsl:variable name="url_equivalentMudWeight"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 320 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 321 | <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 322 | <xsl:variable name="url_tvd"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 323 | <tr> |
---|
| 324 | <td align="center" valign="top"><a target="_blank" href="{$url_readingKind}">Reading</a> |
---|
| 325 | </td> |
---|
| 326 | <td align="center" width="100" valign="top"> |
---|
| 327 | <table id="two" width="100%"> |
---|
| 328 | <tr> |
---|
| 329 | <td align="center"><a href="{$url_equivalentMudWeight}" target="_blank">Equ Mud Weight</a></td> |
---|
| 330 | </tr> |
---|
| 331 | <tr> |
---|
| 332 | <td align="center" class="ColHead"><xsl:value-of select="witsml:porePressure/witsml:equivalentMudWeight/@uom"/></td> |
---|
| 333 | </tr> |
---|
| 334 | </table> |
---|
| 335 | </td> |
---|
| 336 | <td align="center" valign="top"> |
---|
| 337 | <a target="_blank" href="{$url_dTim}">Time</a> |
---|
| 338 | </td> |
---|
| 339 | <td align="center" width="60" valign="top"> |
---|
| 340 | <a target="_blank" href="{$url_md}">Depth mMD</a> |
---|
| 341 | </td> |
---|
| 342 | <td align="center" width="60" valign="top"> |
---|
| 343 | <a target="_blank" href="{$url_tvd}">Depth mTVD</a> |
---|
| 344 | </td> |
---|
| 345 | </tr> |
---|
| 346 | <xsl:for-each select="witsml:porePressure"> |
---|
| 347 | <tr class="light"> |
---|
| 348 | <td align="center"> |
---|
| 349 | <xsl:value-of select="witsml:readingKind" /> |
---|
| 350 | </td> |
---|
| 351 | <td align="center"> |
---|
| 352 | <xsl:value-of select="witsml:equivalentMudWeight" /> |
---|
| 353 | </td> |
---|
| 354 | <td align="center"> |
---|
| 355 | <xsl:value-of select="substring(witsml:dTim, 0 , 17)" /> |
---|
| 356 | </td> |
---|
| 357 | <td align="center"> |
---|
| 358 | <xsl:value-of select="witsml:md" /> |
---|
| 359 | </td> |
---|
| 360 | <td align="center"> |
---|
| 361 | <xsl:value-of select="witsml:tvd" /> |
---|
| 362 | </td> |
---|
| 363 | </tr> |
---|
| 364 | </xsl:for-each> |
---|
| 365 | </table> |
---|
| 366 | </td> |
---|
| 367 | </tr> |
---|
| 368 | </xsl:if> |
---|
| 369 | |
---|
| 370 | <!-- surveyStation --> |
---|
| 371 | <xsl:if test="count(witsml:surveyStation) > 0"> |
---|
| 372 | <tr height="5px"><td/></tr> |
---|
| 373 | <tr><td><hr/></td></tr> |
---|
| 374 | <tr> |
---|
| 375 | <td class="SectionHead">Survey Station</td> |
---|
| 376 | </tr> |
---|
| 377 | <tr> |
---|
| 378 | <td> |
---|
| 379 | <table id="table2"> |
---|
| 380 | <xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/> |
---|
| 381 | <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 382 | <xsl:variable name="url_tvd"><xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 383 | <xsl:variable name="url_incl"><xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 384 | <xsl:variable name="url_azi"><xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 385 | <tr> |
---|
| 386 | <td align="left" width="60" valign="top"> |
---|
| 387 | <a target="_blank" href="{$url_md}">Depth mMD</a> |
---|
| 388 | </td> |
---|
| 389 | <td align="left" width="60" valign="top"> |
---|
| 390 | <a target="_blank" href="{$url_tvd}">Depth mTVD</a> |
---|
| 391 | </td> |
---|
| 392 | <td align="left" width="70" valign="top"> |
---|
| 393 | <a target="_blank" href="{$url_incl}">Inclination deg</a> |
---|
| 394 | </td> |
---|
| 395 | <td align="left" width="60" valign="top"> |
---|
| 396 | <a target="_blank" href="{$url_azi}">Azimuth deg</a> |
---|
| 397 | </td> |
---|
| 398 | </tr> |
---|
| 399 | <xsl:for-each select="witsml:surveyStation"> |
---|
| 400 | <tr class="light"> |
---|
| 401 | <td> |
---|
| 402 | <xsl:value-of select="witsml:md" /> |
---|
| 403 | </td> |
---|
| 404 | <td> |
---|
| 405 | <xsl:value-of select="witsml:tvd" /> |
---|
| 406 | </td> |
---|
| 407 | <td> |
---|
| 408 | <xsl:value-of select="witsml:incl" /> |
---|
| 409 | </td> |
---|
| 410 | <td> |
---|
| 411 | <xsl:value-of select="witsml:azi" /> |
---|
| 412 | </td> |
---|
| 413 | </tr> |
---|
| 414 | </xsl:for-each> |
---|
| 415 | </table> |
---|
| 416 | </td> |
---|
| 417 | </tr> |
---|
| 418 | </xsl:if> |
---|
| 419 | |
---|
| 420 | <!-- logInfo --> |
---|
| 421 | <xsl:if test="count(witsml:logInfo) > 0"> |
---|
| 422 | <tr height="5px"><td/></tr> |
---|
| 423 | <tr><td><hr/></td></tr> |
---|
| 424 | <tr> |
---|
| 425 | <td class="SectionHead">Log Information</td> |
---|
| 426 | </tr> |
---|
| 427 | <tr> |
---|
| 428 | <td> |
---|
| 429 | <table id="table2"> |
---|
| 430 | <xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/> |
---|
| 431 | <xsl:variable name="url_serviceCompany"><xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 432 | <xsl:variable name="url_runNumber"><xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 433 | <xsl:variable name="url_mdTop"><xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 434 | <xsl:variable name="url_mdBottom"><xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 435 | <xsl:variable name="url_tool"><xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 436 | <xsl:variable name="url_tempBHCT"><xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 437 | <xsl:variable name="url_tempBHST"><xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 438 | <tr> |
---|
| 439 | <td colspan="2" align="left"> |
---|
| 440 | <a target="_blank" href="{$url_serviceCompany}">Logging company:</a> |
---|
| 441 | </td> |
---|
| 442 | <td colspan="6"> |
---|
| 443 | <xsl:value-of select="witsml:serviceCompany" /> |
---|
| 444 | </td> |
---|
| 445 | </tr> |
---|
| 446 | <tr> |
---|
| 447 | <td align="center" width="30" valign="top"> |
---|
| 448 | <a target="_blank" href="{$url_runNumber}">Run No</a> |
---|
| 449 | </td> |
---|
| 450 | <td align="center" width="60" valign="top"> |
---|
| 451 | <a target="_blank" href="{$url_mdTop}">Depth Top mMD</a> |
---|
| 452 | </td> |
---|
| 453 | <td align="center" width="60" valign="top"> |
---|
| 454 | <a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a> |
---|
| 455 | </td> |
---|
| 456 | <td align="center" width="100" valign="top"> |
---|
| 457 | <a target="_blank" href="{$url_tool}">Tool</a> |
---|
| 458 | </td> |
---|
| 459 | <td align="center" width="60" valign="top"> |
---|
| 460 | <table id="two"> |
---|
| 461 | <tr> |
---|
| 462 | <td align="center"><a href="{$url_tempBHCT}" target="_blank">BHCT</a></td> |
---|
| 463 | </tr> |
---|
| 464 | <tr> |
---|
| 465 | <td align="center" class="ColHead"><xsl:value-of select="witsml:logInfo/witsml:tempBHCT/@uom" /></td> |
---|
| 466 | </tr> |
---|
| 467 | </table> |
---|
| 468 | </td> |
---|
| 469 | <td align="center" width="60" valign="top"> |
---|
| 470 | <table id="two" width="100%"> |
---|
| 471 | <tr> |
---|
| 472 | <td align="center"><a href="{$url_tempBHST}" target="_blank">BHST</a></td> |
---|
| 473 | </tr> |
---|
| 474 | <tr> |
---|
| 475 | <td align="center" class="ColHead"><xsl:value-of select="witsml:logInfo/witsml:tempBHST/@uom" /></td> |
---|
| 476 | </tr> |
---|
| 477 | </table> |
---|
| 478 | </td> |
---|
| 479 | <!-- |
---|
| 480 | <td align="center" width="80"> |
---|
| 481 | <table id="two" width="100%"> |
---|
| 482 | <tr> |
---|
| 483 | <td align="center"><a href="{$urlRDS}" target="_blank">Ellapsed time since circulation stopped</a></td> |
---|
| 484 | </tr> |
---|
| 485 | <tr> |
---|
| 486 | <td align="center" class="ColHead"><xsl:value-of select="witsml:logInfo/witsml:eTimStatic/@uom" /></td> |
---|
| 487 | </tr> |
---|
| 488 | </table> |
---|
| 489 | </td> |
---|
| 490 | <td align="center" width="100"> |
---|
| 491 | <table <table id="two" width="100%"> |
---|
| 492 | <tr> |
---|
| 493 | <td align="center"><a href="{$urlRDS}" target="_blank">Depth to the temperature measurement tool</a></td> |
---|
| 494 | </tr> |
---|
| 495 | <tr> |
---|
| 496 | <td align="center" class="ColHead">(mMD</td> |
---|
| 497 | </tr> |
---|
| 498 | </table> |
---|
| 499 | </td> |
---|
| 500 | --> |
---|
| 501 | </tr> |
---|
| 502 | <xsl:for-each select="witsml:logInfo"> |
---|
| 503 | <tr class="light"> |
---|
| 504 | <td align="center"> |
---|
| 505 | <xsl:value-of select="witsml:runNumber" /> |
---|
| 506 | </td> |
---|
| 507 | <td align="center"> |
---|
| 508 | <xsl:value-of select="witsml:mdTop" /> |
---|
| 509 | </td> |
---|
| 510 | <td align="center"> |
---|
| 511 | <xsl:value-of select="witsml:mdBottom" /> |
---|
| 512 | </td> |
---|
| 513 | <td align="center"> |
---|
| 514 | <xsl:value-of select="witsml:tool" /> |
---|
| 515 | </td> |
---|
| 516 | <td align="center"> |
---|
| 517 | <xsl:value-of select="witsml:tempBHCT" /> |
---|
| 518 | </td> |
---|
| 519 | <td align="center"> |
---|
| 520 | <xsl:value-of select="witsml:tempBHST" /> |
---|
| 521 | </td> |
---|
| 522 | <!-- |
---|
| 523 | <td align="center"> |
---|
| 524 | <xsl:value-of select="witsml:eTimStatic" /> |
---|
| 525 | </td> |
---|
| 526 | <td align="center"> |
---|
| 527 | <xsl:value-of select="witsml:mdTempTool" /> |
---|
| 528 | </td> |
---|
| 529 | --> |
---|
| 530 | </tr> |
---|
| 531 | </xsl:for-each> |
---|
| 532 | </table> |
---|
| 533 | </td> |
---|
| 534 | </tr> |
---|
| 535 | </xsl:if> |
---|
| 536 | |
---|
| 537 | <!-- coreInfo --> |
---|
| 538 | <xsl:if test="count(witsml:coreInfo) > 0"> |
---|
| 539 | <tr height="5px"><td/></tr> |
---|
| 540 | <tr><td><hr/></td></tr> |
---|
| 541 | <tr> |
---|
| 542 | <td class="SectionHead">Core Information</td> |
---|
| 543 | </tr> |
---|
| 544 | <tr> |
---|
| 545 | <td> |
---|
| 546 | <table id="table2"> |
---|
| 547 | <xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/> |
---|
| 548 | <xsl:variable name="url_coreNumber"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 549 | <xsl:variable name="url_mdTop"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 550 | <xsl:variable name="url_mdBottom"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 551 | <xsl:variable name="url_lenRecovered"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 552 | <xsl:variable name="url_recoverPc"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 553 | <xsl:variable name="url_lenBarrel"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 554 | <xsl:variable name="url_innerBarrelType"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 555 | <xsl:variable name="url_coreDescription"><xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 556 | <tr> |
---|
| 557 | <td width="40" align="center" valign="top"> |
---|
| 558 | <a target="_blank" href="{$url_coreNumber}">Core No</a> |
---|
| 559 | </td> |
---|
| 560 | <td width="60" align="center" valign="top"> |
---|
| 561 | <a target="_blank" href="{$url_mdTop}">Depth Top mMD</a> |
---|
| 562 | </td> |
---|
| 563 | <td width="60" align="center" valign="top"> |
---|
| 564 | <a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a> |
---|
| 565 | </td> |
---|
| 566 | <td width="60" align="center" valign="top"> |
---|
| 567 | <table id="two"> |
---|
| 568 | <tr> |
---|
| 569 | <td align="center"><a href="{$url_lenRecovered}" target="_blank">Core length</a></td> |
---|
| 570 | </tr> |
---|
| 571 | <tr> |
---|
| 572 | <td align="center" class="ColHead">m</td> |
---|
| 573 | </tr> |
---|
| 574 | </table> |
---|
| 575 | </td> |
---|
| 576 | <td width="60" align="center" valign="top"> |
---|
| 577 | <table id="two" width="100%"> |
---|
| 578 | <tr> |
---|
| 579 | <td align="center"><a href="{$url_recoverPc}" target="_blank">Recover core</a></td> |
---|
| 580 | </tr> |
---|
| 581 | <tr> |
---|
| 582 | <td align="center" class="ColHead">%</td> |
---|
| 583 | </tr> |
---|
| 584 | </table> |
---|
| 585 | </td> |
---|
| 586 | <td width="60" align="center" valign="top"> |
---|
| 587 | <table id="two" width="100%"> |
---|
| 588 | <tr> |
---|
| 589 | <td align="center"><a href="{$url_lenBarrel}" target="_blank">Core barrel length</a></td> |
---|
| 590 | </tr> |
---|
| 591 | <tr> |
---|
| 592 | <td align="center" class="ColHead">m</td> |
---|
| 593 | </tr> |
---|
| 594 | </table> |
---|
| 595 | </td> |
---|
| 596 | <td width="120" align="center" valign="top"><a target="_blank" href="{$url_innerBarrelType}">Inner barrel type</a></td> |
---|
| 597 | <td align="left" valign="top"><a target="_blank" href="{$url_coreDescription}">Description</a></td> |
---|
| 598 | </tr> |
---|
| 599 | <xsl:for-each select="witsml:coreInfo"> |
---|
| 600 | <tr class="light"> |
---|
| 601 | <td valign="top" align="center"><xsl:value-of select="witsml:coreNumber"/></td> |
---|
| 602 | <td valign="top" align="center"><xsl:value-of select="witsml:mdTop"/></td> |
---|
| 603 | <td valign="top" align="center"><xsl:value-of select="witsml:mdBottom"/></td> |
---|
| 604 | <td valign="top" align="center"><xsl:value-of select="witsml:lenRecovered"/></td> |
---|
| 605 | <td valign="top" align="center"><xsl:value-of select="witsml:recoverPc"/></td> |
---|
| 606 | <td valign="top" align="center"><xsl:value-of select="witsml:lenBarrel"/></td> |
---|
| 607 | <td valign="top" align="center"><xsl:value-of select="witsml:innerBarrelType"/></td> |
---|
| 608 | <td><xsl:value-of select="witsml:coreDescription"/></td> |
---|
| 609 | </tr> |
---|
| 610 | </xsl:for-each> |
---|
| 611 | </table> |
---|
| 612 | </td> |
---|
| 613 | </tr> |
---|
| 614 | </xsl:if> |
---|
| 615 | |
---|
| 616 | <!-- wellTestInfo --> |
---|
| 617 | <xsl:if test="count(witsml:wellTestInfo) > 0"> |
---|
| 618 | <tr height="5px"><td/></tr> |
---|
| 619 | <tr><td><hr/></td></tr> |
---|
| 620 | <tr> |
---|
| 621 | <td class="SectionHead">Well Test Information</td> |
---|
| 622 | </tr> |
---|
| 623 | <tr> |
---|
| 624 | <td> |
---|
| 625 | <table id="table1"> |
---|
| 626 | <xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/> |
---|
| 627 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 628 | <xsl:variable name="url_testNumber"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 629 | <xsl:variable name="url_testType"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 630 | <xsl:variable name="url_mdTop"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 631 | <xsl:variable name="url_mdBottom"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 632 | <xsl:variable name="url_chokeOrificeSize"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 633 | <xsl:variable name="url_densityOil"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 634 | <xsl:variable name="url_flowRateOil"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 635 | <xsl:variable name="url_flowRateGas"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 636 | <xsl:variable name="url_flowRateWater"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 637 | <xsl:variable name="url_presShutIn"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 638 | <xsl:variable name="url_presFlowing"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 639 | <xsl:variable name="url_presBottom"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 640 | <xsl:variable name="url_gasOilRatio"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 641 | <xsl:variable name="url_waterOilRatio"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 642 | <xsl:variable name="url_chloride"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 643 | <xsl:variable name="url_carbonDioxide"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 644 | <xsl:variable name="url_hydrogenSulfide"><xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 645 | <tr> |
---|
| 646 | <td align="left" valign="top"><a href="{$url_dTim}" target="_blank">Time</a></td> |
---|
| 647 | <td align="left" valign="top"><a href="{$url_testNumber}" target="_blank">Test No.</a></td> |
---|
| 648 | <td align="left" valign="top"><a href="{$url_testType}" target="_blank">Type</a></td> |
---|
| 649 | <td align="left" valign="top"><a href="{$url_mdTop}" target="_blank">Depth Top mMD</a></td> |
---|
| 650 | <td align="left" valign="top"><a href="{$url_mdBottom}" target="_blank">Depth Bottom mMD</a></td> |
---|
| 651 | <!-- |
---|
| 652 | <td align="left"><a href="{$urlRDS}" target="_blank">TVD to Top</a></td> |
---|
| 653 | <td align="left"><a href="{$urlRDS}" target="_blank">TVD to Bottom</a></td> |
---|
| 654 | --> |
---|
| 655 | <td align="left" valign="top"> |
---|
| 656 | <table id="two"> |
---|
| 657 | <tr><td><a href="{$url_chokeOrificeSize}" target="_blank">Choke Orifice Size</a></td></tr> |
---|
| 658 | <tr><td><a href="{$url_chokeOrificeSize}" target="_blank"><xsl:value-of select="witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/></a></td></tr> |
---|
| 659 | </table> |
---|
| 660 | </td> |
---|
| 661 | <td align="left" valign="top"><a href="{$url_densityOil}" target="_blank">Density Crude Oil <xsl:value-of select="witsml:wellTestInfo/witsml:densityOil/@uom"/></a></td> |
---|
| 662 | <td align="left" valign="top"><a href="{$url_flowRateOil}" target="_blank">Oil Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateOil/@uom"/></a></td> |
---|
| 663 | <td align="left" valign="top"><a href="{$url_flowRateGas}" target="_blank">Gas Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateGas/@uom"/></a></td> |
---|
| 664 | <td align="left" valign="top"><a href="{$url_flowRateWater}" target="_blank">Water Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateWater/@uom"/></a></td> |
---|
| 665 | <td align="left" valign="top"><a href="{$url_presShutIn}" target="_blank">Shut in Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presShutIn/@uom"/></a></td> |
---|
| 666 | <td align="left" valign="top"><a href="{$url_presFlowing}" target="_blank">Flow Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presFlowing/@uom"/></a></td> |
---|
| 667 | <td align="left" valign="top"><a href="{$url_presBottom}" target="_blank">Bottom Hole Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presBottom/@uom"/></a></td> |
---|
| 668 | <td align="left" valign="top"><a href="{$url_gasOilRatio}" target="_blank">Gas Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:gasOilRatio/@uom"/></a></td> |
---|
| 669 | <td align="left" valign="top"><a href="{$url_waterOilRatio}" target="_blank">Water Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:waterOilRatio/@uom"/></a></td> |
---|
| 670 | <td align="left" valign="top"><a href="{$url_chloride}" target="_blank">Chloride Content <xsl:value-of select="witsml:wellTestInfo/witsml:chloride/@uom"/></a></td> |
---|
| 671 | <td align="left" valign="top"><a href="{$url_carbonDioxide}" target="_blank">CO2 Content <xsl:value-of select="witsml:wellTestInfo/witsml:carbonDioxide/@uom"/></a></td> |
---|
| 672 | <td align="left" valign="top"><a href="{$url_hydrogenSulfide}" target="_blank">H2S Content <xsl:value-of select="witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/></a></td> |
---|
| 673 | <!-- |
---|
| 674 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volOilTotal/@uom"/></a></td> |
---|
| 675 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Gas Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volGasTotal/@uom"/></a></td> |
---|
| 676 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Water Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volWaterTotal/@uom"/></a></td> |
---|
| 677 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Stored <xsl:value-of select="witsml:wellTestInfo/witsml:volOilStored/@uom"/></a></td> |
---|
| 678 | --> |
---|
| 679 | </tr> |
---|
| 680 | <xsl:for-each select="witsml:wellTestInfo"> |
---|
| 681 | <tr class="light"> |
---|
| 682 | <td><xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/></td> |
---|
| 683 | <td><xsl:value-of select="witsml:testNumber"/></td> |
---|
| 684 | <td><xsl:value-of select="witsml:testType"/></td> |
---|
| 685 | <td><xsl:value-of select="witsml:mdTop"/></td> |
---|
| 686 | <td><xsl:value-of select="witsml:mdBottom"/></td> |
---|
| 687 | <!-- |
---|
| 688 | <td><xsl:value-of select="witsml:tvdTop"/> <xsl:value-of select="witsml:tvdTop/@uom"/></td> |
---|
| 689 | <td><xsl:value-of select="witsml:tvdBottom"/> <xsl:value-of select="witsml:tvdBottom/@uom"/></td> |
---|
| 690 | --> |
---|
| 691 | <td><xsl:value-of select="witsml:chokeOrificeSize"/></td> |
---|
| 692 | <td><xsl:value-of select="witsml:densityOil"/></td> |
---|
| 693 | <td><xsl:value-of select="witsml:flowRateOil"/></td> |
---|
| 694 | <td><xsl:value-of select="witsml:flowRateGas"/></td> |
---|
| 695 | <td><xsl:value-of select="witsml:flowRateWater"/></td> |
---|
| 696 | <td><xsl:value-of select="witsml:presShutIn"/></td> |
---|
| 697 | <td><xsl:value-of select="witsml:presFlowing"/></td> |
---|
| 698 | <td><xsl:value-of select="witsml:presBottom"/></td> |
---|
| 699 | <td><xsl:value-of select="witsml:gasOilRatio"/></td> |
---|
| 700 | <td><xsl:value-of select="witsml:waterOilRatio"/></td> |
---|
| 701 | <td><xsl:value-of select="witsml:chloride"/></td> |
---|
| 702 | <td><xsl:value-of select="witsml:carbonDioxide"/></td> |
---|
| 703 | <td><xsl:value-of select="witsml:hydrogenSulfide"/></td> |
---|
| 704 | <!-- |
---|
| 705 | <td><xsl:value-of select="witsml:volOilTotal"/></td> |
---|
| 706 | <td><xsl:value-of select="witsml:volGasTotal"/></td> |
---|
| 707 | <td><xsl:value-of select="witsml:volWaterTotal"/></td> |
---|
| 708 | <td><xsl:value-of select="witsml:volOilStored"/></td> |
---|
| 709 | --> |
---|
| 710 | </tr> |
---|
| 711 | </xsl:for-each><!--"witsml:wellTestInfo" --> |
---|
| 712 | </table> |
---|
| 713 | </td> |
---|
| 714 | </tr> |
---|
| 715 | </xsl:if> |
---|
| 716 | |
---|
| 717 | <!-- Foramtion Test Info --> |
---|
| 718 | <xsl:if test="count(witsml:formTestInfo) > 0"> |
---|
| 719 | <tr height="5px"><td/></tr> |
---|
| 720 | <tr><td><hr/></td></tr> |
---|
| 721 | <tr> |
---|
| 722 | <td class="SectionHead">Formation Test</td> |
---|
| 723 | </tr> |
---|
| 724 | <tr> |
---|
| 725 | <td> |
---|
| 726 | <table id="table1"> |
---|
| 727 | <xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/> |
---|
| 728 | <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 729 | <xsl:variable name="url_presPore"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 730 | <xsl:variable name="url_goodSealm"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 731 | <xsl:variable name="url_mdSample"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 732 | <xsl:variable name="url_dominateComponent"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 733 | <xsl:variable name="url_densityHC"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 734 | <xsl:variable name="url_volumeSample"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 735 | <xsl:variable name="url_description"><xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 736 | <tr> |
---|
| 737 | <td width="60" align="center" valign="top"><a href="{$url_md}" target="_blank">Depth mMD</a></td> |
---|
| 738 | <td width="60" align="center" valign="top"> |
---|
| 739 | <table id="two" width="100%"> |
---|
| 740 | <tr> |
---|
| 741 | <td align="center"><a href="{$url_presPore}" target="_blank">Formation Pore Pressure</a></td> |
---|
| 742 | </tr> |
---|
| 743 | <tr> |
---|
| 744 | <td align="center" class="ColHead"><xsl:value-of select="witsml:formTestInfo/witsml:presPore/@uom"/></td> |
---|
| 745 | </tr> |
---|
| 746 | </table> |
---|
| 747 | </td> |
---|
| 748 | <td width="60" align="center" valign="top"><a href="{$url_goodSealm}" target="_blank">Good Seal Ind</a></td> |
---|
| 749 | <td width="60" align="center" valign="top"> |
---|
| 750 | <table id="two" width="100%"> |
---|
| 751 | <tr> |
---|
| 752 | <td align="center"><a href="{$url_mdSample}" target="_blank">Depth to Sample Point</a></td> |
---|
| 753 | </tr> |
---|
| 754 | <tr> |
---|
| 755 | <td align="center" class="ColHead">mMD</td> |
---|
| 756 | </tr> |
---|
| 757 | </table> |
---|
| 758 | </td> |
---|
| 759 | <td width="60" align="center" valign="top"><a href="{$url_dominateComponent}" target="_blank">Dominate Fluid Component</a></td> |
---|
| 760 | <td width="60" align="center" valign="top"> |
---|
| 761 | <table id="two" width="100%"> |
---|
| 762 | <tr> |
---|
| 763 | <td align="center"><a href="{$url_densityHC}" target="_blank">HC Component Density</a></td> |
---|
| 764 | </tr> |
---|
| 765 | <tr> |
---|
| 766 | <td align="center" class="ColHead"><xsl:value-of select="witsml:formTestInfo/witsml:densityHC/@uom"/></td> |
---|
| 767 | </tr> |
---|
| 768 | </table> |
---|
| 769 | </td> |
---|
| 770 | <td width="60" align="center" valign="top"> |
---|
| 771 | <table id="two" width="100%"> |
---|
| 772 | <tr> |
---|
| 773 | <td align="center"><a href="{$url_volumeSample}" target="_blank">Sample Volume</a></td> |
---|
| 774 | </tr> |
---|
| 775 | <tr> |
---|
| 776 | <td align="center" class="ColHead"><xsl:value-of select="witsml:formTestInfo/witsml:volumeSample/@uom"/></td> |
---|
| 777 | </tr> |
---|
| 778 | </table> |
---|
| 779 | </td> |
---|
| 780 | <td align="left" valign="top"><a href="{$url_description}" target="_blank">Description</a></td> |
---|
| 781 | </tr> |
---|
| 782 | <xsl:for-each select="witsml:formTestInfo"> |
---|
| 783 | <tr class="light"> |
---|
| 784 | <td valign="top" align="center"><xsl:value-of select="witsml:md"/></td> |
---|
| 785 | <td valign="top" align="center"><xsl:value-of select="witsml:presPore"/></td> |
---|
| 786 | <td valign="top" align="center"><xsl:value-of select="witsml:goodSeal"/></td> |
---|
| 787 | <td valign="top" align="center"><xsl:value-of select="witsml:mdSample"/></td> |
---|
| 788 | <td valign="top" align="center"><xsl:value-of select="witsml:dominateComponent"/></td> |
---|
| 789 | <td valign="top" align="center"><xsl:value-of select="witsml:densityHC"/></td> |
---|
| 790 | <td valign="top" align="center"><xsl:value-of select="witsml:volumeSample"/></td> |
---|
| 791 | <td><xsl:value-of select="witsml:description"/></td> |
---|
| 792 | </tr> |
---|
| 793 | </xsl:for-each><!--"witsml:formTestInfo" --> |
---|
| 794 | </table> |
---|
| 795 | </td> |
---|
| 796 | </tr> |
---|
| 797 | </xsl:if> |
---|
| 798 | |
---|
| 799 | <!-- stratInfo --> |
---|
| 800 | <xsl:if test="count(witsml:stratInfo) > 0"> |
---|
| 801 | <tr height="5px"><td/></tr> |
---|
| 802 | <tr><td><hr/></td></tr> |
---|
| 803 | <tr> |
---|
| 804 | <td class="SectionHead">Stratigraphic Information</td> |
---|
| 805 | </tr> |
---|
| 806 | <tr> |
---|
| 807 | <td> |
---|
| 808 | <table id="table1"> |
---|
| 809 | <xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/> |
---|
| 810 | <xsl:variable name="url_mdTop"><xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 811 | <xsl:variable name="url_tvdTop"><xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 812 | <xsl:variable name="url_description"><xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 813 | <tr> |
---|
| 814 | <td width="60" align="left" valign="top"><a href="{$url_mdTop}" target="_blank">Depth to Top of Formation mMD</a></td> |
---|
| 815 | <td width="60" align="left" valign="top"><a href="{$url_tvdTop}" target="_blank">Depth to Top of Formation mTVD</a></td> |
---|
| 816 | <td align="left" valign="top"><a href="{$url_description}" target="_blank"><b>Formation Name</b></a></td> |
---|
| 817 | </tr> |
---|
| 818 | <xsl:for-each select="witsml:stratInfo"> |
---|
| 819 | <tr class="light"> |
---|
| 820 | <td valign="top"><xsl:value-of select="witsml:mdTop"/></td> |
---|
| 821 | <td valign="top"><xsl:value-of select="witsml:tvdTop"/></td> |
---|
| 822 | <td><xsl:value-of select="witsml:description"/></td> |
---|
| 823 | </tr> |
---|
| 824 | </xsl:for-each> |
---|
| 825 | </table> |
---|
| 826 | </td> |
---|
| 827 | </tr> |
---|
| 828 | </xsl:if> |
---|
| 829 | |
---|
| 830 | <!-- lithShowInfo --> |
---|
| 831 | <xsl:if test="count(witsml:lithShowInfo) > 0"> |
---|
| 832 | <tr height="5px"><td/></tr> |
---|
| 833 | <tr><td><hr/></td></tr> |
---|
| 834 | <tr> |
---|
| 835 | <td class="SectionHead">Lithology Information</td> |
---|
| 836 | </tr> |
---|
| 837 | <tr> |
---|
| 838 | <td> |
---|
| 839 | <table id="table1"> |
---|
| 840 | <xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/> |
---|
| 841 | <xsl:variable name="url_mdTop"><xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 842 | <xsl:variable name="url_mdBottom"><xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 843 | <xsl:variable name="url_tvdTop"><xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 844 | <xsl:variable name="url_tvdBottom"><xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 845 | <xsl:variable name="url_show"><xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 846 | <xsl:variable name="url_lithology"><xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 847 | <tr> |
---|
| 848 | <td width="60" align="center" valign="top"><a href="{$url_mdTop}" target="_blank">Start Depth mMD</a></td> |
---|
| 849 | <td width="60" align="center" valign="top"><a href="{$url_mdBottom}" target="_blank">End Depth mMD</a></td> |
---|
| 850 | <td width="60" align="center" valign="top"><a href="{$url_tvdTop}" target="_blank">Start Depth mTVD</a></td> |
---|
| 851 | <td width="60" align="center" valign="top"><a href="{$url_tvdBottom}" target="_blank">End Depth mTVD</a></td> |
---|
| 852 | <td width="300" align="left" valign="top"><a href="{$url_show}" target="_blank">Shows Description</a></td> |
---|
| 853 | <td align="left" valign="top"><a href="{$url_lithology}" target="_blank"><b>Lithology Description</b></a></td> |
---|
| 854 | </tr> |
---|
| 855 | <xsl:for-each select="witsml:lithShowInfo"> |
---|
| 856 | <tr class="light"> |
---|
| 857 | <td valign="top" align="center"><xsl:value-of select="witsml:mdTop"/></td> |
---|
| 858 | <td valign="top" align="center"><xsl:value-of select="witsml:mdBottom"/></td> |
---|
| 859 | <td valign="top" align="center"><xsl:value-of select="witsml:tvdTop"/> </td> |
---|
| 860 | <td valign="top" align="center"><xsl:value-of select="witsml:tvdBottom"/></td> |
---|
| 861 | <td valign="top"><xsl:value-of select="witsml:show"/></td> |
---|
| 862 | <td valign="top"><xsl:value-of select="witsml:lithology"/></td> |
---|
| 863 | </tr> |
---|
| 864 | </xsl:for-each><!--"witsml:lithShowInfo" --> |
---|
| 865 | </table> |
---|
| 866 | </td> |
---|
| 867 | </tr> |
---|
| 868 | </xsl:if> |
---|
| 869 | |
---|
| 870 | |
---|
| 871 | |
---|
| 872 | |
---|
| 873 | <!-- controlIncidentInfo --> |
---|
| 874 | <xsl:for-each select="witsml:controlIncidentInfo"> |
---|
| 875 | <tr height="5px"><td/></tr> |
---|
| 876 | <tr><td><hr/></td></tr> |
---|
| 877 | <tr> |
---|
| 878 | <td class="SectionHead">Well Control Incident</td> |
---|
| 879 | </tr> |
---|
| 880 | <tr> |
---|
| 881 | <td> |
---|
| 882 | <table id="table1"> |
---|
| 883 | <xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/> |
---|
| 884 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 885 | <xsl:variable name="url_mdInflow"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 886 | <xsl:variable name="url_tvdInflow"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 887 | <xsl:variable name="url_eTimLost"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 888 | <xsl:variable name="url_dTimRegained"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 889 | <xsl:variable name="url_mdBit"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 890 | <xsl:variable name="url_wtMud"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 891 | <xsl:variable name="url_porePressure"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 892 | <xsl:variable name="url_mdCsgLast"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 893 | <xsl:variable name="url_volMudGained"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 894 | <xsl:variable name="url_presShutInCasing"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 895 | <xsl:variable name="url_presShutInDrill"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 896 | <xsl:variable name="url_incidentType"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 897 | <xsl:variable name="url_killingType"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 898 | <xsl:variable name="url_formation"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 899 | <xsl:variable name="url_tempBottom"><xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 900 | <tr> |
---|
| 901 | <td width="60" align="left" valign="top"><a href="{$url_dTim}" target="_blank">Date</a></td> |
---|
| 902 | <td width="60" align="left" valign="top"> |
---|
| 903 | <table width="100%"> |
---|
| 904 | <tr><td align="center"><a href="{$url_mdInflow}" target="_blank">Depth of Well</a></td></tr> |
---|
| 905 | <tr><td align="center" class="ColHead">mMD</td></tr> |
---|
| 906 | </table> |
---|
| 907 | </td> |
---|
| 908 | <td width="60" align="left" valign="top"> |
---|
| 909 | <table id="two" > |
---|
| 910 | <tr><td align="center"><a href="{$url_tvdInflow}" target="_blank">Depth of Well</a></td></tr> |
---|
| 911 | <tr><td align="center" class="ColHead">mTVD</td></tr> |
---|
| 912 | </table> |
---|
| 913 | </td> |
---|
| 914 | <td width="60" align="left" valign="top"> |
---|
| 915 | <table id="two" width="100%"> |
---|
| 916 | <tr><td align="center"><a href="{$url_eTimLost}" target="_blank">Lost Time</a></td></tr> |
---|
| 917 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:controlIncidentInfo/witsml:eTimLost/@uom"/></td></tr> |
---|
| 918 | </table> |
---|
| 919 | </td> |
---|
| 920 | <td width="60" align="left" valign="top"><a href="{$url_dTimRegained}" target="_blank">Time for Well Control Regain</a></td> |
---|
| 921 | <!-- |
---|
| 922 | <td width="60" align="left" valign="top"><a href="{$url_controlIncidentInfo}" target="_blank">Drill Bit Dia <xsl:value-of select="witsml:controlIncidentInfo/witsml:diaBit/@uom"/></a></td> |
---|
| 923 | --> |
---|
| 924 | <td width="60" align="left" valign="top"> |
---|
| 925 | <table id="two" width="100%"> |
---|
| 926 | <tr><td align="center"><a href="{$url_mdBit}" target="_blank">Depth at Bit</a></td></tr> |
---|
| 927 | <tr><td align="center" class="ColHead">mMD</td></tr> |
---|
| 928 | </table> |
---|
| 929 | </td> |
---|
| 930 | <td width="80" align="center" valign="top"> |
---|
| 931 | <table id="two" width="100%"> |
---|
| 932 | <tr><td align="center"><a href="{$url_wtMud}" target="_blank">Drilling Fluid Density</a></td></tr> |
---|
| 933 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:controlIncidentInfo/witsml:wtMud/@uom"/></td></tr> |
---|
| 934 | </table> |
---|
| 935 | </td> |
---|
| 936 | <td width="80" align="center" valign="top"> |
---|
| 937 | <table id="two" width="100%"> |
---|
| 938 | <tr><td align="center"><a href="{$url_porePressure}" target="_blank">Pore Pressure</a></td></tr> |
---|
| 939 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:controlIncidentInfo/witsml:porePressure/@uom"/></td></tr> |
---|
| 940 | </table> |
---|
| 941 | </td> |
---|
| 942 | <!-- |
---|
| 943 | <td width="80" align="left"><a href="{$url_controlIncidentInfo}" target="_blank">Dia of Last Casing <xsl:value-of select="witsml:controlIncidentInfo/witsml:diaCsgLast/@uom"/></a></td> |
---|
| 944 | --> |
---|
| 945 | <td width="80" align="center" valign="top"> |
---|
| 946 | <table id="two" width="100%"> |
---|
| 947 | <tr><td align="center"><a href="{$url_mdCsgLast}" target="_blank">Depth to Casing</a></td></tr> |
---|
| 948 | <tr><td align="center" class="ColHead">mMD</td></tr> |
---|
| 949 | </table> |
---|
| 950 | </td> |
---|
| 951 | <td width="80" align="center" valign="top"> |
---|
| 952 | <table id="two" width="100%"> |
---|
| 953 | <tr><td align="center"><a href="{$url_volMudGained}" target="_blank">Gained Vol of Fluid</a></td></tr> |
---|
| 954 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:controlIncidentInfo/witsml:volMudGained/@uom"/></td></tr> |
---|
| 955 | </table> |
---|
| 956 | </td> |
---|
| 957 | <td width="80" align="center" valign="top"> |
---|
| 958 | <table id="two" width="100%"> |
---|
| 959 | <tr><td align="center"><a href="{$url_presShutInCasing}" target="_blank">Shut in Casing Pressure</a></td></tr> |
---|
| 960 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInCasing/@uom"/></td></tr> |
---|
| 961 | </table> |
---|
| 962 | </td> |
---|
| 963 | <td width="80" align="center" valign="top"> |
---|
| 964 | <table id="two" width="100%"> |
---|
| 965 | <tr><td align="center"><a href="{$url_presShutInDrill}" target="_blank">Shut in Drill Pipe Pressure</a></td></tr> |
---|
| 966 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInDrill/@uom"/></td></tr> |
---|
| 967 | </table> |
---|
| 968 | </td> |
---|
| 969 | <td width="100" align="center" valign="top"><a href="{$url_incidentType}" target="_blank">Incident Class</a></td> |
---|
| 970 | <td width="100" align="center" valign="top"><a href="{$url_killingType}" target="_blank">Killing Procd</a></td> |
---|
| 971 | <td width="100" align="center" valign="top"><a href="{$url_formation}" target="_blank">Formation</a></td> |
---|
| 972 | <td width="80" align="center" valign="top"> |
---|
| 973 | <table id="two" width="100%"> |
---|
| 974 | <tr><td align="center"><a href="{$url_tempBottom}" target="_blank">BHT</a></td></tr> |
---|
| 975 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:controlIncidentInfo/witsml:tempBottom/@uom"/></td></tr> |
---|
| 976 | </table> |
---|
| 977 | </td> |
---|
| 978 | <!-- <td width="80" align="left"><a href="{$url_controlIncidentInfo}" target="_blank">Max Choke Valve Pressure <xsl:value-of select="witsml:controlIncidentInfo/witsml:presMaxChoke/@uom"/></a></td> --> |
---|
| 979 | </tr> |
---|
| 980 | <!-- End header --> |
---|
| 981 | <tr class="light"> |
---|
| 982 | <td valign="top" align="center"><xsl:value-of select="substring-before(witsml:dTim, 'T')"/></td> |
---|
| 983 | <td valign="top" align="center"><xsl:value-of select="witsml:mdInflow"/></td> |
---|
| 984 | <td valign="top" align="center"><xsl:value-of select="witsml:tvdInflow"/></td> |
---|
| 985 | <td valign="top" align="center"><xsl:value-of select="witsml:eTimLost"/></td> |
---|
| 986 | <td valign="top" align="center"><xsl:value-of select="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/></td> |
---|
| 987 | <!-- <td valign="top"><xsl:value-of select="witsml:diaBit"/></td> --> |
---|
| 988 | <td valign="top" align="center"><xsl:value-of select="witsml:mdBit"/></td> |
---|
| 989 | <td valign="top" align="center"><xsl:value-of select="witsml:wtMud"/></td> |
---|
| 990 | <td valign="top" align="center"><xsl:value-of select="witsml:porePressure"/></td> |
---|
| 991 | <!-- <td valign="top"><xsl:value-of select="witsml:diaCsgLast"/></td> --> |
---|
| 992 | <td valign="top" align="center"><xsl:value-of select="witsml:mdCsgLast"/></td> |
---|
| 993 | <td valign="top" align="center"><xsl:value-of select="witsml:volMudGained"/></td> |
---|
| 994 | <td valign="top" align="center"><xsl:value-of select="witsml:presShutInCasing"/></td> |
---|
| 995 | <td valign="top" align="center"><xsl:value-of select="witsml:presShutInDrill"/> </td> |
---|
| 996 | <td valign="top" align="center"><xsl:value-of select="witsml:incidentType"/></td> |
---|
| 997 | <td valign="top" align="center"><xsl:value-of select="witsml:killingType"/></td> |
---|
| 998 | <td valign="top" align="center"><xsl:value-of select="witsml:formation"/></td> |
---|
| 999 | <td valign="top" align="center"><xsl:value-of select="witsml:tempBottom"/></td> |
---|
| 1000 | <!-- <td valign="top"><xsl:value-of select="witsml:presMaxChoke"/></td> --> |
---|
| 1001 | </tr> |
---|
| 1002 | <tr> |
---|
| 1003 | <td/> |
---|
| 1004 | <td colspan="15"><xsl:value-of select="witsml:description"/></td> |
---|
| 1005 | </tr> |
---|
| 1006 | </table> |
---|
| 1007 | </td> |
---|
| 1008 | </tr> |
---|
| 1009 | </xsl:for-each> |
---|
| 1010 | |
---|
| 1011 | |
---|
| 1012 | |
---|
| 1013 | <!-- perfInfo --> |
---|
| 1014 | <xsl:if test="count(witsml:perfInfo) > 0"> |
---|
| 1015 | <tr height="5px"><td/></tr> |
---|
| 1016 | <tr><td><hr/></td></tr> |
---|
| 1017 | <tr> |
---|
| 1018 | <td class="SectionHead">Perforation Information</td> |
---|
| 1019 | </tr> |
---|
| 1020 | <tr> |
---|
| 1021 | <td> |
---|
| 1022 | <table id="table1"> |
---|
| 1023 | <xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/> |
---|
| 1024 | <xsl:variable name="url_dTimOpen"><xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1025 | <xsl:variable name="url_dTimClose"><xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1026 | <xsl:variable name="url_mdTop"><xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1027 | <xsl:variable name="url_mdBottom"><xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1028 | <xsl:variable name="url_tvdTop"><xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1029 | <xsl:variable name="url_tvdBottom"><xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1030 | <tr> |
---|
| 1031 | <td width="110" align="center" valign="top"><a href="{$url_dTimOpen}" target="_blank">Time of Opening Well Perf</a></td> |
---|
| 1032 | <td width="110" align="center" valign="top"><a href="{$url_dTimClose}" target="_blank">Time of Closing Well Perf</a></td> |
---|
| 1033 | <td width="100" align="center" valign="top"> |
---|
| 1034 | <table id="two" width="100%"> |
---|
| 1035 | <tr><td align="center"><a href="{$url_mdTop}" target="_blank">Top of Perf</a></td></tr> |
---|
| 1036 | <tr><td align="center" class="ColHead">mMD</td></tr> |
---|
| 1037 | </table> |
---|
| 1038 | </td> |
---|
| 1039 | <td width="100" align="center" valign="top"> |
---|
| 1040 | <table id="two" width="100%"> |
---|
| 1041 | <tr><td align="center"><a href="{$url_mdBottom}" target="_blank">Bottom of Perf</a></td></tr> |
---|
| 1042 | <tr><td align="center" class="ColHead">mMD</td></tr> |
---|
| 1043 | </table> |
---|
| 1044 | </td> |
---|
| 1045 | <td width="100" align="center" valign="top"> |
---|
| 1046 | <table id="two" width="100%"> |
---|
| 1047 | <tr><td align="center"><a href="{$url_tvdTop}" target="_blank">Top of Perf</a></td></tr> |
---|
| 1048 | <tr><td align="center" class="ColHead">mTVD</td></tr> |
---|
| 1049 | </table> |
---|
| 1050 | </td> |
---|
| 1051 | <td width="100" align="center" valign="top"> |
---|
| 1052 | <table id="two" width="100%"> |
---|
| 1053 | <tr><td align="center"><a href="{$url_tvdBottom}" target="_blank">Bottom of Perf</a></td></tr> |
---|
| 1054 | <tr><td align="center" class="ColHead">mTVD</td></tr> |
---|
| 1055 | </table> |
---|
| 1056 | </td> |
---|
| 1057 | </tr> |
---|
| 1058 | <xsl:for-each select="witsml:perfInfo"> |
---|
| 1059 | <tr class="light"> |
---|
| 1060 | <td align="center"><xsl:value-of select="substring(witsml:dTimOpen, 0, 17)"/></td> |
---|
| 1061 | <td align="center"><xsl:value-of select="substring(witsml:dTimClose, 0, 17)"/></td> |
---|
| 1062 | <td align="center"><xsl:value-of select="witsml:mdTop"/></td> |
---|
| 1063 | <td align="center"><xsl:value-of select="witsml:mdBottom"/></td> |
---|
| 1064 | <td align="center"><xsl:value-of select="witsml:tvdTop"/></td> |
---|
| 1065 | <td align="center"><xsl:value-of select="witsml:tvdBottom"/></td> |
---|
| 1066 | </tr> |
---|
| 1067 | </xsl:for-each> |
---|
| 1068 | </table> |
---|
| 1069 | </td> |
---|
| 1070 | </tr> |
---|
| 1071 | </xsl:if> |
---|
| 1072 | |
---|
| 1073 | <!-- gasReadingInfo --> |
---|
| 1074 | <xsl:if test="count(witsml:gasReadingInfo) > 0"> |
---|
| 1075 | <tr height="5px"><td/></tr> |
---|
| 1076 | <tr><td><hr/></td></tr> |
---|
| 1077 | <tr> |
---|
| 1078 | <td class="SectionHead">Gas Reading Information</td> |
---|
| 1079 | </tr> |
---|
| 1080 | <tr> |
---|
| 1081 | <td> |
---|
| 1082 | <table id="table1"> |
---|
| 1083 | <xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/> |
---|
| 1084 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1085 | <xsl:variable name="url_readingType"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1086 | <xsl:variable name="url_mdTop"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1087 | <xsl:variable name="url_mdBottom"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1088 | <xsl:variable name="url_tvdTop"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1089 | <xsl:variable name="url_tvdBottom"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1090 | <xsl:variable name="url_gasHigh"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1091 | <xsl:variable name="url_gasLow"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1092 | <xsl:variable name="url_meth"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1093 | <xsl:variable name="url_eth"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1094 | <xsl:variable name="url_prop"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1095 | <xsl:variable name="url_ibut"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1096 | <xsl:variable name="url_ipent"><xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1097 | <tr> |
---|
| 1098 | <td align="center" valign="top"><a href="{$url_dTim}" target="_blank">Time</a></td> |
---|
| 1099 | <td align="center" valign="top"><a href="{$url_readingType}" target="_blank">Class</a></td> |
---|
| 1100 | <td width="60" align="center" valign="top"> |
---|
| 1101 | <table id="two" width="100%"> |
---|
| 1102 | <tr> |
---|
| 1103 | <td align="center"><a href="{$url_mdTop}" target="_blank">Depth to Top</a></td> |
---|
| 1104 | </tr> |
---|
| 1105 | <tr> |
---|
| 1106 | <td align="center" class="ColHead">mMD</td> |
---|
| 1107 | </tr> |
---|
| 1108 | </table> |
---|
| 1109 | </td> |
---|
| 1110 | <td width="60" align="center" valign="top"> |
---|
| 1111 | <table id="two" width="100%"> |
---|
| 1112 | <tr> |
---|
| 1113 | <td align="center"><a href="{$url_mdBottom}" target="_blank">Depth to Bottom</a></td> |
---|
| 1114 | </tr> |
---|
| 1115 | <tr> |
---|
| 1116 | <td align="center" class="ColHead">mMD</td> |
---|
| 1117 | </tr> |
---|
| 1118 | </table> |
---|
| 1119 | </td> |
---|
| 1120 | <td width="60" align="center" valign="top"> |
---|
| 1121 | <table id="two" width="100%"> |
---|
| 1122 | <tr> |
---|
| 1123 | <td align="center"><a href="{$url_tvdTop}" target="_blank">Depth to Top</a></td> |
---|
| 1124 | </tr> |
---|
| 1125 | <tr> |
---|
| 1126 | <td align="center" class="ColHead">mTVD</td> |
---|
| 1127 | </tr> |
---|
| 1128 | </table> |
---|
| 1129 | </td> |
---|
| 1130 | <td width="60" align="center" valign="top"> |
---|
| 1131 | <table id="two" width="100%"> |
---|
| 1132 | <tr><td align="center"><a href="{$url_tvdBottom}" target="_blank">Depth to Bottom</a></td></tr> |
---|
| 1133 | <tr><td align="center" class="ColHead">mTVD</td></tr> |
---|
| 1134 | </table> |
---|
| 1135 | </td> |
---|
| 1136 | <td width="60" align="center" valign="top"> |
---|
| 1137 | <table id="two" width="100%"> |
---|
| 1138 | <tr><td align="center"><a href="{$url_gasHigh}" target="_blank">Highest Gas</a></td></tr> |
---|
| 1139 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:gasReadingInfo/witsml:gasHigh/@uom"/></td></tr> |
---|
| 1140 | </table> |
---|
| 1141 | </td> |
---|
| 1142 | <td width="60" align="center" valign="top"> |
---|
| 1143 | <table id="two" width="100%"> |
---|
| 1144 | <tr><td align="center"><a href="{$url_gasLow}" target="_blank">Lowest Gas</a></td></tr> |
---|
| 1145 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:gasReadingInfo/witsml:gasLow/@uom"/></td></tr> |
---|
| 1146 | </table> |
---|
| 1147 | </td> |
---|
| 1148 | <td width="60" align="center" valign="top"> |
---|
| 1149 | <table id="two" width="100%"> |
---|
| 1150 | <tr> |
---|
| 1151 | <td align="center"><a href="{$url_meth}" target="_blank">C1</a></td> |
---|
| 1152 | </tr> |
---|
| 1153 | <tr> |
---|
| 1154 | <td align="center" class="ColHead"><xsl:value-of select="witsml:gasReadingInfo/witsml:meth/@uom"/></td> |
---|
| 1155 | </tr> |
---|
| 1156 | </table> |
---|
| 1157 | </td> |
---|
| 1158 | <td width="60" align="center" valign="top"> |
---|
| 1159 | <table id="two" width="100%"> |
---|
| 1160 | <tr> |
---|
| 1161 | <td align="center"><a href="{$url_eth}" target="_blank">C2</a></td> |
---|
| 1162 | </tr> |
---|
| 1163 | <tr> |
---|
| 1164 | <td align="center" class="ColHead"><xsl:value-of select="witsml:gasReadingInfo/witsml:eth/@uom"/></td> |
---|
| 1165 | </tr> |
---|
| 1166 | </table> |
---|
| 1167 | </td> |
---|
| 1168 | <td width="60" align="center" valign="top"> |
---|
| 1169 | <table id="two" width="100%"> |
---|
| 1170 | <tr><td align="center"><a href="{$url_prop}" target="_blank">C3</a></td></tr> |
---|
| 1171 | <tr><td align="center"><a href="{$url_prop}" target="_blank"><xsl:value-of select="witsml:gasReadingInfo/witsml:prop/@uom"/></a></td></tr> |
---|
| 1172 | </table> |
---|
| 1173 | </td> |
---|
| 1174 | <td width="60" align="center" valign="top"> |
---|
| 1175 | <table id="two" width="100%"> |
---|
| 1176 | <tr> |
---|
| 1177 | <td align="center"><a href="{$url_ibut}" target="_blank">IC4</a></td> |
---|
| 1178 | </tr> |
---|
| 1179 | <tr> |
---|
| 1180 | <td align="center" class="ColHead"><xsl:value-of select="witsml:gasReadingInfo/witsml:ibut/@uom"/></td> |
---|
| 1181 | </tr> |
---|
| 1182 | </table> |
---|
| 1183 | </td> |
---|
| 1184 | <td width="60" align="center" valign="top"> |
---|
| 1185 | <table id="two" width="100%"> |
---|
| 1186 | <tr><td align="center"><a href="{$url_ipent}" target="_blank">IC5</a></td></tr> |
---|
| 1187 | <tr><td align="center" class="ColHead"><xsl:value-of select="witsml:gasReadingInfo/witsml:ipent/@uom"/></td></tr> |
---|
| 1188 | </table> |
---|
| 1189 | </td> |
---|
| 1190 | </tr> |
---|
| 1191 | <xsl:for-each select="witsml:gasReadingInfo"> |
---|
| 1192 | <tr class="light"> |
---|
| 1193 | <td align="center"><xsl:value-of select="substring-after(witsml:dTim, 'T')"/></td> |
---|
| 1194 | <td align="center"><xsl:value-of select="witsml:readingType"/></td> |
---|
| 1195 | <td align="center"><xsl:value-of select="witsml:mdTop"/></td> |
---|
| 1196 | <td align="center"><xsl:value-of select="witsml:mdBottom"/></td> |
---|
| 1197 | <td align="center"><xsl:value-of select="witsml:tvdTop"/></td> |
---|
| 1198 | <td align="center"><xsl:value-of select="witsml:tvdBottom"/></td> |
---|
| 1199 | <td align="center"><xsl:value-of select="witsml:gasHigh"/></td> |
---|
| 1200 | <td align="center"><xsl:value-of select="witsml:gasLow"/></td> |
---|
| 1201 | <td align="center"><xsl:value-of select="witsml:meth"/></td> |
---|
| 1202 | <td align="center"><xsl:value-of select="witsml:eth"/></td> |
---|
| 1203 | <td align="center"><xsl:value-of select="witsml:prop"/></td> |
---|
| 1204 | <td align="center"><xsl:value-of select="witsml:ibut"/></td> |
---|
| 1205 | <td align="center"><xsl:value-of select="witsml:ipent"/></td> |
---|
| 1206 | </tr> |
---|
| 1207 | </xsl:for-each> |
---|
| 1208 | </table> |
---|
| 1209 | </td> |
---|
| 1210 | </tr> |
---|
| 1211 | </xsl:if> |
---|
| 1212 | |
---|
| 1213 | </table> |
---|
| 1214 | </xsl:for-each> |
---|
| 1215 | </body> |
---|
| 1216 | </html> |
---|
| 1217 | </xsl:template> |
---|
| 1218 | |
---|
| 1219 | <xsl:template match="witsml:wellboreInfo"> |
---|
| 1220 | <xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/> |
---|
| 1221 | <xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/> |
---|
| 1222 | <xsl:variable name="url_operator"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1223 | <xsl:variable name="url_drillContractor"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1224 | <xsl:variable name="url_rigAlias"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1225 | <!-- xsl:variable name="url_namingSystem"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='namingSystem']/@sawsdl:modelReference"/></xsl:variable --> |
---|
| 1226 | <xsl:variable name="url_dTimSpud"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1227 | <xsl:variable name="url_dateDrillComplete"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1228 | <xsl:variable name="url_elevKelly"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1229 | <tr class="light"> |
---|
| 1230 | <td class="ColHead"><a target="_blank" href="{$url_operator}">Operator:</a></td> |
---|
| 1231 | <td><xsl:value-of select="witsml:operator" /></td> |
---|
| 1232 | <td class="ColHead"><a target="_blank" href="{$url_drillContractor}">Drilling contractor:</a></td> |
---|
| 1233 | <td colspan="3"><xsl:value-of select="witsml:drillContractor" /></td> |
---|
| 1234 | </tr> |
---|
| 1235 | <tr class="light"> |
---|
| 1236 | <td class="ColHead"><a href="{$url_rigAlias}" target="_blank">Rig Name:</a></td> |
---|
| 1237 | <td><xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD Name']/witsml:name" /></td> |
---|
| 1238 | <td class="ColHead"><a href="{$url_rigAlias}" target="_blank">NPD Rig Id:</a></td> |
---|
| 1239 | <td><xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name" /></td> |
---|
| 1240 | <td class="ColHead"><a href="{$url_elevKelly}" target="_blank">Elevation <xsl:value-of select="../witsml:statusInfo/witsml:elevKelly/@uom" />:</a></td> |
---|
| 1241 | <td><xsl:value-of select="../witsml:statusInfo/witsml:elevKelly" /></td> |
---|
| 1242 | </tr> |
---|
| 1243 | <tr class="light"> |
---|
| 1244 | <td class="ColHead"><a target="_blank" href="{$url_dTimSpud}">Spud Date:</a></td> |
---|
| 1245 | <td><xsl:value-of select="substring-before(witsml:dTimSpud, 'T')" /></td> |
---|
| 1246 | <!-- |
---|
| 1247 | <td class="ColHead"><a target="_blank" href="{url_dTimPreSpud}">Pre Spud Time:</a></td> |
---|
| 1248 | <td><xsl:value-of select="substring-before(witsml:dTimPreSpud, 'T')" /></td> |
---|
| 1249 | --> |
---|
| 1250 | <td class="ColHead"><a target="_blank" href="{$url_dateDrillComplete}">Date Well Complete:</a></td> |
---|
| 1251 | <td colspan="3"><xsl:value-of select="substring-before(witsml:dateDrillComplete, 'T')" /></td> |
---|
| 1252 | </tr> |
---|
| 1253 | </xsl:template> |
---|
| 1254 | |
---|
| 1255 | <xsl:template match="witsml:statusInfo"> |
---|
| 1256 | <xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/> |
---|
| 1257 | <xsl:variable name="url_typeWellbore"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1258 | <xsl:variable name="url_mdKickoff"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1259 | <xsl:variable name="url_tvdKickoff"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1260 | <xsl:variable name="url_mdPlugTop"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1261 | <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1262 | <xsl:variable name="url_tvd"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1263 | <xsl:variable name="url_distDrill"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1264 | <xsl:variable name="url_ropCurrent"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1265 | <xsl:variable name="url_diaHole"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1266 | <xsl:variable name="url_presTestType"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1267 | <xsl:variable name="url_strengthForm"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1268 | <xsl:variable name="url_mdStrengthForm"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1269 | <xsl:variable name="url_tvdStrengthForm"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1270 | <xsl:variable name="url_diaCsgLast"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1271 | <xsl:variable name="url_mdCsgLast"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1272 | <xsl:variable name="url_tvdCsgLast"><xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/></xsl:variable> |
---|
| 1273 | <!-- wellbore type and kick off --> |
---|
| 1274 | <tr class="light"> |
---|
| 1275 | <td class="dark"><a target="_blank" href="{$url_typeWellbore}">Wellbore type:</a></td> |
---|
| 1276 | <td><xsl:value-of select="witsml:typeWellbore" /></td> |
---|
| 1277 | <td class="dark"><a target="_blank" href="{$url_mdKickoff}">Depth at Kick Off mMD:</a></td> |
---|
| 1278 | <td><xsl:value-of select="witsml:mdKickoff" /></td> |
---|
| 1279 | <td class="dark"><a target="_blank" href="{$url_tvdKickoff}">Depth at Kick Off mTVD:</a></td> |
---|
| 1280 | <td><xsl:value-of select="witsml:tvdKickoff" /></td> |
---|
| 1281 | </tr> |
---|
| 1282 | <tr class="light"> |
---|
| 1283 | <td class="dark"><a target="_blank" href="{$url_md}">Depth mMD:</a></td> |
---|
| 1284 | <td><xsl:value-of select="witsml:md" /></td> |
---|
| 1285 | <td class="dark"><a target="_blank" href="{$url_tvd}">Depth mTVD:</a></td> |
---|
| 1286 | <td><xsl:value-of select="witsml:tvd" /></td> |
---|
| 1287 | <td><a target="_blank" href="{$url_mdPlugTop}">Plug Back Depth mMD:</a></td> |
---|
| 1288 | <td><xsl:value-of select="witsml:mdPlugTop" /></td> |
---|
| 1289 | </tr> |
---|
| 1290 | <tr class="light"> |
---|
| 1291 | <td class="dark"><a target="_blank" href="{$url_distDrill}">Dist Drilled <xsl:value-of select="witsml:distDrill/@uom" />:</a></td> |
---|
| 1292 | <td><xsl:value-of select="witsml:distDrill" /></td> |
---|
| 1293 | <!-- |
---|
| 1294 | <td class="dark"><a target="_blank" href="{$urlRDS}">Depth planned mMD:</a></td> |
---|
| 1295 | <td><xsl:value-of select="witsml:mdPlanned" /></td> |
---|
| 1296 | --> |
---|
| 1297 | <td class="dark"><a target="_blank" href="{$url_ropCurrent}">Penetration Rate <xsl:value-of select="witsml:ropCurrent/@uom" />:</a></td> |
---|
| 1298 | <td colspan="3"><xsl:value-of select="witsml:ropCurrent" /> </td> |
---|
| 1299 | </tr> |
---|
| 1300 | <!-- hole dia --> |
---|
| 1301 | <tr class="light"> |
---|
| 1302 | <td width="160"><a target="_blank" href="{$url_diaHole}">Hole Dia <xsl:value-of select="witsml:diaHole/@uom" />:</a></td> |
---|
| 1303 | <td width="140"><xsl:value-of select="witsml:diaHole" /></td> |
---|
| 1304 | <td><a target="_blank" href="{$url_presTestType}">Pressure Test Type:</a></td> |
---|
| 1305 | <td colspan="3"><xsl:value-of select="witsml:presTestType" /></td> |
---|
| 1306 | </tr> |
---|
| 1307 | <!-- formation strength and pressure test --> |
---|
| 1308 | <tr class="light"> |
---|
| 1309 | <td width="160"><a target="_blank" href="{$url_strengthForm}">Formation Strength <xsl:value-of select="witsml:strengthForm/@uom" />:</a></td> |
---|
| 1310 | <td><xsl:value-of select="witsml:strengthForm" /></td> |
---|
| 1311 | <td width="215"><a target="_blank" href="{$url_mdStrengthForm}">Depth At Formation Strength mMD:</a></td> |
---|
| 1312 | <td><xsl:value-of select="witsml:mdStrengthForm" /> </td> |
---|
| 1313 | <td><a target="_blank" href="{$url_tvdStrengthForm}">Depth At Formation Strength mTVD:</a></td> |
---|
| 1314 | <td><xsl:value-of select="witsml:tvdStrengthForm" /></td> |
---|
| 1315 | |
---|
| 1316 | </tr> |
---|
| 1317 | <!-- casing --> |
---|
| 1318 | <tr class="light"> |
---|
| 1319 | <td class="dark"><a target="_blank" href="{$url_diaCsgLast}">Dia Last Casing <xsl:value-of select="witsml:diaCsgLast/@uom" />:</a></td> |
---|
| 1320 | <td><xsl:value-of select="witsml:diaCsgLast" /></td> |
---|
| 1321 | <td class="dark"><a target="_blank" href="{$url_mdCsgLast}">Depth At Last Casing mMD:</a></td> |
---|
| 1322 | <td><xsl:value-of select="witsml:mdCsgLast" /></td> |
---|
| 1323 | <td class="dark"><a target="_blank" href="{$url_tvdCsgLast}">Depth At Last Casing mTVD:</a></td> |
---|
| 1324 | <td><xsl:value-of select="witsml:tvdCsgLast" /></td> |
---|
| 1325 | </tr> |
---|
| 1326 | |
---|
| 1327 | </xsl:template> |
---|
| 1328 | |
---|
| 1329 | </xsl:stylesheet> |
---|