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 Fiber Object</title> |
---|
13 | <link rel='stylesheet' href='../stylesheets/witsml.css' type='text/css' /> |
---|
14 | </head> |
---|
15 | <body> |
---|
16 | <span style="font-size:larger; font-weight:bold; ">DTS Fiber</span> |
---|
17 | <xsl:apply-templates select="witsml:dtsFiber"/> |
---|
18 | </body> |
---|
19 | </html> |
---|
20 | </xsl:template> |
---|
21 | |
---|
22 | <xsl:template match="witsml:dtsFiber"> |
---|
23 | <table border="1" width="100%"> |
---|
24 | <thead> |
---|
25 | <tr> |
---|
26 | <td><B>element or attribute</B></td> |
---|
27 | <td><B>value</B></td> |
---|
28 | </tr> |
---|
29 | </thead> |
---|
30 | <tbody> |
---|
31 | <tr> |
---|
32 | <td>uid</td> |
---|
33 | <td> |
---|
34 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
35 | </td> |
---|
36 | </tr> |
---|
37 | <tr> |
---|
38 | <td>name</td> |
---|
39 | <td> |
---|
40 | <xsl:value-of select="witsml:name"></xsl:value-of> |
---|
41 | </td> |
---|
42 | </tr> |
---|
43 | <tr> |
---|
44 | <td>mode</td> |
---|
45 | <td> |
---|
46 | <xsl:value-of select="witsml:mode"></xsl:value-of> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <td>type</td> |
---|
51 | <td> |
---|
52 | <xsl:value-of select="witsml:type"></xsl:value-of> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | <tr> |
---|
56 | <td>coating</td> |
---|
57 | <td> |
---|
58 | <xsl:value-of select="witsml:coating"></xsl:value-of> |
---|
59 | </td> |
---|
60 | </tr> |
---|
61 | <tr> |
---|
62 | <td>jacket</td> |
---|
63 | <td> |
---|
64 | <xsl:value-of select="witsml:jacket"></xsl:value-of> |
---|
65 | </td> |
---|
66 | </tr> |
---|
67 | <tr> |
---|
68 | <td>coreDiameter</td> |
---|
69 | <td> |
---|
70 | <xsl:apply-templates select="witsml:coreDiameter" mode="valueWithUomRef"/> |
---|
71 | </td> |
---|
72 | </tr> |
---|
73 | <tr> |
---|
74 | <td>outsideDiameter</td> |
---|
75 | <td> |
---|
76 | <xsl:apply-templates select="witsml:outsideDiameter" mode="valueWithUomRef"/> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | <!--EMBED vertical OR horizontal table--> |
---|
80 | <tr> |
---|
81 | <td colspan="2">refractiveIndex</td> |
---|
82 | </tr> |
---|
83 | <tr> |
---|
84 | <td colspan="2"> |
---|
85 | <table border="1" width="90%" align="right"> |
---|
86 | <!--HORIZONTAL embedding area--> |
---|
87 | <thead> |
---|
88 | <!--BEGIN Table Header--> |
---|
89 | <tr> |
---|
90 | <td>uid</td> |
---|
91 | <td>value</td> |
---|
92 | <td>frequency</td> |
---|
93 | <td>wavelength</td> |
---|
94 | </tr> |
---|
95 | <!--END Table Header--> |
---|
96 | </thead> |
---|
97 | <tbody> |
---|
98 | <xsl:for-each select="witsml:refractiveIndex"> |
---|
99 | <!--INSERT Horizontal table row here--> |
---|
100 | <tr> |
---|
101 | <td> |
---|
102 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
103 | </td> |
---|
104 | <td> |
---|
105 | <xsl:value-of select="witsml:value"></xsl:value-of> |
---|
106 | </td> |
---|
107 | <td> |
---|
108 | <xsl:apply-templates select="witsml:frequency" mode="valueWithUomRef"/> |
---|
109 | </td> |
---|
110 | <td> |
---|
111 | <xsl:apply-templates select="witsml:wavelength" mode="valueWithUomRef"/> |
---|
112 | </td> |
---|
113 | </tr> |
---|
114 | </xsl:for-each> |
---|
115 | </tbody> |
---|
116 | </table> |
---|
117 | </td> |
---|
118 | </tr> |
---|
119 | <!--Horizontal embedding area--> |
---|
120 | <!--EMBED vertical OR horizontal table--> |
---|
121 | <tr> |
---|
122 | <td colspan="2">oneWayLoss</td> |
---|
123 | </tr> |
---|
124 | <tr> |
---|
125 | <td colspan="2"> |
---|
126 | <table border="1" width="90%" align="right"> |
---|
127 | <!--HORIZONTAL embedding area--> |
---|
128 | <thead> |
---|
129 | <!--INSERT Horizontal table header here--> |
---|
130 | <tr> |
---|
131 | <td>uid</td> |
---|
132 | <td>value</td> |
---|
133 | <td>frequency</td> |
---|
134 | <td>wavelength</td> |
---|
135 | </tr> |
---|
136 | </thead> |
---|
137 | <tbody> |
---|
138 | <xsl:for-each select="witsml:oneWayLoss"> |
---|
139 | <!--INSERT Horizontal table row here--> |
---|
140 | <tr> |
---|
141 | <td> |
---|
142 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
143 | </td> |
---|
144 | <td> |
---|
145 | <xsl:apply-templates select="witsml:value" mode="valueWithUomRef"/> |
---|
146 | </td> |
---|
147 | <td> |
---|
148 | <xsl:apply-templates select="witsml:frequency" mode="valueWithUomRef"/> |
---|
149 | </td> |
---|
150 | <td> |
---|
151 | <xsl:apply-templates select="witsml:wavelength" mode="valueWithUomRef"/> |
---|
152 | </td> |
---|
153 | </tr> |
---|
154 | </xsl:for-each> |
---|
155 | </tbody> |
---|
156 | <!--END HORIZONTAL embedding area--> |
---|
157 | </table> |
---|
158 | </td> |
---|
159 | </tr> |
---|
160 | <!--Horizontal embedding area--> |
---|
161 | <tr> |
---|
162 | <td colspan="2">parameter</td> |
---|
163 | </tr> |
---|
164 | <tr> |
---|
165 | <td colspan="2"> |
---|
166 | <table border="1" width="90%" align="right"> |
---|
167 | <!--HORIZONTAL embedding area--> |
---|
168 | <thead> |
---|
169 | <!--INSERT Horizontal table header here--> |
---|
170 | <tr> |
---|
171 | <td>index</td> |
---|
172 | <td>name</td> |
---|
173 | <td>description</td> |
---|
174 | <td>value</td> |
---|
175 | </tr> |
---|
176 | </thead> |
---|
177 | <tbody> |
---|
178 | <xsl:for-each select="witsml:parameter"> |
---|
179 | <!--INSERT Horizontal table row here--> |
---|
180 | <tr> |
---|
181 | <td> |
---|
182 | <xsl:value-of select="@index"></xsl:value-of> |
---|
183 | </td> |
---|
184 | <td> |
---|
185 | <xsl:value-of select="@name"></xsl:value-of> |
---|
186 | </td> |
---|
187 | <td> |
---|
188 | <xsl:value-of select="@description"></xsl:value-of> |
---|
189 | </td> |
---|
190 | <td> |
---|
191 | <xsl:apply-templates select="." mode="valueWithUomRef"/> |
---|
192 | </td> |
---|
193 | </tr> |
---|
194 | </xsl:for-each> |
---|
195 | </tbody> |
---|
196 | </table> |
---|
197 | </td> |
---|
198 | </tr> |
---|
199 | <tr> |
---|
200 | <td>spoolNumberTag</td> |
---|
201 | <td> |
---|
202 | <xsl:value-of select="witsml:spoolNumberTag"></xsl:value-of> |
---|
203 | </td> |
---|
204 | </tr> |
---|
205 | <tr> |
---|
206 | <td>spoolLength</td> |
---|
207 | <td> |
---|
208 | <xsl:apply-templates select="witsml:spoolLength" mode="valueWithUomRef"/> |
---|
209 | </td> |
---|
210 | </tr> |
---|
211 | <tr> |
---|
212 | <td>supplyDate</td> |
---|
213 | <td> |
---|
214 | <xsl:value-of select="witsml:supplyDate"></xsl:value-of> |
---|
215 | </td> |
---|
216 | </tr> |
---|
217 | <tr> |
---|
218 | <td>supplier</td> |
---|
219 | <td> |
---|
220 | <xsl:value-of select="witsml:supplier"></xsl:value-of> |
---|
221 | </td> |
---|
222 | </tr> |
---|
223 | <tr> |
---|
224 | <td>supplierModelNumber</td> |
---|
225 | <td> |
---|
226 | <xsl:value-of select="witsml:supplierModelNumber"></xsl:value-of> |
---|
227 | </td> |
---|
228 | </tr> |
---|
229 | <xsl:for-each select="witsml:factoryCalibration"> |
---|
230 | <!--EMBED vertical OR horizontal table--> |
---|
231 | <tr> |
---|
232 | <td colspan="2">factoryCalibration</td> |
---|
233 | </tr> |
---|
234 | <tr> |
---|
235 | <td colspan="2"> |
---|
236 | <table border="1" width="90%" align="right"> |
---|
237 | <!--VERTICAL embedding area--> |
---|
238 | <tbody> |
---|
239 | <!--INSERT vertical table here--> |
---|
240 | <tr> |
---|
241 | <td>uid</td> |
---|
242 | <td> |
---|
243 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
244 | </td> |
---|
245 | </tr> |
---|
246 | <tr> |
---|
247 | <td>dTimCalibration</td> |
---|
248 | <td> |
---|
249 | <xsl:value-of select="witsml:dTimCalibration"></xsl:value-of> |
---|
250 | </td> |
---|
251 | </tr> |
---|
252 | <tr> |
---|
253 | <td>calibratedBy</td> |
---|
254 | <td> |
---|
255 | <xsl:value-of select="witsml:calibratedBy"></xsl:value-of> |
---|
256 | </td> |
---|
257 | </tr> |
---|
258 | <tr> |
---|
259 | <td>calibrationProtocol</td> |
---|
260 | <td> |
---|
261 | <xsl:value-of select="witsml:calibrationProtocol"></xsl:value-of> |
---|
262 | </td> |
---|
263 | </tr> |
---|
264 | <!--EMBED vertical OR horizontal table--> |
---|
265 | <tr> |
---|
266 | <td colspan="2">parameter</td> |
---|
267 | </tr> |
---|
268 | <tr> |
---|
269 | <td colspan="2"> |
---|
270 | <table border="1" width="90%" align="right"> |
---|
271 | <!--HORIZONTAL embedding area--> |
---|
272 | <thead> |
---|
273 | <!--INSERT Horizontal table header here--> |
---|
274 | <tr> |
---|
275 | <td>name</td> |
---|
276 | <td>description</td> |
---|
277 | <td>value</td> |
---|
278 | </tr> |
---|
279 | </thead> |
---|
280 | <tbody> |
---|
281 | <xsl:for-each select="witsml:parameter"> |
---|
282 | <!--INSERT Horizontal table row here--> |
---|
283 | <tr> |
---|
284 | <td> |
---|
285 | <xsl:value-of select="@name"></xsl:value-of> |
---|
286 | </td> |
---|
287 | <td> |
---|
288 | <xsl:value-of select="@description"></xsl:value-of> |
---|
289 | </td> |
---|
290 | <td> |
---|
291 | <xsl:apply-templates select="." mode="valueWithUomRef"/> |
---|
292 | </td> |
---|
293 | </tr> |
---|
294 | </xsl:for-each> |
---|
295 | </tbody> |
---|
296 | </table> |
---|
297 | </td> |
---|
298 | </tr> |
---|
299 | <!--Horizontal embedding area--> |
---|
300 | <tr> |
---|
301 | <td>remarks</td> |
---|
302 | <td> |
---|
303 | <xsl:value-of select="witsml:remarks"></xsl:value-of> |
---|
304 | </td> |
---|
305 | </tr> |
---|
306 | </tbody> |
---|
307 | <!--END VERTICAL embedding area--> |
---|
308 | </table> |
---|
309 | </td> |
---|
310 | </tr> |
---|
311 | </xsl:for-each> |
---|
312 | <!--Horizontal embedding area--> |
---|
313 | <tr> |
---|
314 | <td>installationHistory</td> |
---|
315 | <td> |
---|
316 | <xsl:value-of select="witsml:installationHistory"></xsl:value-of> |
---|
317 | </td> |
---|
318 | </tr> |
---|
319 | </tbody> |
---|
320 | </table> |
---|
321 | </xsl:template> |
---|
322 | |
---|
323 | </xsl:stylesheet> |
---|