root / projects / DailyDrillingReport_1.2 / XML / PDFreport / ddr_HTMLReport_transformation_2011_03_09.xfd @ 150

Revision 150, 149.4 kB (checked in by yaolu, 13 years ago)

Created a pdf sample report, and done some changes on the xml for the html report, according to comments from energistics

RevLine 
[150]1<?xml version="1.0" encoding="utf-8"?>
2<xfd:document xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:witsml="http://www.witsml.org/schemas/1series" sample-xsd="..\HTMLreport\WITSML_drillReport_profiled_schema_2011_01_29.xsd" sample-xml="..\HTMLreport\testDocumet_2011_02_07.xml">
3        <xfd:localization>
4                <xfd:locale language-id="en_US" language-name="English (United States)"/>
5        </xfd:localization>
6        <fo:layout-master-set>
7                <fo:simple-page-master master-name="Letter Page" page-width="30cm" page-height="20cm">
8                        <fo:region-body region-name="xsl-region-body" margin="67.200px"/>
9                        <fo:region-before region-name="xsl-region-before" display-align="after" extent="67.200px"/>
10                        <fo:region-after region-name="xsl-region-after" display-align="before" extent="67.200px"/>
11                        <fo:region-start region-name="xsl-region-start" extent="67.200px"/>
12                        <fo:region-end region-name="xsl-region-end" extent="67.200px"/>
13                </fo:simple-page-master>
14        </fo:layout-master-set>
15        <fo:page-sequence master-reference="Letter Page">
16                <fo:flow flow-name="xsl-region-body" font-family="Times" font-size="11pt">
17                        <xsl:variable name="ddrSchema">
18                                <xsl:value-of select="'..\HTMLreport\WITSML_drillReport_profiled_schema_2011_01_29.xsd'"/>
19                        </xsl:variable>
20                        <xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/>
21                        <xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/>
22                        <xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
23                        <xsl:variable name="urlRDS">
24                                <xsl:value-of select="'http://www.posccaesar.org'"/>
25                        </xsl:variable>
26<!-- Report header -->
27                        <fo:block>
28                                <fo:table table-layout="fixed" width="auto" border-collapse="collapse" margin-top="-5.200px">
29                                        <fo:table-column column-width="proportional-column-width(50.44)" column-number="1"/>
30                                        <fo:table-column column-width="proportional-column-width(49.56)" column-number="2"/>
31                                        <fo:table-body>
32                                                <fo:table-row>
33                                                        <fo:table-cell vertical-align="middle">
34                                                                <fo:block font-weight="bold" font-size="11pt">Summary report Wellbore: <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/></fo:block>
35                                                        </fo:table-cell>
36                                                        <fo:table-cell vertical-align="middle">
37                                                                <fo:block font-weight="bold" text-align="right" font-size="11pt">End time:  <xfd:field xpath="substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17)" fo:font-weight="bold"/></fo:block>
38                                                        </fo:table-cell>
39                                                </fo:table-row>
40                                        </fo:table-body>
41                                </fo:table>
42                                <fo:leader rule-thickness="5px" leader-length="100%" leader-pattern="rule"/>
43                                <fo:leader/>
44                        </fo:block>
45<!-- Wellbore info -->
46                        <fo:block>
47                                <xsl:variable name="url_versionKind">
48                                        <xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/>
49                                </xsl:variable>
50                                <xsl:variable name="url_createDate">
51                                        <xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/>
52                                </xsl:variable>
53                                <xsl:variable name="url_operator">
54                                        <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/>
55                                </xsl:variable>
56                                <xsl:variable name="url_drillContractor">
57                                        <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/>
58                                </xsl:variable>
59                                <xsl:variable name="url_rigAlias">
60                                        <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/>
61                                </xsl:variable>
62                                <xsl:variable name="url_dTimSpud">
63                                        <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/>
64                                </xsl:variable>
65                                <xsl:variable name="url_dateDrillComplete">
66                                        <xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/>
67                                </xsl:variable>
68                                <xsl:variable name="url_elevKelly">
69                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/>
70                                </xsl:variable>
71                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
72                                        <fo:table-column column-width="proportional-column-width(16.49)" column-number="1"/>
73                                        <fo:table-column column-width="proportional-column-width(16.931)" column-number="2"/>
74                                        <fo:table-column column-width="proportional-column-width(18.397)" column-number="3"/>
75                                        <fo:table-column column-width="proportional-column-width(48.182)" column-number="4"/>
76                                        <fo:table-body>
77                                                <fo:table-row>
78                                                        <fo:table-cell vertical-align="middle">
79                                                                <fo:block font-weight="bold">Report Number:</fo:block>
80                                                        </fo:table-cell>
81                                                        <fo:table-cell vertical-align="middle">
82                                                                <fo:block>
83                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:reportNo"/>
84                                                                </fo:block>
85                                                        </fo:table-cell>
86                                                        <fo:table-cell vertical-align="middle">
87                                                                <fo:block font-size="11pt" font-weight="bold">Period:</fo:block>
88                                                        </fo:table-cell>
89                                                        <fo:table-cell vertical-align="middle">
90                                                                <fo:block>
91                                                                        <xfd:field xpath="concat(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17), &quot;-&quot;, substring(/witsml:drillReports/witsml:drillReport/witsml:dTimStart, 0, 17))"/>
92                                                                </fo:block>
93                                                        </fo:table-cell>
94                                                </fo:table-row>
95                                        </fo:table-body>
96                                </fo:table>
97                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
98                                        <fo:table-column column-width="proportional-column-width(16.637)" column-number="1"/>
99                                        <fo:table-column column-width="proportional-column-width(16.931)" column-number="2"/>
100                                        <fo:table-column column-width="proportional-column-width(18.398)" column-number="3"/>
101                                        <fo:table-column column-width="proportional-column-width(48.034)" column-number="4"/>
102                                        <fo:table-body>
103                                                <fo:table-row>
104                                                        <fo:table-cell vertical-align="middle">
105                                                                <fo:block font-size="11pt" font-weight="bold">Wellbore:</fo:block>
106                                                        </fo:table-cell>
107                                                        <fo:table-cell vertical-align="middle">
108                                                                <fo:block>
109                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
110                                                                </fo:block>
111                                                        </fo:table-cell>
112                                                        <fo:table-cell vertical-align="middle">
113                                                                <fo:block font-size="11pt" font-weight="bold">Wellbore Id:</fo:block>
114                                                        </fo:table-cell>
115                                                        <fo:table-cell vertical-align="middle">
116                                                                <fo:block>
117                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/>
118                                                                </fo:block>
119                                                        </fo:table-cell>
120                                                </fo:table-row>
121                                                <fo:table-row height="13.280px" overflow="hidden">
122                                                        <fo:table-cell vertical-align="middle">
123                                                                <fo:block>
124                                                                        <fo:basic-link external-destination="url({$url_versionKind})" font-weight="bold">Status:</fo:basic-link>
125                                                                </fo:block>
126                                                        </fo:table-cell>
127                                                        <fo:table-cell vertical-align="middle">
128                                                                <fo:block>
129                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:versionKind"/>
130                                                                </fo:block>
131                                                        </fo:table-cell>
132                                                        <fo:table-cell vertical-align="middle">
133                                                                <fo:block>
134                                                                        <fo:basic-link external-destination="url({$url_createDate})" font-weight="bold">Created date:</fo:basic-link>
135                                                                </fo:block>
136                                                        </fo:table-cell>
137                                                        <fo:table-cell vertical-align="middle">
138                                                                <fo:block>
139                                                                        <xfd:field xpath="substring(/witsml:drillReports/witsml:drillReport/witsml:createDate, 0, 17)"/>
140                                                                </fo:block>
141                                                        </fo:table-cell>
142                                                </fo:table-row>
143                                        </fo:table-body>
144                                </fo:table>
145                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
146                                        <fo:table-column column-width="proportional-column-width(16.638)" column-number="1"/>
147                                        <fo:table-column column-width="proportional-column-width(16.638)" column-number="2"/>
148                                        <fo:table-column column-width="proportional-column-width(18.91)" column-number="3"/>
149                                        <fo:table-column column-width="proportional-column-width(47.814)" column-number="4"/>
150                                        <fo:table-body>
151                                                <fo:table-row>
152                                                        <fo:table-cell vertical-align="middle">
153                                                                <fo:block>
154                                                                        <fo:basic-link external-destination="url({$url_operator})" font-weight="bold">Operator:</fo:basic-link>
155                                                                </fo:block>
156                                                        </fo:table-cell>
157                                                        <fo:table-cell vertical-align="middle">
158                                                                <fo:block>
159                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:operator"/>
160                                                                </fo:block>
161                                                        </fo:table-cell>
162                                                        <fo:table-cell vertical-align="middle">
163                                                                <fo:block>
164                                                                        <fo:basic-link external-destination="url({$url_drillContractor})" font-weight="bold">Drilling contractor:</fo:basic-link>
165                                                                </fo:block>
166                                                        </fo:table-cell>
167                                                        <fo:table-cell vertical-align="middle">
168                                                                <fo:block>
169                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:drillContractor"/>
170                                                                </fo:block>
171                                                        </fo:table-cell>
172                                                </fo:table-row>
173                                        </fo:table-body>
174                                </fo:table>
175                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
176                                        <fo:table-column column-width="proportional-column-width(16.667)" column-number="1"/>
177                                        <fo:table-column column-width="proportional-column-width(16.52)" column-number="2"/>
178                                        <fo:table-column column-width="proportional-column-width(18.868)" column-number="3"/>
179                                        <fo:table-column column-width="proportional-column-width(10.945)" column-number="4"/>
180                                        <fo:table-column column-width="proportional-column-width(27.083)" column-number="5"/>
181                                        <fo:table-column column-width="proportional-column-width(9.917)" column-number="6"/>
182                                        <fo:table-body>
183                                                <fo:table-row>
184                                                        <fo:table-cell vertical-align="middle">
185                                                                <fo:block>
186                                                                        <fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">Rig name:</fo:basic-link>
187                                                                </fo:block>
188                                                        </fo:table-cell>
189                                                        <fo:table-cell vertical-align="middle">
190                                                                <fo:block>
191                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD name']/witsml:name"/>
192                                                                </fo:block>
193                                                        </fo:table-cell>
194                                                        <fo:table-cell vertical-align="middle">
195                                                                <fo:block><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">NPD Rig Id:</fo:basic-link><fo:inline font-size="11pt" font-weight="bold"> </fo:inline></fo:block>
196                                                        </fo:table-cell>
197                                                        <fo:table-cell vertical-align="middle">
198                                                                <fo:block>
199                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/>
200                                                                </fo:block>
201                                                        </fo:table-cell>
202                                                        <fo:table-cell vertical-align="middle">
203                                                                <fo:block><fo:basic-link external-destination="url({$url_elevKelly})" font-weight="bold">Eleveation RKB-MSL</fo:basic-link><fo:inline font-size="11pt"> <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom" fo:font-weight="bold"/>:</fo:inline></fo:block>
204                                                        </fo:table-cell>
205                                                        <fo:table-cell vertical-align="middle">
206                                                                <fo:block>
207                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly"/>
208                                                                </fo:block>
209                                                        </fo:table-cell>
210                                                </fo:table-row>
211                                                <fo:table-row>
212                                                        <fo:table-cell vertical-align="middle">
213                                                                <fo:block>
214                                                                        <fo:basic-link external-destination="url({$url_dTimSpud})" font-weight="bold">Spud date:</fo:basic-link>
215                                                                </fo:block>
216                                                        </fo:table-cell>
217                                                        <fo:table-cell vertical-align="middle">
218                                                                <fo:block>
219                                                                        <xfd:field xpath="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T')"/>
220                                                                </fo:block>
221                                                        </fo:table-cell>
222                                                        <fo:table-cell vertical-align="middle">
223                                                                <fo:block>
224                                                                        <fo:basic-link external-destination="url({$url_dateDrillComplete})" font-weight="bold">Date Well Complete:</fo:basic-link>
225                                                                </fo:block>
226                                                        </fo:table-cell>
227                                                        <fo:table-cell vertical-align="middle">
228                                                                <fo:block>
229                                                                        <xfd:field xpath="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T')"/>
230                                                                </fo:block>
231                                                        </fo:table-cell>
232                                                        <fo:table-cell vertical-align="middle">
233                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Water depth MSL </fo:basic-link><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom"/>:</fo:block>
234                                                        </fo:table-cell>
235                                                        <fo:table-cell vertical-align="middle">
236                                                                <fo:block>
237                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth"/>
238                                                                </fo:block>
239                                                        </fo:table-cell>
240                                                </fo:table-row>
241                                        </fo:table-body>
242                                </fo:table>
243                        </fo:block>
244<!-- Status info -->
245                        <fo:block>
246                                <xsl:variable name="url_typeWellbore">
247                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/>
248                                </xsl:variable>
249                                <xsl:variable name="url_mdKickoff">
250                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/>
251                                </xsl:variable>
252                                <xsl:variable name="url_tvdKickoff">
253                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/>
254                                </xsl:variable>
255                                <xsl:variable name="url_mdPlugTop">
256                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/>
257                                </xsl:variable>
258                                <xsl:variable name="url_md">
259                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
260                                </xsl:variable>
261                                <xsl:variable name="url_tvd">
262                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
263                                </xsl:variable>
264                                <xsl:variable name="url_distDrill">
265                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/>
266                                </xsl:variable>
267                                <xsl:variable name="url_ropCurrent">
268                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/>
269                                </xsl:variable>
270                                <xsl:variable name="url_diaHole">
271                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/>
272                                </xsl:variable>
273                                <xsl:variable name="url_presTestType">
274                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/>
275                                </xsl:variable>
276                                <xsl:variable name="url_strengthForm">
277                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/>
278                                </xsl:variable>
279                                <xsl:variable name="url_mdStrengthForm">
280                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/>
281                                </xsl:variable>
282                                <xsl:variable name="url_tvdStrengthForm">
283                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/>
284                                </xsl:variable>
285                                <xsl:variable name="url_diaCsgLast">
286                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/>
287                                </xsl:variable>
288                                <xsl:variable name="url_mdCsgLast">
289                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
290                                </xsl:variable>
291                                <xsl:variable name="url_tvdCsgLast">
292                                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/>
293                                </xsl:variable>
294                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
295                                        <fo:table-column column-width="proportional-column-width(16.784)" column-number="1"/>
296                                        <fo:table-column column-width="proportional-column-width(16.49)" column-number="2"/>
297                                        <fo:table-column column-width="proportional-column-width(18.692)" column-number="3"/>
298                                        <fo:table-column column-width="proportional-column-width(48.034)" column-number="4"/>
299                                        <fo:table-body>
300                                                <fo:table-row>
301                                                        <fo:table-cell vertical-align="middle">
302                                                                <fo:block><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Tight well:</fo:basic-link> </fo:block>
303                                                        </fo:table-cell>
304                                                        <fo:table-cell vertical-align="middle">
305                                                                <fo:block>
306                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell"/>
307                                                                </fo:block>
308                                                        </fo:table-cell>
309                                                        <fo:table-cell vertical-align="middle">
310                                                                <fo:block><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">High pressure - High temperature</fo:basic-link> </fo:block>
311                                                        </fo:table-cell>
312                                                        <fo:table-cell vertical-align="middle">
313                                                                <fo:block>
314                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht"/>
315                                                                </fo:block>
316                                                        </fo:table-cell>
317                                                </fo:table-row>
318                                                <fo:table-row>
319                                                        <fo:table-cell vertical-align="middle">
320                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Pressure </fo:basic-link><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH/@uom"/>:</fo:block>
321                                                        </fo:table-cell>
322                                                        <fo:table-cell vertical-align="middle">
323                                                                <fo:block>
324                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH"/>
325                                                                </fo:block>
326                                                        </fo:table-cell>
327                                                        <fo:table-cell vertical-align="middle">
328                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Temperature </fo:basic-link><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom"/>:</fo:block>
329                                                        </fo:table-cell>
330                                                        <fo:table-cell vertical-align="middle">
331                                                                <fo:block>
332                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH"/>
333                                                                </fo:block>
334                                                        </fo:table-cell>
335                                                </fo:table-row>
336                                        </fo:table-body>
337                                </fo:table>
338                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
339                                        <fo:table-column column-width="proportional-column-width(16.667)" column-number="1"/>
340                                        <fo:table-column column-width="proportional-column-width(16.667)" column-number="2"/>
341                                        <fo:table-column column-width="proportional-column-width(19.013)" column-number="3"/>
342                                        <fo:table-column column-width="proportional-column-width(10.65)" column-number="4"/>
343                                        <fo:table-column column-width="proportional-column-width(26.937)" column-number="5"/>
344                                        <fo:table-column column-width="proportional-column-width(10.065)" column-number="6"/>
345                                        <fo:table-body>
346                                                <fo:table-row>
347                                                        <fo:table-cell vertical-align="middle">
348                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_typeWellbore})">Wellbore type:</fo:basic-link> </fo:block>
349                                                        </fo:table-cell>
350                                                        <fo:table-cell vertical-align="middle">
351                                                                <fo:block>
352                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:typeWellbore"/>
353                                                                </fo:block>
354                                                        </fo:table-cell>
355                                                        <fo:table-cell vertical-align="middle">
356                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdKickoff})">Depth at Kick Off mMD:</fo:basic-link> </fo:block>
357                                                        </fo:table-cell>
358                                                        <fo:table-cell vertical-align="middle">
359                                                                <fo:block>
360                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdKickoff"/>
361                                                                </fo:block>
362                                                        </fo:table-cell>
363                                                        <fo:table-cell vertical-align="middle">
364                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdKickoff})">Depth at Kick Off mTVD:</fo:basic-link> </fo:block>
365                                                        </fo:table-cell>
366                                                        <fo:table-cell vertical-align="middle">
367                                                                <fo:block>
368                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdKickoff"/>
369                                                                </fo:block>
370                                                        </fo:table-cell>
371                                                </fo:table-row>
372                                                <fo:table-row>
373                                                        <fo:table-cell vertical-align="middle">
374                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_md})">Depth mMD:</fo:basic-link> </fo:block>
375                                                        </fo:table-cell>
376                                                        <fo:table-cell vertical-align="middle">
377                                                                <fo:block>
378                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:md"/>
379                                                                </fo:block>
380                                                        </fo:table-cell>
381                                                        <fo:table-cell vertical-align="middle">
382                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvd})">Depth mTVD:</fo:basic-link> </fo:block>
383                                                        </fo:table-cell>
384                                                        <fo:table-cell vertical-align="middle">
385                                                                <fo:block>
386                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvd"/>
387                                                                </fo:block>
388                                                        </fo:table-cell>
389                                                        <fo:table-cell vertical-align="middle">
390                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdPlugTop})">Plug Back Depth mMD:</fo:basic-link> </fo:block>
391                                                        </fo:table-cell>
392                                                        <fo:table-cell vertical-align="middle">
393                                                                <fo:block>
394                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdPlugTop"/>
395                                                                </fo:block>
396                                                        </fo:table-cell>
397                                                </fo:table-row>
398                                        </fo:table-body>
399                                </fo:table>
400                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
401                                        <fo:table-column column-width="proportional-column-width(16.93)" column-number="1"/>
402                                        <fo:table-column column-width="proportional-column-width(16.637)" column-number="2"/>
403                                        <fo:table-column column-width="proportional-column-width(18.692)" column-number="3"/>
404                                        <fo:table-column column-width="proportional-column-width(47.74)" column-number="4"/>
405                                        <fo:table-body>
406                                                <fo:table-row height="19.840px" overflow="hidden">
407                                                        <fo:table-cell vertical-align="middle">
408                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_distDrill})">Dist Drilled</fo:basic-link>  <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom"/>:</fo:block>
409                                                        </fo:table-cell>
410                                                        <fo:table-cell vertical-align="middle">
411                                                                <fo:block>
412                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill"/>
413                                                                </fo:block>
414                                                        </fo:table-cell>
415                                                        <fo:table-cell vertical-align="middle">
416                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_ropCurrent})">Penetration Rate</fo:basic-link> <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent/@uom"/>:</fo:block>
417                                                        </fo:table-cell>
418                                                        <fo:table-cell vertical-align="middle">
419                                                                <fo:block>
420                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent"/>
421                                                                </fo:block>
422                                                        </fo:table-cell>
423                                                </fo:table-row>
424                                                <fo:table-row height="13.280px" overflow="hidden">
425                                                        <fo:table-cell vertical-align="middle">
426                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_diaHole})">Hole Dia </fo:basic-link><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom"/>:</fo:block>
427                                                        </fo:table-cell>
428                                                        <fo:table-cell vertical-align="middle">
429                                                                <fo:block>
430                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole"/>
431                                                                </fo:block>
432                                                        </fo:table-cell>
433                                                        <fo:table-cell vertical-align="middle">
434                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_presTestType})">Pressure Test Type:</fo:basic-link> </fo:block>
435                                                        </fo:table-cell>
436                                                        <fo:table-cell vertical-align="middle">
437                                                                <fo:block>
438                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:presTestType"/>
439                                                                </fo:block>
440                                                        </fo:table-cell>
441                                                </fo:table-row>
442                                        </fo:table-body>
443                                </fo:table>
444                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
445                                        <fo:table-column column-width="proportional-column-width(16.960)" column-number="1"/>
446                                        <fo:table-column column-width="proportional-column-width(16.373)" column-number="2"/>
447                                        <fo:table-column column-width="proportional-column-width(16.667)" column-number="3"/>
448                                        <fo:table-column column-width="proportional-column-width(16.667)" column-number="4"/>
449                                        <fo:table-column column-width="proportional-column-width(16.667)" column-number="5"/>
450                                        <fo:table-column column-width="proportional-column-width(16.667)" column-number="6"/>
451                                        <fo:table-body>
452                                                <fo:table-row>
453                                                        <fo:table-cell vertical-align="middle">
454                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_strengthForm})">Formation Strength</fo:basic-link><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom"/>:</fo:block>
455                                                        </fo:table-cell>
456                                                        <fo:table-cell vertical-align="middle">
457                                                                <fo:block>
458                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm"/>
459                                                                </fo:block>
460                                                        </fo:table-cell>
461                                                        <fo:table-cell vertical-align="middle">
462                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdStrengthForm})">Depth At Formation Strength mMD:</fo:basic-link> </fo:block>
463                                                        </fo:table-cell>
464                                                        <fo:table-cell vertical-align="middle">
465                                                                <fo:block>
466                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdStrengthForm"/>
467                                                                </fo:block>
468                                                        </fo:table-cell>
469                                                        <fo:table-cell vertical-align="middle">
470                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdStrengthForm})">Depth At Formation Strength mTVD</fo:basic-link>:</fo:block>
471                                                        </fo:table-cell>
472                                                        <fo:table-cell vertical-align="middle">
473                                                                <fo:block>
474                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdStrengthForm"/>
475                                                                </fo:block>
476                                                        </fo:table-cell>
477                                                </fo:table-row>
478                                                <fo:table-row>
479                                                        <fo:table-cell vertical-align="middle">
480                                                                <fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_diaCsgLast})">Dia Last Casing</fo:basic-link>  <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast/@uom"/>:</fo:block>
481                                                        </fo:table-cell>
482                                                        <fo:table-cell vertical-align="middle">
483                                                                <fo:block>
484                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast"/>
485                                                                </fo:block>
486                                                        </fo:table-cell>
487                                                        <fo:table-cell vertical-align="middle">
488                                                                <fo:block font-weight="bold">
489                                                                        <fo:basic-link external-destination="url({$url_mdCsgLast})">Depth At Last Casing mMD:</fo:basic-link>
490                                                                </fo:block>
491                                                        </fo:table-cell>
492                                                        <fo:table-cell vertical-align="middle">
493                                                                <fo:block>
494                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdCsgLast"/>
495                                                                </fo:block>
496                                                        </fo:table-cell>
497                                                        <fo:table-cell vertical-align="middle">
498                                                                <fo:block font-weight="bold">
499                                                                        <fo:basic-link external-destination="url({$url_tvdCsgLast})">Depth At Last Casing mTVD:</fo:basic-link>
500                                                                </fo:block>
501                                                        </fo:table-cell>
502                                                        <fo:table-cell vertical-align="middle">
503                                                                <fo:block>
504                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdCsgLast"/>
505                                                                </fo:block>
506                                                        </fo:table-cell>
507                                                </fo:table-row>
508                                        </fo:table-body>
509                                </fo:table>
510                        </fo:block>
511<!-- Summary of activity -->
512                        <fo:block break-before="page">
513                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
514                                <fo:leader/>
515                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
516                                        <fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
517                                        <fo:table-body>
518                                                <fo:table-row font-weight="bold" font-size="14pt">
519                                                        <fo:table-cell>
520                                                                <fo:block>Summary of Activities (24 Hours)</fo:block>
521                                                        </fo:table-cell>
522                                                </fo:table-row>
523                                                <fo:table-row>
524                                                        <fo:table-cell>
525                                                                <fo:block>
526                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:sum24Hr"/>
527                                                                </fo:block>
528                                                        </fo:table-cell>
529                                                </fo:table-row>
530                                        </fo:table-body>
531                                </fo:table>
532                        </fo:block>
533<!-- Summary of Planned Activities -->
534                        <fo:block>
535                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
536                                <fo:leader/>
537                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
538                                        <fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
539                                        <fo:table-body>
540                                                <fo:table-row font-weight="bold" font-size="14pt">
541                                                        <fo:table-cell>
542                                                                <fo:block>Summary of Planned Activities (Next 24 Hours)</fo:block>
543                                                        </fo:table-cell>
544                                                </fo:table-row>
545                                                <fo:table-row>
546                                                        <fo:table-cell>
547                                                                <fo:block>
548                                                                        <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:forecast24Hr"/>
549                                                                </fo:block>
550                                                        </fo:table-cell>
551                                                </fo:table-row>
552                                        </fo:table-body>
553                                </fo:table>
554                        </fo:block>
555<!-- Operations -->
556                        <fo:block break-before="page">
557                                <xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/>
558                                <xsl:variable name="url_dTimStart">
559                                        <xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/>
560                                </xsl:variable>
561                                <xsl:variable name="url_dTimEnd">
562                                        <xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/>
563                                </xsl:variable>
564                                <xsl:variable name="url_md">
565                                        <xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/>
566                                </xsl:variable>
567                                <xsl:variable name="url_proprietaryCode">
568                                        <xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/>
569                                </xsl:variable>
570                                <xsl:variable name="url_state">
571                                        <xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/>
572                                </xsl:variable>
573                                <xsl:variable name="url_comments">
574                                        <xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/>
575                                </xsl:variable>
576                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
577                                <fo:leader/>
578                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
579                                        <fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
580                                        <fo:table-body>
581                                                <fo:table-row font-weight="bold" font-size="14pt">
582                                                        <fo:table-cell>
583                                                                <fo:block>Operation</fo:block>
584                                                        </fo:table-cell>
585                                                </fo:table-row>
586                                                <fo:table-row>
587                                                        <fo:table-cell>
588                                                                <fo:block font-weight="bold"> </fo:block>
589                                                        </fo:table-cell>
590                                                </fo:table-row>
591                                                <fo:table-row>
592                                                        <fo:table-cell>
593                                                                <fo:block>
594                                                                        <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
595                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
596                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
597                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
598                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
599                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
600                                                                                <fo:table-column column-width="proportional-column-width(14.407)" column-number="6"/>
601                                                                                <fo:table-column column-width="proportional-column-width(10.593)" column-number="7"/>
602                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
603                                                                                <fo:table-body>
604                                                                                        <fo:table-row font-weight="bold">
605                                                                                                <fo:table-cell>
606                                                                                                        <fo:block>
607                                                                                                                <fo:basic-link external-destination="url({$url_dTimStart})">Start Time</fo:basic-link>
608                                                                                                        </fo:block>
609                                                                                                </fo:table-cell>
610                                                                                                <fo:table-cell>
611                                                                                                        <fo:block>
612                                                                                                                <fo:basic-link external-destination="url({$url_dTimEnd})">End Time</fo:basic-link>
613                                                                                                        </fo:block>
614                                                                                                </fo:table-cell>
615                                                                                                <fo:table-cell>
616                                                                                                        <fo:block>
617                                                                                                                <fo:basic-link external-destination="url({$url_md})">Start Depth</fo:basic-link>
618                                                                                                        </fo:block>
619                                                                                                        <fo:block>mMD</fo:block>
620                                                                                                </fo:table-cell>
621                                                                                                <fo:table-cell>
622                                                                                                        <fo:block>
623                                                                                                                <fo:basic-link external-destination="url({$url_md})">End Depth</fo:basic-link>
624                                                                                                        </fo:block>
625                                                                                                        <fo:block>mMD</fo:block>
626                                                                                                </fo:table-cell>
627                                                                                                <fo:table-cell>
628                                                                                                        <fo:block>
629                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
630                                                                                                        </fo:block>
631                                                                                                        <fo:block>mMD</fo:block>
632                                                                                                </fo:table-cell>
633                                                                                                <fo:table-cell>
634                                                                                                        <fo:block>
635                                                                                                                <fo:basic-link external-destination="url({$url_proprietaryCode})">Main Oper Class</fo:basic-link>
636                                                                                                        </fo:block>
637                                                                                                </fo:table-cell>
638                                                                                                <fo:table-cell>
639                                                                                                        <fo:block>
640                                                                                                                <fo:basic-link external-destination="url({$url_state})">Main Oper Eval Class</fo:basic-link>
641                                                                                                        </fo:block>
642                                                                                                </fo:table-cell>
643                                                                                                <fo:table-cell>
644                                                                                                        <fo:block>
645                                                                                                                <fo:basic-link external-destination="url({$url_comments})">Remark</fo:basic-link>
646                                                                                                        </fo:block>
647                                                                                                </fo:table-cell>
648                                                                                        </fo:table-row>
649                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:activity">
650                                                                                                <fo:table-cell>
651                                                                                                        <fo:block>
652                                                                                                                <xfd:field xpath="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
653                                                                                                        </fo:block>
654                                                                                                </fo:table-cell>
655                                                                                                <fo:table-cell>
656                                                                                                        <fo:block>
657                                                                                                                <xfd:field xpath="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
658                                                                                                        </fo:block>
659                                                                                                </fo:table-cell>
660                                                                                                <fo:table-cell>
661                                                                                                        <fo:block>
662                                                                                                                <xfd:field xpath="witsml:mdHoleStart"/>
663                                                                                                        </fo:block>
664                                                                                                </fo:table-cell>
665                                                                                                <fo:table-cell>
666                                                                                                        <fo:block>
667                                                                                                                <xfd:field xpath="witsml:mdHoleEnd"/>
668                                                                                                        </fo:block>
669                                                                                                </fo:table-cell>
670                                                                                                <fo:table-cell>
671                                                                                                        <fo:block>
672                                                                                                                <xfd:field xpath="witsml:md"/>
673                                                                                                        </fo:block>
674                                                                                                </fo:table-cell>
675                                                                                                <fo:table-cell>
676                                                                                                        <fo:block>
677                                                                                                                <xfd:field xpath="witsml:proprietaryCode"/>
678                                                                                                        </fo:block>
679                                                                                                </fo:table-cell>
680                                                                                                <fo:table-cell>
681                                                                                                        <fo:block>
682                                                                                                                <xfd:field xpath="witsml:state"/>
683                                                                                                        </fo:block>
684                                                                                                </fo:table-cell>
685                                                                                                <fo:table-cell>
686                                                                                                        <fo:block>
687                                                                                                                <xfd:field xpath="witsml:comments"/>
688                                                                                                        </fo:block>
689                                                                                                </fo:table-cell>
690                                                                                        </xfd:table-row-repeat>
691                                                                                </fo:table-body>
692                                                                        </fo:table>
693                                                                </fo:block>
694                                                        </fo:table-cell>
695                                                </fo:table-row>
696                                        </fo:table-body>
697                                </fo:table>
698                        </fo:block>
699<!-- Equipment failure info -->
700                        <fo:block>
701                                <xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/>
702                                <xsl:variable name="url_dTim">
703                                        <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
704                                </xsl:variable>
705                                <xsl:variable name="url_md">
706                                        <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
707                                </xsl:variable>
708                                <xsl:variable name="url_equipClass">
709                                        <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/>
710                                </xsl:variable>
711                                <xsl:variable name="url_eTimMissProduction">
712                                        <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/>
713                                </xsl:variable>
714                                <xsl:variable name="url_dTimRepair">
715                                        <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/>
716                                </xsl:variable>
717                                <xsl:variable name="url_description">
718                                        <xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
719                                </xsl:variable>
720                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
721                                <fo:leader/>
722                                <fo:table>
723                                        <fo:table-column column-width="100%"/>
724                                        <fo:table-body>
725                                                <fo:table-row font-weight="bold" font-size="14pt">
726                                                        <fo:table-cell>
727                                                                <fo:block>
728                                                                        Equipment Failure Information
729                                                                </fo:block>
730                                                        </fo:table-cell>
731                                                </fo:table-row>
732                                                <fo:table-row font-weight="bold" font-size="14pt">
733                                                        <fo:table-cell>
734                                                                <fo:block> </fo:block>
735                                                        </fo:table-cell>
736                                                </fo:table-row>
737                                                <fo:table-row>
738                                                        <fo:table-cell>
739                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
740                                                                                <fo:table-column column-width="proportional-column-width(19.454)" column-number="1"/>
741                                                                                <fo:table-column column-width="proportional-column-width(13.879)" column-number="2"/>
742                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="3"/>
743                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="4"/>
744                                                                                <fo:table-column column-width="proportional-column-width(18.427)" column-number="5"/>
745                                                                                <fo:table-column column-width="proportional-column-width(14.906)" column-number="6"/>
746                                                                                <fo:table-body>
747                                                                                        <fo:table-row font-weight="bold">
748                                                                                                <fo:table-cell>
749                                                                                                        <fo:block>
750                                                                                                                <fo:basic-link external-destination="url({$url_dTim})">Start</fo:basic-link>
751                                                                                                        </fo:block>
752                                                                                                </fo:table-cell>
753                                                                                                <fo:table-cell>
754                                                                                                        <fo:block>
755                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
756                                                                                                        </fo:block>
757                                                                                                        <fo:block>mMD</fo:block>
758                                                                                                </fo:table-cell>
759                                                                                                <fo:table-cell>
760                                                                                                        <fo:block>
761                                                                                                                <fo:basic-link external-destination="url({$url_equipClass})">Sub Equip Syst Class</fo:basic-link>
762                                                                                                        </fo:block>
763                                                                                                </fo:table-cell>
764                                                                                                <fo:table-cell>
765                                                                                                        <fo:block>
766                                                                                                                <fo:basic-link external-destination="url({$url_eTimMissProduction})">Operation Downtime</fo:basic-link>
767                                                                                                        </fo:block>
768                                                                                                        <fo:block>
769                                                                                                                <xfd:field xpath="/drillReports/drillReport/equipFailureInfo/eTimMissProduction/@uom"/>
770                                                                                                        </fo:block>
771                                                                                                </fo:table-cell>
772                                                                                                <fo:table-cell>
773                                                                                                        <fo:block>
774                                                                                                                <fo:basic-link external-destination="url({$url_dTimRepair})">Equipment Repaired</fo:basic-link>
775                                                                                                        </fo:block>
776                                                                                                </fo:table-cell>
777                                                                                                <fo:table-cell>
778                                                                                                        <fo:block>
779                                                                                                                <fo:basic-link external-destination="url({$url_description})">Equip Failure Description</fo:basic-link>
780                                                                                                        </fo:block>
781                                                                                                </fo:table-cell>
782                                                                                        </fo:table-row>
783                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:equipFailureInfo">
784                                                                                                <fo:table-cell>
785                                                                                                        <fo:block>
786                                                                                                                <xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
787                                                                                                        </fo:block>
788                                                                                                </fo:table-cell>
789                                                                                                <fo:table-cell>
790                                                                                                        <fo:block>
791                                                                                                                <xfd:field xpath="witsml:md"/>
792                                                                                                        </fo:block>
793                                                                                                </fo:table-cell>
794                                                                                                <fo:table-cell>
795                                                                                                        <fo:block>
796                                                                                                                <xfd:field xpath="witsml:equipClass"/>
797                                                                                                        </fo:block>
798                                                                                                </fo:table-cell>
799                                                                                                <fo:table-cell>
800                                                                                                        <fo:block>
801                                                                                                                <xfd:field xpath="witsml:eTimMissProduction"/>
802                                                                                                        </fo:block>
803                                                                                                </fo:table-cell>
804                                                                                                <fo:table-cell>
805                                                                                                        <fo:block>
806                                                                                                                <xfd:field xpath="substring(witsml:dTimRepair, 0, 17)"/>
807                                                                                                        </fo:block>
808                                                                                                </fo:table-cell>
809                                                                                                <fo:table-cell>
810                                                                                                        <fo:block>
811                                                                                                                <xfd:field xpath="witsml:description"/>
812                                                                                                        </fo:block>
813                                                                                                </fo:table-cell>
814                                                                                        </xfd:table-row-repeat>
815                                                                                </fo:table-body>
816                                                                        </fo:table> </fo:block>
817                                                        </fo:table-cell>
818                                                </fo:table-row>
819                                        </fo:table-body>
820                                </fo:table>
821                        </fo:block>
822<!-- Bit Record -->
823                        <fo:block break-before="page">
824                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
825                                <fo:leader/>
826                                <xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/>
827                                <xsl:variable name="url_numBit">
828                                        <xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/>
829                                </xsl:variable>
830                                <xsl:variable name="url_diaBit">
831                                        <xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/>
832                                </xsl:variable>
833                                <xsl:variable name="url_codeMfg">
834                                        <xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/>
835                                </xsl:variable>
836                                <xsl:variable name="url_manufacturer">
837                                        <xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/>
838                                </xsl:variable>
839                                <fo:table width="100%">
840                                        <fo:table-column/>
841                                        <fo:table-body>
842                                                <fo:table-row font-weight="bold" font-size="14pt">
843                                                        <fo:table-cell>
844                                                                <fo:block>
845                                                                        Bit Record
846                                                                </fo:block>
847                                                        </fo:table-cell>
848                                                </fo:table-row>
849                                                <fo:table-row>
850                                                        <fo:table-cell>
851                                                                <fo:block> </fo:block>
852                                                        </fo:table-cell>
853                                                </fo:table-row>
854                                                <fo:table-row>
855                                                        <fo:table-cell>
856                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
857                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
858                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
859                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
860                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
861                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
862                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
863                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
864                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
865                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
866                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
867                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
868                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
869                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
870                                                                                <fo:table-body>
871                                                                                        <fo:table-row font-weight="bold">
872                                                                                                <fo:table-cell>
873                                                                                                        <fo:block>
874                                                                                                                <fo:basic-link external-destination="url({$url_diaBit})">Bit size</fo:basic-link>
875                                                                                                        </fo:block>
876                                                                                                        <fo:block>
877                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:diaBit/@uom"/>
878                                                                                                        </fo:block>
879                                                                                                </fo:table-cell>
880                                                                                                <fo:table-cell>
881                                                                                                        <fo:block>
882                                                                                                                <fo:basic-link external-destination="url({$url_numBit})">Run No</fo:basic-link>
883                                                                                                        </fo:block>
884                                                                                                </fo:table-cell>
885                                                                                                <fo:table-cell>
886                                                                                                        <fo:block>
887                                                                                                                <fo:basic-link external-destination="url({$url_codeMfg})">Model</fo:basic-link>
888                                                                                                        </fo:block>
889                                                                                                </fo:table-cell>
890                                                                                                <fo:table-cell>
891                                                                                                        <fo:block>Hours drilled</fo:block>
892                                                                                                        <fo:block>
893                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom"/>
894                                                                                                        </fo:block>
895                                                                                                </fo:table-cell>
896                                                                                                <fo:table-cell>
897                                                                                                        <fo:block>MD Start</fo:block>
898                                                                                                        <fo:block>
899                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom"/>
900                                                                                                        </fo:block>
901                                                                                                </fo:table-cell>
902                                                                                                <fo:table-cell>
903                                                                                                        <fo:block>MD end</fo:block>
904                                                                                                        <fo:block>
905                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
906                                                                                                        </fo:block>
907                                                                                                </fo:table-cell>
908                                                                                                <fo:table-cell>
909                                                                                                        <fo:block>Dull grade</fo:block>
910                                                                                                </fo:table-cell>
911                                                                                                <fo:table-cell>
912                                                                                                        <fo:block>Hole made (run)</fo:block>
913                                                                                                        <fo:block>
914                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
915                                                                                                        </fo:block>
916                                                                                                </fo:table-cell>
917                                                                                                <fo:table-cell>
918                                                                                                        <fo:block>Hours drilled (run)</fo:block>
919                                                                                                        <fo:block>
920                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
921                                                                                                        </fo:block>
922                                                                                                </fo:table-cell>
923                                                                                                <fo:table-cell>
924                                                                                                        <fo:block>ROP</fo:block>
925                                                                                                        <fo:block>
926                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/>
927                                                                                                        </fo:block>
928                                                                                                </fo:table-cell>
929                                                                                                <fo:table-cell>
930                                                                                                        <fo:block>Total hole made</fo:block>
931                                                                                                        <fo:block>
932                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/>
933                                                                                                        </fo:block>
934                                                                                                </fo:table-cell>
935                                                                                                <fo:table-cell>
936                                                                                                        <fo:block>Total hours drilled</fo:block>
937                                                                                                        <fo:block>
938                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/>
939                                                                                                        </fo:block>
940                                                                                                </fo:table-cell>
941                                                                                                <fo:table-cell>
942                                                                                                        <fo:block>Total ROP</fo:block>
943                                                                                                        <fo:block>
944                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/>
945                                                                                                        </fo:block>
946                                                                                                </fo:table-cell>
947                                                                                        </fo:table-row>
948                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord">
949                                                                                                <fo:table-cell>
950                                                                                                        <fo:block>
951                                                                                                                <xfd:field xpath="witsml:diaBit"/>
952                                                                                                        </fo:block>
953                                                                                                </fo:table-cell>
954                                                                                                <fo:table-cell>
955                                                                                                        <fo:block>
956                                                                                                                <xfd:field xpath="witsml:numBit"/>
957                                                                                                        </fo:block>
958                                                                                                </fo:table-cell>
959                                                                                                <fo:table-cell>
960                                                                                                        <fo:block>
961                                                                                                                <xfd:field xpath="witsml:codeMfg"/>
962                                                                                                        </fo:block>
963                                                                                                </fo:table-cell>
964                                                                                                <fo:table-cell>
965                                                                                                        <fo:block>
966                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/>
967                                                                                                        </fo:block>
968                                                                                                </fo:table-cell>
969                                                                                                <fo:table-cell>
970                                                                                                        <fo:block>
971                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:mdHoleStart"/>
972                                                                                                        </fo:block>
973                                                                                                </fo:table-cell>
974                                                                                                <fo:table-cell>
975                                                                                                        <fo:block>
976                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:mdHoleStop"/>
977                                                                                                        </fo:block>
978                                                                                                </fo:table-cell>
979                                                                                                <fo:table-cell>
980                                                                                                        <fo:block>
981                                                                                                                <xfd:field xpath="witsml:dullGrade"/>
982                                                                                                        </fo:block>
983                                                                                                </fo:table-cell>
984                                                                                                <fo:table-cell>
985                                                                                                        <fo:block>
986                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>
987                                                                                                        </fo:block>
988                                                                                                </fo:table-cell>
989                                                                                                <fo:table-cell>
990                                                                                                        <fo:block>
991                                                                                                                <xfd:field xpath="witsml:bit/Run/witsml:eTimOpBit"/>
992                                                                                                        </fo:block>
993                                                                                                </fo:table-cell>
994                                                                                                <fo:table-cell>
995                                                                                                        <fo:block>
996                                                                                                                <xfd:field xpath="witsml:ropAv"/>
997                                                                                                        </fo:block>
998                                                                                                </fo:table-cell>
999                                                                                                <fo:table-cell>
1000                                                                                                        <fo:block>
1001                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/>
1002                                                                                                        </fo:block>
1003                                                                                                </fo:table-cell>
1004                                                                                                <fo:table-cell>
1005                                                                                                        <fo:block>
1006                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/>
1007                                                                                                        </fo:block>
1008                                                                                                </fo:table-cell>
1009                                                                                                <fo:table-cell>
1010                                                                                                        <fo:block>
1011                                                                                                                <xfd:field xpath="witsml:ropMx"/>
1012                                                                                                        </fo:block>
1013                                                                                                </fo:table-cell>
1014                                                                                        </xfd:table-row-repeat>
1015                                                                                </fo:table-body>
1016                                                                        </fo:table> 
1017                                                                </fo:block>
1018                                                        </fo:table-cell>
1019                                                </fo:table-row>
1020                                        </fo:table-body>
1021                                </fo:table>
1022                        </fo:block>
1023<!-- Casing/Liner/Tubing -->
1024                        <fo:block>
1025                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1026                                <fo:leader/>
1027                                <fo:table>
1028                                        <fo:table-column column-width="100%"/>
1029                                        <fo:table-body>
1030                                                <fo:table-row font-weight="bold" font-size="14pt">
1031                                                        <fo:table-cell>
1032                                                                <fo:block>
1033                                                                        Casing/Liner/Tubing information
1034                                                                </fo:block>
1035                                                        </fo:table-cell>
1036                                                </fo:table-row>
1037                                                <fo:table-row>
1038                                                        <fo:table-cell>
1039                                                                <fo:block> </fo:block>
1040                                                        </fo:table-cell>
1041                                                </fo:table-row>
1042                                                <fo:table-row>
1043                                                        <fo:table-cell>
1044                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1045                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
1046                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
1047                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
1048                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
1049                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
1050                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
1051                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
1052                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
1053                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
1054                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="10"/>
1055                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="11"/>
1056                                                                                <fo:table-column column-width="proportional-column-width(8.333)" column-number="12"/>
1057                                                                                <fo:table-body>
1058                                                                                        <fo:table-row font-weight="bold">
1059                                                                                                <fo:table-cell>
1060                                                                                                        <fo:block>Type of pipe</fo:block>
1061                                                                                                </fo:table-cell>
1062                                                                                                <fo:table-cell>
1063                                                                                                        <fo:block>Casing type</fo:block>
1064                                                                                                </fo:table-cell>
1065                                                                                                <fo:table-cell>
1066                                                                                                        <fo:block>Run time</fo:block>
1067                                                                                                </fo:table-cell>
1068                                                                                                <fo:table-cell>
1069                                                                                                        <fo:block>Description</fo:block>
1070                                                                                                </fo:table-cell>
1071                                                                                                <fo:table-cell>
1072                                                                                                        <fo:block>Nominal outside diameter</fo:block>
1073                                                                                                        <fo:block>
1074                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom"/>
1075                                                                                                        </fo:block>
1076                                                                                                </fo:table-cell>
1077                                                                                                <fo:table-cell>
1078                                                                                                        <fo:block>Nominal inside diameter</fo:block>
1079                                                                                                        <fo:block>
1080                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom"/>
1081                                                                                                        </fo:block>
1082                                                                                                </fo:table-cell>
1083                                                                                                <fo:table-cell>
1084                                                                                                        <fo:block>Nominal Weight</fo:block>
1085                                                                                                        <fo:block>
1086                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom"/>
1087                                                                                                        </fo:block>
1088                                                                                                </fo:table-cell>
1089                                                                                                <fo:table-cell>
1090                                                                                                        <fo:block>Nominal Grade</fo:block>
1091                                                                                                </fo:table-cell>
1092                                                                                                <fo:table-cell>
1093                                                                                                        <fo:block>Nominal Connection</fo:block>
1094                                                                                                </fo:table-cell>
1095                                                                                                <fo:table-cell>
1096                                                                                                        <fo:block>Length</fo:block>
1097                                                                                                        <fo:block>
1098                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
1099                                                                                                        </fo:block>
1100                                                                                                </fo:table-cell>
1101                                                                                                <fo:table-cell>
1102                                                                                                        <fo:block>MD Top/Hanganr</fo:block>
1103                                                                                                        <fo:block>
1104                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
1105                                                                                                        </fo:block>
1106                                                                                                </fo:table-cell>
1107                                                                                                <fo:table-cell>
1108                                                                                                        <fo:block>MD Bottom/Shoe</fo:block>
1109                                                                                                        <fo:block>
1110                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom"/>
1111                                                                                                        </fo:block>
1112                                                                                                </fo:table-cell>
1113                                                                                        </fo:table-row>
1114                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing">
1115                                                                                                <fo:table-cell>
1116                                                                                                        <fo:block>
1117                                                                                                                <xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/>
1118                                                                                                                <xsl:variable name="pipeType" select="witsml:type"/>
1119                                                                                                                <xfd:field xpath="$element_pipeType//xsd:enumeration[@value=$pipeType]"/>
1120                                                                                                        </fo:block>
1121                                                                                                </fo:table-cell>
1122                                                                                                <fo:table-cell>
1123                                                                                                        <fo:block>
1124                                                                                                                <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='stimStageType']/xsd:restriction"/>
1125                                                                                                                <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind"/>
1126                                                                                                                <xfd:field xpath="$element_casing//xsd:enumeration[@value=$casingTypes]"/>
1127                                                                                                        </fo:block>
1128                                                                                                </fo:table-cell>
1129                                                                                                <fo:table-cell>
1130                                                                                                        <fo:block>
1131                                                                                                                <xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/>
1132                                                                                                        </fo:block>
1133                                                                                                </fo:table-cell>
1134                                                                                                <fo:table-cell>
1135                                                                                                        <fo:block>
1136                                                                                                                <xfd:field xpath="witsml:casing_liner_tubing_run/witsml:description"/>
1137                                                                                                        </fo:block>
1138                                                                                                </fo:table-cell>
1139                                                                                                <fo:table-cell>
1140                                                                                                        <fo:block>
1141                                                                                                                <xfd:field xpath="witsml:od"/>
1142                                                                                                        </fo:block>
1143                                                                                                </fo:table-cell>
1144                                                                                                <fo:table-cell>
1145                                                                                                        <fo:block>
1146                                                                                                                <xfd:field xpath="witsml:id"/>
1147                                                                                                        </fo:block>
1148                                                                                                </fo:table-cell>
1149                                                                                                <fo:table-cell>
1150                                                                                                        <fo:block>
1151                                                                                                                <xfd:field xpath="witsml:weight"/>
1152                                                                                                        </fo:block>
1153                                                                                                </fo:table-cell>
1154                                                                                                <fo:table-cell>
1155                                                                                                        <fo:block>
1156                                                                                                                <xfd:field xpath="witsml:grade"/>
1157                                                                                                        </fo:block>
1158                                                                                                </fo:table-cell>
1159                                                                                                <fo:table-cell>
1160                                                                                                        <fo:block>
1161                                                                                                                <xfd:field xpath="witsml:connection"/>
1162                                                                                                        </fo:block>
1163                                                                                                </fo:table-cell>
1164                                                                                                <fo:table-cell>
1165                                                                                                        <fo:block>
1166                                                                                                                <xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
1167                                                                                                        </fo:block>
1168                                                                                                </fo:table-cell>
1169                                                                                                <fo:table-cell>
1170                                                                                                        <fo:block>
1171                                                                                                                <xfd:field xpath="witsml:mdTop"/>
1172                                                                                                        </fo:block>
1173                                                                                                </fo:table-cell>
1174                                                                                                <fo:table-cell>
1175                                                                                                        <fo:block>
1176                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
1177                                                                                                        </fo:block>
1178                                                                                                </fo:table-cell>
1179                                                                                        </xfd:table-row-repeat>
1180                                                                                </fo:table-body>
1181                                                                        </fo:table> </fo:block>
1182                                                        </fo:table-cell>
1183                                                </fo:table-row>
1184                                        </fo:table-body>
1185                                </fo:table>
1186                        </fo:block>
1187<!-- Cement info -->
1188                        <fo:block break-before="page">
1189                                <xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:cementStage">
1190                                        <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1191                                        <fo:leader/>
1192                                        <fo:table>
1193                                                <fo:table-column column-width="100%"/>
1194                                                <fo:table-body>
1195                                                        <fo:table-row font-weight="bold" font-size="14pt">
1196                                                                <fo:table-cell>
1197                                                                        <fo:block>
1198                                                                        Cement information
1199                                                                </fo:block>
1200                                                                </fo:table-cell>
1201                                                        </fo:table-row>
1202                                                        <fo:table-row>
1203                                                                <fo:table-cell>
1204                                                                        <fo:block> </fo:block>
1205                                                                </fo:table-cell>
1206                                                        </fo:table-row>
1207                                                        <fo:table-row>
1208                                                                <fo:table-cell>
1209                                                                        <fo:block>
1210                                                                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1211                                                                                        <fo:table-column column-width="6.667" column-number="1"/>
1212                                                                                        <fo:table-column column-width="6.667" column-number="2"/>
1213                                                                                        <fo:table-column column-width="6.667" column-number="3"/>
1214                                                                                        <fo:table-column column-width="6.667" column-number="4"/>
1215                                                                                        <fo:table-column column-width="6.667" column-number="5"/>
1216                                                                                        <fo:table-column column-width="6.667" column-number="6"/>
1217                                                                                        <fo:table-column column-width="6.667" column-number="7"/>
1218                                                                                        <fo:table-column column-width="6.667" column-number="8"/>
1219                                                                                        <fo:table-column column-width="6.667" column-number="9"/>
1220                                                                                        <fo:table-column column-width="6.667" column-number="10"/>
1221                                                                                        <fo:table-column column-width="6.667" column-number="11"/>
1222                                                                                        <fo:table-column column-width="6.667" column-number="12"/>
1223                                                                                        <fo:table-column column-width="6.667" column-number="13"/>
1224                                                                                        <fo:table-column column-width="6.667" column-number="14"/>
1225                                                                                        <fo:table-column column-width="6.667" column-number="15"/>
1226                                                                                        <fo:table-body>
1227                                                                                                <fo:table-row font-weight="bold">
1228                                                                                                        <fo:table-cell>
1229                                                                                                                <fo:block>Start time</fo:block>
1230                                                                                                        </fo:table-cell>
1231                                                                                                        <fo:table-cell>
1232                                                                                                                <fo:block>End time</fo:block>
1233                                                                                                        </fo:table-cell>
1234                                                                                                        <fo:table-cell>
1235                                                                                                                <fo:block>Job type</fo:block>
1236                                                                                                        </fo:table-cell>
1237                                                                                                        <fo:table-cell>
1238                                                                                                                <fo:block>Casing string diameter</fo:block>
1239                                                                                                                <fo:block>
1240                                                                                                                        <xfd:field xpath="witsml:casingStrDia/@uom"/>
1241                                                                                                                </fo:block>
1242                                                                                                        </fo:table-cell>
1243                                                                                                        <fo:table-cell>
1244                                                                                                                <fo:block>Comments</fo:block>
1245                                                                                                        </fo:table-cell>
1246                                                                                                        <fo:table-cell>
1247                                                                                                                <fo:block>Top plug used</fo:block>
1248                                                                                                        </fo:table-cell>
1249                                                                                                        <fo:table-cell>
1250                                                                                                                <fo:block>Bottom plug used</fo:block>
1251                                                                                                        </fo:table-cell>
1252                                                                                                        <fo:table-cell>
1253                                                                                                                <fo:block>Plug failed to bump</fo:block>
1254                                                                                                        </fo:table-cell>
1255                                                                                                        <fo:table-cell>
1256                                                                                                                <fo:block>Plug bump pressure</fo:block>
1257                                                                                                                <fo:block>
1258                                                                                                                        <xfd:field xpath="witsml:presBump/@uom"/>
1259                                                                                                                </fo:block>
1260                                                                                                        </fo:table-cell>
1261                                                                                                        <fo:table-cell>
1262                                                                                                                <fo:block>Float failed</fo:block>
1263                                                                                                        </fo:table-cell>
1264                                                                                                        <fo:table-cell>
1265                                                                                                                <fo:block>Pressure release time</fo:block>
1266                                                                                                        </fo:table-cell>
1267                                                                                                        <fo:table-cell>
1268                                                                                                                <fo:block>Full returns</fo:block>
1269                                                                                                        </fo:table-cell>
1270                                                                                                        <fo:table-cell>
1271                                                                                                                <fo:block>Cement volume returns</fo:block>
1272                                                                                                                <fo:block>
1273                                                                                                                        <xfd:field xpath="witsml:volReturns/@uom"/>
1274                                                                                                                </fo:block>
1275                                                                                                        </fo:table-cell>
1276                                                                                                        <fo:table-cell>
1277                                                                                                                <fo:block>Reciprocated</fo:block>
1278                                                                                                        </fo:table-cell>
1279                                                                                                        <fo:table-cell>
1280                                                                                                                <fo:block>Rotated</fo:block>
1281                                                                                                        </fo:table-cell>
1282                                                                                                </fo:table-row>
1283                                                                                                <fo:table-row>
1284                                                                                                        <fo:table-cell>
1285                                                                                                                <fo:block>
1286                                                                                                                        <xfd:field xpath="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/>
1287                                                                                                                </fo:block>
1288                                                                                                        </fo:table-cell>
1289                                                                                                        <fo:table-cell>
1290                                                                                                                <fo:block>
1291                                                                                                                        <xfd:field xpath="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/>
1292                                                                                                                </fo:block>
1293                                                                                                        </fo:table-cell>
1294                                                                                                        <fo:table-cell>
1295                                                                                                                <fo:block>
1296                                                                                                                        <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/>
1297                                                                                                                        <xsl:variable name="jobTypes" select="witsml:jobType"/>
1298                                                                                                                        <xfd:field xpath="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/>
1299                                                                                                                </fo:block>
1300                                                                                                        </fo:table-cell>
1301                                                                                                        <fo:table-cell>
1302                                                                                                                <fo:block>
1303                                                                                                                        <xfd:field xpath="witsml:casingStrDia"/>
1304                                                                                                                </fo:block>
1305                                                                                                        </fo:table-cell>
1306                                                                                                        <fo:table-cell>
1307                                                                                                                <fo:block>
1308                                                                                                                        <xfd:field xpath="witsml:comments"/>
1309                                                                                                                </fo:block>
1310                                                                                                        </fo:table-cell>
1311                                                                                                        <fo:table-cell>
1312                                                                                                                <fo:block>
1313                                                                                                                        <xfd:field xpath="witsml:topPlug"/>
1314                                                                                                                </fo:block>
1315                                                                                                        </fo:table-cell>
1316                                                                                                        <fo:table-cell>
1317                                                                                                                <fo:block>
1318                                                                                                                        <xfd:field xpath="witsml:botPlug"/>
1319                                                                                                                </fo:block>
1320                                                                                                        </fo:table-cell>
1321                                                                                                        <fo:table-cell>
1322                                                                                                                <fo:block>
1323                                                                                                                        <xfd:field xpath="not(witsml:plugBumped)"/>
1324                                                                                                                </fo:block>
1325                                                                                                        </fo:table-cell>
1326                                                                                                        <fo:table-cell>
1327                                                                                                                <fo:block>
1328                                                                                                                        <xfd:field xpath="witsml:presBump"/>
1329                                                                                                                </fo:block>
1330                                                                                                        </fo:table-cell>
1331                                                                                                        <fo:table-cell>
1332                                                                                                                <fo:block>
1333                                                                                                                        <xfd:field xpath="not(witsml:floatHeld)"/>
1334                                                                                                                </fo:block>
1335                                                                                                        </fo:table-cell>
1336                                                                                                        <fo:table-cell>
1337                                                                                                                <fo:block>
1338                                                                                                                        <xfd:field xpath="substring(witsml:eTimPresHeld, 0, 17)"/>
1339                                                                                                                </fo:block>
1340                                                                                                        </fo:table-cell>
1341                                                                                                        <fo:table-cell>
1342                                                                                                                <fo:block>
1343                                                                                                                        <xfd:field xpath="witsml:annFlowAfter"/>
1344                                                                                                                </fo:block>
1345                                                                                                        </fo:table-cell>
1346                                                                                                        <fo:table-cell>
1347                                                                                                                <fo:block>
1348                                                                                                                        <xfd:field xpath="witsml:volReturns"/>
1349                                                                                                                </fo:block>
1350                                                                                                        </fo:table-cell>
1351                                                                                                        <fo:table-cell>
1352                                                                                                                <fo:block>
1353                                                                                                                        <xfd:field xpath="witsml:reciprocated"/>
1354                                                                                                                </fo:block>
1355                                                                                                        </fo:table-cell>
1356                                                                                                        <fo:table-cell>
1357                                                                                                                <fo:block>
1358                                                                                                                        <xfd:field xpath="witsml:rotated"/>
1359                                                                                                                </fo:block>
1360                                                                                                        </fo:table-cell>
1361                                                                                                </fo:table-row>
1362                                                                                        </fo:table-body>
1363                                                                                </fo:table>
1364                                                                        </fo:block>
1365                                                                </fo:table-cell>
1366                                                        </fo:table-row>
1367                                                        <fo:table-row>
1368                                                                <fo:table-cell>
1369                                                                        <fo:block/>
1370                                                                </fo:table-cell>
1371                                                        </fo:table-row>
1372                                                        <fo:table-row>
1373                                                                <fo:table-cell>
1374                                                                        <fo:block> </fo:block>
1375                                                                </fo:table-cell>
1376                                                        </fo:table-row>
1377                                                        <fo:table-row font-weight="bold" font-size="13pt">
1378                                                                <fo:table-cell>
1379                                                                        <fo:block>Cement Fluid Information</fo:block>
1380                                                                </fo:table-cell>
1381                                                        </fo:table-row>
1382                                                        <fo:table-row>
1383                                                                <fo:table-cell>
1384                                                                        <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1385                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
1386                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
1387                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
1388                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
1389                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
1390                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
1391                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
1392                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
1393                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
1394                                                                                        <fo:table-body>
1395                                                                                                <fo:table-row font-weight="bold">
1396                                                                                                        <fo:table-cell>
1397                                                                                                                <fo:block>Fluid type</fo:block>
1398                                                                                                        </fo:table-cell>
1399                                                                                                        <fo:table-cell>
1400                                                                                                                <fo:block>Fluid Description</fo:block>
1401                                                                                                        </fo:table-cell>
1402                                                                                                        <fo:table-cell>
1403                                                                                                                <fo:block>Volume pumped</fo:block>
1404                                                                                                                <fo:block>
1405                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:volPumped/@uom"/>
1406                                                                                                                </fo:block>
1407                                                                                                        </fo:table-cell>
1408                                                                                                        <fo:table-cell>
1409                                                                                                                <fo:block>Fluid densitiy</fo:block>
1410                                                                                                                <fo:block>
1411                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:density/@uom"/>
1412                                                                                                                </fo:block>
1413                                                                                                        </fo:table-cell>
1414                                                                                                        <fo:table-cell>
1415                                                                                                                <fo:block>Yield point</fo:block>
1416                                                                                                                <fo:block>
1417                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:yp/@uom"/>
1418                                                                                                                </fo:block>
1419                                                                                                        </fo:table-cell>
1420                                                                                                        <fo:table-cell>
1421                                                                                                                <fo:block>Mix water ratio</fo:block>
1422                                                                                                                <fo:block>
1423                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:ratioMixWater/@uom"/>
1424                                                                                                                </fo:block>
1425                                                                                                        </fo:table-cell>
1426                                                                                                        <fo:table-cell>
1427                                                                                                                <fo:block>Free water</fo:block>
1428                                                                                                                <fo:block>
1429                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:pcFreeWater/@uom"/>
1430                                                                                                                </fo:block>
1431                                                                                                        </fo:table-cell>
1432                                                                                                        <fo:table-cell>
1433                                                                                                                <fo:block>Thick time</fo:block>
1434                                                                                                                <fo:block>
1435                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:eTimThickening/@uom"/>
1436                                                                                                                </fo:block>
1437                                                                                                        </fo:table-cell>
1438                                                                                                        <fo:table-cell>
1439                                                                                                                <fo:block>Comments</fo:block>
1440                                                                                                        </fo:table-cell>
1441                                                                                                </fo:table-row>
1442                                                                                                <xfd:table-row-repeat xpath="witsml:cementingFluid">
1443                                                                                                        <fo:table-cell>
1444                                                                                                                <fo:block>
1445                                                                                                                        <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/>
1446                                                                                                                        <xsl:variable name="fluidTypes" select="witsml:typeFluid"/>
1447                                                                                                                        <xfd:field xpath="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/>
1448                                                                                                                </fo:block>
1449                                                                                                        </fo:table-cell>
1450                                                                                                        <fo:table-cell>
1451                                                                                                                <fo:block>
1452                                                                                                                        <xfd:field xpath="witsml:descFluid"/>
1453                                                                                                                </fo:block>
1454                                                                                                        </fo:table-cell>
1455                                                                                                        <fo:table-cell>
1456                                                                                                                <fo:block>
1457                                                                                                                        <xfd:field xpath="witsml:volPumped"/>
1458                                                                                                                </fo:block>
1459                                                                                                        </fo:table-cell>
1460                                                                                                        <fo:table-cell>
1461                                                                                                                <fo:block>
1462                                                                                                                        <xfd:field xpath="witsml:density"/>
1463                                                                                                                </fo:block>
1464                                                                                                        </fo:table-cell>
1465                                                                                                        <fo:table-cell>
1466                                                                                                                <fo:block>
1467                                                                                                                        <xfd:field xpath="witsml:yp"/>
1468                                                                                                                </fo:block>
1469                                                                                                        </fo:table-cell>
1470                                                                                                        <fo:table-cell>
1471                                                                                                                <fo:block>
1472                                                                                                                        <xfd:field xpath="witsml:ratioMixWater"/>
1473                                                                                                                </fo:block>
1474                                                                                                        </fo:table-cell>
1475                                                                                                        <fo:table-cell>
1476                                                                                                                <fo:block>
1477                                                                                                                        <xfd:field xpath="witsml:pcFreeWater"/>
1478                                                                                                                </fo:block>
1479                                                                                                        </fo:table-cell>
1480                                                                                                        <fo:table-cell>
1481                                                                                                                <fo:block>
1482                                                                                                                        <xfd:field xpath="witsml:eTimThickening"/>
1483                                                                                                                </fo:block>
1484                                                                                                        </fo:table-cell>
1485                                                                                                        <fo:table-cell>
1486                                                                                                                <fo:block>
1487                                                                                                                        <xfd:field xpath="witsml:comments"/>
1488                                                                                                                </fo:block>
1489                                                                                                        </fo:table-cell>
1490                                                                                                </xfd:table-row-repeat>
1491                                                                                                <fo:table-row>
1492                                                                                                        <fo:table-cell>
1493                                                                                                                <fo:block/>
1494                                                                                                        </fo:table-cell>
1495                                                                                                </fo:table-row>
1496                                                                                        </fo:table-body>
1497                                                                                </fo:table> </fo:block>
1498                                                                </fo:table-cell>
1499                                                        </fo:table-row>
1500                                                </fo:table-body>
1501                                        </fo:table>
1502                                </xfd:block-repeat>
1503                        </fo:block>
1504<!-- Pore pressure -->
1505                        <fo:block break-before="page">
1506                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1507                                <fo:leader/>
1508                                <xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
1509                                <xsl:variable name="url_readingKind">
1510                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
1511                                </xsl:variable>
1512                                <xsl:variable name="url_equivalentMudWeight">
1513                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
1514                                </xsl:variable>
1515                                <xsl:variable name="url_dTim">
1516                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
1517                                </xsl:variable>
1518                                <xsl:variable name="url_md">
1519                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
1520                                </xsl:variable>
1521                                <xsl:variable name="url_tvd">
1522                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
1523                                </xsl:variable>
1524                                <fo:table>
1525                                        <fo:table-column column-width="100%"/>
1526                                        <fo:table-body>
1527                                                <fo:table-row font-weight="bold" font-size="14pt">
1528                                                        <fo:table-cell>
1529                                                                <fo:block>
1530                                                                        Pore Pressure
1531                                                                </fo:block>
1532                                                        </fo:table-cell>
1533                                                </fo:table-row>
1534                                                <fo:table-row>
1535                                                        <fo:table-cell>
1536                                                                <fo:block> </fo:block>
1537                                                        </fo:table-cell>
1538                                                </fo:table-row>
1539                                                <fo:table-row>
1540                                                        <fo:table-cell>
1541                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1542                                                                                <fo:table-column column-width="proportional-column-width(20)" column-number="1"/>
1543                                                                                <fo:table-column column-width="proportional-column-width(20)" column-number="2"/>
1544                                                                                <fo:table-column column-width="proportional-column-width(20)" column-number="3"/>
1545                                                                                <fo:table-column column-width="proportional-column-width(20)" column-number="4"/>
1546                                                                                <fo:table-column column-width="proportional-column-width(20)" column-number="5"/>
1547                                                                                <fo:table-body>
1548                                                                                        <fo:table-row font-weight="bold">
1549                                                                                                <fo:table-cell>
1550                                                                                                        <fo:block>
1551                                                                                                                <fo:basic-link external-destination="url({$url_readingKind})">Reading</fo:basic-link>
1552                                                                                                        </fo:block>
1553                                                                                                </fo:table-cell>
1554                                                                                                <fo:table-cell>
1555                                                                                                        <fo:block>
1556                                                                                                                <fo:basic-link external-destination="url({$url_equivalentMudWeight})">Equ Mud Weight</fo:basic-link>
1557                                                                                                        </fo:block>
1558                                                                                                        <fo:block>
1559                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
1560                                                                                                        </fo:block>
1561                                                                                                        <fo:block> </fo:block>
1562                                                                                                </fo:table-cell>
1563                                                                                                <fo:table-cell>
1564                                                                                                        <fo:block>
1565                                                                                                                <fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
1566                                                                                                        </fo:block>
1567                                                                                                </fo:table-cell>
1568                                                                                                <fo:table-cell>
1569                                                                                                        <fo:block>
1570                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
1571                                                                                                        </fo:block>
1572                                                                                                        <fo:block>mMD</fo:block>
1573                                                                                                </fo:table-cell>
1574                                                                                                <fo:table-cell>
1575                                                                                                        <fo:block>
1576                                                                                                                <fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
1577                                                                                                        </fo:block>
1578                                                                                                        <fo:block>mTVD</fo:block>
1579                                                                                                </fo:table-cell>
1580                                                                                        </fo:table-row>
1581                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure">
1582                                                                                                <fo:table-cell>
1583                                                                                                        <fo:block>
1584                                                                                                                <xfd:field xpath="witsml:readingKind"/>
1585                                                                                                        </fo:block>
1586                                                                                                </fo:table-cell>
1587                                                                                                <fo:table-cell>
1588                                                                                                        <fo:block>
1589                                                                                                                <xfd:field xpath="witsml:equivalentMudWeight"/>
1590                                                                                                        </fo:block>
1591                                                                                                </fo:table-cell>
1592                                                                                                <fo:table-cell>
1593                                                                                                        <fo:block>
1594                                                                                                                <xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
1595                                                                                                        </fo:block>
1596                                                                                                </fo:table-cell>
1597                                                                                                <fo:table-cell>
1598                                                                                                        <fo:block>
1599                                                                                                                <xfd:field xpath="witsml:md"/>
1600                                                                                                        </fo:block>
1601                                                                                                </fo:table-cell>
1602                                                                                                <fo:table-cell>
1603                                                                                                        <fo:block>
1604                                                                                                                <xfd:field xpath="witsml:tvd"/>
1605                                                                                                        </fo:block>
1606                                                                                                </fo:table-cell>
1607                                                                                        </xfd:table-row-repeat>
1608                                                                                </fo:table-body>
1609                                                                        </fo:table> </fo:block>
1610                                                        </fo:table-cell>
1611                                                </fo:table-row>
1612                                        </fo:table-body>
1613                                </fo:table>
1614                        </fo:block>
1615<!-- Survey Station -->
1616                        <fo:block>
1617                                <xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
1618                                <xsl:variable name="url_md">
1619                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
1620                                </xsl:variable>
1621                                <xsl:variable name="url_tvd">
1622                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
1623                                </xsl:variable>
1624                                <xsl:variable name="url_incl">
1625                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
1626                                </xsl:variable>
1627                                <xsl:variable name="url_azi">
1628                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
1629                                </xsl:variable>
1630                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1631                                <fo:leader/>
1632                                <fo:table>
1633                                        <fo:table-column column-width="100%"/>
1634                                        <fo:table-body>
1635                                                <fo:table-row font-weight="bold" font-size="14pt">
1636                                                        <fo:table-cell>
1637                                                                <fo:block>
1638                                                                        Survey Station
1639                                                                </fo:block>
1640                                                        </fo:table-cell>
1641                                                </fo:table-row>
1642                                                <fo:table-row>
1643                                                        <fo:table-cell>
1644                                                                <fo:block> </fo:block>
1645                                                        </fo:table-cell>
1646                                                </fo:table-row>
1647                                                <fo:table-row>
1648                                                        <fo:table-cell>
1649                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1650                                                                                <fo:table-column column-width="proportional-column-width(25)" column-number="1"/>
1651                                                                                <fo:table-column column-width="proportional-column-width(25)" column-number="2"/>
1652                                                                                <fo:table-column column-width="proportional-column-width(25)" column-number="3"/>
1653                                                                                <fo:table-column column-width="proportional-column-width(25)" column-number="4"/>
1654                                                                                <fo:table-body>
1655                                                                                        <fo:table-row font-weight="bold">
1656                                                                                                <fo:table-cell>
1657                                                                                                        <fo:block>
1658                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
1659                                                                                                        </fo:block>
1660                                                                                                        <fo:block>mMD</fo:block>
1661                                                                                                </fo:table-cell>
1662                                                                                                <fo:table-cell>
1663                                                                                                        <fo:block>
1664                                                                                                                <fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
1665                                                                                                        </fo:block>
1666                                                                                                        <fo:block>mTVD</fo:block>
1667                                                                                                </fo:table-cell>
1668                                                                                                <fo:table-cell>
1669                                                                                                        <fo:block>
1670                                                                                                                <fo:basic-link external-destination="url({$url_incl})">Inclination</fo:basic-link>
1671                                                                                                        </fo:block>
1672                                                                                                </fo:table-cell>
1673                                                                                                <fo:table-cell>
1674                                                                                                        <fo:block>
1675                                                                                                                <fo:basic-link external-destination="url({$url_azi})">Azimuth</fo:basic-link>
1676                                                                                                        </fo:block>
1677                                                                                                </fo:table-cell>
1678                                                                                        </fo:table-row>
1679                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:surveyStation">
1680                                                                                                <fo:table-cell>
1681                                                                                                        <fo:block>
1682                                                                                                                <xfd:field xpath="witsml:md"/>
1683                                                                                                        </fo:block>
1684                                                                                                </fo:table-cell>
1685                                                                                                <fo:table-cell>
1686                                                                                                        <fo:block>
1687                                                                                                                <xfd:field xpath="witsml:tvd"/>
1688                                                                                                        </fo:block>
1689                                                                                                </fo:table-cell>
1690                                                                                                <fo:table-cell>
1691                                                                                                        <fo:block>
1692                                                                                                                <xfd:field xpath="witsml:incl"/>
1693                                                                                                        </fo:block>
1694                                                                                                </fo:table-cell>
1695                                                                                                <fo:table-cell>
1696                                                                                                        <fo:block>
1697                                                                                                                <xfd:field xpath="witsml:azi"/>
1698                                                                                                        </fo:block>
1699                                                                                                </fo:table-cell>
1700                                                                                        </xfd:table-row-repeat>
1701                                                                                </fo:table-body>
1702                                                                        </fo:table> </fo:block>
1703                                                        </fo:table-cell>
1704                                                </fo:table-row>
1705                                        </fo:table-body>
1706                                </fo:table>
1707                        </fo:block>
1708<!-- Log Information -->
1709                        <fo:block>
1710                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1711                                <fo:leader/>
1712                                <xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
1713                                <xsl:variable name="url_serviceCompany">
1714                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
1715                                </xsl:variable>
1716                                <xsl:variable name="url_runNumber">
1717                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
1718                                </xsl:variable>
1719                                <xsl:variable name="url_mdTop">
1720                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
1721                                </xsl:variable>
1722                                <xsl:variable name="url_mdBottom">
1723                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
1724                                </xsl:variable>
1725                                <xsl:variable name="url_tool">
1726                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
1727                                </xsl:variable>
1728                                <xsl:variable name="url_tempBHCT">
1729                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
1730                                </xsl:variable>
1731                                <xsl:variable name="url_tempBHST">
1732                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
1733                                </xsl:variable>
1734                                <fo:table>
1735                                        <fo:table-column column-width="100%"/>
1736                                        <fo:table-body>
1737                                                <fo:table-row font-weight="bold" font-size="14pt">
1738                                                        <fo:table-cell>
1739                                                                <fo:block>
1740                                                                        Log Information
1741                                                                </fo:block>
1742                                                        </fo:table-cell>
1743                                                </fo:table-row>
1744                                                <fo:table-row font-weight="bold" font-size="14pt">
1745                                                        <fo:table-cell>
1746                                                                <fo:block> </fo:block>
1747                                                        </fo:table-cell>
1748                                                </fo:table-row>
1749                                                <fo:table-row>
1750                                                        <fo:table-cell>
1751                                                                <fo:block><fo:inline font-weight="bold">Logging Company:</fo:inline><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany"/></fo:block>
1752                                                        </fo:table-cell>
1753                                                </fo:table-row>
1754                                                <fo:table-row>
1755                                                        <fo:table-cell>
1756                                                                <fo:block> </fo:block>
1757                                                        </fo:table-cell>
1758                                                </fo:table-row>
1759                                                <fo:table-row>
1760                                                        <fo:table-cell>
1761                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1762                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="1"/>
1763                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="2"/>
1764                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="3"/>
1765                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="4"/>
1766                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="5"/>
1767                                                                                <fo:table-column column-width="proportional-column-width(16.667)" column-number="6"/>
1768                                                                                <fo:table-body>
1769                                                                                        <fo:table-row font-weight="bold">
1770                                                                                                <fo:table-cell>
1771                                                                                                        <fo:block>
1772                                                                                                                <fo:basic-link external-destination="url({$url_runNumber})">Run no</fo:basic-link>
1773                                                                                                        </fo:block>
1774                                                                                                </fo:table-cell>
1775                                                                                                <fo:table-cell>
1776                                                                                                        <fo:block>
1777                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
1778                                                                                                        </fo:block>
1779                                                                                                        <fo:block>mMD</fo:block>
1780                                                                                                </fo:table-cell>
1781                                                                                                <fo:table-cell>
1782                                                                                                        <fo:block>
1783                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
1784                                                                                                        </fo:block>
1785                                                                                                        <fo:block>mMD</fo:block>
1786                                                                                                </fo:table-cell>
1787                                                                                                <fo:table-cell>
1788                                                                                                        <fo:block>
1789                                                                                                                <fo:basic-link external-destination="url({$url_tool})">Tool</fo:basic-link>
1790                                                                                                        </fo:block>
1791                                                                                                </fo:table-cell>
1792                                                                                                <fo:table-cell>
1793                                                                                                        <fo:block>
1794                                                                                                                <fo:basic-link external-destination="url({$url_tempBHCT})">BHCT</fo:basic-link>
1795                                                                                                        </fo:block>
1796                                                                                                        <fo:block>
1797                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom"/>
1798                                                                                                        </fo:block>
1799                                                                                                </fo:table-cell>
1800                                                                                                <fo:table-cell>
1801                                                                                                        <fo:block>
1802                                                                                                                <fo:basic-link external-destination="url({$url_tempBHST})">BHST</fo:basic-link>
1803                                                                                                        </fo:block>
1804                                                                                                        <fo:block>
1805                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom"/>
1806                                                                                                        </fo:block>
1807                                                                                                </fo:table-cell>
1808                                                                                        </fo:table-row>
1809                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo">
1810                                                                                                <fo:table-cell>
1811                                                                                                        <fo:block>
1812                                                                                                                <xfd:field xpath="witsml:runNumber"/>
1813                                                                                                        </fo:block>
1814                                                                                                </fo:table-cell>
1815                                                                                                <fo:table-cell>
1816                                                                                                        <fo:block>
1817                                                                                                                <xfd:field xpath="witsml:mdTop"/>
1818                                                                                                        </fo:block>
1819                                                                                                </fo:table-cell>
1820                                                                                                <fo:table-cell>
1821                                                                                                        <fo:block>
1822                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
1823                                                                                                        </fo:block>
1824                                                                                                </fo:table-cell>
1825                                                                                                <fo:table-cell>
1826                                                                                                        <fo:block>
1827                                                                                                                <xfd:field xpath="witsml:tool"/>
1828                                                                                                        </fo:block>
1829                                                                                                </fo:table-cell>
1830                                                                                                <fo:table-cell>
1831                                                                                                        <fo:block>
1832                                                                                                                <xfd:field xpath="witsml:tempBHCT"/>
1833                                                                                                        </fo:block>
1834                                                                                                </fo:table-cell>
1835                                                                                                <fo:table-cell>
1836                                                                                                        <fo:block>
1837                                                                                                                <xfd:field xpath="witsml:tempBHST"/>
1838                                                                                                        </fo:block>
1839                                                                                                </fo:table-cell>
1840                                                                                        </xfd:table-row-repeat>
1841                                                                                </fo:table-body>
1842                                                                        </fo:table> </fo:block>
1843                                                        </fo:table-cell>
1844                                                </fo:table-row>
1845                                        </fo:table-body>
1846                                </fo:table>
1847                        </fo:block>
1848<!-- Core Information -->
1849                        <fo:block>
1850                                <xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
1851                                <xsl:variable name="url_coreNumber">
1852                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
1853                                </xsl:variable>
1854                                <xsl:variable name="url_mdTop">
1855                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
1856                                </xsl:variable>
1857                                <xsl:variable name="url_mdBottom">
1858                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
1859                                </xsl:variable>
1860                                <xsl:variable name="url_lenRecovered">
1861                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
1862                                </xsl:variable>
1863                                <xsl:variable name="url_recoverPc">
1864                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
1865                                </xsl:variable>
1866                                <xsl:variable name="url_lenBarrel">
1867                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
1868                                </xsl:variable>
1869                                <xsl:variable name="url_innerBarrelType">
1870                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
1871                                </xsl:variable>
1872                                <xsl:variable name="url_coreDescription">
1873                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
1874                                </xsl:variable>
1875                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1876                                <fo:leader/>
1877                                <fo:table>
1878                                        <fo:table-column column-width="100%"/>
1879                                        <fo:table-body>
1880                                                <fo:table-row font-weight="bold" font-size="14pt">
1881                                                        <fo:table-cell>
1882                                                                <fo:block>
1883                                                                        Core Information
1884                                                                </fo:block>
1885                                                        </fo:table-cell>
1886                                                </fo:table-row>
1887                                                <fo:table-row>
1888                                                        <fo:table-cell>
1889                                                                <fo:block> </fo:block>
1890                                                        </fo:table-cell>
1891                                                </fo:table-row>
1892                                                <fo:table-row>
1893                                                        <fo:table-cell>
1894                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1895                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
1896                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
1897                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
1898                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
1899                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
1900                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
1901                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
1902                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
1903                                                                                <fo:table-body>
1904                                                                                        <fo:table-row font-weight="bold">
1905                                                                                                <fo:table-cell>
1906                                                                                                        <fo:block>
1907                                                                                                                <fo:basic-link external-destination="url({$url_coreNumber})">Core no</fo:basic-link>
1908                                                                                                        </fo:block>
1909                                                                                                </fo:table-cell>
1910                                                                                                <fo:table-cell>
1911                                                                                                        <fo:block>
1912                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
1913                                                                                                        </fo:block>
1914                                                                                                        <fo:block>mMD</fo:block>
1915                                                                                                </fo:table-cell>
1916                                                                                                <fo:table-cell>
1917                                                                                                        <fo:block>
1918                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
1919                                                                                                        </fo:block>
1920                                                                                                        <fo:block>mMD</fo:block>
1921                                                                                                </fo:table-cell>
1922                                                                                                <fo:table-cell>
1923                                                                                                        <fo:block>
1924                                                                                                                <fo:basic-link external-destination="url({$url_lenRecovered})">Core length</fo:basic-link>
1925                                                                                                        </fo:block>
1926                                                                                                        <fo:block>
1927                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom"/>
1928                                                                                                        </fo:block>
1929                                                                                                </fo:table-cell>
1930                                                                                                <fo:table-cell>
1931                                                                                                        <fo:block>
1932                                                                                                                <fo:basic-link external-destination="url({$url_recoverPc})">Recover core</fo:basic-link>
1933                                                                                                        </fo:block>
1934                                                                                                        <fo:block>
1935                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom"/>
1936                                                                                                        </fo:block>
1937                                                                                                </fo:table-cell>
1938                                                                                                <fo:table-cell>
1939                                                                                                        <fo:block>
1940                                                                                                                <fo:basic-link external-destination="url({$url_lenBarrel})">Core barrel length</fo:basic-link>
1941                                                                                                        </fo:block>
1942                                                                                                        <fo:block>
1943                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom"/>
1944                                                                                                        </fo:block>
1945                                                                                                </fo:table-cell>
1946                                                                                                <fo:table-cell>
1947                                                                                                        <fo:block>
1948                                                                                                                <fo:basic-link external-destination="url({$url_innerBarrelType})">Inner barrel type</fo:basic-link>
1949                                                                                                        </fo:block>
1950                                                                                                </fo:table-cell>
1951                                                                                                <fo:table-cell>
1952                                                                                                        <fo:block>
1953                                                                                                                <fo:basic-link external-destination="url({$url_coreDescription})">Description</fo:basic-link>
1954                                                                                                        </fo:block>
1955                                                                                                </fo:table-cell>
1956                                                                                        </fo:table-row>
1957                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo">
1958                                                                                                <fo:table-cell>
1959                                                                                                        <fo:block>
1960                                                                                                                <xfd:field xpath="witsml:coreNumber"/>
1961                                                                                                        </fo:block>
1962                                                                                                </fo:table-cell>
1963                                                                                                <fo:table-cell>
1964                                                                                                        <fo:block>
1965                                                                                                                <xfd:field xpath="witsml:mdTop"/>
1966                                                                                                        </fo:block>
1967                                                                                                </fo:table-cell>
1968                                                                                                <fo:table-cell>
1969                                                                                                        <fo:block>
1970                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
1971                                                                                                        </fo:block>
1972                                                                                                </fo:table-cell>
1973                                                                                                <fo:table-cell>
1974                                                                                                        <fo:block>
1975                                                                                                                <xfd:field xpath="witsml:lenRecovered"/>
1976                                                                                                        </fo:block>
1977                                                                                                </fo:table-cell>
1978                                                                                                <fo:table-cell>
1979                                                                                                        <fo:block>
1980                                                                                                                <xfd:field xpath="witsml:recoverPc"/>
1981                                                                                                        </fo:block>
1982                                                                                                </fo:table-cell>
1983                                                                                                <fo:table-cell>
1984                                                                                                        <fo:block>
1985                                                                                                                <xfd:field xpath="witsml:lenBarrel"/>
1986                                                                                                        </fo:block>
1987                                                                                                </fo:table-cell>
1988                                                                                                <fo:table-cell>
1989                                                                                                        <fo:block>
1990                                                                                                                <xfd:field xpath="witsml:innerBarrelType"/>
1991                                                                                                        </fo:block>
1992                                                                                                </fo:table-cell>
1993                                                                                                <fo:table-cell>
1994                                                                                                        <fo:block>
1995                                                                                                                <xfd:field xpath="witsml:coreDescription"/>
1996                                                                                                        </fo:block>
1997                                                                                                </fo:table-cell>
1998                                                                                        </xfd:table-row-repeat>
1999                                                                                </fo:table-body>
2000                                                                        </fo:table> </fo:block>
2001                                                        </fo:table-cell>
2002                                                </fo:table-row>
2003                                        </fo:table-body>
2004                                </fo:table>
2005                        </fo:block>
2006<!-- Well Test Information -->
2007                        <fo:block break-before="page">
2008                                <xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
2009                                <xsl:variable name="url_dTim">
2010                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
2011                                </xsl:variable>
2012                                <xsl:variable name="url_testNumber">
2013                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
2014                                </xsl:variable>
2015                                <xsl:variable name="url_testType">
2016                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
2017                                </xsl:variable>
2018                                <xsl:variable name="url_mdTop">
2019                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
2020                                </xsl:variable>
2021                                <xsl:variable name="url_mdBottom">
2022                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
2023                                </xsl:variable>
2024                                <xsl:variable name="url_chokeOrificeSize">
2025                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
2026                                </xsl:variable>
2027                                <xsl:variable name="url_densityOil">
2028                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
2029                                </xsl:variable>
2030                                <xsl:variable name="url_flowRateOil">
2031                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
2032                                </xsl:variable>
2033                                <xsl:variable name="url_flowRateGas">
2034                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
2035                                </xsl:variable>
2036                                <xsl:variable name="url_flowRateWater">
2037                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
2038                                </xsl:variable>
2039                                <xsl:variable name="url_presShutIn">
2040                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
2041                                </xsl:variable>
2042                                <xsl:variable name="url_presFlowing">
2043                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
2044                                </xsl:variable>
2045                                <xsl:variable name="url_presBottom">
2046                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
2047                                </xsl:variable>
2048                                <xsl:variable name="url_gasOilRatio">
2049                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
2050                                </xsl:variable>
2051                                <xsl:variable name="url_waterOilRatio">
2052                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
2053                                </xsl:variable>
2054                                <xsl:variable name="url_chloride">
2055                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
2056                                </xsl:variable>
2057                                <xsl:variable name="url_carbonDioxide">
2058                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
2059                                </xsl:variable>
2060                                <xsl:variable name="url_hydrogenSulfide">
2061                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
2062                                </xsl:variable>
2063                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2064                                <fo:leader/>
2065                                <fo:table>
2066                                        <fo:table-column column-width="100%"/>
2067                                        <fo:table-body>
2068                                                <fo:table-row font-weight="bold" font-size="14pt">
2069                                                        <fo:table-cell>
2070                                                                <fo:block>
2071                                                                        Well Test Information
2072                                                                </fo:block>
2073                                                        </fo:table-cell>
2074                                                </fo:table-row>
2075                                                <fo:table-row>
2076                                                        <fo:table-cell>
2077                                                                <fo:block> </fo:block>
2078                                                        </fo:table-cell>
2079                                                </fo:table-row>
2080                                                <fo:table-row>
2081                                                        <fo:table-cell>
2082                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2083                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
2084                                                                                <fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
2085                                                                                <fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
2086                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
2087                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
2088                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
2089                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
2090                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
2091                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
2092                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
2093                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
2094                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
2095                                                                                <fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
2096                                                                                <fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
2097                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
2098                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
2099                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
2100                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
2101                                                                                <fo:table-body>
2102                                                                                        <fo:table-row font-weight="bold">
2103                                                                                                <fo:table-cell>
2104                                                                                                        <fo:block>
2105                                                                                                                <fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
2106                                                                                                        </fo:block>
2107                                                                                                </fo:table-cell>
2108                                                                                                <fo:table-cell>
2109                                                                                                        <fo:block>
2110                                                                                                                <fo:basic-link external-destination="url({$url_testNumber})">Test no</fo:basic-link>
2111                                                                                                        </fo:block>
2112                                                                                                </fo:table-cell>
2113                                                                                                <fo:table-cell>
2114                                                                                                        <fo:block>
2115                                                                                                                <fo:basic-link external-destination="url({$url_testType})">Type</fo:basic-link>
2116                                                                                                        </fo:block>
2117                                                                                                </fo:table-cell>
2118                                                                                                <fo:table-cell>
2119                                                                                                        <fo:block>
2120                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
2121                                                                                                        </fo:block>
2122                                                                                                        <fo:block>mMD</fo:block>
2123                                                                                                </fo:table-cell>
2124                                                                                                <fo:table-cell>
2125                                                                                                        <fo:block>
2126                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
2127                                                                                                        </fo:block>
2128                                                                                                        <fo:block>mMD</fo:block>
2129                                                                                                </fo:table-cell>
2130                                                                                                <fo:table-cell>
2131                                                                                                        <fo:block>
2132                                                                                                                <fo:basic-link external-destination="url({$url_chokeOrificeSize})">Choke orifice Size</fo:basic-link>
2133                                                                                                        </fo:block>
2134                                                                                                        <fo:block>
2135                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
2136                                                                                                        </fo:block>
2137                                                                                                </fo:table-cell>
2138                                                                                                <fo:table-cell>
2139                                                                                                        <fo:block>
2140                                                                                                                <fo:basic-link external-destination="url({$url_densityOil})">Density crude oil</fo:basic-link>
2141                                                                                                        </fo:block>
2142                                                                                                        <fo:block>
2143                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom"/>
2144                                                                                                        </fo:block>
2145                                                                                                </fo:table-cell>
2146                                                                                                <fo:table-cell>
2147                                                                                                        <fo:block>
2148                                                                                                                <fo:basic-link external-destination="url({$url_flowRateOil})">Oil flow rate</fo:basic-link>
2149                                                                                                        </fo:block>
2150                                                                                                        <fo:block>
2151                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
2152                                                                                                        </fo:block>
2153                                                                                                </fo:table-cell>
2154                                                                                                <fo:table-cell>
2155                                                                                                        <fo:block>
2156                                                                                                                <fo:basic-link external-destination="url({$url_flowRateGas})">Gas flow rate M</fo:basic-link>
2157                                                                                                        </fo:block>
2158                                                                                                        <fo:block>
2159                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
2160                                                                                                        </fo:block>
2161                                                                                                </fo:table-cell>
2162                                                                                                <fo:table-cell>
2163                                                                                                        <fo:block>
2164                                                                                                                <fo:basic-link external-destination="url({$url_flowRateWater})">Water flow rate</fo:basic-link>
2165                                                                                                        </fo:block>
2166                                                                                                        <fo:block>
2167                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
2168                                                                                                        </fo:block>
2169                                                                                                </fo:table-cell>
2170                                                                                                <fo:table-cell>
2171                                                                                                        <fo:block>
2172                                                                                                                <fo:basic-link external-destination="url({$url_presShutIn})">Shut in pressure</fo:basic-link>
2173                                                                                                        </fo:block>
2174                                                                                                        <fo:block>
2175                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom"/>
2176                                                                                                        </fo:block>
2177                                                                                                </fo:table-cell>
2178                                                                                                <fo:table-cell>
2179                                                                                                        <fo:block>
2180                                                                                                                <fo:basic-link external-destination="url({$url_presFlowing})">Flow pressure</fo:basic-link>
2181                                                                                                        </fo:block>
2182                                                                                                        <fo:block>
2183                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom"/>
2184                                                                                                        </fo:block>
2185                                                                                                </fo:table-cell>
2186                                                                                                <fo:table-cell>
2187                                                                                                        <fo:block>
2188                                                                                                                <fo:basic-link external-destination="url({$url_presBottom})">Bottom hole pressure</fo:basic-link>
2189                                                                                                        </fo:block>
2190                                                                                                        <fo:block>
2191                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom"/>
2192                                                                                                        </fo:block>
2193                                                                                                </fo:table-cell>
2194                                                                                                <fo:table-cell>
2195                                                                                                        <fo:block>
2196                                                                                                                <fo:basic-link external-destination="url({$url_gasOilRatio})">Gas oil ratio</fo:basic-link>
2197                                                                                                        </fo:block>
2198                                                                                                        <fo:block>
2199                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
2200                                                                                                        </fo:block>
2201                                                                                                </fo:table-cell>
2202                                                                                                <fo:table-cell>
2203                                                                                                        <fo:block>
2204                                                                                                                <fo:basic-link external-destination="url({$url_waterOilRatio})">Water oil ratio</fo:basic-link>
2205                                                                                                        </fo:block>
2206                                                                                                        <fo:block>
2207                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
2208                                                                                                        </fo:block>
2209                                                                                                </fo:table-cell>
2210                                                                                                <fo:table-cell>
2211                                                                                                        <fo:block>
2212                                                                                                                <fo:basic-link external-destination="url({$url_chloride})">Chloride content</fo:basic-link>
2213                                                                                                        </fo:block>
2214                                                                                                        <fo:block>
2215                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom"/>
2216                                                                                                        </fo:block>
2217                                                                                                </fo:table-cell>
2218                                                                                                <fo:table-cell>
2219                                                                                                        <fo:block>
2220                                                                                                                <fo:basic-link external-destination="url({$url_carbonDioxide})">CO2 content</fo:basic-link>
2221                                                                                                        </fo:block>
2222                                                                                                        <fo:block>
2223                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
2224                                                                                                        </fo:block>
2225                                                                                                </fo:table-cell>
2226                                                                                                <fo:table-cell>
2227                                                                                                        <fo:block>
2228                                                                                                                <fo:basic-link external-destination="url({$url_hydrogenSulfide})">H2S content</fo:basic-link>
2229                                                                                                        </fo:block>
2230                                                                                                        <fo:block>
2231                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
2232                                                                                                        </fo:block>
2233                                                                                                </fo:table-cell>
2234                                                                                        </fo:table-row>
2235                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo">
2236                                                                                                <fo:table-cell>
2237                                                                                                        <fo:block>
2238                                                                                                                <xfd:field xpath="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
2239                                                                                                        </fo:block>
2240                                                                                                </fo:table-cell>
2241                                                                                                <fo:table-cell>
2242                                                                                                        <fo:block>
2243                                                                                                                <xfd:field xpath="witsml:testNumber"/>
2244                                                                                                        </fo:block>
2245                                                                                                </fo:table-cell>
2246                                                                                                <fo:table-cell>
2247                                                                                                        <fo:block>
2248                                                                                                                <xfd:field xpath="witsml:testType"/>
2249                                                                                                        </fo:block>
2250                                                                                                </fo:table-cell>
2251                                                                                                <fo:table-cell>
2252                                                                                                        <fo:block>
2253                                                                                                                <xfd:field xpath="witsml:mdTop"/>
2254                                                                                                        </fo:block>
2255                                                                                                </fo:table-cell>
2256                                                                                                <fo:table-cell>
2257                                                                                                        <fo:block>
2258                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
2259                                                                                                        </fo:block>
2260                                                                                                </fo:table-cell>
2261                                                                                                <fo:table-cell>
2262                                                                                                        <fo:block>
2263                                                                                                                <xfd:field xpath="witsml:chokeOrificeSize"/>
2264                                                                                                        </fo:block>
2265                                                                                                </fo:table-cell>
2266                                                                                                <fo:table-cell>
2267                                                                                                        <fo:block>
2268                                                                                                                <xfd:field xpath="witsml:densityOil"/>
2269                                                                                                        </fo:block>
2270                                                                                                </fo:table-cell>
2271                                                                                                <fo:table-cell>
2272                                                                                                        <fo:block>
2273                                                                                                                <xfd:field xpath="witsml:flowRateOil"/>
2274                                                                                                        </fo:block>
2275                                                                                                </fo:table-cell>
2276                                                                                                <fo:table-cell>
2277                                                                                                        <fo:block>
2278                                                                                                                <xfd:field xpath="witsml:flowRateGas"/>
2279                                                                                                        </fo:block>
2280                                                                                                </fo:table-cell>
2281                                                                                                <fo:table-cell>
2282                                                                                                        <fo:block>
2283                                                                                                                <xfd:field xpath="witsml:flowRateWater"/>
2284                                                                                                        </fo:block>
2285                                                                                                </fo:table-cell>
2286                                                                                                <fo:table-cell>
2287                                                                                                        <fo:block>
2288                                                                                                                <xfd:field xpath="witsml:presShutIn"/>
2289                                                                                                        </fo:block>
2290                                                                                                </fo:table-cell>
2291                                                                                                <fo:table-cell>
2292                                                                                                        <fo:block>
2293                                                                                                                <xfd:field xpath="witsml:presFlowing"/>
2294                                                                                                        </fo:block>
2295                                                                                                </fo:table-cell>
2296                                                                                                <fo:table-cell>
2297                                                                                                        <fo:block>
2298                                                                                                                <xfd:field xpath="witsml:presBottom"/>
2299                                                                                                        </fo:block>
2300                                                                                                </fo:table-cell>
2301                                                                                                <fo:table-cell>
2302                                                                                                        <fo:block>
2303                                                                                                                <xfd:field xpath="witsml:gasOilRatio"/>
2304                                                                                                        </fo:block>
2305                                                                                                </fo:table-cell>
2306                                                                                                <fo:table-cell>
2307                                                                                                        <fo:block>
2308                                                                                                                <xfd:field xpath="witsml:waterOilRatio"/>
2309                                                                                                        </fo:block>
2310                                                                                                </fo:table-cell>
2311                                                                                                <fo:table-cell>
2312                                                                                                        <fo:block>
2313                                                                                                                <xfd:field xpath="witsml:chloride"/>
2314                                                                                                        </fo:block>
2315                                                                                                </fo:table-cell>
2316                                                                                                <fo:table-cell>
2317                                                                                                        <fo:block>
2318                                                                                                                <xfd:field xpath="witsml:carbonDioxide"/>
2319                                                                                                        </fo:block>
2320                                                                                                </fo:table-cell>
2321                                                                                                <fo:table-cell>
2322                                                                                                        <fo:block>
2323                                                                                                                <xfd:field xpath="witsml:hydrogenSulfide"/>
2324                                                                                                        </fo:block>
2325                                                                                                </fo:table-cell>
2326                                                                                        </xfd:table-row-repeat>
2327                                                                                </fo:table-body>
2328                                                                        </fo:table> </fo:block>
2329                                                        </fo:table-cell>
2330                                                </fo:table-row>
2331                                        </fo:table-body>
2332                                </fo:table>
2333                        </fo:block>
2334<!-- Formation Test -->
2335                        <fo:block>
2336                                <xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
2337                                <xsl:variable name="url_md">
2338                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
2339                                </xsl:variable>
2340                                <xsl:variable name="url_presPore">
2341                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
2342                                </xsl:variable>
2343                                <xsl:variable name="url_goodSealm">
2344                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
2345                                </xsl:variable>
2346                                <xsl:variable name="url_mdSample">
2347                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
2348                                </xsl:variable>
2349                                <xsl:variable name="url_dominateComponent">
2350                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
2351                                </xsl:variable>
2352                                <xsl:variable name="url_densityHC">
2353                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
2354                                </xsl:variable>
2355                                <xsl:variable name="url_volumeSample">
2356                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
2357                                </xsl:variable>
2358                                <xsl:variable name="url_description">
2359                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
2360                                </xsl:variable>
2361                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2362                                <fo:leader/>
2363                                <fo:table>
2364                                        <fo:table-column column-width="100%"/>
2365                                        <fo:table-body>
2366                                                <fo:table-row font-weight="bold" font-size="14pt">
2367                                                        <fo:table-cell>
2368                                                                <fo:block>
2369                                                                        Formation Test
2370                                                                </fo:block>
2371                                                        </fo:table-cell>
2372                                                </fo:table-row>
2373                                                <fo:table-row>
2374                                                        <fo:table-cell>
2375                                                                <fo:block> </fo:block>
2376                                                        </fo:table-cell>
2377                                                </fo:table-row>
2378                                                <fo:table-row>
2379                                                        <fo:table-cell>
2380                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2381                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
2382                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
2383                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
2384                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
2385                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
2386                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
2387                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
2388                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
2389                                                                                <fo:table-body>
2390                                                                                        <fo:table-row font-weight="bold">
2391                                                                                                <fo:table-cell>
2392                                                                                                        <fo:block>
2393                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
2394                                                                                                        </fo:block>
2395                                                                                                        <fo:block>mMD</fo:block>
2396                                                                                                </fo:table-cell>
2397                                                                                                <fo:table-cell>
2398                                                                                                        <fo:block>
2399                                                                                                                <fo:basic-link external-destination="url({$url_presPore})">Formation pore pressure</fo:basic-link>
2400                                                                                                        </fo:block>
2401                                                                                                        <fo:block>
2402                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom"/>
2403                                                                                                        </fo:block>
2404                                                                                                </fo:table-cell>
2405                                                                                                <fo:table-cell>
2406                                                                                                        <fo:block>
2407                                                                                                                <fo:basic-link external-destination="url({$url_goodSealm})">Good seal ind</fo:basic-link>
2408                                                                                                        </fo:block>
2409                                                                                                </fo:table-cell>
2410                                                                                                <fo:table-cell>
2411                                                                                                        <fo:block>
2412                                                                                                                <fo:basic-link external-destination="url({$url_mdSample})">Depth to sample point</fo:basic-link>
2413                                                                                                        </fo:block>
2414                                                                                                        <fo:block>
2415                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom"/>
2416                                                                                                        </fo:block>
2417                                                                                                </fo:table-cell>
2418                                                                                                <fo:table-cell>
2419                                                                                                        <fo:block>
2420                                                                                                                <fo:basic-link external-destination="url({$url_dominateComponent})">Dominate fluid component</fo:basic-link>
2421                                                                                                        </fo:block>
2422                                                                                                </fo:table-cell>
2423                                                                                                <fo:table-cell>
2424                                                                                                        <fo:block>
2425                                                                                                                <fo:basic-link external-destination="url({$url_densityHC})">HC Component density</fo:basic-link>
2426                                                                                                        </fo:block>
2427                                                                                                        <fo:block>
2428                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom"/>
2429                                                                                                        </fo:block>
2430                                                                                                </fo:table-cell>
2431                                                                                                <fo:table-cell>
2432                                                                                                        <fo:block>
2433                                                                                                                <fo:basic-link external-destination="url({$url_volumeSample})">Sample volume</fo:basic-link>
2434                                                                                                        </fo:block>
2435                                                                                                        <fo:block>
2436                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom"/>
2437                                                                                                        </fo:block>
2438                                                                                                </fo:table-cell>
2439                                                                                                <fo:table-cell>
2440                                                                                                        <fo:block>
2441                                                                                                                <fo:basic-link external-destination="url({$url_description})">Description</fo:basic-link>
2442                                                                                                        </fo:block>
2443                                                                                                </fo:table-cell>
2444                                                                                        </fo:table-row>
2445                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo">
2446                                                                                                <fo:table-cell>
2447                                                                                                        <fo:block>
2448                                                                                                                <xfd:field xpath="witsml:md"/>
2449                                                                                                        </fo:block>
2450                                                                                                </fo:table-cell>
2451                                                                                                <fo:table-cell>
2452                                                                                                        <fo:block>
2453                                                                                                                <xfd:field xpath="witsml:presPore"/>
2454                                                                                                        </fo:block>
2455                                                                                                </fo:table-cell>
2456                                                                                                <fo:table-cell>
2457                                                                                                        <fo:block>
2458                                                                                                                <xfd:field xpath="witsml:goodSeal"/>
2459                                                                                                        </fo:block>
2460                                                                                                </fo:table-cell>
2461                                                                                                <fo:table-cell>
2462                                                                                                        <fo:block>
2463                                                                                                                <xfd:field xpath="witsml:mdSample"/>
2464                                                                                                        </fo:block>
2465                                                                                                </fo:table-cell>
2466                                                                                                <fo:table-cell>
2467                                                                                                        <fo:block>
2468                                                                                                                <xfd:field xpath="witsml:dominateComponent"/>
2469                                                                                                        </fo:block>
2470                                                                                                </fo:table-cell>
2471                                                                                                <fo:table-cell>
2472                                                                                                        <fo:block>
2473                                                                                                                <xfd:field xpath="witsml:densityHC"/>
2474                                                                                                        </fo:block>
2475                                                                                                </fo:table-cell>
2476                                                                                                <fo:table-cell>
2477                                                                                                        <fo:block>
2478                                                                                                                <xfd:field xpath="witsml:volumeSample"/>
2479                                                                                                        </fo:block>
2480                                                                                                </fo:table-cell>
2481                                                                                                <fo:table-cell>
2482                                                                                                        <fo:block>
2483                                                                                                                <xfd:field xpath="witsml:description"/>
2484                                                                                                        </fo:block>
2485                                                                                                </fo:table-cell>
2486                                                                                        </xfd:table-row-repeat>
2487                                                                                </fo:table-body>
2488                                                                        </fo:table> </fo:block>
2489                                                        </fo:table-cell>
2490                                                </fo:table-row>
2491                                        </fo:table-body>
2492                                </fo:table>
2493                        </fo:block>
2494<!-- Stratigraphic Information -->
2495                        <fo:block break-before="page">
2496                                <xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
2497                                <xsl:variable name="url_mdTop">
2498                                        <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
2499                                </xsl:variable>
2500                                <xsl:variable name="url_tvdTop">
2501                                        <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
2502                                </xsl:variable>
2503                                <xsl:variable name="url_description">
2504                                        <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
2505                                </xsl:variable>
2506                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2507                                <fo:leader/>
2508                                <fo:table>
2509                                        <fo:table-column column-width="100%"/>
2510                                        <fo:table-body>
2511                                                <fo:table-row font-weight="bold" font-size="14pt">
2512                                                        <fo:table-cell>
2513                                                                <fo:block>
2514                                                                        Stratigraphic Information
2515                                                                </fo:block>
2516                                                        </fo:table-cell>
2517                                                </fo:table-row>
2518                                                <fo:table-row>
2519                                                        <fo:table-cell>
2520                                                                <fo:block> </fo:block>
2521                                                        </fo:table-cell>
2522                                                </fo:table-row>
2523                                                <fo:table-row>
2524                                                        <fo:table-cell>
2525                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2526                                                                                <fo:table-column column-width="proportional-column-width(33.333)" column-number="1"/>
2527                                                                                <fo:table-column column-width="proportional-column-width(33.333)" column-number="2"/>
2528                                                                                <fo:table-column column-width="proportional-column-width(33.333)" column-number="3"/>
2529                                                                                <fo:table-body>
2530                                                                                        <fo:table-row font-weight="bold">
2531                                                                                                <fo:table-cell>
2532                                                                                                        <fo:block>
2533                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth to top of formation</fo:basic-link>
2534                                                                                                        </fo:block>
2535                                                                                                        <fo:block>mMD</fo:block>
2536                                                                                                </fo:table-cell>
2537                                                                                                <fo:table-cell>
2538                                                                                                        <fo:block>
2539                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Depth to top of formation</fo:basic-link>
2540                                                                                                        </fo:block>
2541                                                                                                        <fo:block>mTVD</fo:block>
2542                                                                                                </fo:table-cell>
2543                                                                                                <fo:table-cell>
2544                                                                                                        <fo:block>
2545                                                                                                                <fo:basic-link external-destination="url({$url_description})">Formation name</fo:basic-link>
2546                                                                                                        </fo:block>
2547                                                                                                </fo:table-cell>
2548                                                                                        </fo:table-row>
2549                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:stratInfo">
2550                                                                                                <fo:table-cell>
2551                                                                                                        <fo:block>
2552                                                                                                                <xfd:field xpath="witsml:mdTop"/>
2553                                                                                                        </fo:block>
2554                                                                                                </fo:table-cell>
2555                                                                                                <fo:table-cell>
2556                                                                                                        <fo:block>
2557                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
2558                                                                                                        </fo:block>
2559                                                                                                </fo:table-cell>
2560                                                                                                <fo:table-cell>
2561                                                                                                        <fo:block>
2562                                                                                                                <xfd:field xpath="witsml:description"/>
2563                                                                                                        </fo:block>
2564                                                                                                </fo:table-cell>
2565                                                                                        </xfd:table-row-repeat>
2566                                                                                </fo:table-body>
2567                                                                        </fo:table> </fo:block>
2568                                                        </fo:table-cell>
2569                                                </fo:table-row>
2570                                        </fo:table-body>
2571                                </fo:table>
2572                        </fo:block>
2573<!-- Lithology Information -->
2574                        <fo:block break-before="page" break-after="page">
2575                                <xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
2576                                <xsl:variable name="url_mdTop">
2577                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
2578                                </xsl:variable>
2579                                <xsl:variable name="url_mdBottom">
2580                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
2581                                </xsl:variable>
2582                                <xsl:variable name="url_tvdTop">
2583                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
2584                                </xsl:variable>
2585                                <xsl:variable name="url_tvdBottom">
2586                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
2587                                </xsl:variable>
2588                                <xsl:variable name="url_show">
2589                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
2590                                </xsl:variable>
2591                                <xsl:variable name="url_lithology">
2592                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
2593                                </xsl:variable>
2594                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2595                                <fo:leader/>
2596                                <fo:table>
2597                                        <fo:table-column column-width="100%"/>
2598                                        <fo:table-body>
2599                                                <fo:table-row font-weight="bold" font-size="14pt">
2600                                                        <fo:table-cell>
2601                                                                <fo:block>
2602                                                                        Lithology Information
2603                                                                </fo:block>
2604                                                        </fo:table-cell>
2605                                                </fo:table-row>
2606                                                <fo:table-row>
2607                                                        <fo:table-cell>
2608                                                                <fo:block> </fo:block>
2609                                                        </fo:table-cell>
2610                                                </fo:table-row>
2611                                                <fo:table-row>
2612                                                        <fo:table-cell>
2613                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2614                                                                                <fo:table-column column-width="proportional-column-width(6.396)" column-number="1"/>
2615                                                                                <fo:table-column column-width="proportional-column-width(6.297)" column-number="2"/>
2616                                                                                <fo:table-column column-width="proportional-column-width(7.698)" column-number="3"/>
2617                                                                                <fo:table-column column-width="proportional-column-width(5.196)" column-number="4"/>
2618                                                                                <fo:table-column column-width="proportional-column-width(5.696)" column-number="5"/>
2619                                                                                <fo:table-column column-width="proportional-column-width(7.097)" column-number="6"/>
2620                                                                                <fo:table-column column-width="proportional-column-width(12)" column-number="7"/>
2621                                                                                <fo:table-column column-width="proportional-column-width(49.62)" column-number="8"/>
2622                                                                                <fo:table-body>
2623                                                                                        <fo:table-row font-weight="bold">
2624                                                                                                <fo:table-cell>
2625                                                                                                        <fo:block>
2626                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Start Depth</fo:basic-link>
2627                                                                                                        </fo:block>
2628                                                                                                        <fo:block>mMD</fo:block>
2629                                                                                                </fo:table-cell>
2630                                                                                                <fo:table-cell>
2631                                                                                                        <fo:block>
2632                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">End Depth</fo:basic-link>
2633                                                                                                        </fo:block>
2634                                                                                                        <fo:block>mMD</fo:block>
2635                                                                                                </fo:table-cell>
2636                                                                                                <fo:table-cell>
2637                                                                                                        <fo:block>
2638                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Difference in Depth</fo:basic-link>
2639                                                                                                        </fo:block>
2640                                                                                                        <fo:block>mMD</fo:block>
2641                                                                                                </fo:table-cell>
2642                                                                                                <fo:table-cell>
2643                                                                                                        <fo:block>
2644                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Start Depth</fo:basic-link>
2645                                                                                                        </fo:block>
2646                                                                                                        <fo:block>mTVD</fo:block>
2647                                                                                                </fo:table-cell>
2648                                                                                                <fo:table-cell>
2649                                                                                                        <fo:block>
2650                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">End Depth</fo:basic-link>
2651                                                                                                        </fo:block>
2652                                                                                                        <fo:block>mTVD</fo:block>
2653                                                                                                </fo:table-cell>
2654                                                                                                <fo:table-cell>
2655                                                                                                        <fo:block>
2656                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">Difference in Depth</fo:basic-link>
2657                                                                                                        </fo:block>
2658                                                                                                        <fo:block>mTVD</fo:block>
2659                                                                                                </fo:table-cell>
2660                                                                                                <fo:table-cell>
2661                                                                                                        <fo:block>
2662                                                                                                                <fo:basic-link external-destination="url({$url_show})">Shows Description</fo:basic-link>
2663                                                                                                        </fo:block>
2664                                                                                                </fo:table-cell>
2665                                                                                                <fo:table-cell>
2666                                                                                                        <fo:block>
2667                                                                                                                <fo:basic-link external-destination="url({$url_lithology})">Lithology Description</fo:basic-link>
2668                                                                                                        </fo:block>
2669                                                                                                </fo:table-cell>
2670                                                                                        </fo:table-row>
2671                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:lithShowInfo">
2672                                                                                                <fo:table-cell>
2673                                                                                                        <fo:block>
2674                                                                                                                <xfd:field xpath="witsml:mdTop"/>
2675                                                                                                        </fo:block>
2676                                                                                                </fo:table-cell>
2677                                                                                                <fo:table-cell>
2678                                                                                                        <fo:block>
2679                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
2680                                                                                                        </fo:block>
2681                                                                                                </fo:table-cell>
2682                                                                                                <fo:table-cell>
2683                                                                                                        <fo:block>
2684                                                                                                                <xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
2685                                                                                                        </fo:block>
2686                                                                                                </fo:table-cell>
2687                                                                                                <fo:table-cell>
2688                                                                                                        <fo:block>
2689                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
2690                                                                                                        </fo:block>
2691                                                                                                </fo:table-cell>
2692                                                                                                <fo:table-cell>
2693                                                                                                        <fo:block>
2694                                                                                                                <xfd:field xpath="witsml:tvdBottom"/>
2695                                                                                                        </fo:block>
2696                                                                                                </fo:table-cell>
2697                                                                                                <fo:table-cell>
2698                                                                                                        <fo:block>
2699                                                                                                                <xfd:field xpath="witsml:tvdBottom - witsml:tvdTop"/>
2700                                                                                                        </fo:block>
2701                                                                                                </fo:table-cell>
2702                                                                                                <fo:table-cell>
2703                                                                                                        <fo:block>
2704                                                                                                                <xfd:field xpath="witsml:show"/>
2705                                                                                                        </fo:block>
2706                                                                                                </fo:table-cell>
2707                                                                                                <fo:table-cell>
2708                                                                                                        <fo:block>
2709                                                                                                                <xfd:field xpath="witsml:lithology"/>
2710                                                                                                        </fo:block>
2711                                                                                                </fo:table-cell>
2712                                                                                        </xfd:table-row-repeat>
2713                                                                                </fo:table-body>
2714                                                                        </fo:table> </fo:block>
2715                                                        </fo:table-cell>
2716                                                </fo:table-row>
2717                                        </fo:table-body>
2718                                </fo:table>
2719                        </fo:block>
2720<!-- Well Control Incident -->
2721                        <xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:controlIncidentInfo">
2722                                <fo:block>
2723                                        <xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
2724                                        <xsl:variable name="url_dTim">
2725                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
2726                                        </xsl:variable>
2727                                        <xsl:variable name="url_mdInflow">
2728                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
2729                                        </xsl:variable>
2730                                        <xsl:variable name="url_tvdInflow">
2731                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
2732                                        </xsl:variable>
2733                                        <xsl:variable name="url_eTimLost">
2734                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
2735                                        </xsl:variable>
2736                                        <xsl:variable name="url_dTimRegained">
2737                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
2738                                        </xsl:variable>
2739                                        <xsl:variable name="url_mdBit">
2740                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
2741                                        </xsl:variable>
2742                                        <xsl:variable name="url_wtMud">
2743                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
2744                                        </xsl:variable>
2745                                        <xsl:variable name="url_porePressure">
2746                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
2747                                        </xsl:variable>
2748                                        <xsl:variable name="url_mdCsgLast">
2749                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
2750                                        </xsl:variable>
2751                                        <xsl:variable name="url_volMudGained">
2752                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
2753                                        </xsl:variable>
2754                                        <xsl:variable name="url_presShutInCasing">
2755                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
2756                                        </xsl:variable>
2757                                        <xsl:variable name="url_presShutInDrill">
2758                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
2759                                        </xsl:variable>
2760                                        <xsl:variable name="url_incidentType">
2761                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
2762                                        </xsl:variable>
2763                                        <xsl:variable name="url_killingType">
2764                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
2765                                        </xsl:variable>
2766                                        <xsl:variable name="url_formation">
2767                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
2768                                        </xsl:variable>
2769                                        <xsl:variable name="url_tempBottom">
2770                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
2771                                        </xsl:variable>
2772                                        <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2773                                        <fo:leader/>
2774                                        <fo:table>
2775                                                <fo:table-column column-width="100%"/>
2776                                                <fo:table-body>
2777                                                        <fo:table-row font-weight="bold" font-size="14pt">
2778                                                                <fo:table-cell>
2779                                                                        <fo:block>
2780                                                                        Well Control Incident
2781                                                                </fo:block>
2782                                                                </fo:table-cell>
2783                                                        </fo:table-row>
2784                                                        <fo:table-row height="13.840px" overflow="hidden">
2785                                                                <fo:table-cell>
2786                                                                        <fo:block> </fo:block>
2787                                                                </fo:table-cell>
2788                                                        </fo:table-row>
2789                                                        <fo:table-row>
2790                                                                <fo:table-cell>
2791                                                                        <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2792                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
2793                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
2794                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
2795                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
2796                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
2797                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
2798                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
2799                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
2800                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
2801                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
2802                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
2803                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
2804                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
2805                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
2806                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
2807                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
2808                                                                                        <fo:table-body>
2809                                                                                                <fo:table-row font-weight="bold">
2810                                                                                                        <fo:table-cell>
2811                                                                                                                <fo:block>
2812                                                                                                                        <fo:basic-link external-destination="url({$url_dTim})">Date</fo:basic-link>
2813                                                                                                                </fo:block>
2814                                                                                                        </fo:table-cell>
2815                                                                                                        <fo:table-cell>
2816                                                                                                                <fo:block>
2817                                                                                                                        <fo:basic-link external-destination="url({$url_mdInflow})">Depth of well</fo:basic-link>
2818                                                                                                                        <fo:block>mMD</fo:block>
2819                                                                                                                </fo:block>
2820                                                                                                        </fo:table-cell>
2821                                                                                                        <fo:table-cell>
2822                                                                                                                <fo:block>
2823                                                                                                                        <fo:basic-link external-destination="url({$url_tvdInflow})">Depth of well mTVD</fo:basic-link>
2824                                                                                                                </fo:block>
2825                                                                                                        </fo:table-cell>
2826                                                                                                        <fo:table-cell>
2827                                                                                                                <fo:block>
2828                                                                                                                        <fo:basic-link external-destination="url({$url_eTimLost})">Lost time</fo:basic-link>
2829                                                                                                                </fo:block>
2830                                                                                                                <fo:block>
2831                                                                                                                        <xfd:field xpath="witsml:eTimLost/@uom"/>
2832                                                                                                                </fo:block>
2833                                                                                                        </fo:table-cell>
2834                                                                                                        <fo:table-cell>
2835                                                                                                                <fo:block>
2836                                                                                                                        <fo:basic-link external-destination="url({$url_dTimRegained})">Time for well control regain</fo:basic-link>
2837                                                                                                                </fo:block>
2838                                                                                                        </fo:table-cell>
2839                                                                                                        <fo:table-cell>
2840                                                                                                                <fo:block>
2841                                                                                                                        <fo:basic-link external-destination="url({$url_mdBit})">Depth at bit</fo:basic-link>
2842                                                                                                                        <fo:block>mMD</fo:block>
2843                                                                                                                </fo:block>
2844                                                                                                        </fo:table-cell>
2845                                                                                                        <fo:table-cell>
2846                                                                                                                <fo:block>
2847                                                                                                                        <fo:basic-link external-destination="url({$url_wtMud})">Drilling fluid density</fo:basic-link>
2848                                                                                                                </fo:block>
2849                                                                                                                <fo:block>
2850                                                                                                                        <xfd:field xpath="witsml:wtMud/@uom"/>
2851                                                                                                                </fo:block>
2852                                                                                                        </fo:table-cell>
2853                                                                                                        <fo:table-cell>
2854                                                                                                                <fo:block>
2855                                                                                                                        <fo:basic-link external-destination="url({$url_porePressure})">Pore pressure</fo:basic-link>
2856                                                                                                                </fo:block>
2857                                                                                                                <fo:block>
2858                                                                                                                        <xfd:field xpath="witsml:porePressure/@uom"/>
2859                                                                                                                </fo:block>
2860                                                                                                        </fo:table-cell>
2861                                                                                                        <fo:table-cell>
2862                                                                                                                <fo:block>
2863                                                                                                                        <fo:basic-link external-destination="url({$url_mdCsgLast})">Depth to casing</fo:basic-link>
2864                                                                                                                </fo:block>
2865                                                                                                                <fo:block>mMD</fo:block>
2866                                                                                                        </fo:table-cell>
2867                                                                                                        <fo:table-cell>
2868                                                                                                                <fo:block>
2869                                                                                                                        <fo:basic-link external-destination="url({$url_volMudGained})">Gained vol of Fluid</fo:basic-link>
2870                                                                                                                </fo:block>
2871                                                                                                                <fo:block>
2872                                                                                                                        <xfd:field xpath="witsml:volMudGain/@uom"/>
2873                                                                                                                </fo:block>
2874                                                                                                        </fo:table-cell>
2875                                                                                                        <fo:table-cell>
2876                                                                                                                <fo:block>
2877                                                                                                                        <fo:basic-link external-destination="url({$url_presShutInCasing})">Shut in casing pressure</fo:basic-link>
2878                                                                                                                </fo:block>
2879                                                                                                                <fo:block>
2880                                                                                                                        <xfd:field xpath="witsml:presShutInCasing/@uom"/>
2881                                                                                                                </fo:block>
2882                                                                                                        </fo:table-cell>
2883                                                                                                        <fo:table-cell>
2884                                                                                                                <fo:block>
2885                                                                                                                        <fo:basic-link external-destination="url({$url_presShutInDrill})">Shut in drill pipe pressure</fo:basic-link>
2886                                                                                                                </fo:block>
2887                                                                                                                <fo:block>
2888                                                                                                                        <xfd:field xpath="witsml:presShutInDrill/@uom"/>
2889                                                                                                                </fo:block>
2890                                                                                                        </fo:table-cell>
2891                                                                                                        <fo:table-cell>
2892                                                                                                                <fo:block>
2893                                                                                                                        <fo:basic-link external-destination="url({$url_incidentType})">Incident class</fo:basic-link>
2894                                                                                                                </fo:block>
2895                                                                                                        </fo:table-cell>
2896                                                                                                        <fo:table-cell>
2897                                                                                                                <fo:block>
2898                                                                                                                        <fo:basic-link external-destination="url({$url_killingType})">Killing procd</fo:basic-link>
2899                                                                                                                </fo:block>
2900                                                                                                        </fo:table-cell>
2901                                                                                                        <fo:table-cell>
2902                                                                                                                <fo:block>
2903                                                                                                                        <fo:basic-link external-destination="url({$url_formation})">Formation</fo:basic-link>
2904                                                                                                                </fo:block>
2905                                                                                                        </fo:table-cell>
2906                                                                                                        <fo:table-cell>
2907                                                                                                                <fo:block>
2908                                                                                                                        <fo:basic-link external-destination="url({$url_tempBottom})">BHT</fo:basic-link>
2909                                                                                                                </fo:block>
2910                                                                                                        </fo:table-cell>
2911                                                                                                </fo:table-row>
2912                                                                                                <fo:table-row>
2913                                                                                                        <fo:table-cell>
2914                                                                                                                <fo:block>
2915                                                                                                                        <xfd:field xpath="substring-before(witsml:dTim, 'T')"/>
2916                                                                                                                </fo:block>
2917                                                                                                        </fo:table-cell>
2918                                                                                                        <fo:table-cell>
2919                                                                                                                <fo:block>
2920                                                                                                                        <xfd:field xpath="witsml:mdInflow"/>
2921                                                                                                                </fo:block>
2922                                                                                                        </fo:table-cell>
2923                                                                                                        <fo:table-cell>
2924                                                                                                                <fo:block>
2925                                                                                                                        <xfd:field xpath="witsml:tvdInFlow"/>
2926                                                                                                                </fo:block>
2927                                                                                                        </fo:table-cell>
2928                                                                                                        <fo:table-cell>
2929                                                                                                                <fo:block>
2930                                                                                                                        <xfd:field xpath="witsml:eTimLost"/>
2931                                                                                                                </fo:block>
2932                                                                                                        </fo:table-cell>
2933                                                                                                        <fo:table-cell>
2934                                                                                                                <fo:block>
2935                                                                                                                        <xfd:field xpath="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
2936                                                                                                                </fo:block>
2937                                                                                                        </fo:table-cell>
2938                                                                                                        <fo:table-cell>
2939                                                                                                                <fo:block>
2940                                                                                                                        <xfd:field xpath="witsml:mdBit"/>
2941                                                                                                                </fo:block>
2942                                                                                                        </fo:table-cell>
2943                                                                                                        <fo:table-cell>
2944                                                                                                                <fo:block>
2945                                                                                                                        <xfd:field xpath="witsml:wtMud"/>
2946                                                                                                                </fo:block>
2947                                                                                                        </fo:table-cell>
2948                                                                                                        <fo:table-cell>
2949                                                                                                                <fo:block>
2950                                                                                                                        <xfd:field xpath="witsml:porePressure"/>
2951                                                                                                                </fo:block>
2952                                                                                                        </fo:table-cell>
2953                                                                                                        <fo:table-cell>
2954                                                                                                                <fo:block>
2955                                                                                                                        <xfd:field xpath="witsml:mdCsgLast"/>
2956                                                                                                                </fo:block>
2957                                                                                                        </fo:table-cell>
2958                                                                                                        <fo:table-cell>
2959                                                                                                                <fo:block>
2960                                                                                                                        <xfd:field xpath="witsml:volMudGained"/>
2961                                                                                                                </fo:block>
2962                                                                                                        </fo:table-cell>
2963                                                                                                        <fo:table-cell>
2964                                                                                                                <fo:block>
2965                                                                                                                        <xfd:field xpath="witsml:presShutInCasing"/>
2966                                                                                                                </fo:block>
2967                                                                                                        </fo:table-cell>
2968                                                                                                        <fo:table-cell>
2969                                                                                                                <fo:block>
2970                                                                                                                        <xfd:field xpath="witsml:presShutInDrill"/>
2971                                                                                                                </fo:block>
2972                                                                                                        </fo:table-cell>
2973                                                                                                        <fo:table-cell>
2974                                                                                                                <fo:block>
2975                                                                                                                        <xfd:field xpath="witsml:incidentType"/>
2976                                                                                                                </fo:block>
2977                                                                                                        </fo:table-cell>
2978                                                                                                        <fo:table-cell>
2979                                                                                                                <fo:block>
2980                                                                                                                        <xfd:field xpath="witsml:killingType"/>
2981                                                                                                                </fo:block>
2982                                                                                                        </fo:table-cell>
2983                                                                                                        <fo:table-cell>
2984                                                                                                                <fo:block>
2985                                                                                                                        <xfd:field xpath="witsml:formation"/>
2986                                                                                                                </fo:block>
2987                                                                                                        </fo:table-cell>
2988                                                                                                        <fo:table-cell>
2989                                                                                                                <fo:block>
2990                                                                                                                        <xfd:field xpath="witsml:tempBottom"/>
2991                                                                                                                </fo:block>
2992                                                                                                        </fo:table-cell>
2993                                                                                                </fo:table-row>
2994                                                                                        </fo:table-body>
2995                                                                                </fo:table><fo:table>
2996                                                                                        <fo:table-body>
2997                                                                                                <fo:table-row>
2998                                                                                                        <fo:table-cell>
2999                                                                                                                <fo:block> </fo:block>
3000                                                                                                        </fo:table-cell>
3001                                                                                                </fo:table-row>
3002                                                                                                <fo:table-row>
3003                                                                                                        <fo:table-cell>
3004                                                                                                                <fo:block>
3005                                                                                                                        <xfd:field xpath="witsml:description"/>
3006                                                                                                                </fo:block>
3007                                                                                                        </fo:table-cell>
3008                                                                                                </fo:table-row>
3009                                                                                        </fo:table-body>
3010                                                                                </fo:table> </fo:block>
3011                                                                </fo:table-cell>
3012                                                        </fo:table-row>
3013                                                </fo:table-body>
3014                                        </fo:table>
3015                                </fo:block>
3016                        </xfd:block-repeat>
3017<!-- Perforation Information -->
3018                        <fo:block break-before="page">
3019                                <xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
3020                                <xsl:variable name="url_dTimOpen">
3021                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
3022                                </xsl:variable>
3023                                <xsl:variable name="url_dTimClose">
3024                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
3025                                </xsl:variable>
3026                                <xsl:variable name="url_mdTop">
3027                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
3028                                </xsl:variable>
3029                                <xsl:variable name="url_mdBottom">
3030                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
3031                                </xsl:variable>
3032                                <xsl:variable name="url_tvdTop">
3033                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
3034                                </xsl:variable>
3035                                <xsl:variable name="url_tvdBottom">
3036                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
3037                                </xsl:variable>
3038                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
3039                                <fo:leader/>
3040                                <fo:table>
3041                                        <fo:table-column column-width="100%"/>
3042                                        <fo:table-body>
3043                                                <fo:table-row font-weight="bold" font-size="14pt">
3044                                                        <fo:table-cell>
3045                                                                <fo:block>
3046                                                                        Perforation Information
3047                                                                </fo:block>
3048                                                        </fo:table-cell>
3049                                                </fo:table-row>
3050                                                <fo:table-row>
3051                                                        <fo:table-cell>
3052                                                                <fo:block> </fo:block>
3053                                                        </fo:table-cell>
3054                                                </fo:table-row>
3055                                                <fo:table-row>
3056                                                        <fo:table-cell>
3057                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
3058                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
3059                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
3060                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
3061                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
3062                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
3063                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
3064                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
3065                                                                                <fo:table-body>
3066                                                                                        <fo:table-row font-weight="bold">
3067                                                                                                <fo:table-cell>
3068                                                                                                        <fo:block>
3069                                                                                                                <fo:basic-link external-destination="url({$url_dTimOpen})">Time of opening well perf</fo:basic-link>
3070                                                                                                        </fo:block>
3071                                                                                                </fo:table-cell>
3072                                                                                                <fo:table-cell>
3073                                                                                                        <fo:block>
3074                                                                                                                <fo:basic-link external-destination="url({$url_dTimClose})">Time of closing well perf</fo:basic-link>
3075                                                                                                        </fo:block>
3076                                                                                                </fo:table-cell>
3077                                                                                                <fo:table-cell>
3078                                                                                                        <fo:block>
3079                                                                                                                <fo:basic-link external-destination="url({$urlRDS})">Duration well perf</fo:basic-link>
3080                                                                                                        </fo:block>
3081                                                                                                </fo:table-cell>
3082                                                                                                <fo:table-cell>
3083                                                                                                        <fo:block>
3084                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Top of perf</fo:basic-link>
3085                                                                                                        </fo:block>
3086                                                                                                        <fo:block>mMD</fo:block>
3087                                                                                                </fo:table-cell>
3088                                                                                                <fo:table-cell>
3089                                                                                                        <fo:block>
3090                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Bottom of Perf</fo:basic-link>
3091                                                                                                        </fo:block>
3092                                                                                                        <fo:block>mMD</fo:block>
3093                                                                                                </fo:table-cell>
3094                                                                                                <fo:table-cell>
3095                                                                                                        <fo:block>
3096                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Top of perf</fo:basic-link>
3097                                                                                                        </fo:block>
3098                                                                                                        <fo:block>mTVD</fo:block>
3099                                                                                                </fo:table-cell>
3100                                                                                                <fo:table-cell>
3101                                                                                                        <fo:block>
3102                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">Bottom of Perf</fo:basic-link>
3103                                                                                                        </fo:block>
3104                                                                                                        <fo:block>mTVD</fo:block>
3105                                                                                                </fo:table-cell>
3106                                                                                        </fo:table-row>
3107                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:perfInfo">
3108                                                                                                <fo:table-cell>
3109                                                                                                        <fo:block>
3110                                                                                                                <xfd:field xpath="substring(witsml:dTimOpen, 0 ,17)"/>
3111                                                                                                        </fo:block>
3112                                                                                                </fo:table-cell>
3113                                                                                                <fo:table-cell>
3114                                                                                                        <fo:block>
3115                                                                                                                <xfd:field xpath="substring(witsml:dTimClose, 0, 17)"/>
3116                                                                                                        </fo:block>
3117                                                                                                </fo:table-cell>
3118                                                                                                <fo:table-cell>
3119                                                                                                        <fo:block>
3120                                                                                                                <!--<xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/>-->
3121                                                                                                                duration
3122                                                                                                        </fo:block>
3123                                                                                                </fo:table-cell>
3124                                                                                                <fo:table-cell>
3125                                                                                                        <fo:block>
3126                                                                                                                <xfd:field xpath="witsml:mdTop"/>
3127                                                                                                        </fo:block>
3128                                                                                                </fo:table-cell>
3129                                                                                                <fo:table-cell>
3130                                                                                                        <fo:block>
3131                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
3132                                                                                                        </fo:block>
3133                                                                                                </fo:table-cell>
3134                                                                                                <fo:table-cell>
3135                                                                                                        <fo:block>
3136                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
3137                                                                                                        </fo:block>
3138                                                                                                </fo:table-cell>
3139                                                                                                <fo:table-cell>
3140                                                                                                        <fo:block>
3141                                                                                                                <xfd:field xpath="witsml:tvdBottom"/>
3142                                                                                                        </fo:block>
3143                                                                                                </fo:table-cell>
3144                                                                                        </xfd:table-row-repeat>
3145                                                                                </fo:table-body>
3146                                                                        </fo:table> </fo:block>
3147                                                        </fo:table-cell>
3148                                                </fo:table-row>
3149                                        </fo:table-body>
3150                                </fo:table>
3151                        </fo:block>
3152<!-- Gas Reading Information -->
3153                        <fo:block>
3154                                <xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
3155                                <xsl:variable name="url_dTim">
3156                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
3157                                </xsl:variable>
3158                                <xsl:variable name="url_readingType">
3159                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
3160                                </xsl:variable>
3161                                <xsl:variable name="url_mdTop">
3162                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
3163                                </xsl:variable>
3164                                <xsl:variable name="url_mdBottom">
3165                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
3166                                </xsl:variable>
3167                                <xsl:variable name="url_tvdTop">
3168                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
3169                                </xsl:variable>
3170                                <xsl:variable name="url_tvdBottom">
3171                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
3172                                </xsl:variable>
3173                                <xsl:variable name="url_gasHigh">
3174                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
3175                                </xsl:variable>
3176                                <xsl:variable name="url_gasLow">
3177                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
3178                                </xsl:variable>
3179                                <xsl:variable name="url_meth">
3180                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
3181                                </xsl:variable>
3182                                <xsl:variable name="url_eth">
3183                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
3184                                </xsl:variable>
3185                                <xsl:variable name="url_prop">
3186                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
3187                                </xsl:variable>
3188                                <xsl:variable name="url_ibut">
3189                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
3190                                </xsl:variable>
3191                                <xsl:variable name="url_ipent">
3192                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
3193                                </xsl:variable>
3194                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
3195                                <fo:leader/>
3196                                <fo:table>
3197                                        <fo:table-column column-width="100%"/>
3198                                        <fo:table-body>
3199                                                <fo:table-row font-weight="bold" font-size="14pt">
3200                                                        <fo:table-cell>
3201                                                                <fo:block>
3202                                                                        Gas Reading Information
3203                                                                </fo:block>
3204                                                        </fo:table-cell>
3205                                                </fo:table-row>
3206                                                <fo:table-row>
3207                                                        <fo:table-cell>
3208                                                                <fo:block> </fo:block>
3209                                                        </fo:table-cell>
3210                                                </fo:table-row>
3211                                                <fo:table-row>
3212                                                        <fo:table-cell>
3213                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
3214                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
3215                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
3216                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
3217                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
3218                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
3219                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
3220                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
3221                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
3222                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
3223                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
3224                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
3225                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
3226                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
3227                                                                                <fo:table-body>
3228                                                                                        <fo:table-row font-weight="bold">
3229                                                                                                <fo:table-cell>
3230                                                                                                        <fo:block>
3231                                                                                                                <fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
3232                                                                                                        </fo:block>
3233                                                                                                </fo:table-cell>
3234                                                                                                <fo:table-cell>
3235                                                                                                        <fo:block>
3236                                                                                                                <fo:basic-link external-destination="url({$url_readingType})">Class</fo:basic-link>
3237                                                                                                        </fo:block>
3238                                                                                                </fo:table-cell>
3239                                                                                                <fo:table-cell>
3240                                                                                                        <fo:block>
3241                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth to top</fo:basic-link>
3242                                                                                                        </fo:block>
3243                                                                                                        <fo:block>mMD</fo:block>
3244                                                                                                </fo:table-cell>
3245                                                                                                <fo:table-cell>
3246                                                                                                        <fo:block>
3247                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth to bottom</fo:basic-link>
3248                                                                                                        </fo:block>
3249                                                                                                        <fo:block>mMD</fo:block>
3250                                                                                                </fo:table-cell>
3251                                                                                                <fo:table-cell>
3252                                                                                                        <fo:block>
3253                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Depth to top</fo:basic-link>
3254                                                                                                        </fo:block>
3255                                                                                                        <fo:block>mTVD</fo:block>
3256                                                                                                </fo:table-cell>
3257                                                                                                <fo:table-cell>
3258                                                                                                        <fo:block>
3259                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">Depth to bottom</fo:basic-link>
3260                                                                                                        </fo:block>
3261                                                                                                        <fo:block>mTVD</fo:block>
3262                                                                                                </fo:table-cell>
3263                                                                                                <fo:table-cell>
3264                                                                                                        <fo:block>
3265                                                                                                                <fo:basic-link external-destination="url({$url_gasHigh})">Highest gas</fo:basic-link>
3266                                                                                                        </fo:block>
3267                                                                                                        <fo:block>
3268                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
3269                                                                                                        </fo:block>
3270                                                                                                </fo:table-cell>
3271                                                                                                <fo:table-cell>
3272                                                                                                        <fo:block>
3273                                                                                                                <fo:basic-link external-destination="url({$url_gasLow})">Lowest gas</fo:basic-link>
3274                                                                                                        </fo:block>
3275                                                                                                        <fo:block>
3276                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom"/>
3277                                                                                                        </fo:block>
3278                                                                                                </fo:table-cell>
3279                                                                                                <fo:table-cell>
3280                                                                                                        <fo:block>
3281                                                                                                                <fo:basic-link external-destination="url({$url_meth})">C1</fo:basic-link>
3282                                                                                                        </fo:block>
3283                                                                                                        <fo:block>
3284                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom"/>
3285                                                                                                        </fo:block>
3286                                                                                                </fo:table-cell>
3287                                                                                                <fo:table-cell>
3288                                                                                                        <fo:block>
3289                                                                                                                <fo:basic-link external-destination="url({$url_eth})">C2</fo:basic-link>
3290                                                                                                        </fo:block>
3291                                                                                                        <fo:block>
3292                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom"/>
3293                                                                                                        </fo:block>
3294                                                                                                </fo:table-cell>
3295                                                                                                <fo:table-cell>
3296                                                                                                        <fo:block>
3297                                                                                                                <fo:basic-link external-destination="url({$url_prop})">C3</fo:basic-link>
3298                                                                                                        </fo:block>
3299                                                                                                        <fo:block>
3300                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom"/>
3301                                                                                                        </fo:block>
3302                                                                                                </fo:table-cell>
3303                                                                                                <fo:table-cell>
3304                                                                                                        <fo:block>
3305                                                                                                                <fo:basic-link external-destination="url({$url_ibut})">IC4</fo:basic-link>
3306                                                                                                        </fo:block>
3307                                                                                                        <fo:block>
3308                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom"/>
3309                                                                                                        </fo:block>
3310                                                                                                </fo:table-cell>
3311                                                                                                <fo:table-cell>
3312                                                                                                        <fo:block>
3313                                                                                                                <fo:basic-link external-destination="url({$url_ipent})">IC5</fo:basic-link>
3314                                                                                                        </fo:block>
3315                                                                                                        <fo:block>
3316                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom"/>
3317                                                                                                        </fo:block>
3318                                                                                                </fo:table-cell>
3319                                                                                        </fo:table-row>
3320                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo">
3321                                                                                                <fo:table-cell>
3322                                                                                                        <fo:block>
3323                                                                                                                <xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
3324                                                                                                        </fo:block>
3325                                                                                                </fo:table-cell>
3326                                                                                                <fo:table-cell>
3327                                                                                                        <fo:block>
3328                                                                                                                <xfd:field xpath="witsml:readingType"/>
3329                                                                                                        </fo:block>
3330                                                                                                </fo:table-cell>
3331                                                                                                <fo:table-cell>
3332                                                                                                        <fo:block>
3333                                                                                                                <xfd:field xpath="witsml:mdTop"/>
3334                                                                                                        </fo:block>
3335                                                                                                </fo:table-cell>
3336                                                                                                <fo:table-cell>
3337                                                                                                        <fo:block>
3338                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
3339                                                                                                        </fo:block>
3340                                                                                                </fo:table-cell>
3341                                                                                                <fo:table-cell>
3342                                                                                                        <fo:block>
3343                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
3344                                                                                                        </fo:block>
3345                                                                                                </fo:table-cell>
3346                                                                                                <fo:table-cell>
3347                                                                                                        <fo:block>
3348                                                                                                                <xfd:field xpath="witsml:tvdBottom"/>
3349                                                                                                        </fo:block>
3350                                                                                                </fo:table-cell>
3351                                                                                                <fo:table-cell>
3352                                                                                                        <fo:block>
3353                                                                                                                <xfd:field xpath="witsml:gasHigh"/>
3354                                                                                                        </fo:block>
3355                                                                                                </fo:table-cell>
3356                                                                                                <fo:table-cell>
3357                                                                                                        <fo:block>
3358                                                                                                                <xfd:field xpath="witsml:gasLow"/>
3359                                                                                                        </fo:block>
3360                                                                                                </fo:table-cell>
3361                                                                                                <fo:table-cell>
3362                                                                                                        <fo:block>
3363                                                                                                                <xfd:field xpath="witsml:meth"/>
3364                                                                                                        </fo:block>
3365                                                                                                </fo:table-cell>
3366                                                                                                <fo:table-cell>
3367                                                                                                        <fo:block>
3368                                                                                                                <xfd:field xpath="witsml:eth"/>
3369                                                                                                        </fo:block>
3370                                                                                                </fo:table-cell>
3371                                                                                                <fo:table-cell>
3372                                                                                                        <fo:block>
3373                                                                                                                <xfd:field xpath="witsml:prop"/>
3374                                                                                                        </fo:block>
3375                                                                                                </fo:table-cell>
3376                                                                                                <fo:table-cell>
3377                                                                                                        <fo:block>
3378                                                                                                                <xfd:field xpath="witsml:ibut"/>
3379                                                                                                        </fo:block>
3380                                                                                                </fo:table-cell>
3381                                                                                                <fo:table-cell>
3382                                                                                                        <fo:block>
3383                                                                                                                <xfd:field xpath="witsml:ipent"/>
3384                                                                                                        </fo:block>
3385                                                                                                </fo:table-cell>
3386                                                                                        </xfd:table-row-repeat>
3387                                                                                </fo:table-body>
3388                                                                        </fo:table> </fo:block>
3389                                                        </fo:table-cell>
3390                                                </fo:table-row>
3391                                        </fo:table-body>
3392                                </fo:table>
3393                        </fo:block>
3394                </fo:flow>
3395        </fo:page-sequence>
3396</xfd:document>
Note: See TracBrowser for help on using the browser.