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 Wellbore Data Object |
---|
13 | </title> |
---|
14 | </head> |
---|
15 | <body> |
---|
16 | <table border="2" align="center"> |
---|
17 | <tr><th colspan="8" ><font size="+2" color="blue">WITSML</font></th></tr> |
---|
18 | <tr><th colspan="8"><font size="+2" color="blue">Wellbore Information</font></th></tr> |
---|
19 | <xsl:for-each select="witsml:wellbores"> |
---|
20 | <xsl:for-each select="witsml:wellbore"> |
---|
21 | <tr> <td colspan="4"><font size="+1" color="blue">uidWell: </font> <xsl:value-of select="@uidWell"/></td> |
---|
22 | <td colspan="4"><font size="+1" color="blue">Well Name: </font> <xsl:value-of select="witsml:nameWell"/></td></tr> |
---|
23 | <tr> <td colspan="4"><font size="-1" color="blue"><b>uid: </b></font> <font size="-1"><xsl:value-of select="@uid"/></font></td> |
---|
24 | <td colspan="4"><font size="-1" color="blue"><b>Wellbore Name: </b></font> <font size="-1"><xsl:value-of select="witsml:name"/></font></td></tr> |
---|
25 | <tr> <td colspan="2"></td> |
---|
26 | <td colspan="2"><font size="-1"><b>Parent Wellbore uid: </b> <xsl:value-of select="witsml:nameWellbore/@uidRef"/></font></td> |
---|
27 | <td colspan="2"><font size="-1"><b>Parent Wellbore name: </b> <xsl:value-of select="witsml:nameWellbore"/></font></td></tr> |
---|
28 | <tr> <td colspan="2"></td> |
---|
29 | <td colspan="2"><font size="-1"><b>Wellbore no.: </b></font> <font size="-1" color="black"><xsl:value-of select="witsml:number"/></font></td> |
---|
30 | <td colspan="2"><font size="-1"><b>Govt no.: </b> <xsl:value-of select="witsml:numGovt"/></font></td></tr> |
---|
31 | <tr> <td colspan="2"></td> |
---|
32 | <td colspan="2"><font size="-1"><b>API Suffix: </b> <xsl:value-of select="witsml:suffixAPI"/></font></td> |
---|
33 | <td colspan="2"><font size="-1"><b>Status: </b> <xsl:value-of select="witsml:statusWellbore"/></font></td> |
---|
34 | <td colspan="2"><font size="-1"><b>Purpose: </b> <xsl:value-of select="witsml:purposeWellbore"/></font></td></tr> |
---|
35 | <tr> <td colspan="2"></td> |
---|
36 | <td colspan="2"><font size="-1"><b>Type: </b> <xsl:value-of select="witsml:typeWellbore"/></font></td> |
---|
37 | <td colspan="2"><font size="-1"><b>Shape: </b> <xsl:value-of select="witsml:shape"/></font></td></tr> |
---|
38 | <tr> <td colspan="2"></td><td align="right"><font size="-1"><b>Kickoff: </b></font></td> |
---|
39 | <td><font size="-1"><b>date: </b> <xsl:value-of select="witsml:dTimKickoff"/></font></td> |
---|
40 | <td><font size="-1"><b>md: </b> <xsl:apply-templates select="witsml:mdKickoff" mode="valueWithUomRef"/></font></td> |
---|
41 | <td><font size="-1"><b>tvd</b> <xsl:apply-templates select="witsml:tvdKickoff" mode="valueWithUomRef"/></font></td> |
---|
42 | <td colspan="2"><font size="-1"><b>Planned days: </b> <xsl:apply-templates select="witsml:dayTarget" mode="valueWithUomRef"/></font></td></tr> |
---|
43 | <tr> <td colspan="2"></td><td align="right"><font size="-1"><b>Planned: </b></font></td> |
---|
44 | <td><font size="-1"><b>md</b> <xsl:apply-templates select="witsml:mdPlanned" mode="valueWithUomRef"/></font></td> |
---|
45 | <td><font size="-1"><b>tvd</b> <xsl:apply-templates select="witsml:tvdPlanned" mode="valueWithUomRef"/></font></td> |
---|
46 | <td align="right"><font size="-1"><b>Subsea Planned: </b></font></td> |
---|
47 | <td><font size="-1"><b>md: </b> <xsl:apply-templates select="witsml:mdSubSeaPlanned" mode="valueWithUomRef"/></font></td> |
---|
48 | <td><font size="-1"><b>tvd: </b> <xsl:apply-templates select="witsml:tvdSubSeaPlanned" mode="valueWithUomRef"/></font></td></tr> |
---|
49 | <tr> <td colspan="2"></td><td align="right"><font size="-1"><b>Current: </b></font></td> |
---|
50 | <td><font size="-1"><b>md: </b> <xsl:apply-templates select="witsml:mdCurrent" mode="valueWithUomRef"/></font></td> |
---|
51 | <td><font size="-1"><b>tvd</b> <xsl:apply-templates select="witsml:tvdCurrent" mode="valueWithUomRef"/></font></td></tr> |
---|
52 | <tr><td></td></tr> |
---|
53 | <tr><td></td></tr> |
---|
54 | <tr><td></td></tr> |
---|
55 | <tr><td colspan="2"></td> |
---|
56 | <td colspan="6" align="center"><b>--------------------------------------------------------------------------Common Data-------------------------------------------------------------------------</b></td> |
---|
57 | </tr> |
---|
58 | <tr> <td colspan="2"></td> |
---|
59 | <td><b>Creation Time Stamp: </b></td><td><xsl:value-of select="witsml:commonData/witsml:dTimCreation"/></td> |
---|
60 | <td><b>Last Chg Time Stamp: </b></td><td><xsl:value-of select="witsml:commonData/witsml:dTimLastChange"/></td> |
---|
61 | <td><b>Item State: </b></td><td><xsl:value-of select="witsml:commonData/witsml:itemState"/></td> |
---|
62 | </tr> |
---|
63 | <tr> <td colspan="2"></td> |
---|
64 | <td><b>Comments: </b></td><td colspan="5"><xsl:value-of select="witsml:commonData/witsml:comments"/></td> |
---|
65 | </tr> |
---|
66 | </xsl:for-each> |
---|
67 | </xsl:for-each> |
---|
68 | </table> |
---|
69 | </body> |
---|
70 | </html> |
---|
71 | </xsl:template> |
---|
72 | |
---|
73 | |
---|
74 | </xsl:stylesheet> |
---|