[16] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <xsl:stylesheet |
---|
| 3 | version="1.0" |
---|
| 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
| 5 | xmlns:witsml="http://www.witsml.org/schemas/131"> |
---|
| 6 | |
---|
| 7 | <xsl:output method="html" /> |
---|
| 8 | |
---|
| 9 | <xsl:include href="all_object_utility_templates.xsl"/> |
---|
| 10 | |
---|
| 11 | <xsl:template match="/"> |
---|
| 12 | <html> |
---|
| 13 | <head> |
---|
| 14 | <title> |
---|
| 15 | WITSML Risk Object |
---|
| 16 | </title> |
---|
| 17 | </head> |
---|
| 18 | |
---|
| 19 | <body> |
---|
| 20 | <table border="2" align="center"> |
---|
| 21 | <xsl:for-each select="witsml:risks/witsml:risk"> |
---|
| 22 | <tr> |
---|
| 23 | <th colspan="6" > |
---|
| 24 | <font size="+2" color="blue"> |
---|
| 25 | WITSML Risk Object |
---|
| 26 | </font> |
---|
| 27 | </th> |
---|
| 28 | </tr> |
---|
| 29 | |
---|
| 30 | <tr> <td colspan="1"><font size="+1" color="blue"><b>Well</b></font></td> |
---|
| 31 | <td colspan="3"><font size="-1"><b>name: </b> <xsl:value-of select="witsml:nameWell"/></font></td> |
---|
| 32 | <td colspan="2"><font size="-1"><b>uid: </b> <xsl:value-of select="@uidWell"/></font></td></tr> |
---|
| 33 | |
---|
| 34 | <tr> <td colspan="1"><font size="+1" color="blue"><b>Wellbore</b></font></td> |
---|
| 35 | <td colspan="3"><font size="-1"><b>name: </b> <xsl:value-of select="witsml:name"/></font></td> |
---|
| 36 | <td colspan="2"><font size="-1"><b>uid: </b> <xsl:value-of select="@uid"/></font></td></tr> |
---|
| 37 | |
---|
| 38 | <tr> <td colspan="1"><font size="+1" color="blue"><b>Message</b></font></td> |
---|
| 39 | <td colspan="3"><font size="-1"><b>name: </b> <xsl:value-of select="witsml:name"/></font></td> |
---|
| 40 | <td colspan="2"><font size="-1"><b>uid: </b> <xsl:value-of select="@uid"/></font></td></tr> |
---|
| 41 | |
---|
| 42 | <tr> <td colspan="1"><font size="+1" color="blue"><b>Object: <xsl:value-of select="witsml:objectReference/@object"/></b></font></td> |
---|
| 43 | <td colspan="3"><font size="-1"><b>name: </b> <xsl:value-of select="witsml:objectReference"/></font></td> |
---|
| 44 | <td colspan="2"><font size="-1"><b>uidRef: </b> <xsl:value-of select="witsml:objectReference/@uidRef"/></font></td></tr> |
---|
| 45 | <tr> |
---|
| 46 | <td colspan="2"><B>Type: </B><xsl:value-of select="witsml:type"/></td> |
---|
| 47 | <td colspan="2"><B>Sub Category: </B><xsl:value-of select="witsml:subCategory"/></td> |
---|
| 48 | <td colspan="2"><B>Extended Category: </B><xsl:value-of select="witsml:extendCategory"/></td> |
---|
| 49 | </tr> |
---|
| 50 | <tr> |
---|
| 51 | <td colspan="2"><B>Affected Personnel: </B><xsl:value-of select="witsml:affectedPersonnel"/></td> |
---|
| 52 | <td colspan="2"><B>Start Time Stamp: </B><xsl:value-of select="witsml:dTimStart"/></td> |
---|
| 53 | <td colspan="2"><B>End Time Stamp: </B><xsl:value-of select="witsml:dTimEnd"/></td> |
---|
| 54 | </tr> |
---|
| 55 | <tr> |
---|
| 56 | <td colspan="2"><B>Start MD of Hole: </B><xsl:apply-templates select="witsml:mdHoleStart" mode="valueWithUomRef"/></td> |
---|
| 57 | <td colspan="2"><B>End MD of Hole: </B><xsl:apply-templates select="witsml:mdHoleEnd" mode="valueWithUomRef"/></td> |
---|
| 58 | <td colspan="2"><B>Hole Diameter: </B><xsl:apply-templates select="witsml:diaHole" mode="valueWithUomRef"/></td> |
---|
| 59 | </tr> |
---|
| 60 | <tr> |
---|
| 61 | <td colspan="2"><B>Start TVD of Hole: </B><xsl:apply-templates select="witsml:tvdHoleStart" mode="valueWithUomRef"/></td> |
---|
| 62 | <td colspan="2"><B>End TVD of Hole: </B><xsl:apply-templates select="witsml:tvdHoleEnd" mode="valueWithUomRef"/></td> |
---|
| 63 | <td colspan="2"><B>Severity Level: </B><xsl:value-of select="witsml:severityLevel"/></td> |
---|
| 64 | </tr> |
---|
| 65 | <tr> |
---|
| 66 | <td colspan="2"><B>Start MD of Bit: </B><xsl:apply-templates select="witsml:mdBitStart" mode="valueWithUomRef"/></td> |
---|
| 67 | <td colspan="2"><B>End MD of Bit: </B><xsl:apply-templates select="witsml:mdBitEnd" mode="valueWithUomRef"/></td> |
---|
| 68 | <td colspan="2"><B>Probability Level: </B><xsl:value-of select="witsml:probabilityLevel"/></td> |
---|
| 69 | </tr> |
---|
| 70 | <tr> |
---|
| 71 | <td colspan="6"><B>Summary: </B><xsl:value-of select="witsml:summary"/></td> |
---|
| 72 | </tr> |
---|
| 73 | <tr> |
---|
| 74 | <td colspan="6"><B>Details: </B><xsl:value-of select="witsml:details"/></td> |
---|
| 75 | </tr> |
---|
| 76 | <tr> |
---|
| 77 | <td colspan="6"><B>Identification: </B><xsl:value-of select="witsml:identification"/></td> |
---|
| 78 | </tr> |
---|
| 79 | <tr> |
---|
| 80 | <td colspan="6"><B>Contingency: </B><xsl:value-of select="witsml:contingency"/></td> |
---|
| 81 | </tr> |
---|
| 82 | <tr> |
---|
| 83 | <td colspan="6"><B>Mitigation: </B><xsl:value-of select="witsml:mitigation"/></td> |
---|
| 84 | </tr> |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | <!-- Common Data --> |
---|
| 88 | <tr><td colspan="8" align="center"><font size="+1" color="blue">Common Data</font></td></tr> |
---|
| 89 | <tr><td colspan="2"><font size="-1"><b>Creation Time Stamp: </b><xsl:value-of select="witsml:commonData/witsml:dTimCreation"/></font></td> |
---|
| 90 | <td colspan="2"><font size="-1"><b>Last Chg Time Stamp: </b><xsl:value-of select="witsml:commonData/witsml:dTimLastChange"/></font></td> |
---|
| 91 | <td colspan="4"><font size="-1"><b>State: </b><xsl:value-of select="witsml:commonData/witsml:itemState"/></font></td></tr> |
---|
| 92 | <tr><td colspan="8"><font size="-1"><b>Comments: </b><xsl:value-of select="witsml:commonData/witsml:comments"/></font></td></tr> |
---|
| 93 | </xsl:for-each> |
---|
| 94 | </table> |
---|
| 95 | </body> |
---|
| 96 | </html> |
---|
| 97 | </xsl:template> |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | </xsl:stylesheet> |
---|