1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" 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:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0"> |
---|
3 | <xsl:import href="./difference/date.difference.xsl"/> |
---|
4 | <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> |
---|
5 | <!-- import the schema enables sawsdl:modelReference lookup --> |
---|
6 | <xsd:import namespace="http://www.witsml.org/schemas/1series" schemaLocation="WITSML_drillReport_profiled_schema_2011_01_29.xsd"/> |
---|
7 | <!-- A global variable for the Drill Report schema file name. Required for URL lookup of element definitions in RDL --> |
---|
8 | <xsl:variable name="ddrSchema" select="'WITSML_drillReport_profiled_schema_2011_01_29.xsd'"/> |
---|
9 | <xsl:template match="/"> |
---|
10 | <html> |
---|
11 | <head> |
---|
12 | <link href="css_ddrHtmlReport.css" type="text/css" rel="stylesheet"/> |
---|
13 | </head> |
---|
14 | <body> |
---|
15 | <xsl:variable name="urlRDS" select="'http://www.posccaesar.org'"/> |
---|
16 | <xsl:for-each select="witsml:drillReports/witsml:drillReport"> |
---|
17 | <table width="1000" cellspacing="1" cellpadding="1"> |
---|
18 | <tr class="light"> |
---|
19 | <td> |
---|
20 | <table id="table1" width="100%"> |
---|
21 | <tr> |
---|
22 | <td width="45%" align="left" class="ReportHeader">Summary report Wellbore: <xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/> |
---|
23 | </td> |
---|
24 | <td width="55%" align="right" class="ReportHeader">End time: <xsl:value-of select="substring(witsml:dTimEnd, 0,17)"/> |
---|
25 | </td> |
---|
26 | </tr> |
---|
27 | </table> |
---|
28 | </td> |
---|
29 | </tr> |
---|
30 | <tr height="5px"> |
---|
31 | <td> |
---|
32 | <hr size="4px" color="black"/> |
---|
33 | </td> |
---|
34 | </tr> |
---|
35 | <tr class="light"> |
---|
36 | <xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/> |
---|
37 | <xsl:variable name="element_statusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='statusInfo']/xsd:sequence"/> |
---|
38 | <td> |
---|
39 | <table id="table1" width="100%"> |
---|
40 | <!-- Added/changed 18jan2011 --> |
---|
41 | <tr class="light"> |
---|
42 | <td class="ColHead"> |
---|
43 | <a target="_blank" href="{$urlRDS}">Report Number:</a> |
---|
44 | </td> |
---|
45 | <td class="light"> |
---|
46 | <xsl:value-of select="witsml:statusInfo/witsml:reportNo" /> |
---|
47 | </td> |
---|
48 | <td class="ColHead"> |
---|
49 | <a target="_blank" href="{$urlRDS}">Period:</a> |
---|
50 | </td> |
---|
51 | <td colspan="2"> |
---|
52 | <xsl:value-of select="substring(witsml:dTimStart, 0,17)"/> - <xsl:value-of select="substring(witsml:dTimEnd, 0,17)"/> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | <!-- END Added 18jan2011 --> |
---|
56 | <tr class="light"> |
---|
57 | <xsl:variable name="url_wellboreAlias"> |
---|
58 | <xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='wellboreInfo']/@sawsdl:modelReference"/> |
---|
59 | </xsl:variable> |
---|
60 | <td class="ColHead"> |
---|
61 | <a target="_blank" href="{$urlRDS}">Wellbore:</a> |
---|
62 | </td> |
---|
63 | <td class="light"> |
---|
64 | <xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/> |
---|
65 | </td> |
---|
66 | <td class="ColHead"> |
---|
67 | <a target="_blank" href="{$urlRDS}">Wellbore Id:</a> |
---|
68 | </td> |
---|
69 | <td class="light"> |
---|
70 | <xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/> |
---|
71 | </td> |
---|
72 | <td colspan="2"/> |
---|
73 | </tr> |
---|
74 | <tr class="light"> |
---|
75 | <xsl:variable name="url_versionKind"> |
---|
76 | <xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/> |
---|
77 | </xsl:variable> |
---|
78 | <xsl:variable name="url_createDate"> |
---|
79 | <xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/> |
---|
80 | </xsl:variable> |
---|
81 | <td class="dark"> |
---|
82 | <a href="{$url_versionKind}" target="_blank">Status:</a> |
---|
83 | </td> |
---|
84 | <td> |
---|
85 | <xsl:value-of select="witsml:versionKind"/> |
---|
86 | </td> |
---|
87 | <td class="dark"> |
---|
88 | <a href="{$url_createDate}" target="_blank">Created Date:</a> |
---|
89 | </td> |
---|
90 | <td colspan="3"> |
---|
91 | <xsl:value-of select="substring(witsml:createDate, 0,20)"/> |
---|
92 | </td> |
---|
93 | </tr> |
---|
94 | <tr height="5px"> |
---|
95 | <td colspan="6"/> |
---|
96 | </tr> |
---|
97 | <xsl:apply-templates select="witsml:wellboreInfo"/> |
---|
98 | <!-- Well Status Info --> |
---|
99 | <xsl:apply-templates select="witsml:statusInfo"/> |
---|
100 | </table> |
---|
101 | </td> |
---|
102 | </tr> |
---|
103 | <tr height="5px"> |
---|
104 | <td/> |
---|
105 | </tr> |
---|
106 | <tr> |
---|
107 | <td> |
---|
108 | <HR/> |
---|
109 | </td> |
---|
110 | </tr> |
---|
111 | <tr> |
---|
112 | <td class="SectionHead">Summary of Activities (24 Hours)</td> |
---|
113 | </tr> |
---|
114 | <tr> |
---|
115 | <td class="light"> |
---|
116 | <xsl:value-of select="witsml:statusInfo/witsml:sum24Hr"/> |
---|
117 | </td> |
---|
118 | </tr> |
---|
119 | <tr height="5px"> |
---|
120 | <td/> |
---|
121 | </tr> |
---|
122 | <tr> |
---|
123 | <td> |
---|
124 | <HR/> |
---|
125 | </td> |
---|
126 | </tr> |
---|
127 | <tr> |
---|
128 | <td class="SectionHead">Summary of Planned Activities (Next 24 Hours)</td> |
---|
129 | </tr> |
---|
130 | <tr> |
---|
131 | <td class="light"> |
---|
132 | <xsl:value-of select="witsml:statusInfo/witsml:forecast24Hr"/> |
---|
133 | </td> |
---|
134 | </tr> |
---|
135 | <!-- Operation Mode --> |
---|
136 | <xsl:if test="count(witsml:activity) > 0"> |
---|
137 | <tr height="5px"> |
---|
138 | <td/> |
---|
139 | </tr> |
---|
140 | <tr> |
---|
141 | <td> |
---|
142 | <HR/> |
---|
143 | </td> |
---|
144 | </tr> |
---|
145 | <tr> |
---|
146 | <td class="SectionHead">Operation</td> |
---|
147 | </tr> |
---|
148 | <tr> |
---|
149 | <td> |
---|
150 | <table id="table1"> |
---|
151 | <xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/> |
---|
152 | <xsl:variable name="url_dTimStart"> |
---|
153 | <xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/> |
---|
154 | </xsl:variable> |
---|
155 | <xsl:variable name="url_dTimEnd"> |
---|
156 | <xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/> |
---|
157 | </xsl:variable> |
---|
158 | <xsl:variable name="url_md"> |
---|
159 | <xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/> |
---|
160 | </xsl:variable> |
---|
161 | <xsl:variable name="url_proprietaryCode"> |
---|
162 | <xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/> |
---|
163 | </xsl:variable> |
---|
164 | <xsl:variable name="url_state"> |
---|
165 | <xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/> |
---|
166 | </xsl:variable> |
---|
167 | <xsl:variable name="url_comments"> |
---|
168 | <xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/> |
---|
169 | </xsl:variable> |
---|
170 | <tr> |
---|
171 | <td width="50" align="left" valign="top"> |
---|
172 | <a href="{$url_dTimStart}" target="_blank">Start Time</a> |
---|
173 | </td> |
---|
174 | <td width="50" align="left" valign="top"> |
---|
175 | <a href="{$url_dTimEnd}" target="_blank">End Time</a> |
---|
176 | </td> |
---|
177 | <td width="60" align="left" valign="top"> |
---|
178 | <a href="{$url_md}" target="_blank">Start Depth mMD</a> |
---|
179 | </td> |
---|
180 | <td width="60" align="left" valign="top"> |
---|
181 | <a href="{$url_md}" target="_blank">End Depth mMD</a> |
---|
182 | </td> |
---|
183 | <td width="60" align="left" valign="top"> |
---|
184 | <a href="{$url_md}" target="_blank">Depth mMD</a> |
---|
185 | </td> |
---|
186 | <td width="120" align="left" valign="top"> |
---|
187 | <a href="{$url_proprietaryCode}" target="_blank">Main Oper Class</a> |
---|
188 | </td> |
---|
189 | <td width="80" align="left" valign="top"> |
---|
190 | <a href="{$url_state}" target="_blank">Main Oper Eval Class</a> |
---|
191 | </td> |
---|
192 | <td align="left" valign="top"> |
---|
193 | <a href="{$url_comments}" target="_blank"> |
---|
194 | <b>Remark</b> |
---|
195 | </a> |
---|
196 | </td> |
---|
197 | </tr> |
---|
198 | <xsl:for-each select="witsml:activity"> |
---|
199 | <tr class="light"> |
---|
200 | <td valign="top"> |
---|
201 | <xsl:value-of select="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/> |
---|
202 | </td> |
---|
203 | <td valign="top"> |
---|
204 | <xsl:value-of select="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/> |
---|
205 | </td> |
---|
206 | <td valign="top"> |
---|
207 | <xsl:value-of select="witsml:mdHoleStart" /> |
---|
208 | </td> |
---|
209 | <td valign="top"> |
---|
210 | <xsl:value-of select="witsml:mdHoleEnd"/> |
---|
211 | </td> |
---|
212 | <td valign="top"> |
---|
213 | <xsl:value-of select="witsml:md"/> |
---|
214 | </td> |
---|
215 | <td valign="top"> |
---|
216 | <xsl:value-of select="witsml:proprietaryCode"/> |
---|
217 | </td> |
---|
218 | <td valign="top"> |
---|
219 | <xsl:value-of select="witsml:state"/> |
---|
220 | </td> |
---|
221 | <td> |
---|
222 | <xsl:value-of select="witsml:comments"/> |
---|
223 | </td> |
---|
224 | </tr> |
---|
225 | </xsl:for-each> |
---|
226 | <!--"witsml:activity" --> |
---|
227 | </table> |
---|
228 | </td> |
---|
229 | </tr> |
---|
230 | </xsl:if> |
---|
231 | <!-- equipFailureInfo --> |
---|
232 | <xsl:if test="count(witsml:equipFailureInfo) > 0"> |
---|
233 | <tr height="5px"> |
---|
234 | <td/> |
---|
235 | </tr> |
---|
236 | <tr> |
---|
237 | <td> |
---|
238 | <hr/> |
---|
239 | </td> |
---|
240 | </tr> |
---|
241 | <tr> |
---|
242 | <td class="SectionHead">Equipment Failure Information</td> |
---|
243 | </tr> |
---|
244 | <tr> |
---|
245 | <td> |
---|
246 | <table id="table1"> |
---|
247 | <xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/> |
---|
248 | <xsl:variable name="url_dTim"> |
---|
249 | <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/> |
---|
250 | </xsl:variable> |
---|
251 | <xsl:variable name="url_md"> |
---|
252 | <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/> |
---|
253 | </xsl:variable> |
---|
254 | <xsl:variable name="url_tvd"> |
---|
255 | <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/> |
---|
256 | </xsl:variable> |
---|
257 | <xsl:variable name="url_equipClass"> |
---|
258 | <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/> |
---|
259 | </xsl:variable> |
---|
260 | <xsl:variable name="url_eTimMissProduction"> |
---|
261 | <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/> |
---|
262 | </xsl:variable> |
---|
263 | <xsl:variable name="url_dTimRepair"> |
---|
264 | <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/> |
---|
265 | </xsl:variable> |
---|
266 | <xsl:variable name="url_description"> |
---|
267 | <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/> |
---|
268 | </xsl:variable> |
---|
269 | <tr> |
---|
270 | <td width="80" align="left" valign="top"> |
---|
271 | <a href="{$url_dTim}" target="_blank">Start</a> |
---|
272 | </td> |
---|
273 | <td width="60" align="left" valign="top"> |
---|
274 | <a href="{$url_md}" target="_blank">Depth mMD</a> |
---|
275 | </td> |
---|
276 | <td width="60" align="left" valign="top"> |
---|
277 | <a href="{$url_md}" target="_blank">Depth mTVD</a> |
---|
278 | </td> |
---|
279 | <td width="120" align="left" valign="top"> |
---|
280 | <a href="{$url_equipClass}" target="_blank">Sub Equip Syst Class</a> |
---|
281 | </td> |
---|
282 | <td width="80" align="center" valign="top" class="ColHead"> |
---|
283 | <a href="{$url_eTimMissProduction}" target="_blank" valign="top">Operation Downtime</a> |
---|
284 | <br/> |
---|
285 | <xsl:value-of select="witsml:equipFailureInfo/witsml:eTimMissProduction/@uom"/> |
---|
286 | </td> |
---|
287 | <!--<td width="60" align="center" valign="top"> |
---|
288 | <table id="two" width="100%"> |
---|
289 | <tr> |
---|
290 | <td align="center"><a href="{$url_eTimMissProduction}" target="_blank" valign="top">Operation Downtime</a></td> |
---|
291 | </tr> |
---|
292 | <tr> |
---|
293 | <td align="center" class="ColHead"><xsl:value-of select="witsml:equipFailureInfo/witsml:eTimMissProduction/@uom"/></td> |
---|
294 | </tr> |
---|
295 | </table> |
---|
296 | </td>--> |
---|
297 | <td width="100" align="left" valign="top"> |
---|
298 | <a href="{$url_dTimRepair}" target="_blank">Equipment Repaired</a> |
---|
299 | </td> |
---|
300 | <td align="left" valign="top"> |
---|
301 | <a href="{$url_description}" target="_blank">Equip Failure Description</a> |
---|
302 | </td> |
---|
303 | </tr> |
---|
304 | <xsl:for-each select="witsml:equipFailureInfo"> |
---|
305 | <tr class="light"> |
---|
306 | <td valign="top"> |
---|
307 | <xsl:value-of select="substring(witsml:dTim, 0, 17)"/> |
---|
308 | </td> |
---|
309 | <td valign="top"> |
---|
310 | <xsl:value-of select="witsml:md"/> |
---|
311 | </td> |
---|
312 | <td valign="top"> |
---|
313 | <xsl:value-of select="witsml:tvd"/> |
---|
314 | </td> |
---|
315 | <td valign="top"> |
---|
316 | <xsl:value-of select="witsml:equipClass"/> |
---|
317 | </td> |
---|
318 | <td valign="top" align="center"> |
---|
319 | <xsl:value-of select="witsml:eTimMissProduction"/> |
---|
320 | </td> |
---|
321 | <td valign="top"> |
---|
322 | <xsl:value-of select="substring(witsml:dTimRepair, 0 ,17)"/> |
---|
323 | </td> |
---|
324 | <td valign="top"> |
---|
325 | <xsl:value-of select="witsml:description"/> |
---|
326 | </td> |
---|
327 | </tr> |
---|
328 | </xsl:for-each> |
---|
329 | </table> |
---|
330 | </td> |
---|
331 | </tr> |
---|
332 | </xsl:if> |
---|
333 | <!-- Added/Changed 26jan2011 --> |
---|
334 | <!-- Bit Record --> |
---|
335 | <xsl:if test="count(witsml:bitRecord) > 0"> |
---|
336 | <tr height="5px"> |
---|
337 | <td/> |
---|
338 | </tr> |
---|
339 | <tr> |
---|
340 | <td> |
---|
341 | <hr/> |
---|
342 | </td> |
---|
343 | </tr> |
---|
344 | <tr> |
---|
345 | <td class="SectionHead">Bit record</td> |
---|
346 | </tr> |
---|
347 | <tr> |
---|
348 | <td> |
---|
349 | <table id="table1"> |
---|
350 | <xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/> |
---|
351 | <xsl:variable name="url_numBit"> |
---|
352 | <xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/> |
---|
353 | </xsl:variable> |
---|
354 | <xsl:variable name="url_diaBit"> |
---|
355 | <xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/> |
---|
356 | </xsl:variable> |
---|
357 | <xsl:variable name="url_codeMfg"> |
---|
358 | <xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/> |
---|
359 | </xsl:variable> |
---|
360 | <xsl:variable name="url_manufacturer"> |
---|
361 | <xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/> |
---|
362 | </xsl:variable> |
---|
363 | <tr> |
---|
364 | <td align="center" width="50" valign="top"> |
---|
365 | <a target="_blank" href="{$url_diaBit}">Bit size <xsl:value-of select="witsml:bitRecord/witsml:diaBit/@uom"/> |
---|
366 | </a> |
---|
367 | </td> |
---|
368 | <td align="center" width="50" valign="top"> |
---|
369 | <a target="_blank" href="{$url_numBit}">Run No</a> |
---|
370 | </td> |
---|
371 | <td align="center" width="50" valign="top"> |
---|
372 | <a target="_blank" href="{$url_manufacturer}">Manufacturer</a> |
---|
373 | </td> |
---|
374 | <td align="center" width="80" valign="top"> |
---|
375 | <a target="_blank" href="{$url_codeMfg}">Model</a> |
---|
376 | </td> |
---|
377 | <td align="center" width="50" valign="top"> |
---|
378 | <a target="_blank" href="{$urlRDS}">Hours drilled<br /> |
---|
379 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom"/> |
---|
380 | </a> |
---|
381 | </td> |
---|
382 | <td align="center" width="50" valign="top"> |
---|
383 | <a target="_blank" href="{$urlRDS}">MD start<br /> |
---|
384 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom"/> |
---|
385 | </a> |
---|
386 | </td> |
---|
387 | <td align="center" width="50" valign="top"> |
---|
388 | <a target="_blank" href="{$urlRDS}">MD end<br /> |
---|
389 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> |
---|
390 | </a> |
---|
391 | </td> |
---|
392 | <td align="center" width="60" valign="top"> |
---|
393 | <a target="_blank" href="{$urlRDS}">Hole made (last 24H)<br /> |
---|
394 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> |
---|
395 | </a> |
---|
396 | </td> |
---|
397 | <td align="center" width="60" valign="top"> |
---|
398 | <a target="_blank" href="{$urlRDS}">Hours drilled (last 24H)<br /> |
---|
399 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom"/> |
---|
400 | </a> |
---|
401 | </td> |
---|
402 | <td align="center" width="60" valign="top"> |
---|
403 | <a target="_blank" href="{$urlRDS}">ROP<br />(last 24H)<br /> |
---|
404 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/> |
---|
405 | </a> |
---|
406 | </td> |
---|
407 | <td align="center" width="60" valign="top"> |
---|
408 | <a target="_blank" href="{$urlRDS}">Total<br />hole made<br /> |
---|
409 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/> |
---|
410 | </a> |
---|
411 | </td> |
---|
412 | <td align="center" width="60" valign="top"> |
---|
413 | <a target="_blank" href="{$urlRDS}">Total hours drilled<br /> |
---|
414 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/> |
---|
415 | </a> |
---|
416 | </td> |
---|
417 | <td align="center" width="60" valign="top"> |
---|
418 | <a target="_blank" href="{$urlRDS}">Total ROP<br /> |
---|
419 | <xsl:value-of select="witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/> |
---|
420 | </a> |
---|
421 | </td> |
---|
422 | <td align="center" width="120" valign="top"> |
---|
423 | <a target="_blank" href="{$urlRDS}">Dull grade</a> |
---|
424 | </td> |
---|
425 | </tr> |
---|
426 | <xsl:for-each select="witsml:bitRecord"> |
---|
427 | <tr class="light"> |
---|
428 | <td align="center"> |
---|
429 | <xsl:value-of select="witsml:diaBit"/> |
---|
430 | </td> |
---|
431 | <td align="center"> |
---|
432 | <xsl:value-of select="witsml:numBit"/> |
---|
433 | </td> |
---|
434 | <td align="center"> |
---|
435 | <xsl:value-of select="witsml:codeMfg"/> |
---|
436 | </td> |
---|
437 | <td align="center"> |
---|
438 | <xsl:value-of select="witsml:manufacturer"/> |
---|
439 | </td> |
---|
440 | <td align="center"> |
---|
441 | <xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/> |
---|
442 | </td> |
---|
443 | <td align="center"> |
---|
444 | <xsl:value-of select="witsml:bitRun/witsml:mdHoleStart"/> |
---|
445 | </td> |
---|
446 | <td align="center"> |
---|
447 | <xsl:value-of select="witsml:bitRun/witsml:mdHoleStop"/> |
---|
448 | </td> |
---|
449 | <td align="center"> |
---|
450 | <xsl:value-of select="witsml:bitRun/witsml:mdHoleStop - witsml:bitRun/witsml:mdHoleStart"/> |
---|
451 | </td> |
---|
452 | <td align="center"> |
---|
453 | <xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/> |
---|
454 | </td> |
---|
455 | <td align="center"> |
---|
456 | <xsl:value-of select="witsml:bitRun/witsml:ropAv"/> |
---|
457 | </td> |
---|
458 | <td align="center"> |
---|
459 | <xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/> |
---|
460 | </td> |
---|
461 | <td align="center"> |
---|
462 | <xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/> |
---|
463 | </td> |
---|
464 | <td align="center"> |
---|
465 | <xsl:value-of select="witsml:bitRun/witsml:ropMx"/> |
---|
466 | </td> |
---|
467 | <td align="center"> |
---|
468 | <xsl:value-of select="witsml:dullGrade"/> |
---|
469 | </td> |
---|
470 | </tr> |
---|
471 | </xsl:for-each> |
---|
472 | </table> |
---|
473 | </td> |
---|
474 | </tr> |
---|
475 | </xsl:if> |
---|
476 | <!-- Added/Changed 22feb2011 --> |
---|
477 | <!-- witsml:pipe --> |
---|
478 | <xsl:if test="count(witsml:casing_liner_tubing) > 0"> |
---|
479 | <tr height="5px"> |
---|
480 | <td/> |
---|
481 | </tr> |
---|
482 | <tr> |
---|
483 | <td> |
---|
484 | <hr/> |
---|
485 | </td> |
---|
486 | </tr> |
---|
487 | <tr> |
---|
488 | <td class="SectionHead">Casing/Liner/Tubing information</td> |
---|
489 | </tr> |
---|
490 | <tr> |
---|
491 | <td> |
---|
492 | <table id="table2"> |
---|
493 | <xsl:variable name="element_pipe" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='casing_liner_tubing']/xsd:sequence"/> |
---|
494 | <!--<xsl:variable name="url_readingKind"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/></xsl:variable> |
---|
495 | <xsl:variable name="url_equivalentMudWeight"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/></xsl:variable> |
---|
496 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
497 | <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
498 | <xsl:variable name="url_tvd"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/></xsl:variable>--> |
---|
499 | <tr> |
---|
500 | <td align="center" valign="top"> |
---|
501 | <a target="_blank" href="{$urlRDS}">Type of pipe</a> |
---|
502 | </td> |
---|
503 | <td align="center" valign="top"> |
---|
504 | <a target="_blank" href="{$urlRDS}">Casing type</a> |
---|
505 | </td> |
---|
506 | <td align="center" width="60" valign="top"> |
---|
507 | <a target="_blank" href="{$urlRDS}">Run time</a> |
---|
508 | </td> |
---|
509 | <td align="center" width="60" valign="top"> |
---|
510 | <a target="_blank" href="{$urlRDS}">Nominal outside diameter<br /> |
---|
511 | <xsl:value-of select="witsml:casing_liner_tubing/witsml:od/@uom"/> |
---|
512 | </a> |
---|
513 | </td> |
---|
514 | <td align="center" width="100" valign="top"> |
---|
515 | <a target="_blank" href="{$urlRDS}">Nominal inside diameter<br /> |
---|
516 | <xsl:value-of select="witsml:casing_liner_tubing/witsml:id/@uom"/> |
---|
517 | </a> |
---|
518 | </td> |
---|
519 | <td align="center" width="60" valign="top"> |
---|
520 | <a target="_blank" href="{$urlRDS}">Nominal Weight<br /> |
---|
521 | <xsl:value-of select="witsml:casing_liner_tubing/witsml:weight/@uom"/> |
---|
522 | </a> |
---|
523 | </td> |
---|
524 | <td align="center" width="60" valign="top"> |
---|
525 | <a target="_blank" href="{$urlRDS}">Nominal Grade</a> |
---|
526 | </td> |
---|
527 | <td align="center" width="60" valign="top"> |
---|
528 | <a target="_blank" href="{$urlRDS}">Nominal Connection</a> |
---|
529 | </td> |
---|
530 | <td align="center" width="60" valign="top"> |
---|
531 | <a target="_blank" href="{$urlRDS}">Length<br /> |
---|
532 | <xsl:value-of select="witsml:casing_liner_tubing/witsml:length/@uom"/> |
---|
533 | </a> |
---|
534 | </td> |
---|
535 | <td align="center" width="60" valign="top"> |
---|
536 | <a target="_blank" href="{$urlRDS}">MD Top/Hangar<br /> |
---|
537 | <xsl:value-of select="witsml:casing_liner_tubing/witsml:mdTop/@uom"/> |
---|
538 | </a> |
---|
539 | </td> |
---|
540 | <td align="center" width="60" valign="top"> |
---|
541 | <a target="_blank" href="{$urlRDS}">MD Bottom/Shoe<br /> |
---|
542 | <xsl:value-of select="witsml:casing_liner_tubing/witsml:mdBottom/@uom"/> |
---|
543 | </a> |
---|
544 | </td> |
---|
545 | <td align="center" width="100" valign="top"> |
---|
546 | <a target="_blank" href="{$urlRDS}">Description</a> |
---|
547 | </td> |
---|
548 | </tr> |
---|
549 | <xsl:for-each select="witsml:casing_liner_tubing"> |
---|
550 | <tr class="light"> |
---|
551 | <td align="center"> |
---|
552 | <xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/> |
---|
553 | <xsl:variable name="pipeType" select="witsml:type" /> |
---|
554 | <xsl:value-of select="$element_pipeType//xsd:enumeration[@value=$pipeType]"/> |
---|
555 | </td> |
---|
556 | <td align="center"> |
---|
557 | <xsl:value-of select="witsml:casing_liner_tubing_run/witsml:tubularJobType"/> |
---|
558 | </td> |
---|
559 | <td align="center"> |
---|
560 | <xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/> |
---|
561 | </td> |
---|
562 | <td align="center"> |
---|
563 | <xsl:value-of select="witsml:od"/> |
---|
564 | </td> |
---|
565 | <td align="center"> |
---|
566 | <xsl:value-of select="witsml:id"/> |
---|
567 | </td> |
---|
568 | <td align="center"> |
---|
569 | <xsl:value-of select="witsml:weight"/> |
---|
570 | </td> |
---|
571 | <td align="center"> |
---|
572 | <xsl:value-of select="witsml:grade"/> |
---|
573 | </td> |
---|
574 | <td align="center"> |
---|
575 | <xsl:value-of select="witsml:connection"/> |
---|
576 | </td> |
---|
577 | <td align="center"> |
---|
578 | <xsl:value-of select="witsml:length"/> |
---|
579 | </td> |
---|
580 | <td align="center"> |
---|
581 | <xsl:value-of select="witsml:mdTop"/> |
---|
582 | </td> |
---|
583 | <td align="center"> |
---|
584 | <xsl:value-of select="witsml:mdBottom"/> |
---|
585 | </td> |
---|
586 | <td align="center"> |
---|
587 | <xsl:value-of select="witsml:casing_liner_tubing_run/witsml:description"/> |
---|
588 | </td> |
---|
589 | </tr> |
---|
590 | </xsl:for-each> |
---|
591 | </table> |
---|
592 | </td> |
---|
593 | </tr> |
---|
594 | </xsl:if> |
---|
595 | <!-- witsml:cement --> |
---|
596 | <xsl:if test="count(witsml:cementStage) > 0"> |
---|
597 | <xsl:for-each select="witsml:cementStage"> |
---|
598 | <tr height="5px"> |
---|
599 | <td/> |
---|
600 | </tr> |
---|
601 | <tr> |
---|
602 | <td> |
---|
603 | <hr/> |
---|
604 | </td> |
---|
605 | </tr> |
---|
606 | <tr> |
---|
607 | <td class="SectionHead">Cement information</td> |
---|
608 | </tr> |
---|
609 | <tr> |
---|
610 | <td> |
---|
611 | <table id="table2"> |
---|
612 | <xsl:variable name="element_cement" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cement']/xsd:sequence"/> |
---|
613 | <!--<xsl:variable name="url_readingKind"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/></xsl:variable> |
---|
614 | <xsl:variable name="url_equivalentMudWeight"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/></xsl:variable> |
---|
615 | <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> |
---|
616 | <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> |
---|
617 | <xsl:variable name="url_tvd"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/></xsl:variable>--> |
---|
618 | <tr> |
---|
619 | <td align="center" valign="top"> |
---|
620 | <a target="_blank" href="{$urlRDS}">Start Time</a> |
---|
621 | </td> |
---|
622 | <td align="center" valign="top"> |
---|
623 | <a target="_blank" href="{$urlRDS}">End Time</a> |
---|
624 | </td> |
---|
625 | <td align="center" width="60" valign="top"> |
---|
626 | <a target="_blank" href="{$urlRDS}">Job Type</a> |
---|
627 | </td> |
---|
628 | <td align="center" width="60" valign="top"> |
---|
629 | <a target="_blank" href="{$urlRDS}">Casing string diameter</a> |
---|
630 | </td> |
---|
631 | <td align="center" width="60" valign="top"> |
---|
632 | <a target="_blank" href="{$urlRDS}">Top plug used</a> |
---|
633 | </td> |
---|
634 | <td align="center" width="60" valign="top"> |
---|
635 | <a target="_blank" href="{$urlRDS}">Bottom plug used</a> |
---|
636 | </td> |
---|
637 | <td align="center" width="60" valign="top"> |
---|
638 | <a target="_blank" href="{$urlRDS}">Plug bumped</a> |
---|
639 | </td> |
---|
640 | <td align="center" width="60" valign="top"> |
---|
641 | <a target="_blank" href="{$urlRDS}">Plug bump pressure <xsl:value-of select="witsml:presBump/@uom"/> |
---|
642 | </a> |
---|
643 | </td> |
---|
644 | <td align="center" width="60" valign="top"> |
---|
645 | <a target="_blank" href="{$urlRDS}">Float held</a> |
---|
646 | </td> |
---|
647 | <td align="center" width="60" valign="top"> |
---|
648 | <a target="_blank" href="{$urlRDS}">Pressure release time</a> |
---|
649 | </td> |
---|
650 | <td align="center" width="60" valign="top"> |
---|
651 | <a target="_blank" href="{$urlRDS}">Full returns</a> |
---|
652 | </td> |
---|
653 | <td align="center" width="60" valign="top"> |
---|
654 | <a target="_blank" href="{$urlRDS}">cement volume returns <xsl:value-of select="witsml:volReturns/@uom"/> |
---|
655 | </a> |
---|
656 | </td> |
---|
657 | <td align="center" width="60" valign="top"> |
---|
658 | <a target="_blank" href="{$urlRDS}">Reciprocated</a> |
---|
659 | </td> |
---|
660 | <td align="center" width="60" valign="top"> |
---|
661 | <a target="_blank" href="{$urlRDS}">Rotated</a> |
---|
662 | </td> |
---|
663 | <td align="center" width="100" valign="top"> |
---|
664 | <a target="_blank" href="{$urlRDS}">Comments</a> |
---|
665 | </td> |
---|
666 | </tr> |
---|
667 | <tr class="light"> |
---|
668 | <td align="center"> |
---|
669 | <xsl:value-of select="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/> |
---|
670 | </td> |
---|
671 | <td align="center"> |
---|
672 | <xsl:value-of select="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/> |
---|
673 | </td> |
---|
674 | <td align="center"> |
---|
675 | <xsl:value-of select="witsml:jobType"/> |
---|
676 | </td> |
---|
677 | <td align="center"> |
---|
678 | <xsl:value-of select="witsml:casingStrDia"/> |
---|
679 | </td> |
---|
680 | <td align="center"> |
---|
681 | <xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if> |
---|
682 | <xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if> |
---|
683 | </td> |
---|
684 | <td align="center"> |
---|
685 | <xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if> |
---|
686 | <xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if> |
---|
687 | </td> |
---|
688 | <td align="center"> |
---|
689 | <xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if> |
---|
690 | <xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if> |
---|
691 | </td> |
---|
692 | <td align="center"> |
---|
693 | <xsl:value-of select="witsml:presBump"/> |
---|
694 | </td> |
---|
695 | <td align="center"> |
---|
696 | <xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if> |
---|
697 | <xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if> |
---|
698 | </td> |
---|
699 | <td align="center"> |
---|
700 | <xsl:value-of select="substring(witsml:eTimPresHeld, 0, 17)"/> |
---|
701 | </td> |
---|
702 | <td align="center"> |
---|
703 | <xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if> |
---|
704 | <xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if> |
---|
705 | </td> |
---|
706 | <td align="center"> |
---|
707 | <xsl:value-of select="witsml:volReturns"/> |
---|
708 | </td> |
---|
709 | <td align="center"> |
---|
710 | <xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if> |
---|
711 | <xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if> |
---|
712 | </td> |
---|
713 | <td align="center"> |
---|
714 | <xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if> |
---|
715 | <xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if> |
---|
716 | </td> |
---|
717 | <td align="center"> |
---|
718 | <xsl:value-of select="witsml:comments"/> |
---|
719 | </td> |
---|
720 | </tr> |
---|
721 | </table> |
---|
722 | </td> |
---|
723 | </tr> |
---|
724 | <!-- witsml:cementingFluid --> |
---|
725 | <xsl:if test="count(witsml:cementingFluid) > 0"> |
---|
726 | <tr height="5px"> |
---|
727 | <td/> |
---|
728 | </tr> |
---|
729 | <tr> |
---|
730 | <td> |
---|
731 | </td> |
---|
732 | </tr> |
---|
733 | <tr> |
---|
734 | <td class="SectionHead">Cementing Fluid Details</td> |
---|
735 | </tr> |
---|
736 | <xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cementingFluid']/xsd:sequence"/> |
---|
737 | <xsl:variable name="url_dTimFluid"> |
---|
738 | <xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/> |
---|
739 | </xsl:variable> |
---|
740 | <xsl:variable name="url_mdFluid"> |
---|
741 | <xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/> |
---|
742 | </xsl:variable> |
---|
743 | <xsl:variable name="url_mudClass"> |
---|
744 | <xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/> |
---|
745 | </xsl:variable> |
---|
746 | <xsl:variable name="url_density"> |
---|
747 | <xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/> |
---|
748 | </xsl:variable> |
---|
749 | <xsl:variable name="url_pv"> |
---|
750 | <xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/> |
---|
751 | </xsl:variable> |
---|
752 | <xsl:variable name="url_yp"> |
---|
753 | <xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/> |
---|
754 | </xsl:variable> |
---|
755 | <tr> |
---|
756 | <td> |
---|
757 | <table id="table2"> |
---|
758 | <tr> |
---|
759 | <td align="center" width="100" valign="top"> |
---|
760 | <a target="_blank" href="{$url_mudClass}">Fluid Type</a> |
---|
761 | </td> |
---|
762 | <td align="center" width="100" valign="top"> |
---|
763 | <a target="_blank" href="{$url_mudClass}">Fluid Description</a> |
---|
764 | </td> |
---|
765 | <td align="center" width="100" valign="top"> |
---|
766 | <a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/> |
---|
767 | </a> |
---|
768 | </td> |
---|
769 | <td align="center" width="100" valign="top"> |
---|
770 | <a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/> |
---|
771 | </a> |
---|
772 | </td> |
---|
773 | <td align="center" width="80" valign="top"> |
---|
774 | <a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/> |
---|
775 | </a> |
---|
776 | </td> |
---|
777 | <td align="center" width="80" valign="top"> |
---|
778 | <a target="_blank" href="{$urlRDS}">Mix Water Ratio <xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/> |
---|
779 | </a> |
---|
780 | </td> |
---|
781 | <td align="center" width="80" valign="top"> |
---|
782 | <a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/> |
---|
783 | </a> |
---|
784 | </td> |
---|
785 | <td align="center" width="80" valign="top"> |
---|
786 | <a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/> |
---|
787 | </a> |
---|
788 | </td> |
---|
789 | <td align="center" width="100" valign="top"> |
---|
790 | <a target="_blank" href="{$urlRDS}">Comments</a> |
---|
791 | </td> |
---|
792 | |
---|
793 | </tr> |
---|
794 | <xsl:for-each select="witsml:cementingFluid"> |
---|
795 | <tr class="light"> |
---|
796 | <td align="center"> |
---|
797 | <xsl:value-of select="witsml:typeFluid"/> |
---|
798 | </td> |
---|
799 | <td align="center"> |
---|
800 | <xsl:value-of select="witsml:descFluid"/> |
---|
801 | </td> |
---|
802 | <td align="center"> |
---|
803 | <xsl:value-of select="witsml:volPumped"/> |
---|
804 | </td> |
---|
805 | <td align="center"> |
---|
806 | <xsl:value-of select="witsml:density"/> |
---|
807 | </td> |
---|
808 | <td align="center"> |
---|
809 | <xsl:value-of select="witsml:yp"/> |
---|
810 | </td> |
---|
811 | <td align="center"> |
---|
812 | <xsl:value-of select="witsml:ratioMixWater"/> |
---|
813 | </td> |
---|
814 | <td align="center"> |
---|
815 | <xsl:value-of select="witsml:pcFreeWater"/> |
---|
816 | </td> |
---|
817 | <td align="center"> |
---|
818 | <xsl:value-of select="witsml:eTimThickening"/> |
---|
819 | </td> |
---|
820 | <td align="center"> |
---|
821 | <xsl:value-of select="witsml:comments"/> |
---|
822 | </td> |
---|
823 | </tr> |
---|
824 | </xsl:for-each> |
---|
825 | </table> |
---|
826 | </td> |
---|
827 | </tr> |
---|
828 | </xsl:if> |
---|
829 | </xsl:for-each> |
---|
830 | </xsl:if> |
---|
831 | <!-- END Added/changed 22feb2011 --> |
---|
832 | <!-- porePressure --> |
---|
833 | <xsl:if test="count(witsml:porePressure) > 0"> |
---|
834 | <tr height="5px"> |
---|
835 | <td/> |
---|
836 | </tr> |
---|
837 | <tr> |
---|
838 | <td> |
---|
839 | <hr/> |
---|
840 | </td> |
---|
841 | </tr> |
---|
842 | <tr> |
---|
843 | <td class="SectionHead">Pore Pressure</td> |
---|
844 | </tr> |
---|
845 | <tr> |
---|
846 | <td> |
---|
847 | <table id="table2"> |
---|
848 | <xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/> |
---|
849 | <xsl:variable name="url_readingKind"> |
---|
850 | <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/> |
---|
851 | </xsl:variable> |
---|
852 | <xsl:variable name="url_equivalentMudWeight"> |
---|
853 | <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/> |
---|
854 | </xsl:variable> |
---|
855 | <xsl:variable name="url_dTim"> |
---|
856 | <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/> |
---|
857 | </xsl:variable> |
---|
858 | <xsl:variable name="url_md"> |
---|
859 | <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/> |
---|
860 | </xsl:variable> |
---|
861 | <xsl:variable name="url_tvd"> |
---|
862 | <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/> |
---|
863 | </xsl:variable> |
---|
864 | <tr> |
---|
865 | <td align="center" valign="top"> |
---|
866 | <a target="_blank" href="{$url_readingKind}">Reading</a> |
---|
867 | </td> |
---|
868 | <td align="center" width="100" valign="top"> |
---|
869 | <table id="two" width="100%"> |
---|
870 | <tr> |
---|
871 | <td align="center"> |
---|
872 | <a href="{$url_equivalentMudWeight}" target="_blank">Equ Mud Weight</a> |
---|
873 | </td> |
---|
874 | </tr> |
---|
875 | <tr> |
---|
876 | <td align="center" class="ColHead"> |
---|
877 | <xsl:value-of select="witsml:porePressure/witsml:equivalentMudWeight/@uom"/> |
---|
878 | </td> |
---|
879 | </tr> |
---|
880 | </table> |
---|
881 | </td> |
---|
882 | <td align="center" valign="top"> |
---|
883 | <a target="_blank" href="{$url_dTim}">Time</a> |
---|
884 | </td> |
---|
885 | <td align="center" width="60" valign="top"> |
---|
886 | <a target="_blank" href="{$url_md}">Depth mMD</a> |
---|
887 | </td> |
---|
888 | <td align="center" width="60" valign="top"> |
---|
889 | <a target="_blank" href="{$url_tvd}">Depth mTVD</a> |
---|
890 | </td> |
---|
891 | </tr> |
---|
892 | <xsl:for-each select="witsml:porePressure"> |
---|
893 | <tr class="light"> |
---|
894 | <td align="center"> |
---|
895 | <xsl:value-of select="witsml:readingKind"/> |
---|
896 | </td> |
---|
897 | <td align="center"> |
---|
898 | <xsl:value-of select="witsml:equivalentMudWeight"/> |
---|
899 | </td> |
---|
900 | <td align="center"> |
---|
901 | <xsl:value-of select="substring(witsml:dTim, 0 , 17)"/> |
---|
902 | </td> |
---|
903 | <td align="center"> |
---|
904 | <xsl:value-of select="witsml:md"/> |
---|
905 | </td> |
---|
906 | <td align="center"> |
---|
907 | <xsl:value-of select="witsml:tvd"/> |
---|
908 | </td> |
---|
909 | </tr> |
---|
910 | </xsl:for-each> |
---|
911 | </table> |
---|
912 | </td> |
---|
913 | </tr> |
---|
914 | </xsl:if> |
---|
915 | <!-- surveyStation --> |
---|
916 | <xsl:if test="count(witsml:surveyStation) > 0"> |
---|
917 | <tr height="5px"> |
---|
918 | <td/> |
---|
919 | </tr> |
---|
920 | <tr> |
---|
921 | <td> |
---|
922 | <hr/> |
---|
923 | </td> |
---|
924 | </tr> |
---|
925 | <tr> |
---|
926 | <td class="SectionHead">Survey Station</td> |
---|
927 | </tr> |
---|
928 | <tr> |
---|
929 | <td> |
---|
930 | <table id="table2"> |
---|
931 | <xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/> |
---|
932 | <xsl:variable name="url_md"> |
---|
933 | <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/> |
---|
934 | </xsl:variable> |
---|
935 | <xsl:variable name="url_tvd"> |
---|
936 | <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/> |
---|
937 | </xsl:variable> |
---|
938 | <xsl:variable name="url_incl"> |
---|
939 | <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/> |
---|
940 | </xsl:variable> |
---|
941 | <xsl:variable name="url_azi"> |
---|
942 | <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/> |
---|
943 | </xsl:variable> |
---|
944 | <tr> |
---|
945 | <td align="left" width="60" valign="top"> |
---|
946 | <a target="_blank" href="{$url_md}">Depth mMD</a> |
---|
947 | </td> |
---|
948 | <td align="left" width="60" valign="top"> |
---|
949 | <a target="_blank" href="{$url_tvd}">Depth mTVD</a> |
---|
950 | </td> |
---|
951 | <td align="left" width="70" valign="top"> |
---|
952 | <a target="_blank" href="{$url_incl}">Inclination deg</a> |
---|
953 | </td> |
---|
954 | <td align="left" width="60" valign="top"> |
---|
955 | <a target="_blank" href="{$url_azi}">Azimuth deg</a> |
---|
956 | </td> |
---|
957 | </tr> |
---|
958 | <xsl:for-each select="witsml:surveyStation"> |
---|
959 | <tr class="light"> |
---|
960 | <td> |
---|
961 | <xsl:value-of select="witsml:md"/> |
---|
962 | </td> |
---|
963 | <td> |
---|
964 | <xsl:value-of select="witsml:tvd"/> |
---|
965 | </td> |
---|
966 | <td> |
---|
967 | <xsl:value-of select="witsml:incl"/> |
---|
968 | </td> |
---|
969 | <td> |
---|
970 | <xsl:value-of select="witsml:azi"/> |
---|
971 | </td> |
---|
972 | </tr> |
---|
973 | </xsl:for-each> |
---|
974 | </table> |
---|
975 | </td> |
---|
976 | </tr> |
---|
977 | </xsl:if> |
---|
978 | <!-- logInfo --> |
---|
979 | <xsl:if test="count(witsml:logInfo) > 0"> |
---|
980 | <tr height="5px"> |
---|
981 | <td/> |
---|
982 | </tr> |
---|
983 | <tr> |
---|
984 | <td> |
---|
985 | <hr/> |
---|
986 | </td> |
---|
987 | </tr> |
---|
988 | <tr> |
---|
989 | <td class="SectionHead">Log Information</td> |
---|
990 | </tr> |
---|
991 | <tr> |
---|
992 | <td> |
---|
993 | <table id="table2"> |
---|
994 | <xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/> |
---|
995 | <xsl:variable name="url_serviceCompany"> |
---|
996 | <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/> |
---|
997 | </xsl:variable> |
---|
998 | <xsl:variable name="url_runNumber"> |
---|
999 | <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/> |
---|
1000 | </xsl:variable> |
---|
1001 | <xsl:variable name="url_mdTop"> |
---|
1002 | <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/> |
---|
1003 | </xsl:variable> |
---|
1004 | <xsl:variable name="url_mdBottom"> |
---|
1005 | <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/> |
---|
1006 | </xsl:variable> |
---|
1007 | <xsl:variable name="url_tool"> |
---|
1008 | <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/> |
---|
1009 | </xsl:variable> |
---|
1010 | <xsl:variable name="url_tempBHCT"> |
---|
1011 | <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/> |
---|
1012 | </xsl:variable> |
---|
1013 | <xsl:variable name="url_tempBHST"> |
---|
1014 | <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/> |
---|
1015 | </xsl:variable> |
---|
1016 | <tr> |
---|
1017 | <td colspan="2" align="left"> |
---|
1018 | <a target="_blank" href="{$url_serviceCompany}">Logging company:</a> |
---|
1019 | </td> |
---|
1020 | <td colspan="6"> |
---|
1021 | <xsl:value-of select="witsml:serviceCompany"/> |
---|
1022 | </td> |
---|
1023 | </tr> |
---|
1024 | <tr> |
---|
1025 | <td align="center" width="30" valign="top"> |
---|
1026 | <a target="_blank" href="{$url_runNumber}">Run No</a> |
---|
1027 | </td> |
---|
1028 | <td align="center" width="60" valign="top"> |
---|
1029 | <a target="_blank" href="{$url_mdTop}">Depth Top mMD</a> |
---|
1030 | </td> |
---|
1031 | <td align="center" width="60" valign="top"> |
---|
1032 | <a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a> |
---|
1033 | </td> |
---|
1034 | <td align="center" width="100" valign="top"> |
---|
1035 | <a target="_blank" href="{$url_tool}">Tool</a> |
---|
1036 | </td> |
---|
1037 | <td align="center" width="60" valign="top"> |
---|
1038 | <table id="two"> |
---|
1039 | <tr> |
---|
1040 | <td align="center"> |
---|
1041 | <a href="{$url_tempBHCT}" target="_blank">BHCT</a> |
---|
1042 | </td> |
---|
1043 | </tr> |
---|
1044 | <tr> |
---|
1045 | <td align="center" class="ColHead"> |
---|
1046 | <xsl:value-of select="witsml:logInfo/witsml:tempBHCT/@uom"/> |
---|
1047 | </td> |
---|
1048 | </tr> |
---|
1049 | </table> |
---|
1050 | </td> |
---|
1051 | <td align="center" width="60" valign="top"> |
---|
1052 | <table id="two" width="100%"> |
---|
1053 | <tr> |
---|
1054 | <td align="center"> |
---|
1055 | <a href="{$url_tempBHST}" target="_blank">BHST</a> |
---|
1056 | </td> |
---|
1057 | </tr> |
---|
1058 | <tr> |
---|
1059 | <td align="center" class="ColHead"> |
---|
1060 | <xsl:value-of select="witsml:logInfo/witsml:tempBHST/@uom"/> |
---|
1061 | </td> |
---|
1062 | </tr> |
---|
1063 | </table> |
---|
1064 | </td> |
---|
1065 | <!-- |
---|
1066 | <td align="center" width="80"> |
---|
1067 | <table id="two" width="100%"> |
---|
1068 | <tr> |
---|
1069 | <td align="center"><a href="{$urlRDS}" target="_blank">Ellapsed time since circulation stopped</a></td> |
---|
1070 | </tr> |
---|
1071 | <tr> |
---|
1072 | <td align="center" class="ColHead"><xsl:value-of select="witsml:logInfo/witsml:eTimStatic/@uom" /></td> |
---|
1073 | </tr> |
---|
1074 | </table> |
---|
1075 | </td> |
---|
1076 | <td align="center" width="100"> |
---|
1077 | <table <table id="two" width="100%"> |
---|
1078 | <tr> |
---|
1079 | <td align="center"><a href="{$urlRDS}" target="_blank">Depth to the temperature measurement tool</a></td> |
---|
1080 | </tr> |
---|
1081 | <tr> |
---|
1082 | <td align="center" class="ColHead">(mMD</td> |
---|
1083 | </tr> |
---|
1084 | </table> |
---|
1085 | </td> |
---|
1086 | --> |
---|
1087 | </tr> |
---|
1088 | <xsl:for-each select="witsml:logInfo"> |
---|
1089 | <tr class="light"> |
---|
1090 | <td align="center"> |
---|
1091 | <xsl:value-of select="witsml:runNumber"/> |
---|
1092 | </td> |
---|
1093 | <td align="center"> |
---|
1094 | <xsl:value-of select="witsml:mdTop"/> |
---|
1095 | </td> |
---|
1096 | <td align="center"> |
---|
1097 | <xsl:value-of select="witsml:mdBottom"/> |
---|
1098 | </td> |
---|
1099 | <td align="center"> |
---|
1100 | <xsl:value-of select="witsml:tool"/> |
---|
1101 | </td> |
---|
1102 | <td align="center"> |
---|
1103 | <xsl:value-of select="witsml:tempBHCT"/> |
---|
1104 | </td> |
---|
1105 | <td align="center"> |
---|
1106 | <xsl:value-of select="witsml:tempBHST"/> |
---|
1107 | </td> |
---|
1108 | <!-- |
---|
1109 | <td align="center"> |
---|
1110 | <xsl:value-of select="witsml:eTimStatic" /> |
---|
1111 | </td> |
---|
1112 | <td align="center"> |
---|
1113 | <xsl:value-of select="witsml:mdTempTool" /> |
---|
1114 | </td> |
---|
1115 | --> |
---|
1116 | </tr> |
---|
1117 | </xsl:for-each> |
---|
1118 | </table> |
---|
1119 | </td> |
---|
1120 | </tr> |
---|
1121 | </xsl:if> |
---|
1122 | <!-- Changed 19jan2011 --> |
---|
1123 | <!-- coreInfo --> |
---|
1124 | <xsl:if test="count(witsml:coreInfo) > 0"> |
---|
1125 | <tr height="5px"> |
---|
1126 | <td/> |
---|
1127 | </tr> |
---|
1128 | <tr> |
---|
1129 | <td> |
---|
1130 | <hr/> |
---|
1131 | </td> |
---|
1132 | </tr> |
---|
1133 | <tr> |
---|
1134 | <td class="SectionHead">Core Information</td> |
---|
1135 | </tr> |
---|
1136 | <tr> |
---|
1137 | <td> |
---|
1138 | <table id="table2"> |
---|
1139 | <xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/> |
---|
1140 | <xsl:variable name="url_coreNumber"> |
---|
1141 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/> |
---|
1142 | </xsl:variable> |
---|
1143 | <xsl:variable name="url_mdTop"> |
---|
1144 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/> |
---|
1145 | </xsl:variable> |
---|
1146 | <xsl:variable name="url_mdBottom"> |
---|
1147 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/> |
---|
1148 | </xsl:variable> |
---|
1149 | <xsl:variable name="url_lenRecovered"> |
---|
1150 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/> |
---|
1151 | </xsl:variable> |
---|
1152 | <xsl:variable name="url_recoverPc"> |
---|
1153 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/> |
---|
1154 | </xsl:variable> |
---|
1155 | <xsl:variable name="url_lenBarrel"> |
---|
1156 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/> |
---|
1157 | </xsl:variable> |
---|
1158 | <xsl:variable name="url_innerBarrelType"> |
---|
1159 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/> |
---|
1160 | </xsl:variable> |
---|
1161 | <xsl:variable name="url_coreDescription"> |
---|
1162 | <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/> |
---|
1163 | </xsl:variable> |
---|
1164 | <tr> |
---|
1165 | <td width="40" align="center" valign="top"> |
---|
1166 | <a target="_blank" href="{$url_coreNumber}">Core No</a> |
---|
1167 | </td> |
---|
1168 | <td width="60" align="center" valign="top"> |
---|
1169 | <a target="_blank" href="{$url_mdTop}">Depth Top mMD</a> |
---|
1170 | </td> |
---|
1171 | <td width="60" align="center" valign="top"> |
---|
1172 | <a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a> |
---|
1173 | </td> |
---|
1174 | <td width="60" align="center" valign="top" class="ColHead"> |
---|
1175 | <a href="{$url_lenRecovered}" target="_blank">Core length</a> |
---|
1176 | <br/>m</td> |
---|
1177 | <!--<td width="60" align="center" valign="top"> |
---|
1178 | <table id="two"> |
---|
1179 | <tr> |
---|
1180 | <td align="center"><a href="{$url_lenRecovered}" target="_blank">Core length</a></td> |
---|
1181 | </tr> |
---|
1182 | <tr> |
---|
1183 | <td align="center" class="ColHead">m</td> |
---|
1184 | </tr> |
---|
1185 | </table> |
---|
1186 | </td>--> |
---|
1187 | <td width="60" align="center" valign="top" class="ColHead"> |
---|
1188 | <a href="{$url_lenRecovered}" target="_blank">Recover core</a> |
---|
1189 | <br/>%</td> |
---|
1190 | <!--<td width="60" align="center" valign="top"> |
---|
1191 | <table id="two" width="100%"> |
---|
1192 | <tr> |
---|
1193 | <td align="center"><a href="{$url_recoverPc}" target="_blank">Recover core</a></td> |
---|
1194 | </tr> |
---|
1195 | <tr> |
---|
1196 | <td align="center" class="ColHead">%</td> |
---|
1197 | </tr> |
---|
1198 | </table> |
---|
1199 | </td>--> |
---|
1200 | <td width="60" align="center" valign="top" class="ColHead"> |
---|
1201 | <a href="{$url_lenRecovered}" target="_blank">Core barrel length</a> |
---|
1202 | <br/>m</td> |
---|
1203 | <!--<td width="60" align="center" valign="top"> |
---|
1204 | <table id="two" width="100%"> |
---|
1205 | <tr> |
---|
1206 | <td align="center"><a href="{$url_lenBarrel}" target="_blank">Core barrel length</a></td> |
---|
1207 | </tr> |
---|
1208 | <tr> |
---|
1209 | <td align="center" class="ColHead">m</td> |
---|
1210 | </tr> |
---|
1211 | </table> |
---|
1212 | </td>--> |
---|
1213 | <td width="80" align="center" valign="top"> |
---|
1214 | <a target="_blank" href="{$url_innerBarrelType}">Inner barrel type</a> |
---|
1215 | </td> |
---|
1216 | <td align="left" valign="top"> |
---|
1217 | <a target="_blank" href="{$url_coreDescription}">Description</a> |
---|
1218 | </td> |
---|
1219 | </tr> |
---|
1220 | <xsl:for-each select="witsml:coreInfo"> |
---|
1221 | <tr class="light"> |
---|
1222 | <td valign="top" align="center"> |
---|
1223 | <xsl:value-of select="witsml:coreNumber"/> |
---|
1224 | </td> |
---|
1225 | <td valign="top" align="center"> |
---|
1226 | <xsl:value-of select="witsml:mdTop"/> |
---|
1227 | </td> |
---|
1228 | <td valign="top" align="center"> |
---|
1229 | <xsl:value-of select="witsml:mdBottom"/> |
---|
1230 | </td> |
---|
1231 | <td valign="top" align="center"> |
---|
1232 | <xsl:value-of select="witsml:lenRecovered"/> |
---|
1233 | </td> |
---|
1234 | <td valign="top" align="center"> |
---|
1235 | <xsl:value-of select="witsml:recoverPc"/> |
---|
1236 | </td> |
---|
1237 | <td valign="top" align="center"> |
---|
1238 | <xsl:value-of select="witsml:lenBarrel"/> |
---|
1239 | </td> |
---|
1240 | <td valign="top" align="center"> |
---|
1241 | <xsl:value-of select="witsml:innerBarrelType"/> |
---|
1242 | </td> |
---|
1243 | <td> |
---|
1244 | <xsl:value-of select="witsml:coreDescription"/> |
---|
1245 | </td> |
---|
1246 | </tr> |
---|
1247 | </xsl:for-each> |
---|
1248 | </table> |
---|
1249 | </td> |
---|
1250 | </tr> |
---|
1251 | </xsl:if> |
---|
1252 | <!-- END Changed 19jan2011 --> |
---|
1253 | <!-- wellTestInfo --> |
---|
1254 | <xsl:if test="count(witsml:wellTestInfo) > 0"> |
---|
1255 | <tr height="5px"> |
---|
1256 | <td/> |
---|
1257 | </tr> |
---|
1258 | <tr> |
---|
1259 | <td> |
---|
1260 | <hr/> |
---|
1261 | </td> |
---|
1262 | </tr> |
---|
1263 | <tr> |
---|
1264 | <td class="SectionHead">Well Test Information</td> |
---|
1265 | </tr> |
---|
1266 | <tr> |
---|
1267 | <td> |
---|
1268 | <table id="table1"> |
---|
1269 | <xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/> |
---|
1270 | <xsl:variable name="url_dTim"> |
---|
1271 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/> |
---|
1272 | </xsl:variable> |
---|
1273 | <xsl:variable name="url_testNumber"> |
---|
1274 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/> |
---|
1275 | </xsl:variable> |
---|
1276 | <xsl:variable name="url_testType"> |
---|
1277 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/> |
---|
1278 | </xsl:variable> |
---|
1279 | <xsl:variable name="url_mdTop"> |
---|
1280 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/> |
---|
1281 | </xsl:variable> |
---|
1282 | <xsl:variable name="url_mdBottom"> |
---|
1283 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/> |
---|
1284 | </xsl:variable> |
---|
1285 | <xsl:variable name="url_chokeOrificeSize"> |
---|
1286 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/> |
---|
1287 | </xsl:variable> |
---|
1288 | <xsl:variable name="url_densityOil"> |
---|
1289 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/> |
---|
1290 | </xsl:variable> |
---|
1291 | <xsl:variable name="url_flowRateOil"> |
---|
1292 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/> |
---|
1293 | </xsl:variable> |
---|
1294 | <xsl:variable name="url_flowRateGas"> |
---|
1295 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/> |
---|
1296 | </xsl:variable> |
---|
1297 | <xsl:variable name="url_flowRateWater"> |
---|
1298 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/> |
---|
1299 | </xsl:variable> |
---|
1300 | <xsl:variable name="url_presShutIn"> |
---|
1301 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/> |
---|
1302 | </xsl:variable> |
---|
1303 | <xsl:variable name="url_presFlowing"> |
---|
1304 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/> |
---|
1305 | </xsl:variable> |
---|
1306 | <xsl:variable name="url_presBottom"> |
---|
1307 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/> |
---|
1308 | </xsl:variable> |
---|
1309 | <xsl:variable name="url_gasOilRatio"> |
---|
1310 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/> |
---|
1311 | </xsl:variable> |
---|
1312 | <xsl:variable name="url_waterOilRatio"> |
---|
1313 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/> |
---|
1314 | </xsl:variable> |
---|
1315 | <xsl:variable name="url_chloride"> |
---|
1316 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/> |
---|
1317 | </xsl:variable> |
---|
1318 | <xsl:variable name="url_carbonDioxide"> |
---|
1319 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/> |
---|
1320 | </xsl:variable> |
---|
1321 | <xsl:variable name="url_hydrogenSulfide"> |
---|
1322 | <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/> |
---|
1323 | </xsl:variable> |
---|
1324 | <tr> |
---|
1325 | <td align="left" valign="top"> |
---|
1326 | <a href="{$url_dTim}" target="_blank">Time</a> |
---|
1327 | </td> |
---|
1328 | <td align="left" valign="top"> |
---|
1329 | <a href="{$url_testNumber}" target="_blank">Test No.</a> |
---|
1330 | </td> |
---|
1331 | <td align="left" valign="top"> |
---|
1332 | <a href="{$url_testType}" target="_blank">Type</a> |
---|
1333 | </td> |
---|
1334 | <td align="left" valign="top"> |
---|
1335 | <a href="{$url_mdTop}" target="_blank">Depth Top mMD</a> |
---|
1336 | </td> |
---|
1337 | <td align="left" valign="top"> |
---|
1338 | <a href="{$url_mdBottom}" target="_blank">Depth Bottom mMD</a> |
---|
1339 | </td> |
---|
1340 | <!-- |
---|
1341 | <td align="left"><a href="{$urlRDS}" target="_blank">TVD to Top</a></td> |
---|
1342 | <td align="left"><a href="{$urlRDS}" target="_blank">TVD to Bottom</a></td> |
---|
1343 | --> |
---|
1344 | <td align="left" valign="top"> |
---|
1345 | <a href="{$url_chokeOrificeSize}" target="_blank">Choke Orifice Size<br/> |
---|
1346 | <xsl:value-of select="witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/> |
---|
1347 | </a> |
---|
1348 | </td> |
---|
1349 | <!--<td align="left" valign="top"> |
---|
1350 | <table id="two"> |
---|
1351 | <tr><td><a href="{$url_chokeOrificeSize}" target="_blank">Choke Orifice Size</a></td></tr> |
---|
1352 | <tr><td><a href="{$url_chokeOrificeSize}" target="_blank"><xsl:value-of select="witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/></a></td></tr> |
---|
1353 | </table> |
---|
1354 | </td>--> |
---|
1355 | <td align="left" valign="top"> |
---|
1356 | <a href="{$url_densityOil}" target="_blank">Density Crude Oil <xsl:value-of select="witsml:wellTestInfo/witsml:densityOil/@uom"/> |
---|
1357 | </a> |
---|
1358 | </td> |
---|
1359 | <td align="left" valign="top"> |
---|
1360 | <a href="{$url_flowRateOil}" target="_blank">Oil Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateOil/@uom"/> |
---|
1361 | </a> |
---|
1362 | </td> |
---|
1363 | <td align="left" valign="top"> |
---|
1364 | <a href="{$url_flowRateGas}" target="_blank">Gas Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateGas/@uom"/> |
---|
1365 | </a> |
---|
1366 | </td> |
---|
1367 | <td align="left" valign="top"> |
---|
1368 | <a href="{$url_flowRateWater}" target="_blank">Water Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateWater/@uom"/> |
---|
1369 | </a> |
---|
1370 | </td> |
---|
1371 | <td align="left" valign="top"> |
---|
1372 | <a href="{$url_presShutIn}" target="_blank">Shut in Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presShutIn/@uom"/> |
---|
1373 | </a> |
---|
1374 | </td> |
---|
1375 | <td align="left" valign="top"> |
---|
1376 | <a href="{$url_presFlowing}" target="_blank">Flow Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presFlowing/@uom"/> |
---|
1377 | </a> |
---|
1378 | </td> |
---|
1379 | <td align="left" valign="top"> |
---|
1380 | <a href="{$url_presBottom}" target="_blank">Bottom Hole Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presBottom/@uom"/> |
---|
1381 | </a> |
---|
1382 | </td> |
---|
1383 | <td align="left" valign="top"> |
---|
1384 | <a href="{$url_gasOilRatio}" target="_blank">Gas Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:gasOilRatio/@uom"/> |
---|
1385 | </a> |
---|
1386 | </td> |
---|
1387 | <td align="left" valign="top"> |
---|
1388 | <a href="{$url_waterOilRatio}" target="_blank">Water Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:waterOilRatio/@uom"/> |
---|
1389 | </a> |
---|
1390 | </td> |
---|
1391 | <td align="left" valign="top"> |
---|
1392 | <a href="{$url_chloride}" target="_blank">Chloride Content <xsl:value-of select="witsml:wellTestInfo/witsml:chloride/@uom"/> |
---|
1393 | </a> |
---|
1394 | </td> |
---|
1395 | <td align="left" valign="top"> |
---|
1396 | <a href="{$url_carbonDioxide}" target="_blank">CO2 Content <xsl:value-of select="witsml:wellTestInfo/witsml:carbonDioxide/@uom"/> |
---|
1397 | </a> |
---|
1398 | </td> |
---|
1399 | <td align="left" valign="top"> |
---|
1400 | <a href="{$url_hydrogenSulfide}" target="_blank">H2S Content <xsl:value-of select="witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/> |
---|
1401 | </a> |
---|
1402 | </td> |
---|
1403 | <!-- |
---|
1404 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volOilTotal/@uom"/></a></td> |
---|
1405 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Gas Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volGasTotal/@uom"/></a></td> |
---|
1406 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Water Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volWaterTotal/@uom"/></a></td> |
---|
1407 | <td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Stored <xsl:value-of select="witsml:wellTestInfo/witsml:volOilStored/@uom"/></a></td> |
---|
1408 | --> |
---|
1409 | </tr> |
---|
1410 | <xsl:for-each select="witsml:wellTestInfo"> |
---|
1411 | <tr class="light"> |
---|
1412 | <td> |
---|
1413 | <xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/> |
---|
1414 | </td> |
---|
1415 | <td> |
---|
1416 | <xsl:value-of select="witsml:testNumber"/> |
---|
1417 | </td> |
---|
1418 | <td> |
---|
1419 | <xsl:value-of select="witsml:testType"/> |
---|
1420 | </td> |
---|
1421 | <td> |
---|
1422 | <xsl:value-of select="witsml:mdTop"/> |
---|
1423 | </td> |
---|
1424 | <td> |
---|
1425 | <xsl:value-of select="witsml:mdBottom"/> |
---|
1426 | </td> |
---|
1427 | <!-- |
---|
1428 | <td><xsl:value-of select="witsml:tvdTop"/> <xsl:value-of select="witsml:tvdTop/@uom"/></td> |
---|
1429 | <td><xsl:value-of select="witsml:tvdBottom"/> <xsl:value-of select="witsml:tvdBottom/@uom"/></td> |
---|
1430 | --> |
---|
1431 | <td> |
---|
1432 | <xsl:value-of select="witsml:chokeOrificeSize"/> |
---|
1433 | </td> |
---|
1434 | <td> |
---|
1435 | <xsl:value-of select="witsml:densityOil"/> |
---|
1436 | </td> |
---|
1437 | <td> |
---|
1438 | <xsl:value-of select="witsml:flowRateOil"/> |
---|
1439 | </td> |
---|
1440 | <td> |
---|
1441 | <xsl:value-of select="witsml:flowRateGas"/> |
---|
1442 | </td> |
---|
1443 | <td> |
---|
1444 | <xsl:value-of select="witsml:flowRateWater"/> |
---|
1445 | </td> |
---|
1446 | <td> |
---|
1447 | <xsl:value-of select="witsml:presShutIn"/> |
---|
1448 | </td> |
---|
1449 | <td> |
---|
1450 | <xsl:value-of select="witsml:presFlowing"/> |
---|
1451 | </td> |
---|
1452 | <td> |
---|
1453 | <xsl:value-of select="witsml:presBottom"/> |
---|
1454 | </td> |
---|
1455 | <td> |
---|
1456 | <xsl:value-of select="witsml:gasOilRatio"/> |
---|
1457 | </td> |
---|
1458 | <td> |
---|
1459 | <xsl:value-of select="witsml:waterOilRatio"/> |
---|
1460 | </td> |
---|
1461 | <td> |
---|
1462 | <xsl:value-of select="witsml:chloride"/> |
---|
1463 | </td> |
---|
1464 | <td> |
---|
1465 | <xsl:value-of select="witsml:carbonDioxide"/> |
---|
1466 | </td> |
---|
1467 | <td> |
---|
1468 | <xsl:value-of select="witsml:hydrogenSulfide"/> |
---|
1469 | </td> |
---|
1470 | <!-- |
---|
1471 | <td><xsl:value-of select="witsml:volOilTotal"/></td> |
---|
1472 | <td><xsl:value-of select="witsml:volGasTotal"/></td> |
---|
1473 | <td><xsl:value-of select="witsml:volWaterTotal"/></td> |
---|
1474 | <td><xsl:value-of select="witsml:volOilStored"/></td> |
---|
1475 | --> |
---|
1476 | </tr> |
---|
1477 | </xsl:for-each> |
---|
1478 | <!--"witsml:wellTestInfo" --> |
---|
1479 | </table> |
---|
1480 | </td> |
---|
1481 | </tr> |
---|
1482 | </xsl:if> |
---|
1483 | <!-- Foramtion Test Info --> |
---|
1484 | <xsl:if test="count(witsml:formTestInfo) > 0"> |
---|
1485 | <tr height="5px"> |
---|
1486 | <td/> |
---|
1487 | </tr> |
---|
1488 | <tr> |
---|
1489 | <td> |
---|
1490 | <hr/> |
---|
1491 | </td> |
---|
1492 | </tr> |
---|
1493 | <tr> |
---|
1494 | <td class="SectionHead">Formation Test</td> |
---|
1495 | </tr> |
---|
1496 | <tr> |
---|
1497 | <td> |
---|
1498 | <table id="table1"> |
---|
1499 | <xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/> |
---|
1500 | <xsl:variable name="url_md"> |
---|
1501 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/> |
---|
1502 | </xsl:variable> |
---|
1503 | <xsl:variable name="url_presPore"> |
---|
1504 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/> |
---|
1505 | </xsl:variable> |
---|
1506 | <xsl:variable name="url_goodSealm"> |
---|
1507 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/> |
---|
1508 | </xsl:variable> |
---|
1509 | <xsl:variable name="url_mdSample"> |
---|
1510 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/> |
---|
1511 | </xsl:variable> |
---|
1512 | <xsl:variable name="url_dominateComponent"> |
---|
1513 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/> |
---|
1514 | </xsl:variable> |
---|
1515 | <xsl:variable name="url_densityHC"> |
---|
1516 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/> |
---|
1517 | </xsl:variable> |
---|
1518 | <xsl:variable name="url_volumeSample"> |
---|
1519 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/> |
---|
1520 | </xsl:variable> |
---|
1521 | <xsl:variable name="url_description"> |
---|
1522 | <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/> |
---|
1523 | </xsl:variable> |
---|
1524 | <tr> |
---|
1525 | <td width="60" align="center" valign="top"> |
---|
1526 | <a href="{$url_md}" target="_blank">Depth mMD</a> |
---|
1527 | </td> |
---|
1528 | <td width="60" align="center" valign="top"> |
---|
1529 | <table id="two" width="100%"> |
---|
1530 | <tr> |
---|
1531 | <td align="center"> |
---|
1532 | <a href="{$url_presPore}" target="_blank">Formation Pore Pressure</a> |
---|
1533 | </td> |
---|
1534 | </tr> |
---|
1535 | <tr> |
---|
1536 | <td align="center" class="ColHead"> |
---|
1537 | <xsl:value-of select="witsml:formTestInfo/witsml:presPore/@uom"/> |
---|
1538 | </td> |
---|
1539 | </tr> |
---|
1540 | </table> |
---|
1541 | </td> |
---|
1542 | <td width="60" align="center" valign="top"> |
---|
1543 | <a href="{$url_goodSealm}" target="_blank">Good Seal Ind</a> |
---|
1544 | </td> |
---|
1545 | <td width="60" align="center" valign="top"> |
---|
1546 | <table id="two" width="100%"> |
---|
1547 | <tr> |
---|
1548 | <td align="center"> |
---|
1549 | <a href="{$url_mdSample}" target="_blank">Depth to Sample Point</a> |
---|
1550 | </td> |
---|
1551 | </tr> |
---|
1552 | <tr> |
---|
1553 | <td align="center" class="ColHead">mMD</td> |
---|
1554 | </tr> |
---|
1555 | </table> |
---|
1556 | </td> |
---|
1557 | <td width="60" align="center" valign="top"> |
---|
1558 | <a href="{$url_dominateComponent}" target="_blank">Dominate Fluid Component</a> |
---|
1559 | </td> |
---|
1560 | <td width="60" align="center" valign="top"> |
---|
1561 | <table id="two" width="100%"> |
---|
1562 | <tr> |
---|
1563 | <td align="center"> |
---|
1564 | <a href="{$url_densityHC}" target="_blank">HC Component Density</a> |
---|
1565 | </td> |
---|
1566 | </tr> |
---|
1567 | <tr> |
---|
1568 | <td align="center" class="ColHead"> |
---|
1569 | <xsl:value-of select="witsml:formTestInfo/witsml:densityHC/@uom"/> |
---|
1570 | </td> |
---|
1571 | </tr> |
---|
1572 | </table> |
---|
1573 | </td> |
---|
1574 | <td width="60" align="center" valign="top"> |
---|
1575 | <table id="two" width="100%"> |
---|
1576 | <tr> |
---|
1577 | <td align="center"> |
---|
1578 | <a href="{$url_volumeSample}" target="_blank">Sample Volume</a> |
---|
1579 | </td> |
---|
1580 | </tr> |
---|
1581 | <tr> |
---|
1582 | <td align="center" class="ColHead"> |
---|
1583 | <xsl:value-of select="witsml:formTestInfo/witsml:volumeSample/@uom"/> |
---|
1584 | </td> |
---|
1585 | </tr> |
---|
1586 | </table> |
---|
1587 | </td> |
---|
1588 | <td align="left" valign="top"> |
---|
1589 | <a href="{$url_description}" target="_blank">Description</a> |
---|
1590 | </td> |
---|
1591 | </tr> |
---|
1592 | <xsl:for-each select="witsml:formTestInfo"> |
---|
1593 | <tr class="light"> |
---|
1594 | <td valign="top" align="center"> |
---|
1595 | <xsl:value-of select="witsml:md"/> |
---|
1596 | </td> |
---|
1597 | <td valign="top" align="center"> |
---|
1598 | <xsl:value-of select="witsml:presPore"/> |
---|
1599 | </td> |
---|
1600 | <td valign="top" align="center"> |
---|
1601 | <xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if> |
---|
1602 | <xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if> |
---|
1603 | </td> |
---|
1604 | <td valign="top" align="center"> |
---|
1605 | <xsl:value-of select="witsml:mdSample"/> |
---|
1606 | </td> |
---|
1607 | <td valign="top" align="center"> |
---|
1608 | <xsl:value-of select="witsml:dominateComponent"/> |
---|
1609 | </td> |
---|
1610 | <td valign="top" align="center"> |
---|
1611 | <xsl:value-of select="witsml:densityHC"/> |
---|
1612 | </td> |
---|
1613 | <td valign="top" align="center"> |
---|
1614 | <xsl:value-of select="witsml:volumeSample"/> |
---|
1615 | </td> |
---|
1616 | <td> |
---|
1617 | <xsl:value-of select="witsml:description"/> |
---|
1618 | </td> |
---|
1619 | </tr> |
---|
1620 | </xsl:for-each> |
---|
1621 | <!--"witsml:formTestInfo" --> |
---|
1622 | </table> |
---|
1623 | </td> |
---|
1624 | </tr> |
---|
1625 | </xsl:if> |
---|
1626 | <!-- stratInfo --> |
---|
1627 | <xsl:if test="count(witsml:stratInfo) > 0"> |
---|
1628 | <tr height="5px"> |
---|
1629 | <td/> |
---|
1630 | </tr> |
---|
1631 | <tr> |
---|
1632 | <td> |
---|
1633 | <hr/> |
---|
1634 | </td> |
---|
1635 | </tr> |
---|
1636 | <tr> |
---|
1637 | <td class="SectionHead">Stratigraphic Information</td> |
---|
1638 | </tr> |
---|
1639 | <tr> |
---|
1640 | <td> |
---|
1641 | <table id="table1"> |
---|
1642 | <xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/> |
---|
1643 | <xsl:variable name="url_mdTop"> |
---|
1644 | <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/> |
---|
1645 | </xsl:variable> |
---|
1646 | <xsl:variable name="url_tvdTop"> |
---|
1647 | <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/> |
---|
1648 | </xsl:variable> |
---|
1649 | <xsl:variable name="url_description"> |
---|
1650 | <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/> |
---|
1651 | </xsl:variable> |
---|
1652 | <tr> |
---|
1653 | <td width="60" align="left" valign="top"> |
---|
1654 | <a href="{$url_mdTop}" target="_blank">Depth to Top of Formation mMD</a> |
---|
1655 | </td> |
---|
1656 | <td width="60" align="left" valign="top"> |
---|
1657 | <a href="{$url_tvdTop}" target="_blank">Depth to Top of Formation mTVD</a> |
---|
1658 | </td> |
---|
1659 | <td align="left" valign="top"> |
---|
1660 | <a href="{$url_description}" target="_blank"> |
---|
1661 | <b>Formation Name</b> |
---|
1662 | </a> |
---|
1663 | </td> |
---|
1664 | </tr> |
---|
1665 | <xsl:for-each select="witsml:stratInfo"> |
---|
1666 | <tr class="light"> |
---|
1667 | <td valign="top"> |
---|
1668 | <xsl:value-of select="witsml:mdTop"/> |
---|
1669 | </td> |
---|
1670 | <td valign="top"> |
---|
1671 | <xsl:value-of select="witsml:tvdTop"/> |
---|
1672 | </td> |
---|
1673 | <td> |
---|
1674 | <xsl:value-of select="witsml:description"/> |
---|
1675 | </td> |
---|
1676 | </tr> |
---|
1677 | </xsl:for-each> |
---|
1678 | </table> |
---|
1679 | </td> |
---|
1680 | </tr> |
---|
1681 | </xsl:if> |
---|
1682 | <!-- Changed 18jan2011 --> |
---|
1683 | <!-- lithShowInfo --> |
---|
1684 | <xsl:if test="count(witsml:lithShowInfo) > 0"> |
---|
1685 | <tr height="5px"> |
---|
1686 | <td/> |
---|
1687 | </tr> |
---|
1688 | <tr> |
---|
1689 | <td> |
---|
1690 | <hr/> |
---|
1691 | </td> |
---|
1692 | </tr> |
---|
1693 | <tr> |
---|
1694 | <td class="SectionHead">Lithology Information</td> |
---|
1695 | </tr> |
---|
1696 | <tr> |
---|
1697 | <td> |
---|
1698 | <table id="table1"> |
---|
1699 | <xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/> |
---|
1700 | <xsl:variable name="url_mdTop"> |
---|
1701 | <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/> |
---|
1702 | </xsl:variable> |
---|
1703 | <xsl:variable name="url_mdBottom"> |
---|
1704 | <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/> |
---|
1705 | </xsl:variable> |
---|
1706 | <xsl:variable name="url_tvdTop"> |
---|
1707 | <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/> |
---|
1708 | </xsl:variable> |
---|
1709 | <xsl:variable name="url_tvdBottom"> |
---|
1710 | <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/> |
---|
1711 | </xsl:variable> |
---|
1712 | <xsl:variable name="url_show"> |
---|
1713 | <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/> |
---|
1714 | </xsl:variable> |
---|
1715 | <xsl:variable name="url_lithology"> |
---|
1716 | <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/> |
---|
1717 | </xsl:variable> |
---|
1718 | <tr> |
---|
1719 | <td width="60" align="center" valign="top"> |
---|
1720 | <a href="{$url_mdTop}" target="_blank">Start Depth mMD</a> |
---|
1721 | </td> |
---|
1722 | <td width="60" align="center" valign="top"> |
---|
1723 | <a href="{$url_mdBottom}" target="_blank">End Depth mMD</a> |
---|
1724 | </td> |
---|
1725 | <td width="60" align="center" valign="top"> |
---|
1726 | <a href="{$url_mdBottom}" target="_blank">Difference in Depth mMD</a> |
---|
1727 | </td> |
---|
1728 | <td width="60" align="center" valign="top"> |
---|
1729 | <a href="{$url_tvdTop}" target="_blank">Start Depth mTVD</a> |
---|
1730 | </td> |
---|
1731 | <td width="60" align="center" valign="top"> |
---|
1732 | <a href="{$url_tvdBottom}" target="_blank">End Depth mTVD</a> |
---|
1733 | </td> |
---|
1734 | <td width="60" align="center" valign="top"> |
---|
1735 | <a href="{$url_tvdBottom}" target="_blank">Difference in Depth mTVD</a> |
---|
1736 | </td> |
---|
1737 | <td width="300" align="left" valign="top"> |
---|
1738 | <a href="{$url_show}" target="_blank">Shows Description</a> |
---|
1739 | </td> |
---|
1740 | <td align="left" valign="top"> |
---|
1741 | <a href="{$url_lithology}" target="_blank"> |
---|
1742 | <b>Lithology Description</b> |
---|
1743 | </a> |
---|
1744 | </td> |
---|
1745 | </tr> |
---|
1746 | <xsl:for-each select="witsml:lithShowInfo"> |
---|
1747 | <tr class="light"> |
---|
1748 | <td valign="top" align="center"> |
---|
1749 | <xsl:value-of select="witsml:mdTop"/> |
---|
1750 | </td> |
---|
1751 | <td valign="top" align="center"> |
---|
1752 | <xsl:value-of select="witsml:mdBottom"/> |
---|
1753 | </td> |
---|
1754 | <td valign="top" align="center"> |
---|
1755 | <xsl:value-of select="witsml:mdBottom - witsml:mdTop"/> |
---|
1756 | </td> |
---|
1757 | <td valign="top" align="center"> |
---|
1758 | <xsl:value-of select="witsml:tvdTop"/> |
---|
1759 | </td> |
---|
1760 | <td valign="top" align="center"> |
---|
1761 | <xsl:value-of select="witsml:tvdBottom"/> |
---|
1762 | </td> |
---|
1763 | <td valign="top" align="center"> |
---|
1764 | <xsl:value-of select="witsml:tvdBottom - witsml:tvdTop"/> |
---|
1765 | </td> |
---|
1766 | <td valign="top"> |
---|
1767 | <xsl:value-of select="witsml:show"/> |
---|
1768 | </td> |
---|
1769 | <td valign="top"> |
---|
1770 | <xsl:value-of select="witsml:lithology"/> |
---|
1771 | </td> |
---|
1772 | </tr> |
---|
1773 | </xsl:for-each> |
---|
1774 | <!--"witsml:lithShowInfo" --> |
---|
1775 | </table> |
---|
1776 | </td> |
---|
1777 | </tr> |
---|
1778 | </xsl:if> |
---|
1779 | <!-- END Changed 18jan2011 --> |
---|
1780 | <!-- controlIncidentInfo --> |
---|
1781 | <xsl:for-each select="witsml:controlIncidentInfo"> |
---|
1782 | <tr height="5px"> |
---|
1783 | <td/> |
---|
1784 | </tr> |
---|
1785 | <tr> |
---|
1786 | <td> |
---|
1787 | <hr/> |
---|
1788 | </td> |
---|
1789 | </tr> |
---|
1790 | <tr> |
---|
1791 | <td class="SectionHead">Well Control Incident</td> |
---|
1792 | </tr> |
---|
1793 | <tr> |
---|
1794 | <td> |
---|
1795 | <table id="table1"> |
---|
1796 | <xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/> |
---|
1797 | <xsl:variable name="url_dTim"> |
---|
1798 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/> |
---|
1799 | </xsl:variable> |
---|
1800 | <xsl:variable name="url_mdInflow"> |
---|
1801 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/> |
---|
1802 | </xsl:variable> |
---|
1803 | <xsl:variable name="url_tvdInflow"> |
---|
1804 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/> |
---|
1805 | </xsl:variable> |
---|
1806 | <xsl:variable name="url_eTimLost"> |
---|
1807 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/> |
---|
1808 | </xsl:variable> |
---|
1809 | <xsl:variable name="url_dTimRegained"> |
---|
1810 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/> |
---|
1811 | </xsl:variable> |
---|
1812 | <xsl:variable name="url_mdBit"> |
---|
1813 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/> |
---|
1814 | </xsl:variable> |
---|
1815 | <xsl:variable name="url_wtMud"> |
---|
1816 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/> |
---|
1817 | </xsl:variable> |
---|
1818 | <xsl:variable name="url_porePressure"> |
---|
1819 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/> |
---|
1820 | </xsl:variable> |
---|
1821 | <xsl:variable name="url_mdCsgLast"> |
---|
1822 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/> |
---|
1823 | </xsl:variable> |
---|
1824 | <xsl:variable name="url_volMudGained"> |
---|
1825 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/> |
---|
1826 | </xsl:variable> |
---|
1827 | <xsl:variable name="url_presShutInCasing"> |
---|
1828 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/> |
---|
1829 | </xsl:variable> |
---|
1830 | <xsl:variable name="url_presShutInDrill"> |
---|
1831 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/> |
---|
1832 | </xsl:variable> |
---|
1833 | <xsl:variable name="url_incidentType"> |
---|
1834 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/> |
---|
1835 | </xsl:variable> |
---|
1836 | <xsl:variable name="url_killingType"> |
---|
1837 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/> |
---|
1838 | </xsl:variable> |
---|
1839 | <xsl:variable name="url_formation"> |
---|
1840 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/> |
---|
1841 | </xsl:variable> |
---|
1842 | <xsl:variable name="url_tempBottom"> |
---|
1843 | <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/> |
---|
1844 | </xsl:variable> |
---|
1845 | <tr> |
---|
1846 | <td width="60" align="left" valign="top"> |
---|
1847 | <a href="{$url_dTim}" target="_blank">Date</a> |
---|
1848 | </td> |
---|
1849 | <td width="60" align="left" valign="top"> |
---|
1850 | <table width="100%"> |
---|
1851 | <tr> |
---|
1852 | <td align="center"> |
---|
1853 | <a href="{$url_mdInflow}" target="_blank">Depth of Well</a> |
---|
1854 | </td> |
---|
1855 | </tr> |
---|
1856 | <tr> |
---|
1857 | <td align="center" class="ColHead">mMD</td> |
---|
1858 | </tr> |
---|
1859 | </table> |
---|
1860 | </td> |
---|
1861 | <td width="60" align="left" valign="top"> |
---|
1862 | <table id="two"> |
---|
1863 | <tr> |
---|
1864 | <td align="center"> |
---|
1865 | <a href="{$url_tvdInflow}" target="_blank">Depth of Well</a> |
---|
1866 | </td> |
---|
1867 | </tr> |
---|
1868 | <tr> |
---|
1869 | <td align="center" class="ColHead">mTVD</td> |
---|
1870 | </tr> |
---|
1871 | </table> |
---|
1872 | </td> |
---|
1873 | <td width="60" align="left" valign="top"> |
---|
1874 | <table id="two" width="100%"> |
---|
1875 | <tr> |
---|
1876 | <td align="center"> |
---|
1877 | <a href="{$url_eTimLost}" target="_blank">Lost Time</a> |
---|
1878 | </td> |
---|
1879 | </tr> |
---|
1880 | <tr> |
---|
1881 | <td align="center" class="ColHead"> |
---|
1882 | <xsl:value-of select="witsml:controlIncidentInfo/witsml:eTimLost/@uom"/> |
---|
1883 | </td> |
---|
1884 | </tr> |
---|
1885 | </table> |
---|
1886 | </td> |
---|
1887 | <td width="60" align="left" valign="top"> |
---|
1888 | <a href="{$url_dTimRegained}" target="_blank">Time for Well Control Regain</a> |
---|
1889 | </td> |
---|
1890 | <!-- |
---|
1891 | <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> |
---|
1892 | --> |
---|
1893 | <td width="60" align="left" valign="top"> |
---|
1894 | <table id="two" width="100%"> |
---|
1895 | <tr> |
---|
1896 | <td align="center"> |
---|
1897 | <a href="{$url_mdBit}" target="_blank">Depth at Bit</a> |
---|
1898 | </td> |
---|
1899 | </tr> |
---|
1900 | <tr> |
---|
1901 | <td align="center" class="ColHead">mMD</td> |
---|
1902 | </tr> |
---|
1903 | </table> |
---|
1904 | </td> |
---|
1905 | <td width="80" align="center" valign="top"> |
---|
1906 | <table id="two" width="100%"> |
---|
1907 | <tr> |
---|
1908 | <td align="center"> |
---|
1909 | <a href="{$url_wtMud}" target="_blank">Drilling Fluid Density</a> |
---|
1910 | </td> |
---|
1911 | </tr> |
---|
1912 | <tr> |
---|
1913 | <td align="center" class="ColHead"> |
---|
1914 | <xsl:value-of select="witsml:controlIncidentInfo/witsml:wtMud/@uom"/> |
---|
1915 | </td> |
---|
1916 | </tr> |
---|
1917 | </table> |
---|
1918 | </td> |
---|
1919 | <td width="80" align="center" valign="top"> |
---|
1920 | <table id="two" width="100%"> |
---|
1921 | <tr> |
---|
1922 | <td align="center"> |
---|
1923 | <a href="{$url_porePressure}" target="_blank">Pore Pressure</a> |
---|
1924 | </td> |
---|
1925 | </tr> |
---|
1926 | <tr> |
---|
1927 | <td align="center" class="ColHead"> |
---|
1928 | <xsl:value-of select="witsml:controlIncidentInfo/witsml:porePressure/@uom"/> |
---|
1929 | </td> |
---|
1930 | </tr> |
---|
1931 | </table> |
---|
1932 | </td> |
---|
1933 | <!-- |
---|
1934 | <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> |
---|
1935 | --> |
---|
1936 | <td width="80" align="center" valign="top"> |
---|
1937 | <table id="two" width="100%"> |
---|
1938 | <tr> |
---|
1939 | <td align="center"> |
---|
1940 | <a href="{$url_mdCsgLast}" target="_blank">Depth to Casing</a> |
---|
1941 | </td> |
---|
1942 | </tr> |
---|
1943 | <tr> |
---|
1944 | <td align="center" class="ColHead">mMD</td> |
---|
1945 | </tr> |
---|
1946 | </table> |
---|
1947 | </td> |
---|
1948 | <td width="80" align="center" valign="top"> |
---|
1949 | <table id="two" width="100%"> |
---|
1950 | <tr> |
---|
1951 | <td align="center"> |
---|
1952 | <a href="{$url_volMudGained}" target="_blank">Gained Vol of Fluid</a> |
---|
1953 | </td> |
---|
1954 | </tr> |
---|
1955 | <tr> |
---|
1956 | <td align="center" class="ColHead"> |
---|
1957 | <xsl:value-of select="witsml:controlIncidentInfo/witsml:volMudGained/@uom"/> |
---|
1958 | </td> |
---|
1959 | </tr> |
---|
1960 | </table> |
---|
1961 | </td> |
---|
1962 | <td width="80" align="center" valign="top"> |
---|
1963 | <table id="two" width="100%"> |
---|
1964 | <tr> |
---|
1965 | <td align="center"> |
---|
1966 | <a href="{$url_presShutInCasing}" target="_blank">Shut in Casing Pressure</a> |
---|
1967 | </td> |
---|
1968 | </tr> |
---|
1969 | <tr> |
---|
1970 | <td align="center" class="ColHead"> |
---|
1971 | <xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInCasing/@uom"/> |
---|
1972 | </td> |
---|
1973 | </tr> |
---|
1974 | </table> |
---|
1975 | </td> |
---|
1976 | <td width="80" align="center" valign="top"> |
---|
1977 | <table id="two" width="100%"> |
---|
1978 | <tr> |
---|
1979 | <td align="center"> |
---|
1980 | <a href="{$url_presShutInDrill}" target="_blank">Shut in Drill Pipe Pressure</a> |
---|
1981 | </td> |
---|
1982 | </tr> |
---|
1983 | <tr> |
---|
1984 | <td align="center" class="ColHead"> |
---|
1985 | <xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInDrill/@uom"/> |
---|
1986 | </td> |
---|
1987 | </tr> |
---|
1988 | </table> |
---|
1989 | </td> |
---|
1990 | <td width="100" align="center" valign="top"> |
---|
1991 | <a href="{$url_incidentType}" target="_blank">Incident Class</a> |
---|
1992 | </td> |
---|
1993 | <td width="100" align="center" valign="top"> |
---|
1994 | <a href="{$url_killingType}" target="_blank">Killing Procd</a> |
---|
1995 | </td> |
---|
1996 | <td width="100" align="center" valign="top"> |
---|
1997 | <a href="{$url_formation}" target="_blank">Formation</a> |
---|
1998 | </td> |
---|
1999 | <td width="80" align="center" valign="top"> |
---|
2000 | <table id="two" width="100%"> |
---|
2001 | <tr> |
---|
2002 | <td align="center"> |
---|
2003 | <a href="{$url_tempBottom}" target="_blank">BHT</a> |
---|
2004 | </td> |
---|
2005 | </tr> |
---|
2006 | <tr> |
---|
2007 | <td align="center" class="ColHead"> |
---|
2008 | <xsl:value-of select="witsml:controlIncidentInfo/witsml:tempBottom/@uom"/> |
---|
2009 | </td> |
---|
2010 | </tr> |
---|
2011 | </table> |
---|
2012 | </td> |
---|
2013 | <!-- <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> --> |
---|
2014 | </tr> |
---|
2015 | <!-- End header --> |
---|
2016 | <tr class="light"> |
---|
2017 | <td valign="top" align="center"> |
---|
2018 | <xsl:value-of select="substring-before(witsml:dTim, 'T')"/> |
---|
2019 | </td> |
---|
2020 | <td valign="top" align="center"> |
---|
2021 | <xsl:value-of select="witsml:mdInflow"/> |
---|
2022 | </td> |
---|
2023 | <td valign="top" align="center"> |
---|
2024 | <xsl:value-of select="witsml:tvdInflow"/> |
---|
2025 | </td> |
---|
2026 | <td valign="top" align="center"> |
---|
2027 | <xsl:value-of select="witsml:eTimLost"/> |
---|
2028 | </td> |
---|
2029 | <td valign="top" align="center"> |
---|
2030 | <xsl:value-of select="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/> |
---|
2031 | </td> |
---|
2032 | <!-- <td valign="top"><xsl:value-of select="witsml:diaBit"/></td> --> |
---|
2033 | <td valign="top" align="center"> |
---|
2034 | <xsl:value-of select="witsml:mdBit"/> |
---|
2035 | </td> |
---|
2036 | <td valign="top" align="center"> |
---|
2037 | <xsl:value-of select="witsml:wtMud"/> |
---|
2038 | </td> |
---|
2039 | <td valign="top" align="center"> |
---|
2040 | <xsl:value-of select="witsml:porePressure"/> |
---|
2041 | </td> |
---|
2042 | <!-- <td valign="top"><xsl:value-of select="witsml:diaCsgLast"/></td> --> |
---|
2043 | <td valign="top" align="center"> |
---|
2044 | <xsl:value-of select="witsml:mdCsgLast"/> |
---|
2045 | </td> |
---|
2046 | <td valign="top" align="center"> |
---|
2047 | <xsl:value-of select="witsml:volMudGained"/> |
---|
2048 | </td> |
---|
2049 | <td valign="top" align="center"> |
---|
2050 | <xsl:value-of select="witsml:presShutInCasing"/> |
---|
2051 | </td> |
---|
2052 | <td valign="top" align="center"> |
---|
2053 | <xsl:value-of select="witsml:presShutInDrill"/> |
---|
2054 | </td> |
---|
2055 | <td valign="top" align="center"> |
---|
2056 | <xsl:value-of select="witsml:incidentType"/> |
---|
2057 | </td> |
---|
2058 | <td valign="top" align="center"> |
---|
2059 | <xsl:value-of select="witsml:killingType"/> |
---|
2060 | </td> |
---|
2061 | <td valign="top" align="center"> |
---|
2062 | <xsl:value-of select="witsml:formation"/> |
---|
2063 | </td> |
---|
2064 | <td valign="top" align="center"> |
---|
2065 | <xsl:value-of select="witsml:tempBottom"/> |
---|
2066 | </td> |
---|
2067 | <!-- <td valign="top"><xsl:value-of select="witsml:presMaxChoke"/></td> --> |
---|
2068 | </tr> |
---|
2069 | <tr> |
---|
2070 | <td/> |
---|
2071 | <td colspan="15"> |
---|
2072 | <xsl:value-of select="witsml:description"/> |
---|
2073 | </td> |
---|
2074 | </tr> |
---|
2075 | </table> |
---|
2076 | </td> |
---|
2077 | </tr> |
---|
2078 | </xsl:for-each> |
---|
2079 | <!-- Changed 19jan2011 --> |
---|
2080 | <!-- perfInfo --> |
---|
2081 | <xsl:if test="count(witsml:perfInfo) > 0"> |
---|
2082 | <tr height="5px"> |
---|
2083 | <td/> |
---|
2084 | </tr> |
---|
2085 | <tr> |
---|
2086 | <td> |
---|
2087 | <hr/> |
---|
2088 | </td> |
---|
2089 | </tr> |
---|
2090 | <tr> |
---|
2091 | <td class="SectionHead">Perforation Information</td> |
---|
2092 | </tr> |
---|
2093 | <tr> |
---|
2094 | <td> |
---|
2095 | <table id="table1"> |
---|
2096 | <xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/> |
---|
2097 | <xsl:variable name="url_dTimOpen"> |
---|
2098 | <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/> |
---|
2099 | </xsl:variable> |
---|
2100 | <xsl:variable name="url_dTimClose"> |
---|
2101 | <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/> |
---|
2102 | </xsl:variable> |
---|
2103 | <xsl:variable name="url_mdTop"> |
---|
2104 | <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/> |
---|
2105 | </xsl:variable> |
---|
2106 | <xsl:variable name="url_mdBottom"> |
---|
2107 | <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/> |
---|
2108 | </xsl:variable> |
---|
2109 | <xsl:variable name="url_tvdTop"> |
---|
2110 | <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/> |
---|
2111 | </xsl:variable> |
---|
2112 | <xsl:variable name="url_tvdBottom"> |
---|
2113 | <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/> |
---|
2114 | </xsl:variable> |
---|
2115 | <tr> |
---|
2116 | <td width="110" align="center" valign="top"> |
---|
2117 | <a href="{$url_dTimOpen}" target="_blank">Time of Opening Well Perf</a> |
---|
2118 | </td> |
---|
2119 | <td width="110" align="center" valign="top"> |
---|
2120 | <a href="{$url_dTimClose}" target="_blank">Time of Closing Well Perf</a> |
---|
2121 | </td> |
---|
2122 | <td width="110" align="center" valign="top"> |
---|
2123 | <a href="{$urlRDS}" target="_blank">Duration Well Perf</a> |
---|
2124 | </td> |
---|
2125 | <td width="100" align="center" valign="top"> |
---|
2126 | <table id="two" width="100%"> |
---|
2127 | <tr> |
---|
2128 | <td align="center"> |
---|
2129 | <a href="{$url_mdTop}" target="_blank">Top of Perf</a> |
---|
2130 | </td> |
---|
2131 | </tr> |
---|
2132 | <tr> |
---|
2133 | <td align="center" class="ColHead">mMD</td> |
---|
2134 | </tr> |
---|
2135 | </table> |
---|
2136 | </td> |
---|
2137 | <td width="100" align="center" valign="top"> |
---|
2138 | <table id="two" width="100%"> |
---|
2139 | <tr> |
---|
2140 | <td align="center"> |
---|
2141 | <a href="{$url_mdBottom}" target="_blank">Bottom of Perf</a> |
---|
2142 | </td> |
---|
2143 | </tr> |
---|
2144 | <tr> |
---|
2145 | <td align="center" class="ColHead">mMD</td> |
---|
2146 | </tr> |
---|
2147 | </table> |
---|
2148 | </td> |
---|
2149 | <td width="100" align="center" valign="top"> |
---|
2150 | <table id="two" width="100%"> |
---|
2151 | <tr> |
---|
2152 | <td align="center"> |
---|
2153 | <a href="{$url_tvdTop}" target="_blank">Top of Perf</a> |
---|
2154 | </td> |
---|
2155 | </tr> |
---|
2156 | <tr> |
---|
2157 | <td align="center" class="ColHead">mTVD</td> |
---|
2158 | </tr> |
---|
2159 | </table> |
---|
2160 | </td> |
---|
2161 | <td width="100" align="center" valign="top"> |
---|
2162 | <table id="two" width="100%"> |
---|
2163 | <tr> |
---|
2164 | <td align="center"> |
---|
2165 | <a href="{$url_tvdBottom}" target="_blank">Bottom of Perf</a> |
---|
2166 | </td> |
---|
2167 | </tr> |
---|
2168 | <tr> |
---|
2169 | <td align="center" class="ColHead">mTVD</td> |
---|
2170 | </tr> |
---|
2171 | </table> |
---|
2172 | </td> |
---|
2173 | </tr> |
---|
2174 | <xsl:for-each select="witsml:perfInfo"> |
---|
2175 | <tr class="light"> |
---|
2176 | <xsl:variable name="duration"> |
---|
2177 | <xsl:call-template name="date:difference"> |
---|
2178 | <xsl:with-param name="start" select="substring(witsml:dTimOpen, 0, 20)"/> |
---|
2179 | <xsl:with-param name="end" select="substring(witsml:dTimClose, 0, 20)"/> |
---|
2180 | </xsl:call-template> |
---|
2181 | </xsl:variable> |
---|
2182 | <td align="center"> |
---|
2183 | <xsl:value-of select="substring(witsml:dTimOpen, 0, 17)"/> |
---|
2184 | </td> |
---|
2185 | <td align="center"> |
---|
2186 | <xsl:value-of select="substring(witsml:dTimClose, 0, 17)"/> |
---|
2187 | </td> |
---|
2188 | <td align="center"> |
---|
2189 | <xsl:value-of select="substring-after($duration, 'PT')"/> |
---|
2190 | </td> |
---|
2191 | <td align="center"> |
---|
2192 | <xsl:value-of select="witsml:mdTop"/> |
---|
2193 | </td> |
---|
2194 | <td align="center"> |
---|
2195 | <xsl:value-of select="witsml:mdBottom"/> |
---|
2196 | </td> |
---|
2197 | <td align="center"> |
---|
2198 | <xsl:value-of select="witsml:tvdTop"/> |
---|
2199 | </td> |
---|
2200 | <td align="center"> |
---|
2201 | <xsl:value-of select="witsml:tvdBottom"/> |
---|
2202 | </td> |
---|
2203 | </tr> |
---|
2204 | </xsl:for-each> |
---|
2205 | </table> |
---|
2206 | </td> |
---|
2207 | </tr> |
---|
2208 | </xsl:if> |
---|
2209 | <!-- END Changed 19jan2011 --> |
---|
2210 | <!-- gasReadingInfo --> |
---|
2211 | <xsl:if test="count(witsml:gasReadingInfo) > 0"> |
---|
2212 | <tr height="5px"> |
---|
2213 | <td/> |
---|
2214 | </tr> |
---|
2215 | <tr> |
---|
2216 | <td> |
---|
2217 | <hr/> |
---|
2218 | </td> |
---|
2219 | </tr> |
---|
2220 | <tr> |
---|
2221 | <td class="SectionHead">Gas Reading Information</td> |
---|
2222 | </tr> |
---|
2223 | <tr> |
---|
2224 | <td> |
---|
2225 | <table id="table1"> |
---|
2226 | <xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/> |
---|
2227 | <xsl:variable name="url_dTim"> |
---|
2228 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/> |
---|
2229 | </xsl:variable> |
---|
2230 | <xsl:variable name="url_readingType"> |
---|
2231 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/> |
---|
2232 | </xsl:variable> |
---|
2233 | <xsl:variable name="url_mdTop"> |
---|
2234 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/> |
---|
2235 | </xsl:variable> |
---|
2236 | <xsl:variable name="url_mdBottom"> |
---|
2237 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/> |
---|
2238 | </xsl:variable> |
---|
2239 | <xsl:variable name="url_tvdTop"> |
---|
2240 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/> |
---|
2241 | </xsl:variable> |
---|
2242 | <xsl:variable name="url_tvdBottom"> |
---|
2243 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/> |
---|
2244 | </xsl:variable> |
---|
2245 | <xsl:variable name="url_gasHigh"> |
---|
2246 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/> |
---|
2247 | </xsl:variable> |
---|
2248 | <xsl:variable name="url_gasLow"> |
---|
2249 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/> |
---|
2250 | </xsl:variable> |
---|
2251 | <xsl:variable name="url_meth"> |
---|
2252 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/> |
---|
2253 | </xsl:variable> |
---|
2254 | <xsl:variable name="url_eth"> |
---|
2255 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/> |
---|
2256 | </xsl:variable> |
---|
2257 | <xsl:variable name="url_prop"> |
---|
2258 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/> |
---|
2259 | </xsl:variable> |
---|
2260 | <xsl:variable name="url_ibut"> |
---|
2261 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/> |
---|
2262 | </xsl:variable> |
---|
2263 | <xsl:variable name="url_ipent"> |
---|
2264 | <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/> |
---|
2265 | </xsl:variable> |
---|
2266 | <tr> |
---|
2267 | <td align="center" valign="top"> |
---|
2268 | <a href="{$url_dTim}" target="_blank">Time</a> |
---|
2269 | </td> |
---|
2270 | <td align="center" valign="top"> |
---|
2271 | <a href="{$url_readingType}" target="_blank">Class</a> |
---|
2272 | </td> |
---|
2273 | <td width="60" align="center" valign="top"> |
---|
2274 | <table id="two" width="100%"> |
---|
2275 | <tr> |
---|
2276 | <td align="center"> |
---|
2277 | <a href="{$url_mdTop}" target="_blank">Depth to Top</a> |
---|
2278 | </td> |
---|
2279 | </tr> |
---|
2280 | <tr> |
---|
2281 | <td align="center" class="ColHead">mMD</td> |
---|
2282 | </tr> |
---|
2283 | </table> |
---|
2284 | </td> |
---|
2285 | <td width="60" align="center" valign="top"> |
---|
2286 | <table id="two" width="100%"> |
---|
2287 | <tr> |
---|
2288 | <td align="center"> |
---|
2289 | <a href="{$url_mdBottom}" target="_blank">Depth to Bottom</a> |
---|
2290 | </td> |
---|
2291 | </tr> |
---|
2292 | <tr> |
---|
2293 | <td align="center" class="ColHead">mMD</td> |
---|
2294 | </tr> |
---|
2295 | </table> |
---|
2296 | </td> |
---|
2297 | <td width="60" align="center" valign="top"> |
---|
2298 | <table id="two" width="100%"> |
---|
2299 | <tr> |
---|
2300 | <td align="center"> |
---|
2301 | <a href="{$url_tvdTop}" target="_blank">Depth to Top</a> |
---|
2302 | </td> |
---|
2303 | </tr> |
---|
2304 | <tr> |
---|
2305 | <td align="center" class="ColHead">mTVD</td> |
---|
2306 | </tr> |
---|
2307 | </table> |
---|
2308 | </td> |
---|
2309 | <td width="60" align="center" valign="top"> |
---|
2310 | <table id="two" width="100%"> |
---|
2311 | <tr> |
---|
2312 | <td align="center"> |
---|
2313 | <a href="{$url_tvdBottom}" target="_blank">Depth to Bottom</a> |
---|
2314 | </td> |
---|
2315 | </tr> |
---|
2316 | <tr> |
---|
2317 | <td align="center" class="ColHead">mTVD</td> |
---|
2318 | </tr> |
---|
2319 | </table> |
---|
2320 | </td> |
---|
2321 | <td width="60" align="center" valign="top"> |
---|
2322 | <table id="two" width="100%"> |
---|
2323 | <tr> |
---|
2324 | <td align="center"> |
---|
2325 | <a href="{$url_gasHigh}" target="_blank">Highest Gas</a> |
---|
2326 | </td> |
---|
2327 | </tr> |
---|
2328 | <tr> |
---|
2329 | <td align="center" class="ColHead"> |
---|
2330 | <xsl:value-of select="witsml:gasReadingInfo/witsml:gasHigh/@uom"/> |
---|
2331 | </td> |
---|
2332 | </tr> |
---|
2333 | </table> |
---|
2334 | </td> |
---|
2335 | <td width="60" align="center" valign="top"> |
---|
2336 | <table id="two" width="100%"> |
---|
2337 | <tr> |
---|
2338 | <td align="center"> |
---|
2339 | <a href="{$url_gasLow}" target="_blank">Lowest Gas</a> |
---|
2340 | </td> |
---|
2341 | </tr> |
---|
2342 | <tr> |
---|
2343 | <td align="center" class="ColHead"> |
---|
2344 | <xsl:value-of select="witsml:gasReadingInfo/witsml:gasLow/@uom"/> |
---|
2345 | </td> |
---|
2346 | </tr> |
---|
2347 | </table> |
---|
2348 | </td> |
---|
2349 | <td width="60" align="center" valign="top"> |
---|
2350 | <table id="two" width="100%"> |
---|
2351 | <tr> |
---|
2352 | <td align="center"> |
---|
2353 | <a href="{$url_meth}" target="_blank">C1</a> |
---|
2354 | </td> |
---|
2355 | </tr> |
---|
2356 | <tr> |
---|
2357 | <td align="center" class="ColHead"> |
---|
2358 | <xsl:value-of select="witsml:gasReadingInfo/witsml:meth/@uom"/> |
---|
2359 | </td> |
---|
2360 | </tr> |
---|
2361 | </table> |
---|
2362 | </td> |
---|
2363 | <td width="60" align="center" valign="top"> |
---|
2364 | <table id="two" width="100%"> |
---|
2365 | <tr> |
---|
2366 | <td align="center"> |
---|
2367 | <a href="{$url_eth}" target="_blank">C2</a> |
---|
2368 | </td> |
---|
2369 | </tr> |
---|
2370 | <tr> |
---|
2371 | <td align="center" class="ColHead"> |
---|
2372 | <xsl:value-of select="witsml:gasReadingInfo/witsml:eth/@uom"/> |
---|
2373 | </td> |
---|
2374 | </tr> |
---|
2375 | </table> |
---|
2376 | </td> |
---|
2377 | <td width="60" align="center" valign="top"> |
---|
2378 | <table id="two" width="100%"> |
---|
2379 | <tr> |
---|
2380 | <td align="center"> |
---|
2381 | <a href="{$url_prop}" target="_blank">C3</a> |
---|
2382 | </td> |
---|
2383 | </tr> |
---|
2384 | <tr> |
---|
2385 | <td align="center"> |
---|
2386 | <a href="{$url_prop}" target="_blank"> |
---|
2387 | <xsl:value-of select="witsml:gasReadingInfo/witsml:prop/@uom"/> |
---|
2388 | </a> |
---|
2389 | </td> |
---|
2390 | </tr> |
---|
2391 | </table> |
---|
2392 | </td> |
---|
2393 | <td width="60" align="center" valign="top"> |
---|
2394 | <table id="two" width="100%"> |
---|
2395 | <tr> |
---|
2396 | <td align="center"> |
---|
2397 | <a href="{$url_ibut}" target="_blank">IC4</a> |
---|
2398 | </td> |
---|
2399 | </tr> |
---|
2400 | <tr> |
---|
2401 | <td align="center" class="ColHead"> |
---|
2402 | <xsl:value-of select="witsml:gasReadingInfo/witsml:ibut/@uom"/> |
---|
2403 | </td> |
---|
2404 | </tr> |
---|
2405 | </table> |
---|
2406 | </td> |
---|
2407 | <td width="60" align="center" valign="top"> |
---|
2408 | <table id="two" width="100%"> |
---|
2409 | <tr> |
---|
2410 | <td align="center"> |
---|
2411 | <a href="{$url_ipent}" target="_blank">IC5</a> |
---|
2412 | </td> |
---|
2413 | </tr> |
---|
2414 | <tr> |
---|
2415 | <td align="center" class="ColHead"> |
---|
2416 | <xsl:value-of select="witsml:gasReadingInfo/witsml:ipent/@uom"/> |
---|
2417 | </td> |
---|
2418 | </tr> |
---|
2419 | </table> |
---|
2420 | </td> |
---|
2421 | </tr> |
---|
2422 | <xsl:for-each select="witsml:gasReadingInfo"> |
---|
2423 | <tr class="light"> |
---|
2424 | <td align="center"> |
---|
2425 | <xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/> |
---|
2426 | </td> |
---|
2427 | <td align="center"> |
---|
2428 | <xsl:value-of select="witsml:readingType"/> |
---|
2429 | </td> |
---|
2430 | <td align="center"> |
---|
2431 | <xsl:value-of select="witsml:mdTop"/> |
---|
2432 | </td> |
---|
2433 | <td align="center"> |
---|
2434 | <xsl:value-of select="witsml:mdBottom"/> |
---|
2435 | </td> |
---|
2436 | <td align="center"> |
---|
2437 | <xsl:value-of select="witsml:tvdTop"/> |
---|
2438 | </td> |
---|
2439 | <td align="center"> |
---|
2440 | <xsl:value-of select="witsml:tvdBottom"/> |
---|
2441 | </td> |
---|
2442 | <td align="center"> |
---|
2443 | <xsl:value-of select="witsml:gasHigh"/> |
---|
2444 | </td> |
---|
2445 | <td align="center"> |
---|
2446 | <xsl:value-of select="witsml:gasLow"/> |
---|
2447 | </td> |
---|
2448 | <td align="center"> |
---|
2449 | <xsl:value-of select="witsml:meth"/> |
---|
2450 | </td> |
---|
2451 | <td align="center"> |
---|
2452 | <xsl:value-of select="witsml:eth"/> |
---|
2453 | </td> |
---|
2454 | <td align="center"> |
---|
2455 | <xsl:value-of select="witsml:prop"/> |
---|
2456 | </td> |
---|
2457 | <td align="center"> |
---|
2458 | <xsl:value-of select="witsml:ibut"/> |
---|
2459 | </td> |
---|
2460 | <td align="center"> |
---|
2461 | <xsl:value-of select="witsml:ipent"/> |
---|
2462 | </td> |
---|
2463 | </tr> |
---|
2464 | </xsl:for-each> |
---|
2465 | </table> |
---|
2466 | </td> |
---|
2467 | </tr> |
---|
2468 | </xsl:if> |
---|
2469 | </table> |
---|
2470 | </xsl:for-each> |
---|
2471 | </body> |
---|
2472 | </html> |
---|
2473 | </xsl:template> |
---|
2474 | <xsl:template match="witsml:wellboreInfo"> |
---|
2475 | <xsl:variable name="urlRDS" select="'http://www.posccaesar.org'"/> |
---|
2476 | <xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/> |
---|
2477 | <xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/> |
---|
2478 | <xsl:variable name="url_operator"> |
---|
2479 | <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/> |
---|
2480 | </xsl:variable> |
---|
2481 | <xsl:variable name="url_drillContractor"> |
---|
2482 | <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/> |
---|
2483 | </xsl:variable> |
---|
2484 | <xsl:variable name="url_rigAlias"> |
---|
2485 | <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/> |
---|
2486 | </xsl:variable> |
---|
2487 | <!-- xsl:variable name="url_namingSystem"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='namingSystem']/@sawsdl:modelReference"/></xsl:variable --> |
---|
2488 | <xsl:variable name="url_dTimSpud"> |
---|
2489 | <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/> |
---|
2490 | </xsl:variable> |
---|
2491 | <xsl:variable name="url_dateDrillComplete"> |
---|
2492 | <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/> |
---|
2493 | </xsl:variable> |
---|
2494 | <xsl:variable name="url_elevKelly"> |
---|
2495 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/> |
---|
2496 | </xsl:variable> |
---|
2497 | <tr class="light"> |
---|
2498 | <td class="ColHead"> |
---|
2499 | <a target="_blank" href="{$url_operator}">Operator:</a> |
---|
2500 | </td> |
---|
2501 | <td> |
---|
2502 | <xsl:value-of select="witsml:operator"/> |
---|
2503 | </td> |
---|
2504 | <td class="ColHead"> |
---|
2505 | <a target="_blank" href="{$url_drillContractor}">Drilling contractor:</a> |
---|
2506 | </td> |
---|
2507 | <td colspan="3"> |
---|
2508 | <xsl:value-of select="witsml:drillContractor"/> |
---|
2509 | </td> |
---|
2510 | </tr> |
---|
2511 | <tr class="light"> |
---|
2512 | <td class="ColHead"> |
---|
2513 | <a href="{$url_rigAlias}" target="_blank">Rig Name:</a> |
---|
2514 | </td> |
---|
2515 | <td> |
---|
2516 | <xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD Name']/witsml:name"/> |
---|
2517 | </td> |
---|
2518 | <td class="ColHead"> |
---|
2519 | <a href="{$url_rigAlias}" target="_blank">NPD Rig Id:</a> |
---|
2520 | </td> |
---|
2521 | <td> |
---|
2522 | <xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/> |
---|
2523 | </td> |
---|
2524 | </tr> |
---|
2525 | <tr class="light"> |
---|
2526 | <td class="ColHead"> |
---|
2527 | <a href="{$url_elevKelly}" target="_blank">Elevation RKB-MSL <xsl:value-of select="../witsml:statusInfo/witsml:elevKelly/@uom"/>:</a> |
---|
2528 | </td> |
---|
2529 | <td> |
---|
2530 | <xsl:value-of select="../witsml:statusInfo/witsml:elevKelly"/> |
---|
2531 | </td> |
---|
2532 | <td class="ColHead"> |
---|
2533 | <a target="_blank" href="{$urlRDS}">Water Depth MSL <xsl:value-of select="../witsml:statusInfo/witsml:waterDepth/@uom" />:</a> |
---|
2534 | </td> |
---|
2535 | <td class="light"> |
---|
2536 | <xsl:value-of select="../witsml:statusInfo/witsml:waterDepth"/> |
---|
2537 | </td> |
---|
2538 | </tr> |
---|
2539 | <tr class="light"> |
---|
2540 | <td class="ColHead"> |
---|
2541 | <a target="_blank" href="{$url_dTimSpud}">Spud Date:</a> |
---|
2542 | </td> |
---|
2543 | <td> |
---|
2544 | <xsl:value-of select="substring-before(witsml:dTimSpud, 'T')"/> |
---|
2545 | </td> |
---|
2546 | <!-- |
---|
2547 | <td class="ColHead"><a target="_blank" href="{url_dTimPreSpud}">Pre Spud Time:</a></td> |
---|
2548 | <td><xsl:value-of select="substring-before(witsml:dTimPreSpud, 'T')" /></td> |
---|
2549 | --> |
---|
2550 | <td class="ColHead"> |
---|
2551 | <a target="_blank" href="{$url_dateDrillComplete}">Date Well Complete:</a> |
---|
2552 | </td> |
---|
2553 | <td class="light"> |
---|
2554 | <xsl:value-of select="substring-before(witsml:dateDrillComplete, 'T')"/> |
---|
2555 | </td> |
---|
2556 | </tr> |
---|
2557 | </xsl:template> |
---|
2558 | <xsl:template match="witsml:statusInfo"> |
---|
2559 | <xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/> |
---|
2560 | <xsl:variable name="url_typeWellbore"> |
---|
2561 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/> |
---|
2562 | </xsl:variable> |
---|
2563 | <xsl:variable name="url_mdKickoff"> |
---|
2564 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/> |
---|
2565 | </xsl:variable> |
---|
2566 | <xsl:variable name="url_tvdKickoff"> |
---|
2567 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/> |
---|
2568 | </xsl:variable> |
---|
2569 | <xsl:variable name="url_mdPlugTop"> |
---|
2570 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/> |
---|
2571 | </xsl:variable> |
---|
2572 | <xsl:variable name="url_md"> |
---|
2573 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/> |
---|
2574 | </xsl:variable> |
---|
2575 | <xsl:variable name="url_tvd"> |
---|
2576 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/> |
---|
2577 | </xsl:variable> |
---|
2578 | <xsl:variable name="url_distDrill"> |
---|
2579 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/> |
---|
2580 | </xsl:variable> |
---|
2581 | <xsl:variable name="url_ropCurrent"> |
---|
2582 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/> |
---|
2583 | </xsl:variable> |
---|
2584 | <xsl:variable name="url_diaHole"> |
---|
2585 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/> |
---|
2586 | </xsl:variable> |
---|
2587 | <xsl:variable name="url_presTestType"> |
---|
2588 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/> |
---|
2589 | </xsl:variable> |
---|
2590 | <xsl:variable name="url_strengthForm"> |
---|
2591 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/> |
---|
2592 | </xsl:variable> |
---|
2593 | <xsl:variable name="url_mdStrengthForm"> |
---|
2594 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/> |
---|
2595 | </xsl:variable> |
---|
2596 | <xsl:variable name="url_tvdStrengthForm"> |
---|
2597 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/> |
---|
2598 | </xsl:variable> |
---|
2599 | <xsl:variable name="url_diaCsgLast"> |
---|
2600 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/> |
---|
2601 | </xsl:variable> |
---|
2602 | <xsl:variable name="url_mdCsgLast"> |
---|
2603 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/> |
---|
2604 | </xsl:variable> |
---|
2605 | <xsl:variable name="url_tvdCsgLast"> |
---|
2606 | <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/> |
---|
2607 | </xsl:variable> |
---|
2608 | <!-- Added 18jan2011 --> |
---|
2609 | <xsl:variable name="element_header" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='statusInfo']/xsd:sequence"/> |
---|
2610 | <xsl:variable name="element_rigTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='rigTypes']/xsd:restriction"/> |
---|
2611 | <xsl:variable name="urlRDS" select="'http://www.posccaesar.org'"/> |
---|
2612 | <tr class="light"> |
---|
2613 | <td class="ColHead"> |
---|
2614 | <a target="_blank" href="{$urlRDS}">Tight well:</a> |
---|
2615 | </td> |
---|
2616 | <td class="light"> |
---|
2617 | <xsl:if test="witsml:tightWell='true' or witsml:tightWell='1'">yes</xsl:if> |
---|
2618 | <xsl:if test="witsml:tightWell='false' or witsml:tightWell='0'">no</xsl:if> |
---|
2619 | </td> |
---|
2620 | <td class="ColHead"> |
---|
2621 | <a target="_blank" href="{$urlRDS}">High Pressure - High Temperature:</a> |
---|
2622 | </td> |
---|
2623 | <td class="light"> |
---|
2624 | <xsl:if test="witsml:hpht='true' or witsml:hpht='1'">yes</xsl:if> |
---|
2625 | <xsl:if test="witsml:hpht='false' or witsml:hpht='0'">no</xsl:if> |
---|
2626 | </td> |
---|
2627 | </tr> |
---|
2628 | <!-- END Added 18jan2011 --> |
---|
2629 | <!-- Added 26jan2011 --> |
---|
2630 | <tr class="light"> |
---|
2631 | <td class="ColHead"> |
---|
2632 | <a target="_blank" href="{$urlRDS}">Pressure <xsl:value-of select="witsml:avgPresBH/@uom" />:</a> |
---|
2633 | </td> |
---|
2634 | <td class="light"> |
---|
2635 | <xsl:value-of select="witsml:avgPresBH"/> |
---|
2636 | </td> |
---|
2637 | <td class="ColHead"> |
---|
2638 | <a target="_blank" href="{$urlRDS}">Temperature <xsl:value-of select="witsml:expTempBH/@uom" />:</a> |
---|
2639 | </td> |
---|
2640 | <td class="light"> |
---|
2641 | <xsl:value-of select="witsml:expTempBH"/> |
---|
2642 | </td> |
---|
2643 | </tr> |
---|
2644 | <tr class="light"> |
---|
2645 | <!-- END Added 26jan2011 --> |
---|
2646 | <!-- Added 07feb2011 --> |
---|
2647 | <td class="ColHead"> |
---|
2648 | <a target="_blank" href="{$urlRDS}">Fixed rig:</a> |
---|
2649 | </td> |
---|
2650 | <td class="light"> |
---|
2651 | <xsl:if test="witsml:fixedRig='true' or witsml:fixedRig='1'">yes</xsl:if> |
---|
2652 | <xsl:if test="witsml:fixedRig='false' or witsml:fixedRig='0'">no</xsl:if> |
---|
2653 | <!--<xsl:variable name="element_rigType" select="witsml:rigType" /> |
---|
2654 | <xsl:value-of select="$element_rigTypes//xsd:enumeration[@value=$element_rigType]" />--> |
---|
2655 | </td> |
---|
2656 | <!-- END Added 07feb2011 --> |
---|
2657 | <!-- wellbore type and kick off --> |
---|
2658 | <td class="dark"> |
---|
2659 | <a target="_blank" href="{$url_typeWellbore}">Wellbore type:</a> |
---|
2660 | </td> |
---|
2661 | <td> |
---|
2662 | <xsl:value-of select="witsml:typeWellbore"/> |
---|
2663 | </td> |
---|
2664 | </tr> |
---|
2665 | <tr class="light"> |
---|
2666 | <td class="dark"> |
---|
2667 | <a target="_blank" href="{$url_mdKickoff}">Depth at Kick Off mMD:</a> |
---|
2668 | </td> |
---|
2669 | <td> |
---|
2670 | <xsl:value-of select="witsml:mdKickoff"/> |
---|
2671 | </td> |
---|
2672 | <td class="dark"> |
---|
2673 | <a target="_blank" href="{$url_tvdKickoff}">Depth at Kick Off mTVD:</a> |
---|
2674 | </td> |
---|
2675 | <td> |
---|
2676 | <xsl:value-of select="witsml:tvdKickoff"/> |
---|
2677 | </td> |
---|
2678 | </tr> |
---|
2679 | <tr class="light"> |
---|
2680 | <td class="dark"> |
---|
2681 | <a target="_blank" href="{$url_md}">Depth mMD:</a> |
---|
2682 | </td> |
---|
2683 | <td> |
---|
2684 | <xsl:value-of select="witsml:md"/> |
---|
2685 | </td> |
---|
2686 | <td class="dark"> |
---|
2687 | <a target="_blank" href="{$url_tvd}">Depth mTVD:</a> |
---|
2688 | </td> |
---|
2689 | <td> |
---|
2690 | <xsl:value-of select="witsml:tvd"/> |
---|
2691 | </td> |
---|
2692 | </tr> |
---|
2693 | <tr class="light"> |
---|
2694 | <td> |
---|
2695 | <a target="_blank" href="{$url_mdPlugTop}">Plug Back Depth mMD:</a> |
---|
2696 | </td> |
---|
2697 | <td> |
---|
2698 | <xsl:value-of select="witsml:mdPlugTop"/> |
---|
2699 | </td> |
---|
2700 | <td class="dark"> |
---|
2701 | <a target="_blank" href="{$url_distDrill}">Dist Drilled <xsl:value-of select="witsml:distDrill/@uom"/>:</a> |
---|
2702 | </td> |
---|
2703 | <td> |
---|
2704 | <xsl:value-of select="witsml:distDrill"/> |
---|
2705 | </td> |
---|
2706 | </tr> |
---|
2707 | <tr class="light"> |
---|
2708 | <!-- |
---|
2709 | <td class="dark"><a target="_blank" href="{$urlRDS}">Depth planned mMD:</a></td> |
---|
2710 | <td><xsl:value-of select="witsml:mdPlanned" /></td> |
---|
2711 | --> |
---|
2712 | <td class="dark"> |
---|
2713 | <a target="_blank" href="{$url_ropCurrent}">Penetration Rate <xsl:value-of select="witsml:ropCurrent/@uom"/>:</a> |
---|
2714 | </td> |
---|
2715 | <td class="light"> |
---|
2716 | <xsl:value-of select="witsml:ropCurrent"/> |
---|
2717 | </td> |
---|
2718 | <!-- hole dia --> |
---|
2719 | <td width="160"> |
---|
2720 | <a target="_blank" href="{$url_diaHole}">Hole Dia <xsl:value-of select="witsml:diaHole/@uom"/>:</a> |
---|
2721 | </td> |
---|
2722 | <td width="140"> |
---|
2723 | <xsl:value-of select="witsml:diaHole"/> |
---|
2724 | </td> |
---|
2725 | </tr> |
---|
2726 | <tr class="light"> |
---|
2727 | <td> |
---|
2728 | <a target="_blank" href="{$url_presTestType}">Pressure Test Type:</a> |
---|
2729 | </td> |
---|
2730 | <td class="light"> |
---|
2731 | <xsl:value-of select="witsml:presTestType"/> |
---|
2732 | </td> |
---|
2733 | <!-- formation strength and pressure test --> |
---|
2734 | <td width="160"> |
---|
2735 | <a target="_blank" href="{$url_strengthForm}">Formation Strength <xsl:value-of select="witsml:strengthForm/@uom"/>:</a> |
---|
2736 | </td> |
---|
2737 | <td> |
---|
2738 | <xsl:value-of select="witsml:strengthForm"/> |
---|
2739 | </td> |
---|
2740 | </tr> |
---|
2741 | <tr class="light"> |
---|
2742 | <td width="215"> |
---|
2743 | <a target="_blank" href="{$url_mdStrengthForm}">Depth At Formation Strength mMD:</a> |
---|
2744 | </td> |
---|
2745 | <td> |
---|
2746 | <xsl:value-of select="witsml:mdStrengthForm"/> |
---|
2747 | </td> |
---|
2748 | <td> |
---|
2749 | <a target="_blank" href="{$url_tvdStrengthForm}">Depth At Formation Strength mTVD:</a> |
---|
2750 | </td> |
---|
2751 | <td> |
---|
2752 | <xsl:value-of select="witsml:tvdStrengthForm"/> |
---|
2753 | </td> |
---|
2754 | </tr> |
---|
2755 | <!-- casing --> |
---|
2756 | <tr class="light"> |
---|
2757 | <td class="dark"> |
---|
2758 | <a target="_blank" href="{$url_diaCsgLast}">Dia Last Casing <xsl:value-of select="witsml:diaCsgLast/@uom"/>:</a> |
---|
2759 | </td> |
---|
2760 | <td> |
---|
2761 | <xsl:value-of select="witsml:diaCsgLast"/> |
---|
2762 | </td> |
---|
2763 | <td class="dark"> |
---|
2764 | <a target="_blank" href="{$url_mdCsgLast}">Depth At Last Casing mMD:</a> |
---|
2765 | </td> |
---|
2766 | <td> |
---|
2767 | <xsl:value-of select="witsml:mdCsgLast"/> |
---|
2768 | </td> |
---|
2769 | </tr> |
---|
2770 | <tr class="light"> |
---|
2771 | <td class="dark"> |
---|
2772 | <a target="_blank" href="{$url_tvdCsgLast}">Depth At Last Casing mTVD:</a> |
---|
2773 | </td> |
---|
2774 | <td> |
---|
2775 | <xsl:value-of select="witsml:tvdCsgLast"/> |
---|
2776 | </td> |
---|
2777 | </tr> |
---|
2778 | </xsl:template> |
---|
2779 | </xsl:stylesheet> |
---|