[16] | 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 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
---|
| 6 | |
---|
| 7 | <xsl:include href="all_object_utility_templates.xsl"/> |
---|
| 8 | |
---|
| 9 | <xsl:template match="/"> |
---|
| 10 | <html> |
---|
| 11 | <head> |
---|
| 12 | <title>DTS Instrument Box Object</title> |
---|
| 13 | </head> |
---|
| 14 | <body> |
---|
| 15 | <span style="font-size:larger; font-weight:bold; ">DTS Instrument Box</span> |
---|
| 16 | <xsl:apply-templates select="witsml:dtsInstrumentBox"/> |
---|
| 17 | </body> |
---|
| 18 | </html> |
---|
| 19 | </xsl:template> |
---|
| 20 | |
---|
| 21 | <xsl:template match="witsml:dtsInstrumentBox"> |
---|
| 22 | <table border="1" width="100%"> |
---|
| 23 | <thead> |
---|
| 24 | <tr> |
---|
| 25 | <td><B>element or attribute</B></td> |
---|
| 26 | <td><B>value</B></td> |
---|
| 27 | </tr> |
---|
| 28 | </thead> |
---|
| 29 | <tbody> |
---|
| 30 | <tr> |
---|
| 31 | <td>uid</td> |
---|
| 32 | <td> |
---|
| 33 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
| 34 | </td> |
---|
| 35 | </tr> |
---|
| 36 | <tr> |
---|
| 37 | <td>name</td> |
---|
| 38 | <td> |
---|
| 39 | <xsl:value-of select="witsml:name"></xsl:value-of> |
---|
| 40 | </td> |
---|
| 41 | </tr> |
---|
| 42 | <tr> |
---|
| 43 | <td>manufacturer</td> |
---|
| 44 | <td> |
---|
| 45 | <xsl:value-of select="witsml:manufacturer"></xsl:value-of> |
---|
| 46 | </td> |
---|
| 47 | </tr> |
---|
| 48 | <tr> |
---|
| 49 | <td>manufacturingDate</td> |
---|
| 50 | <td> |
---|
| 51 | <xsl:value-of select="witsml:manufacturingDate"></xsl:value-of> |
---|
| 52 | </td> |
---|
| 53 | </tr> |
---|
| 54 | <tr> |
---|
| 55 | <td>type</td> |
---|
| 56 | <td> |
---|
| 57 | <xsl:value-of select="witsml:type"></xsl:value-of> |
---|
| 58 | </td> |
---|
| 59 | </tr> |
---|
| 60 | <tr> |
---|
| 61 | <td>name tag</td> |
---|
| 62 | <td> |
---|
| 63 | <xsl:value-of select="witsml:nameTag/witsml:numberingScheme"></xsl:value-of>=<xsl:value-of select="witsml:nameTag/witsml:name"></xsl:value-of> |
---|
| 64 | </td> |
---|
| 65 | </tr> |
---|
| 66 | <tr> |
---|
| 67 | <td>softwareVersion</td> |
---|
| 68 | <td> |
---|
| 69 | <xsl:value-of select="witsml:softwareVersion"></xsl:value-of> |
---|
| 70 | </td> |
---|
| 71 | </tr> |
---|
| 72 | |
---|
| 73 | <xsl:for-each select="witsml:factoryCalibration"> |
---|
| 74 | <!--EMBED vertical OR horizontal table--> |
---|
| 75 | <tr> |
---|
| 76 | <td colspan="2">factoryCalibration</td> |
---|
| 77 | </tr> |
---|
| 78 | <tr> |
---|
| 79 | <td colspan="2"> |
---|
| 80 | <table border="1" width="90%" align="right"> |
---|
| 81 | <!--VERTICAL embedding area--> |
---|
| 82 | <tbody> |
---|
| 83 | <!--INSERT vertical table here--> |
---|
| 84 | <tr> |
---|
| 85 | <td>uid</td> |
---|
| 86 | <td> |
---|
| 87 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
| 88 | </td> |
---|
| 89 | </tr> |
---|
| 90 | <tr> |
---|
| 91 | <td>dTimCalibration</td> |
---|
| 92 | <td> |
---|
| 93 | <xsl:value-of select="witsml:dTimCalibration"></xsl:value-of> |
---|
| 94 | </td> |
---|
| 95 | </tr> |
---|
| 96 | <tr> |
---|
| 97 | <td>calibratedBy</td> |
---|
| 98 | <td> |
---|
| 99 | <xsl:value-of select="witsml:calibratedBy"></xsl:value-of> |
---|
| 100 | </td> |
---|
| 101 | </tr> |
---|
| 102 | <tr> |
---|
| 103 | <td>calibrationProtocol</td> |
---|
| 104 | <td> |
---|
| 105 | <xsl:value-of select="witsml:calibrationProtocol"></xsl:value-of> |
---|
| 106 | </td> |
---|
| 107 | </tr> |
---|
| 108 | <!--EMBED vertical OR horizontal table--> |
---|
| 109 | <tr> |
---|
| 110 | <td colspan="2">parameter</td> |
---|
| 111 | </tr> |
---|
| 112 | <tr> |
---|
| 113 | <td colspan="2"> |
---|
| 114 | <table border="1" width="90%" align="right"> |
---|
| 115 | <!--HORIZONTAL embedding area--> |
---|
| 116 | <thead> |
---|
| 117 | <!--INSERT Horizontal table header here--> |
---|
| 118 | <tr> |
---|
| 119 | <td>name</td> |
---|
| 120 | <td>description</td> |
---|
| 121 | <td>value</td> |
---|
| 122 | </tr> |
---|
| 123 | </thead> |
---|
| 124 | <tbody> |
---|
| 125 | <xsl:for-each select="witsml:parameter"> |
---|
| 126 | <!--INSERT Horizontal table row here--> |
---|
| 127 | <tr> |
---|
| 128 | <td> |
---|
| 129 | <xsl:value-of select="@name"></xsl:value-of> |
---|
| 130 | </td> |
---|
| 131 | <td> |
---|
| 132 | <xsl:value-of select="@description"></xsl:value-of> |
---|
| 133 | </td> |
---|
| 134 | <td> |
---|
| 135 | <xsl:apply-templates select="." mode="valueWithUomRef"/> |
---|
| 136 | </td> |
---|
| 137 | </tr> |
---|
| 138 | </xsl:for-each> |
---|
| 139 | </tbody> |
---|
| 140 | </table> |
---|
| 141 | </td> |
---|
| 142 | </tr> |
---|
| 143 | <!--Horizontal embedding area--> |
---|
| 144 | <tr> |
---|
| 145 | <td>remarks</td> |
---|
| 146 | <td> |
---|
| 147 | <xsl:value-of select="witsml:remarks"></xsl:value-of> |
---|
| 148 | </td> |
---|
| 149 | </tr> |
---|
| 150 | <tr> |
---|
| 151 | <td>offsetTemperatureCalibration</td> |
---|
| 152 | <td> |
---|
| 153 | <xsl:apply-templates select="witsml:offsetTemperatureCalibration" mode="valueWithUomRef"/> |
---|
| 154 | </td> |
---|
| 155 | </tr> |
---|
| 156 | <tr> |
---|
| 157 | <td>slopeCalibration</td> |
---|
| 158 | <td> |
---|
| 159 | <xsl:apply-templates select="witsml:slopeCalibration" mode="valueWithUomRef"/> |
---|
| 160 | </td> |
---|
| 161 | </tr> |
---|
| 162 | </tbody> |
---|
| 163 | <!--END VERTICAL embedding area--> |
---|
| 164 | </table> |
---|
| 165 | </td> |
---|
| 166 | </tr> |
---|
| 167 | </xsl:for-each> |
---|
| 168 | <!--Horizontal embedding area--> |
---|
| 169 | <tr> |
---|
| 170 | <td>internalOvenLocationNear</td> |
---|
| 171 | <td> |
---|
| 172 | <xsl:apply-templates select="witsml:internalOvenLocationNear" mode="valueWithUomRef"/> |
---|
| 173 | </td> |
---|
| 174 | </tr> |
---|
| 175 | <tr> |
---|
| 176 | <td>internalOvenLocationFar</td> |
---|
| 177 | <td> |
---|
| 178 | <xsl:apply-templates select="witsml:internalOvenLocationFar" mode="valueWithUomRef"/> |
---|
| 179 | </td> |
---|
| 180 | </tr> |
---|
| 181 | <tr> |
---|
| 182 | <td>ovenSetPoint</td> |
---|
| 183 | <td> |
---|
| 184 | <xsl:apply-templates select="witsml:ovenSetPoint" mode="valueWithUomRef"/> |
---|
| 185 | </td> |
---|
| 186 | </tr> |
---|
| 187 | <tr> |
---|
| 188 | <td>testCable</td> |
---|
| 189 | <td> |
---|
| 190 | <xsl:value-of select="witsml:testCable"></xsl:value-of> |
---|
| 191 | </td> |
---|
| 192 | </tr> |
---|
| 193 | <tr> |
---|
| 194 | <td>offset</td> |
---|
| 195 | <td> |
---|
| 196 | <xsl:value-of select="witsml:offset"></xsl:value-of> |
---|
| 197 | </td> |
---|
| 198 | </tr> |
---|
| 199 | <tr> |
---|
| 200 | <td>differentialLossSetting</td> |
---|
| 201 | <td> |
---|
| 202 | <xsl:apply-templates select="witsml:differentialLossSetting" mode="valueWithUomRef"/> |
---|
| 203 | </td> |
---|
| 204 | </tr> |
---|
| 205 | <tr> |
---|
| 206 | <td colspan="2">parameter</td> |
---|
| 207 | </tr> |
---|
| 208 | <tr> |
---|
| 209 | <td colspan="2"> |
---|
| 210 | <table border="1" width="90%" align="right"> |
---|
| 211 | <!--HORIZONTAL embedding area--> |
---|
| 212 | <thead> |
---|
| 213 | <!--INSERT Horizontal table header here--> |
---|
| 214 | <tr> |
---|
| 215 | <td>index</td> |
---|
| 216 | <td>name</td> |
---|
| 217 | <td>description</td> |
---|
| 218 | <td>value</td> |
---|
| 219 | </tr> |
---|
| 220 | </thead> |
---|
| 221 | <tbody> |
---|
| 222 | <xsl:for-each select="witsml:parameter"> |
---|
| 223 | <!--INSERT Horizontal table row here--> |
---|
| 224 | <tr> |
---|
| 225 | <td> |
---|
| 226 | <xsl:value-of select="@index"></xsl:value-of> |
---|
| 227 | </td> |
---|
| 228 | <td> |
---|
| 229 | <xsl:value-of select="@name"></xsl:value-of> |
---|
| 230 | </td> |
---|
| 231 | <td> |
---|
| 232 | <xsl:value-of select="@description"></xsl:value-of> |
---|
| 233 | </td> |
---|
| 234 | <td> |
---|
| 235 | <xsl:apply-templates select="." mode="valueWithUomRef"/> |
---|
| 236 | </td> |
---|
| 237 | </tr> |
---|
| 238 | </xsl:for-each> |
---|
| 239 | </tbody> |
---|
| 240 | </table> |
---|
| 241 | </td> |
---|
| 242 | </tr> |
---|
| 243 | |
---|
| 244 | </tbody> |
---|
| 245 | </table> |
---|
| 246 | </xsl:template> |
---|
| 247 | |
---|
| 248 | </xsl:stylesheet> |
---|