root / projects / DailyProductionReport_1.0 / XML / Version1.0 / WITSML131 / stylesheets / rig.xsl @ 16

Revision 16, 29.5 kB (checked in by ryland, 15 years ago)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0" 
3        xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
4        xmlns:witsml="http://www.witsml.org/schemas/131">
5
6        <xsl:include href="all_object_utility_templates.xsl"/>
7
8<xsl:template match="/">
9        <html>
10        <head>
11                <title>
12                        WITSML Rig Data Object
13                </title>
14        </head>
15        <body>
16        <table  border="2" align="center">
17                <tr><th colspan="6" ><font size="+2" color="blue">WITSML</font></th></tr>
18                <tr><th colspan="6"><font size="+2" color="blue">Rig Information</font></th></tr>
19                <xsl:for-each select="witsml:rigs">
20                        <xsl:for-each select="witsml:rig">
21                                <tr>    <td colspan="2"><font size="+1" color="blue">Well uid: </font>  <xsl:value-of select="@uidWell"/></td>
22                                        <td colspan="6"><font size="+1" color="blue">Well Name: </font>  <xsl:value-of select="witsml:nameWell"/></td></tr>
23                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">Rig Data</font></td></tr>
24                                <tr>    <td colspan="2"><font size="-1" color="blue"><b>Wellbore uid: </b></font>  <font size="-1"><xsl:value-of select="@uidWellbore"/></font></td>
25                                        <td colspan="6"><font size="-1" color="blue"><b>Rig uid: </b></font>  <font size="-1"><xsl:value-of select="@uid"/></font></td></tr>
26                                <tr>    <td colspan="2"><font size="-1" color="blue"><b>Wellbore Name: </b></font>  <font size="-1"><xsl:value-of select="witsml:nameWellbore"/></font></td>
27                                        <td colspan="6"><font size="-1" color="blue"><b>Rig Name: </b></font>  <font size="-1"><xsl:value-of select="witsml:name"/></font></td></tr>
28                                <tr><td colspan="2"><b>Owner:  </b><xsl:value-of select="witsml:owner"/></td>
29                                        <td><b>Type: </b>  <xsl:value-of select="witsml:typeRig"/></td>
30                                        <td><b>Yr in Service:  </b><xsl:value-of select="witsml:yearEntService"/></td>
31                                        <td><b>State:  </b><xsl:value-of select="witsml:itemState"/></td></tr>
32                                <tr><td colspan="2"><b>Mfgr:  </b><xsl:value-of select="witsml:manufacturer"/></td>
33                                        <td colspan="2"><b>Rig class: </b>  <xsl:value-of select="witsml:classRig"/></td></tr>
34                                <tr><td colspan="2"><b>Approvals:  </b><xsl:value-of select="witsml:approvals"/></td>
35                                        <td colspan="2"><b>Registration: </b>  <xsl:value-of select="witsml:registration"/></td></tr>
36                                <tr><td colspan="2"><b>Contact:  </b><xsl:value-of select="witsml:nameContact"/></td></tr>
37                                <tr><td><b>Tel: </b><xsl:value-of select="witsml:telNumber"/></td><td><b>Fax: </b><xsl:value-of select="witsml:faxNumber"/></td><td colspan="3"><b>email: </b><xsl:value-of select="witsml:emailAddress"/></td></tr>
38                                <tr><td colspan="2"><b>Rig Operations Started: </b>   <xsl:value-of select="witsml:dTimStartOp"/></td>
39                                        <td colspan="2"><b>Rig Operations Ended: </b> <xsl:value-of select="witsml:dTimEndOp"/></td></tr>
40
41                                <tr><td colspan="6" align="center"><font size="+1" color="blue">Rig References, Ratings, Capacities, and Specifications</font></td></tr>
42
43                                <tr><td><b>Water Depth Rating: </b>  <xsl:apply-templates select="witsml:ratingWaterDepth" mode="valueWithUomRef"/></td>
44                                        <td><b>Is Offshore?</b>  <xsl:value-of select="witsml:isOffshore"/></td>
45                                        <td><b>Air gap: </b>  <xsl:apply-templates select="witsml:airGap" mode="valueWithUomRef"/></td>
46                                        <td colspan="2"><b>Max. hole depth rating: </b>  <xsl:apply-templates select="witsml:ratingDrillDepth" mode="valueWithUomRef"/></td></tr>
47                                <tr><td align="right"><b>Rotary System: </b></td>
48                                        <td colspan="2"><xsl:value-of select="witsml:rotSystem"/></td>
49                                        <td colspan="2"><b>Desc.</b>  <xsl:value-of select="witsml:descRotSystem"/></td></tr>
50                                <tr><td><b> </b></td>
51                                        <td><b>Rating: </b>  <xsl:apply-templates select="witsml:ratingRotSystem" mode="valueWithUomRef"/></td>
52                                        <td><b>Torque rating: </b>  <xsl:apply-templates select="witsml:ratingTqRotSys" mode="valueWithUomRef"/></td>
53                                        <td><b>Rotary size opening: </b>  <xsl:apply-templates select="witsml:rotSizeOpening" mode="valueWithUomRef"/></td></tr>
54                                <tr><td align="right"><b>Pipe handling system: </b></td>
55                                        <td colspan="3" ><xsl:value-of select="witsml:pipeHandlingSystem"/></td></tr>           
56                                <tr><td align="right"><b>Power system: </b></td>
57                                        <td colspan="2"><xsl:value-of select="witsml:mainEngine"/></td>
58                                        <td colspan="2"><b>Generator: </b>  <xsl:value-of select="witsml:generator"/></td></tr>
59                                <tr><td align="right"><b>Derrick: </b></td><td><b>Number: </b>  <xsl:value-of select="witsml:numDerricks"/></td>
60                                        <td><b>Type: </b>  <xsl:value-of select="witsml:typeDerrick"/></td>
61                                        <td><b>Rating: </b>  <xsl:apply-templates select="witsml:ratingDerrick" mode="valueWithUomRef"/></td></tr>
62                                <tr><td align="right"><b> </b></td>
63                                        <td><b>Height: </b>  <xsl:apply-templates select="witsml:htDerrick" mode="valueWithUomRef"/></td>
64                                        <td><b>Wind cap.: </b>  <xsl:apply-templates select="witsml:capWindDerrick" mode="valueWithUomRef"/></td></tr>
65                                <tr><td align="right"><b>Block: </b></td>
66                                        <td><b>No. Block Lines: </b>  <xsl:value-of select="witsml:numBlockLines"/></td>
67                                        <td><b>Block wt: </b>  <xsl:apply-templates select="witsml:wtBlock" mode="valueWithUomRef"/></td>
68                                        <td><b>Block rating: </b>  <xsl:apply-templates select="witsml:ratingBlock" mode="valueWithUomRef"/></td></tr>
69                                <tr><td align="right"><b> </b></td>
70                                        <td><b>Drill line size: </b>  <xsl:apply-templates select="witsml:sizeDrillLine" mode="valueWithUomRef"/></td></tr>
71                                <tr><td align="right"><b>Hook: </b></td>
72                                        <td><b>Type: </b>  <xsl:value-of select="witsml:typeHook"/></td>
73                                        <td><b>Max load rating: </b>  <xsl:apply-templates select="witsml:ratingHkld" mode="valueWithUomRef"/></td>
74                                        <td><b>Rating: </b>  <xsl:apply-templates select="witsml:ratingHook" mode="valueWithUomRef"/></td></tr>
75                                <tr><td align="right"><b>Drawworks: </b></td><td colspan="2"><b>Type: </b>  <xsl:value-of select="witsml:typeDrawWorks"/></td>
76                                        <td><b>Power: </b>  <xsl:apply-templates select="witsml:powerDrawWorks" mode="valueWithUomRef"/></td></tr>
77                                <tr><td align="right"><b> </b></td>
78                                        <td colspan="2"><b>Motor: </b>  <xsl:value-of select="witsml:motorDrawWorks"/></td>
79                                        <td><b>Rating: </b>  <xsl:apply-templates select="witsml:ratingDrawWorks" mode="valueWithUomRef"/></td></tr>
80                                <tr><td align="right"><b>Brake: </b></td><td colspan="2"><xsl:value-of select="witsml:descBrake"/></td></tr>
81                                <tr><td align="right"><b>Swivel: </b></td>
82                                        <td colspan="2"><b>Type: </b>  <xsl:value-of select="witsml:typeSwivel"/></td>
83                                        <td><b>Rating: </b>  <xsl:apply-templates select="witsml:ratingSwivel" mode="valueWithUomRef"/></td></tr>
84                                <tr><td align="right"><b>SCR System: </b></td>
85                                        <td colspan="3"><xsl:value-of select="witsml:scrSystem"/></td></tr>
86                                <tr><td align="right"><b>Cement unit: </b></td> 
87                                        <td colspan="3"><xsl:value-of select="witsml:cementUnit"/></td></tr>
88                                <tr><td align="right"><b>Capacity: </b></td><td><b>Bulk Mud: </b>  <xsl:apply-templates select="witsml:capBulkMud" mode="valueWithUomRef"/></td>
89                                        <td><b>Liquid Mud: </b>  <xsl:apply-templates select="witsml:capLiquidMud" mode="valueWithUomRef"/></td>
90                                        <td><b>Drill Water: </b>  <xsl:apply-templates select="witsml:capDrillWater" mode="valueWithUomRef"/></td></tr>
91                                <tr><td></td><td><b>Potable Water: </b>  <xsl:apply-templates select="witsml:capPotableWater" mode="valueWithUomRef"/></td>
92                                        <td><b>Fuel: </b>  <xsl:apply-templates select="witsml:capFuel" mode="valueWithUomRef"/></td>
93                                        <td><b>Bulk Cement: </b>  <xsl:apply-templates select="witsml:capBulkCement" mode="valueWithUomRef"/></td></tr>
94                                <tr><td align="right"><b>Number: </b></td><td><b>Bunks: </b>  <xsl:value-of select="witsml:numBunks"/></td>
95                                        <td><b>Bunks per room: </b>  <xsl:value-of select="witsml:bunksPerRoom"/></td>
96                                        <td><b>Cranes: </b>  <xsl:value-of select="witsml:numCranes"/></td>
97                                        <td><b>Anchors: </b>  <xsl:value-of select="witsml:numAnch"/></td></tr>
98                                <tr><td></td>
99                                        <td><b>Guideline tensioners: </b>  <xsl:value-of select="witsml:numGuideTens"/></td>
100                                        <td><b>Riser tensioners: </b>  <xsl:value-of select="witsml:numRiserTens"/></td>
101                                        <td><b>Thrusters: </b>  <xsl:value-of select="witsml:numThrusters"/></td></tr>
102                                <tr><td align="right"><b>Mooring type: </b></td><td colspan="2"><xsl:value-of select="witsml:moorType"/></td><td><b>Thrusters azmimuth?</b>  <xsl:value-of select="witsml:azimuthing"/></td></tr>
103                                <tr><td align="right"><b>Variable deck load: </b></td><td><b>Maximum: </b>  <xsl:apply-templates select="witsml:varDeckLdMx" mode="valueWithUomRef"/></td>
104                                        <td><b>Storm rating: </b>  <xsl:apply-templates select="witsml:vdlStorm" mode="valueWithUomRef"/></td></tr>
105                                <tr><td align="right"><b>Motion Compensation: </b></td><td><b>Min: </b>  <xsl:apply-templates select="witsml:motionCompensationMn" mode="valueWithUomRef"/></td>
106                                        <td><b>Max: </b>  <xsl:apply-templates select="witsml:motionCompensationMx" mode="valueWithUomRef"/></td>
107                                        <td><b>Stroke: </b>  <xsl:apply-templates select="witsml:strokeMotionCompensation" mode="valueWithUomRef"/></td></tr>
108                                <tr><td></td><td><b>Riser angle limit: </b>  <xsl:apply-templates select="witsml:riserAngleLimit" mode="valueWithUomRef"/></td>
109                                        <td><b>Max heave: </b>  <xsl:apply-templates select="witsml:heaveMx" mode="valueWithUomRef"/></td></tr>
110                                <tr><td colspan="2"><b>Gantry: </b>  <xsl:value-of select="witsml:gantry"/></td><td colspan="2"><b>Flares: </b>  <xsl:value-of select="witsml:flares"/></td></tr>
111
112                                <!--            Check for bop data      -->     
113                                <xsl:for-each select="bop">
114                                <xsl:apply-templates select="."/>
115                                </xsl:for-each>
116
117                                <!--            Check for pit data      -->     
118                                <xsl:for-each select="witsml:pit">
119                                <xsl:apply-templates select="."/>
120                                </xsl:for-each>
121                               
122                                <!--            Check for pump data     -->     
123                                <xsl:for-each select="witsml:pump">
124                                <xsl:apply-templates select="."/>
125                                </xsl:for-each>
126
127                                <!--            Check for shaker data   -->     
128                                <xsl:for-each select="witsml:shaker">
129                                <xsl:apply-templates select="."/>
130                                </xsl:for-each>
131
132                                <!--            Check for centrifuge data       -->     
133                                <xsl:for-each select="witsml:centrifuge">
134                                <xsl:apply-templates select="."/>
135                                </xsl:for-each>
136
137                                <!--            Check for hydrocyclone data     -->     
138                                <xsl:for-each select="witsml:hydrocyclone">
139                                <xsl:apply-templates select="."/>
140                                </xsl:for-each>
141
142                                <!--            Check for degasser data -->     
143                                <xsl:for-each select="witsml:degasser">
144                                <xsl:apply-templates select="."/>
145                                </xsl:for-each>
146
147                                <!--            Check for surfaceEquipment data -->     
148                                <xsl:for-each select="witsml:surfaceEquipment">
149                                <xsl:apply-templates select="."/>
150                                </xsl:for-each>
151
152
153                                <!--      Common Data   -->
154                                <tr><td colspan="8" align="center"><font size="+1" color="blue">Common Data</font></td></tr>
155                                <tr><td colspan="2"><font size="-1"><b>Creation Time Stamp: </b><xsl:value-of select="witsml:commonData/witsml:dTimCreation"/></font></td>
156                                        <td colspan="2"><font size="-1"><b>Last Chg Time Stamp: </b><xsl:value-of select="witsml:commonData/witsml:dTimLastChange"/></font></td>
157                                        <td colspan="4"><font size="-1"><b>State: </b><xsl:value-of select="witsml:commonData/witsml:itemState"/></font></td></tr>
158                                <tr><td colspan="8"><font size="-1"><b>Comments: </b><xsl:value-of select="witsml:commonData/witsml:comments"/></font></td></tr>
159
160
161                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">------------------------------------------------------------------------------------------------------------------------</font></td></tr>
162                        </xsl:for-each> 
163                </xsl:for-each> 
164        </table>
165        </body>
166        </html>
167        </xsl:template>
168
169       
170        <!--                                                                    bop Template                                                    -->
171        <xsl:template match="witsml:bop">                               
172                                <tr><td colspan="6" align="center"><font size="+1" color="blue">BOP Configuration</font></td></tr>
173                                <tr><td colspan="2"><b>Mfgr: </b>  <xsl:value-of select="witsml:manufacturer"/></td>
174                                        <td colspan="2"><b>Model: </b>  <xsl:value-of select="witsml:model"/></td></tr>
175                                <tr><td colspan="2"><b>Installed: </b>  <xsl:value-of select="witsml:dTimInstall"/></td>
176                                        <td colspan="2"><b>Removed: </b> <xsl:value-of select="witsml:dTimRemove"/></td></tr>
177                                <tr><td colspan="1" align="right"><b>Connection: </b></td>
178                                        <td colspan="2"><b>Type: </b>  <xsl:value-of select="witsml:typeConnectionBop"/></td>
179                                        <td><b>Size: </b>  <xsl:apply-templates select="witsml:sizeConnectionBop" mode="valueWithUomRef"/></td></tr>
180                                <tr><td colspan="2"><b>BOP Pressure Rating: </b>  <xsl:apply-templates select="witsml:presBopRating" mode="valueWithUomRef"/></td>
181                                        <td colspan="2"><b>Size BOP System</b><xsl:apply-templates select="witsml:sizeBopSys" mode="valueWithUomRef"/></td>
182                                        <td colspan="2"><b>Rotating BOP?</b>  <xsl:value-of select="witsml:rotBop"/></td></tr>
183                                <tr><td colspan="2"><b>Accumulator: </b> <xsl:value-of select="witsml:accumulator"/></td>
184                                        <td><b>Acc. Pre-charge Press.</b> <xsl:apply-templates select="witsml:presAccPreCharge" mode="valueWithUomRef"/></td>
185                                        <td colspan="3"><b>Acc. Pre-charge Vol.: </b> <xsl:apply-templates select="witsml:volAccPreCharge" mode="valueWithUomRef"/></td></tr>
186                                <tr><td colspan="2"></td>
187                                        <td><b>Capacity: </b> <xsl:apply-templates select="witsml:capAccFluid" mode="valueWithUomRef"/></td>
188                                        <td colspan="3"><b>Oper. Pressure Rating: </b> <xsl:apply-templates select="witsml:presAccOpRating" mode="valueWithUomRef"/></td></tr>
189                                <tr><td align="right"><b>Booster Line</b></td><td><b>ID: </b> <xsl:apply-templates select="witsml:idBoosterLine" mode="valueWithUomRef"/></td>
190                                        <td><b>OD: </b>  <xsl:apply-templates select="witsml:odBoosterLine" mode="valueWithUomRef"/></td>
191                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenBoosterLine" mode="valueWithUomRef"/></td></tr>
192                                <tr><td align="right"><b>Surface Line</b></td><td><b>ID: </b> <xsl:apply-templates select="witsml:idSurfLine" mode="valueWithUomRef"/></td>
193                                        <td><b>OD: </b>  <xsl:apply-templates select="witsml:odSurfLine" mode="valueWithUomRef"/></td>
194                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenSurfLine" mode="valueWithUomRef"/></td></tr>
195                                <tr>    <td align="right"><b>Choke Line</b></td>        <td><b>ID: </b> <xsl:apply-templates select="witsml:idChkLine" mode="valueWithUomRef"/></td>
196                                        <td><b>OD: </b> <xsl:apply-templates select="witsml:odChkLine" mode="valueWithUomRef"/></td>
197                                        <td><b>Length: </b> <xsl:apply-templates select="witsml:lenChkLine" mode="valueWithUomRef"/></td></tr>
198                                <tr><td align="right"><b>Kill Line</b></td><td><b>ID: </b> <xsl:apply-templates select="witsml:idKillLine" mode="valueWithUomRef"/></td>
199                                        <td><b>OD: </b> <xsl:apply-templates select="witsml:odKillLine" mode="valueWithUomRef"/></td>
200                                        <td><b>Length: </b> <xsl:apply-templates select="witsml:lenKillLine" mode="valueWithUomRef"/></td></tr>
201                                <tr><td align="right"><b>Diverter</b></td>
202                                        <td colspan="2"><b>Type: </b> <xsl:value-of select="witsml:typeDiverter"/></td>
203                                        <td><b>Dia.: </b>  <xsl:apply-templates select="witsml:diaDiverter" mode="valueWithUomRef"/></td>
204                                        <td><b>Work Press.: </b>  <xsl:apply-templates select="witsml:presWorkDiverter" mode="valueWithUomRef"/></td></tr>
205                                <tr><td align="right"><b>Control manifold</b></td>
206                                        <td colspan="2"><b>Type: </b> <xsl:value-of select="witsml:typeControlManifold"/></td>
207                                        <td colspan="2"><b>Desc: </b> <xsl:value-of select="witsml:descControlManifold"/></td></tr>
208                                <tr><td align="right"><b>Choke manifold</b></td>
209                                        <td colspan="2"><b>Type: </b> <xsl:value-of select="witsml:typeChokeManifold"/></td>
210                                        <td colspan="2"><b>Pressure: </b> <xsl:apply-templates select="witsml:presChokeManifold" mode="valueWithUomRef"/></td></tr>
211
212                                <!--            Check for bopComponent data                                                     -->     
213                                <xsl:for-each select="witsml:bopComponent">
214                                        <xsl:apply-templates select="."/>
215                                </xsl:for-each>
216        </xsl:template> 
217       
218        <!--                                                                    bopComponent Template                                                   -->
219        <xsl:template match="witsml:bopComponent">                             
220                                <tr><td colspan="2"><font size="+1">BOP Component - </font>  <xsl:value-of select="./@witsmluidBopComponent"/></td>
221                                        <td colspan="2"><b>Type: </b>  <xsl:value-of select="witsml:typeBopComp"/></td>
222                                        <td><b>Pressure: </b>  <xsl:apply-templates select="witsml:presWork" mode="valueWithUomRef"/></td></tr>
223                                <tr><td></td>
224                                        <td colspan="1"><b>Min. Dia. can seal: </b>  <xsl:apply-templates select="witsml:diaCloseMn" mode="valueWithUomRef"/></td>
225                                        <td colspan="1"><b>Max. Dia. can seal: </b>  <xsl:apply-templates select="witsml:diaCloseMx" mode="valueWithUomRef"/></td></tr>
226                                <tr><td></td>
227                                        <td><b>Arrangement: </b>  <xsl:value-of select="witsml:nomenclature"/></td><td><b>Ram variable?: </b>  <xsl:value-of select="witsml:isVariable"/></td></tr>
228                                <tr><td></td><td colspan="2"><b>Desc.: </b>  <xsl:value-of select="witsml:descComp"/></td>
229                                        <td colspan="1"><b>ID dia. pass thru: </b>  <xsl:apply-templates select="witsml:idPassThru" mode="valueWithUomRef"/></td>
230</tr>
231
232</xsl:template> 
233       
234        <!--                                                                    Rig Pit template                                                        -->
235        <xsl:template match="witsml:pit">               
236                                <tr><td colspan="6" align="center"><font size="+1" color="blue">Rig Pit Configuration</font> -  <xsl:value-of select="./@witsmluidPit"/></td></tr>
237                                <tr>    <td><b>Pit Index: </b>  <xsl:value-of select="witsml:indexPit"/></td>
238                                        <td><b>Capacity: </b>  <xsl:apply-templates select="witsml:capMx" mode="valueWithUomRef"/></td>
239                                        <td><b>Active?</b>  <xsl:value-of select="witsml:isActive"/></td></tr>
240                                <tr>    <td colspan="2"><b>Installed: </b> <xsl:value-of select="witsml:dTimInstall"/></td>
241                                        <td colspan="2"><b>Removed: </b>  <xsl:value-of select="witsml:dTimRemove"/></td></tr>
242                                <tr>    <td colspan="2"><b>Owner: </b>  <xsl:value-of select="witsml:owner"/></td><td colspan="2"><b>Type: </b>  <xsl:value-of select="witsml:typePit"/></td></tr>
243        </xsl:template> 
244                               
245        <!--                                                                    Rig Pump template                                                       -->
246        <xsl:template match="witsml:pump">             
247                                <!--                            Rig Pump Configuration                          -->
248                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">Rig Pump Configuration</font> - <xsl:value-of select="./@witsmluidPump"/></td></tr>
249                                <tr>    <td     colspan="2"><b>Make: </b> <xsl:value-of select="witsml:manufacturer"/></td>
250                                        <td colspan="2"><b>Model: </b><xsl:value-of select="witsml:model"/></td><td colspan="2"><b>Pump Index: </b>  <xsl:value-of select="witsml:index"/></td></tr>
251                                <tr>    <td colspan="2"><b>Installed: </b>  <xsl:value-of select="witsml:dTimInstall"/></td>
252                                        <td colspan="2"><b>Removed: </b>  <xsl:value-of select="witsml:dTimRemove"/></td></tr>
253                                <tr>    <td colspan="2"><b>Owner: </b> <xsl:value-of select="witsml:owner"/></td>
254                                        <td colspan="3"><b>Type: </b> <xsl:value-of select="witsml:typePump"/></td></tr>
255                                <tr>    <td><b>Number of Cylinders: </b>  <xsl:value-of select="witsml:numCyl"/></td>
256                                        <td><b>Rod OD: </b>  <xsl:apply-templates select="witsml:odRod" mode="valueWithUomRef"/></td>
257                                        <td colspan="2"><b>Liner ID: </b>  <xsl:apply-templates select="witsml:idLiner" mode="valueWithUomRef"/></td></tr>
258                                <tr><td><b>Action: </b>  <xsl:value-of select="witsml:pumpAction"/></td>
259                                        <td><b>Efficiency: </b>  <xsl:apply-templates select="witsml:eff" mode="valueWithUomRef"/></td>
260                                        <td colspan="1"><b>Stroke Length: </b>  <xsl:apply-templates select="witsml:lenStroke" mode="valueWithUomRef"/></td>
261                                        <td colspan="1"><b>Displacement: </b>  <xsl:apply-templates select="witsml:displacement" mode="valueWithUomRef"/></td></tr>
262                                <tr>    <td colspan="2"><b>Max. Pressure: </b>  <xsl:apply-templates select="witsml:presMx" mode="valueWithUomRef"/></td>
263                                        <td colspan="2"><b>Max. Hydralics HP: </b>  <xsl:apply-templates select="witsml:powHydMx" mode="valueWithUomRef"/></td>
264                                        <td colspan="1"><b>Max SPM: </b>  <xsl:apply-templates select="witsml:spmMx" mode="valueWithUomRef"/></td></tr>
265                                <tr>    <td colspan="1"><b>Damp. Pressure: </b>  <xsl:apply-templates select="witsml:presDamp" mode="valueWithUomRef"/></td>
266                                        <td colspan="1"><b>Damp. Volume: </b>  <xsl:apply-templates select="witsml:volDamp" mode="valueWithUomRef"/></td>
267                                        <td colspan="1"><b>Max Mech. Power: </b>  <xsl:apply-templates select="witsml:powMechMx" mode="valueWithUomRef"/></td></tr>
268        </xsl:template> 
269       
270        <!--                                                                    shaker template                                                         -->
271        <xsl:template match="witsml:shaker">                                                                           
272                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">Shaker Configuration</font> -  <xsl:value-of select="./@witsmluidShaker"/></td></tr>
273                                <tr>    <td colspan="2"><b>Make: </b>  <xsl:value-of select="witsml:manufacturer"/></td>
274                                        <td colspan="2"><b>Model: </b>  <xsl:value-of select="witsml:model"/></td></tr>
275                                <tr>    <td colspan="2"><b>Installed: </b>  <xsl:value-of select="witsml:dTimInstall"/></td>
276                                        <td colspan="2"><b>Removed: </b>  <xsl:value-of select="witsml:dTimRemove"/></td></tr>
277                                <tr>    <td colspan="2"><b>Owner: </b>  <xsl:value-of select="witsml:owner"/></td>
278                                        <td colspan="3"><b>Type: </b> <xsl:value-of select="witsml:type"/></td></tr>
279                                <tr><td colspan="2"><b>Location: </b>  <xsl:value-of select="witsml:locationShaker"/></td>
280                                        <td colspan="2"><b>Flow cap: </b>  <xsl:apply-templates select="witsml:capFlow" mode="valueWithUomRef"/></td></tr>
281                                <tr><td colspan="2"><b>Number of Decks: </b>  <xsl:value-of select="witsml:numDecks"/></td>
282                                        <td colspan="2"><b>No. of Casc. Levels: </b>  <xsl:value-of select="witsml:numCascLevel"/></td></tr>
283                                <tr><td colspan="2"><b>Min. Size Mesh: </b>  <xsl:apply-templates select="witsml:sizeMeshMn" mode="valueWithUomRef"/></td>
284                                        <td colspan="2"><b>Mud Cleaner?: </b>  <xsl:value-of select="witsml:mudCleaner"/></td></tr>
285        </xsl:template> 
286       
287        <!--                                                                    centrifuge template                                                     -->
288        <xsl:template match="witsml:centrifuge">                                                                               
289                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">Centrifuge Configuration</font> -  <xsl:value-of select="./@witsmluidCentrifuge"/></td></tr>
290                                <tr>    <td colspan="2"><b>Make: </b>  <xsl:value-of select="witsml:manufacturer"/></td>
291                                        <td colspan="2"><b>Model: </b>  <xsl:value-of select="witsml:model"/></td></tr>
292                                <tr>    <td colspan="2"><b>Installed: </b>  <xsl:value-of select="witsml:dTimInstall"/></td>
293                                        <td colspan="2"><b>Removed: </b>  <xsl:value-of select="witsml:dTimRemove"/></td></tr>
294                                <tr>    <td colspan="2"><b>Owner: </b>  <xsl:value-of select="witsml:owner"/></td>
295                                        <td colspan="3"><b>Type: </b>  <xsl:value-of select="witsml:type"/></td></tr>
296                                <tr>    <td colspan="2"><b>Flow Capacity: </b>  <xsl:apply-templates select="witsml:capFlow" mode="valueWithUomRef"/></td></tr>
297        </xsl:template> 
298       
299        <!--                                                                    hydroCyclone template                                                   -->
300        <xsl:template match="witsml:hydrocyclone">                                                                             
301                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">Hydrocyclone Configuration</font> -  <xsl:value-of select="./@witsmluidHydrocyclone"/></td></tr>
302                                <tr>    <td colspan="2"><b>Make: </b>  <xsl:value-of select="witsml:manufacturer"/></td>
303                                        <td colspan="2"><b>Model: </b>  <xsl:value-of select="witsml:model"/></td></tr>
304                                <tr>    <td colspan="2"><b>Installed: </b>  <xsl:value-of select="witsml:dTimInstall"/></td>
305                                        <td colspan="2"><b>Removed: </b>  <xsl:value-of select="witsml:dTimRemove"/></td></tr>
306                                <tr>    <td colspan="2"><b>Owner: </b>  <xsl:value-of select="witsml:owner"/></td>
307                                        <td colspan="3"><b>Type: </b>  <xsl:value-of select="witsml:type"/></td></tr>
308                                <tr>    <td colspan="2"><b>Cone desc.: </b>  <xsl:value-of select="witsml:descCone"/></td></tr>
309
310        </xsl:template> 
311                                       
312        <!--                                                                    degasser template                                                       -->
313        <xsl:template match="witsml:degasser">                                                                         
314                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">Degasser Configuration</font> -  <xsl:value-of select="./@witsmluidDegasser"/></td></tr>
315                                <tr>    <td colspan="2"><b>Make: </b>  <xsl:value-of select="witsml:manufacturer"/></td>
316                                        <td colspan="2"><b>Model: </b><xsl:value-of select="witsml:model"/></td></tr>
317                                <tr>    <td colspan="2"><b>Installed: </b>  <xsl:value-of select="witsml:dTimInstall"/></td>
318                                        <td colspan="2"><b>Removed: </b>  <xsl:value-of select="witsml:dTimRemove"/></td></tr>
319                                <tr>    <td colspan="2"><b>Owner: </b>  <xsl:value-of select="witsml:owner"/></td>
320                                        <td colspan="3"><b>Type: </b>  <xsl:value-of select="witsml:type"/></td></tr>
321                                <tr>    <td><b>Height: </b>  <xsl:apply-templates select="witsml:height" mode="valueWithUomRef"/></td>
322                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:len" mode="valueWithUomRef"/></td>
323                                        <td colspan="2"><b>Internal Dia.: </b>  <xsl:apply-templates select="witsml:id" mode="valueWithUomRef"/></td></tr>
324                                <tr><td colspan="2"><b>Flow cap: </b>  <xsl:apply-templates select="witsml:capFlow" mode="valueWithUomRef"/></td>
325                                        <td colspan="2"><b>Flow Area: </b>  <xsl:apply-templates select="witsml:areaSeparatorFlow" mode="valueWithUomRef"/></td>
326</tr>
327                                <tr><td colspan="2"><b>Height Mud Seal: </b>  <xsl:apply-templates select="witsml:htMudSeal" mode="valueWithUomRef"/></td>
328                                        <td colspan="2"><b>Inlet ID: </b>  <xsl:apply-templates select="witsml:idInlet" mode="valueWithUomRef"/></td></tr>
329                                <tr><td colspan="2"><b>Vent Line ID: </b>  <xsl:apply-templates select="witsml:idVentLine" mode="valueWithUomRef"/></td>
330                                        <td colspan="2"><b>Vent Line Length: </b>  <xsl:apply-templates select="witsml:lenVentLine" mode="valueWithUomRef"/></td></tr>
331                                <tr>    <td colspan="2"><b>Gas Sep. Capacity: </b>  <xsl:apply-templates select="witsml:capGasSep" mode="valueWithUomRef"/></td>
332                                        <td colspan="2"><b>Blowdown Capacity: </b>  <xsl:apply-templates select="witsml:capBlowdown" mode="valueWithUomRef"/></td></tr>
333                                <tr><td colspan="2"><b>Pressure Rating: </b>  <xsl:apply-templates select="witsml:presRating" mode="valueWithUomRef"/></td>
334                                        <td colspan="2"><b>Temp. Rating: </b>  <xsl:apply-templates select="witsml:tempRating" mode="valueWithUomRef"/></td></tr>
335        </xsl:template> 
336       
337        <!--                                                                    surfaceEquipment template                                                       -->
338        <xsl:template match="witsml:surfaceEquipment">                                         
339                                <tr>    <td colspan="6" align="center"><font size="+1" color="blue">Surface Equipment Configuration</font></td></tr>
340                                <tr>    <td colspan="6"><b>Description: </b>  <xsl:value-of select="witsml:description"/></td></tr>
341                                <tr><td colspan="2"><b>Pressure Rating: </b>  <xsl:apply-templates select="witsml:presRating" mode="valueWithUomRef"/></td>
342                                        <td colspan="2"><b>EquipmentType: </b>  <xsl:value-of select="witsml:typeSurfEquip"/></td></tr>
343                                <tr>    <td><b>Use Pump Discharge?</b>  <xsl:value-of select="witsml:usePumpDischarge"/></td>
344                                        <td><b>Use Standpipe?</b>  <xsl:value-of select="witsml:useStandpipe"/></td>
345                                        <td><b>Use Hose?</b>  <xsl:value-of select="witsml:useHose"/></td>
346                                        <td><b>Use Swivel?</b>  <xsl:value-of select="witsml:useSwivel"/></td></tr>
347                                <tr>    <td><b>Use Kelly?</b>  <xsl:value-of select="witsml:useKelly"/></td>
348                                        <td><b>Use Top Stack?</b>  <xsl:value-of select="witsml:useTopStack"/></td>
349                                        <td><b>Use Inj. Stack?</b>  <xsl:value-of select="witsml:useInjStack"/></td>
350                                        <td><b>Use Surface Iron?</b>  <xsl:value-of select="witsml:useSurfaceIron"/></td></tr>
351                                <tr>    <td align="right"><b>Standpipe: </b></td><td><b>ID: </b>  <xsl:apply-templates select="witsml:idStandpipe" mode="valueWithUomRef"/></td>
352                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenStandpipe" mode="valueWithUomRef"/></td></tr>
353                                <tr>    <td align="right"><b>Hose: </b></td><td><b>ID: </b>  <xsl:apply-templates select="witsml:idHose" mode="valueWithUomRef"/></td>
354                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenHose" mode="valueWithUomRef"/></td></tr>
355                                <tr>    <td align="right"><b>Swivel: </b></td><td><b>ID: </b>  <xsl:apply-templates select="witsml:idSwivel" mode="valueWithUomRef"/></td>
356                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenSwivel" mode="valueWithUomRef"/></td></tr>
357                                <tr>    <td align="right"><b>Kelly: </b></td><td><b>ID: </b>  <xsl:apply-templates select="witsml:idKelly" mode="valueWithUomRef"/></td>
358                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenKelly" mode="valueWithUomRef"/></td></tr>
359                                <tr>    <td align="right"><b>Discharge Line: </b></td><td><b>ID: </b>  <xsl:apply-templates select="witsml:idDischargeLine" mode="valueWithUomRef"/></td>
360                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenDischargeLine" mode="valueWithUomRef"/></td></tr>
361                                <tr>    <td><b>Coiled Tubing Wrap Type</b></td><td><xsl:value-of select="witsml:ctWrapType"/></td></tr>
362                                <tr>    <td align="right"><b>Reel: </b></td><td><b>OD: </b>  <xsl:apply-templates select="witsml:odReel" mode="valueWithUomRef"/></td>
363                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenReel" mode="valueWithUomRef"/></td>
364                                        <td><b>Core OD: </b>  <xsl:apply-templates select="witsml:odCore" mode="valueWithUomRef"/></td>
365                                        <td colspan="2"><b>Wrap Width: </b>  <xsl:apply-templates select="witsml:widReelWrap" mode="valueWithUomRef"/></td></tr>
366                                <tr>    <td align="right"><b>Injector: </b></td><td><b>Stackup?</b>  <xsl:value-of select="witsml:injStkUp"/></td>
367                                        <td><b>Stackup Height: </b>  <xsl:apply-templates select="witsml:htInjStk" mode="valueWithUomRef"/></td></tr>
368                                <tr>    <td align="right"><b>Umbilical: </b></td><td><b>Inside?</b>  <xsl:value-of select="witsml:umbInside"/></td>
369                                        <td><b>OD: </b>  <xsl:apply-templates select="witsml:odUmbilical" mode="valueWithUomRef"/></td>
370                                        <td><b>Length: </b>  <xsl:apply-templates select="witsml:lenUmbilical" mode="valueWithUomRef"/></td></tr>
371                                <tr>    <td align="right"><b>Top Stack: </b></td><td><b>ID: </b>  <xsl:apply-templates select="witsml:idTopStk" mode="valueWithUomRef"/></td>
372                                        <td><b>Height: </b><xsl:apply-templates select="witsml:htTopStk" mode="valueWithUomRef"/></td></tr>
373                                <tr>    <td align="right"><b>Flange Height: </b></td><td><xsl:apply-templates select="witsml:htFlange" mode="valueWithUomRef"/></td></tr>
374                </xsl:template>
375
376               
377</xsl:stylesheet>
Note: See TracBrowser for help on using the browser.