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>dtsMeasurement Object</title> |
---|
13 | </head> |
---|
14 | <body> |
---|
15 | <span style="font-size:larger; font-weight:bold; ">DTS Measurement</span> |
---|
16 | <xsl:apply-templates select="//witsml:documentInfo"/> |
---|
17 | <xsl:for-each select="//witsml:dtsMeasurement"> |
---|
18 | <xsl:apply-templates select="."/> |
---|
19 | </xsl:for-each> |
---|
20 | </body> |
---|
21 | </html> |
---|
22 | </xsl:template> |
---|
23 | |
---|
24 | <xsl:template match="witsml:documentInfo"> |
---|
25 | <P><B>Created date: </B><xsl:value-of select="witsml:FileCreationInformation/witsml:FileCreationDate"/><BR/> |
---|
26 | <B>Created by: </B><xsl:value-of select="witsml:FileCreationInformation/witsml:FileCreator"/></P> |
---|
27 | </xsl:template> |
---|
28 | |
---|
29 | <xsl:template match="witsml:dtsMeasurement"> |
---|
30 | <table border="1" width="100%"> |
---|
31 | |
---|
32 | <thead> |
---|
33 | <tr> |
---|
34 | <td><B>element or attribute</B></td> |
---|
35 | <td><B>value</B></td> |
---|
36 | </tr> |
---|
37 | </thead> |
---|
38 | |
---|
39 | <tbody> |
---|
40 | <tr> |
---|
41 | <td>uidWell</td> |
---|
42 | <td> |
---|
43 | <xsl:value-of select="@uidWell"></xsl:value-of> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | <tr> |
---|
47 | <td>uidWellbore</td> |
---|
48 | <td> |
---|
49 | <xsl:value-of select="@uidWellbore"></xsl:value-of> |
---|
50 | </td> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <td>uid</td> |
---|
54 | <td> |
---|
55 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <td>nameWell</td> |
---|
60 | <td> |
---|
61 | <xsl:value-of select="witsml:nameWell"></xsl:value-of> |
---|
62 | </td> |
---|
63 | </tr> |
---|
64 | <tr> |
---|
65 | <td>nameWellbore</td> |
---|
66 | <td> |
---|
67 | <xsl:value-of select="witsml:nameWellbore"></xsl:value-of> |
---|
68 | </td> |
---|
69 | </tr> |
---|
70 | <tr> |
---|
71 | <td>name</td> |
---|
72 | <td> |
---|
73 | <xsl:value-of select="witsml:name"></xsl:value-of> |
---|
74 | </td> |
---|
75 | </tr> |
---|
76 | <tr> |
---|
77 | <td>runDuration</td> |
---|
78 | <td> |
---|
79 | <xsl:apply-templates select="witsml:runDuration" mode="valueWithUomRef"/> |
---|
80 | </td> |
---|
81 | </tr> |
---|
82 | <tr> |
---|
83 | <td>installedSystemUsed</td> |
---|
84 | <table border="1"><tbody> |
---|
85 | <tr> |
---|
86 | <td>uidRef: <xsl:value-of select="witsml:installedSystemUsed/@uidRef"/></td> |
---|
87 | <td>name: <xsl:value-of select="witsml:installedSystemUsed"/></td> |
---|
88 | </tr> |
---|
89 | </tbody></table> |
---|
90 | </tr> |
---|
91 | <tr> |
---|
92 | <td>dataInWellLog</td> |
---|
93 | <table border="1"><tbody> |
---|
94 | <tr> |
---|
95 | <td>uidRef: <xsl:value-of select="witsml:dataInWellLog/@uidRef"/></td> |
---|
96 | <td>name: <xsl:value-of select="witsml:dataInWellLog"/></td> |
---|
97 | </tr> |
---|
98 | </tbody></table> |
---|
99 | </tr> |
---|
100 | <tr> |
---|
101 | <td>fiberEndConnected</td> |
---|
102 | <table border="1"><tbody> |
---|
103 | <tr> |
---|
104 | <td>uidRef: <xsl:value-of select="witsml:fiberEndConnected/@uidRef"/></td> |
---|
105 | <td>name: <xsl:value-of select="witsml:fiberEndConnected"/></td> |
---|
106 | </tr> |
---|
107 | </tbody></table> |
---|
108 | </tr> |
---|
109 | <tr> |
---|
110 | <td colspan="2">fiberDefinedPoint</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>uid</td> |
---|
120 | <td>md</td> |
---|
121 | <td>lengthAlongFiber</td> |
---|
122 | <td>type</td> |
---|
123 | </tr> |
---|
124 | </thead> |
---|
125 | <tbody> |
---|
126 | <xsl:for-each select="witsml:fiberDefinedPoint"> |
---|
127 | <!--INSERT Horizontal table row here--> |
---|
128 | <tr> |
---|
129 | <td> |
---|
130 | <xsl:value-of select="@uid"></xsl:value-of> |
---|
131 | </td> |
---|
132 | <td> |
---|
133 | <xsl:value-of select="witsml:md"></xsl:value-of> |
---|
134 | </td> |
---|
135 | <td> |
---|
136 | <xsl:apply-templates select="witsml:lengthAlongFiber" mode="valueWithUomRef"/> |
---|
137 | </td> |
---|
138 | <td> |
---|
139 | <xsl:value-of select="witsml:type"></xsl:value-of> |
---|
140 | </td> |
---|
141 | </tr> |
---|
142 | </xsl:for-each> |
---|
143 | </tbody> |
---|
144 | </table> |
---|
145 | </td> |
---|
146 | </tr> |
---|
147 | |
---|
148 | </tbody> |
---|
149 | |
---|
150 | </table> |
---|
151 | </xsl:template> |
---|
152 | |
---|
153 | </xsl:stylesheet> |
---|