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

Revision 152, 147.0 kB (checked in by yaolu, 13 years ago)

fixed some of the changes regarding xsl and the report view

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