root / projects / DailyDrillingReport_1.2 / XML / PDFreport / ddr_PDfReport_transformation_2011_03_09.xfd @ 336

Revision 173, 151.2 kB (checked in by yaolu, 13 years ago)

Fixed some spacing errors. added a bit more space before the cement fluid info section

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=".\WITSML_drillReport_profiled_schema_2011_01_29.xsd" sample-xml=".\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' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='1'">yes</xsl:if>
264                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='0'">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' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='1'">yes</xsl:if>
273                                                                        <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='0'">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(6)" column-number="1"/>
545                                                                                <fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
546                                                                                <fo:table-column column-width="proportional-column-width(6)" column-number="3"/>
547                                                                                <fo:table-column column-width="proportional-column-width(6)" column-number="4"/>
548                                                                                <fo:table-column column-width="proportional-column-width(6)" column-number="5"/>
549                                                                                <fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
550                                                                                <fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
551                                                                                <fo:table-column column-width="proportional-column-width(50)" 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(12)" column-number="1"/>
690                                                                                <fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
691                                                                                <fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
692                                                                                <fo:table-column column-width="proportional-column-width(7)" column-number="4"/>
693                                                                                <fo:table-column column-width="proportional-column-width(14)" column-number="5"/>
694                                                                                <fo:table-column column-width="proportional-column-width(46)" 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(6.384)" 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(6.692)" column-number="5"/>
811                                                                                                <fo:table-column column-width="proportional-column-width(6.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(11)" 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>Hole made (run)</fo:block>
859                                                                                                        <fo:block>
860                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
861                                                                                                        </fo:block>
862                                                                                                </fo:table-cell>
863                                                                                                <fo:table-cell>
864                                                                                                        <fo:block>Hours drilled (run)</fo:block>
865                                                                                                        <fo:block>
866                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
867                                                                                                        </fo:block>
868                                                                                                </fo:table-cell>
869                                                                                                <fo:table-cell>
870                                                                                                        <fo:block>ROP</fo:block>
871                                                                                                        <fo:block>
872                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/>
873                                                                                                        </fo:block>
874                                                                                                </fo:table-cell>
875                                                                                                <fo:table-cell>
876                                                                                                        <fo:block>Total hole made</fo:block>
877                                                                                                        <fo:block>
878                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/>
879                                                                                                        </fo:block>
880                                                                                                </fo:table-cell>
881                                                                                                <fo:table-cell>
882                                                                                                        <fo:block>Total hours drilled</fo:block>
883                                                                                                        <fo:block>
884                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/>
885                                                                                                        </fo:block>
886                                                                                                </fo:table-cell>
887                                                                                                <fo:table-cell>
888                                                                                                        <fo:block>Total ROP</fo:block>
889                                                                                                        <fo:block>
890                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/>
891                                                                                                        </fo:block>
892                                                                                                </fo:table-cell>
893                                                                                                <fo:table-cell>
894                                                                                                        <fo:block>Dull grade</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:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>
931                                                                                                        </fo:block>
932                                                                                                </fo:table-cell>
933                                                                                                <fo:table-cell>
934                                                                                                        <fo:block>
935                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/>
936                                                                                                        </fo:block>
937                                                                                                </fo:table-cell>
938                                                                                                <fo:table-cell>
939                                                                                                        <fo:block>
940                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:ropAv"/>
941                                                                                                        </fo:block>
942                                                                                                </fo:table-cell>
943                                                                                                <fo:table-cell>
944                                                                                                        <fo:block>
945                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/>
946                                                                                                        </fo:block>
947                                                                                                </fo:table-cell>
948                                                                                                <fo:table-cell>
949                                                                                                        <fo:block>
950                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/>
951                                                                                                        </fo:block>
952                                                                                                </fo:table-cell>
953                                                                                                <fo:table-cell>
954                                                                                                        <fo:block>
955                                                                                                                <xfd:field xpath="witsml:bitRun/witsml:ropMx"/>
956                                                                                                        </fo:block>
957                                                                                                </fo:table-cell>
958                                                                                                <fo:table-cell>
959                                                                                                        <fo:block>
960                                                                                                                <xfd:field xpath="witsml:dullGrade"/>
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>Nominal outside diameter</fo:block>
1019                                                                                                        <fo:block>
1020                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom"/>
1021                                                                                                        </fo:block>
1022                                                                                                </fo:table-cell>
1023                                                                                                <fo:table-cell>
1024                                                                                                        <fo:block>Nominal inside diameter</fo:block>
1025                                                                                                        <fo:block>
1026                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom"/>
1027                                                                                                        </fo:block>
1028                                                                                                </fo:table-cell>
1029                                                                                                <fo:table-cell>
1030                                                                                                        <fo:block>Nominal Weight</fo:block>
1031                                                                                                        <fo:block>
1032                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom"/>
1033                                                                                                        </fo:block>
1034                                                                                                </fo:table-cell>
1035                                                                                                <fo:table-cell>
1036                                                                                                        <fo:block>Nominal Grade</fo:block>
1037                                                                                                </fo:table-cell>
1038                                                                                                <fo:table-cell>
1039                                                                                                        <fo:block>Nominal Connection</fo:block>
1040                                                                                                </fo:table-cell>
1041                                                                                                <fo:table-cell>
1042                                                                                                        <fo:block>Length</fo:block>
1043                                                                                                        <fo:block>
1044                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
1045                                                                                                        </fo:block>
1046                                                                                                </fo:table-cell>
1047                                                                                                <fo:table-cell>
1048                                                                                                        <fo:block>MD Top/Hangar</fo:block>
1049                                                                                                        <fo:block>
1050                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
1051                                                                                                        </fo:block>
1052                                                                                                </fo:table-cell>
1053                                                                                                <fo:table-cell>
1054                                                                                                        <fo:block>MD Bottom/Shoe</fo:block>
1055                                                                                                        <fo:block>
1056                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom"/>
1057                                                                                                        </fo:block>
1058                                                                                                </fo:table-cell>
1059                                                                                                <fo:table-cell>
1060                                                                                                        <fo:block>Description</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                                                                                                                <xfd:field xpath="witsml:casing_liner_tubing_run/witsml:tubularJobType"/>
1074                                                                                                        </fo:block>
1075                                                                                                </fo:table-cell>
1076                                                                                                <fo:table-cell>
1077                                                                                                        <fo:block>
1078                                                                                                                <xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/>
1079                                                                                                        </fo:block>
1080                                                                                                </fo:table-cell>
1081                                                                                                <fo:table-cell>
1082                                                                                                        <fo:block>
1083                                                                                                                <xfd:field xpath="witsml:od"/>
1084                                                                                                        </fo:block>
1085                                                                                                </fo:table-cell>
1086                                                                                                <fo:table-cell>
1087                                                                                                        <fo:block>
1088                                                                                                                <xfd:field xpath="witsml:id"/>
1089                                                                                                        </fo:block>
1090                                                                                                </fo:table-cell>
1091                                                                                                <fo:table-cell>
1092                                                                                                        <fo:block>
1093                                                                                                                <xfd:field xpath="witsml:weight"/>
1094                                                                                                        </fo:block>
1095                                                                                                </fo:table-cell>
1096                                                                                                <fo:table-cell>
1097                                                                                                        <fo:block>
1098                                                                                                                <xfd:field xpath="witsml:grade"/>
1099                                                                                                        </fo:block>
1100                                                                                                </fo:table-cell>
1101                                                                                                <fo:table-cell>
1102                                                                                                        <fo:block>
1103                                                                                                                <xfd:field xpath="witsml:connection"/>
1104                                                                                                        </fo:block>
1105                                                                                                </fo:table-cell>
1106                                                                                                <fo:table-cell>
1107                                                                                                        <fo:block>
1108                                                                                                                <xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
1109                                                                                                        </fo:block>
1110                                                                                                </fo:table-cell>
1111                                                                                                <fo:table-cell>
1112                                                                                                        <fo:block>
1113                                                                                                                <xfd:field xpath="witsml:mdTop"/>
1114                                                                                                        </fo:block>
1115                                                                                                </fo:table-cell>
1116                                                                                                <fo:table-cell>
1117                                                                                                        <fo:block>
1118                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
1119                                                                                                        </fo:block>
1120                                                                                                </fo:table-cell>
1121                                                                                                <fo:table-cell>
1122                                                                                                        <fo:block>
1123                                                                                                                <xfd:field xpath="witsml:casing_liner_tubing_run/witsml:description"/>
1124                                                                                                        </fo:block>
1125                                                                                                </fo:table-cell>
1126                                                                                        </xfd:table-row-repeat>
1127                                                                                </fo:table-body>
1128                                                                        </fo:table> </fo:block>
1129                                                        </fo:table-cell>
1130                                                </fo:table-row>
1131                                        </fo:table-body>
1132                                </fo:table>
1133                        </fo:block>
1134<!-- Cement info -->
1135                        <fo:block break-before="page">
1136                                <xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:cementStage">
1137                                        <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1138                                        <fo:leader/>
1139                                        <fo:table>
1140                                                <fo:table-column column-width="100%"/>
1141                                                <fo:table-body>
1142                                                        <fo:table-row font-weight="bold" font-size="14pt">
1143                                                                <fo:table-cell>
1144                                                                        <fo:block>
1145                                                                        Cement information
1146                                                                </fo:block>
1147                                                                </fo:table-cell>
1148                                                        </fo:table-row>
1149                                                        <fo:table-row>
1150                                                                <fo:table-cell>
1151                                                                        <fo:block> </fo:block>
1152                                                                </fo:table-cell>
1153                                                        </fo:table-row>
1154                                                        <fo:table-row>
1155                                                                <fo:table-cell>
1156                                                                        <fo:block>
1157                                                                                <fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1158                                                                                        <fo:table-column column-width="proportional-column-width(5)" column-number="1"/>
1159                                                                                        <fo:table-column column-width="proportional-column-width(5)" column-number="2"/>
1160                                                                                        <fo:table-column column-width="proportional-column-width(6.5)" column-number="3"/>
1161                                                                                        <fo:table-column column-width="proportional-column-width(6.5)" column-number="4"/>
1162                                                                                        <fo:table-column column-width="proportional-column-width(6.5)" column-number="5"/>
1163                                                                                        <fo:table-column column-width="proportional-column-width(6)" column-number="6"/>
1164                                                                                        <fo:table-column column-width="proportional-column-width(6)" column-number="7"/>
1165                                                                                        <fo:table-column column-width="proportional-column-width(6.5)" column-number="8"/>
1166                                                                                        <fo:table-column column-width="proportional-column-width(5.5)" column-number="9"/>
1167                                                                                        <fo:table-column column-width="proportional-column-width(10)" column-number="10"/>
1168                                                                                        <fo:table-column column-width="proportional-column-width(6.5)" column-number="11"/>
1169                                                                                        <fo:table-column column-width="proportional-column-width(6.5)" column-number="12"/>
1170                                                                                        <fo:table-column column-width="proportional-column-width(8.5)" column-number="13"/>
1171                                                                                        <fo:table-column column-width="proportional-column-width(6.5)" column-number="14"/>
1172                                                                                        <fo:table-column column-width="proportional-column-width(8.5)" column-number="15"/>
1173                                                                                        <fo:table-body>
1174                                                                                                <fo:table-row font-weight="bold">
1175                                                                                                        <fo:table-cell>
1176                                                                                                                <fo:block>Start time</fo:block>
1177                                                                                                        </fo:table-cell>
1178                                                                                                        <fo:table-cell>
1179                                                                                                                <fo:block>End time</fo:block>
1180                                                                                                        </fo:table-cell>
1181                                                                                                        <fo:table-cell>
1182                                                                                                                <fo:block>Job type</fo:block>
1183                                                                                                        </fo:table-cell>
1184                                                                                                        <fo:table-cell>
1185                                                                                                                <fo:block>Casing string diameter</fo:block>
1186                                                                                                                <fo:block>
1187                                                                                                                        <xfd:field xpath="witsml:casingStrDia/@uom"/>
1188                                                                                                                </fo:block>
1189                                                                                                        </fo:table-cell>
1190                                                                                                        <fo:table-cell>
1191                                                                                                                <fo:block>Top plug used</fo:block>
1192                                                                                                        </fo:table-cell>
1193                                                                                                        <fo:table-cell>
1194                                                                                                                <fo:block>Bottom plug used</fo:block>
1195                                                                                                        </fo:table-cell>
1196                                                                                                        <fo:table-cell>
1197                                                                                                                <fo:block>Plug bumped</fo:block>
1198                                                                                                        </fo:table-cell>
1199                                                                                                        <fo:table-cell>
1200                                                                                                                <fo:block>Plug bump pressure</fo:block>
1201                                                                                                                <fo:block>
1202                                                                                                                        <xfd:field xpath="witsml:presBump/@uom"/>
1203                                                                                                                </fo:block>
1204                                                                                                        </fo:table-cell>
1205                                                                                                        <fo:table-cell>
1206                                                                                                                <fo:block>Float held</fo:block>
1207                                                                                                        </fo:table-cell>
1208                                                                                                        <fo:table-cell>
1209                                                                                                                <fo:block>Pressure release time</fo:block>
1210                                                                                                        </fo:table-cell>
1211                                                                                                        <fo:table-cell>
1212                                                                                                                <fo:block>Full returns</fo:block>
1213                                                                                                        </fo:table-cell>
1214                                                                                                        <fo:table-cell>
1215                                                                                                                <fo:block>Cement volume returns</fo:block>
1216                                                                                                                <fo:block>
1217                                                                                                                        <xfd:field xpath="witsml:volReturns/@uom"/>
1218                                                                                                                </fo:block>
1219                                                                                                        </fo:table-cell>
1220                                                                                                        <fo:table-cell>
1221                                                                                                                <fo:block>Reciprocated</fo:block>
1222                                                                                                        </fo:table-cell>
1223                                                                                                        <fo:table-cell>
1224                                                                                                                <fo:block>Rotated</fo:block>
1225                                                                                                        </fo:table-cell>
1226                                                                                                        <fo:table-cell>
1227                                                                                                                <fo:block>Comments</fo:block>
1228                                                                                                        </fo:table-cell>
1229                                                                                                </fo:table-row>
1230                                                                                                <fo:table-row>
1231                                                                                                        <fo:table-cell>
1232                                                                                                                <fo:block>
1233                                                                                                                        <xfd:field xpath="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/>
1234                                                                                                                </fo:block>
1235                                                                                                        </fo:table-cell>
1236                                                                                                        <fo:table-cell>
1237                                                                                                                <fo:block>
1238                                                                                                                        <xfd:field xpath="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/>
1239                                                                                                                </fo:block>
1240                                                                                                        </fo:table-cell>
1241                                                                                                        <fo:table-cell>
1242                                                                                                                <fo:block>
1243                                                                                                                        <xfd:field xpath="witsml:jobType"/>
1244                                                                                                                </fo:block>
1245                                                                                                        </fo:table-cell>
1246                                                                                                        <fo:table-cell>
1247                                                                                                                <fo:block>
1248                                                                                                                        <xfd:field xpath="witsml:casingStrDia"/>
1249                                                                                                                </fo:block>
1250                                                                                                        </fo:table-cell>
1251                                                                                                        <fo:table-cell>
1252                                                                                                                <fo:block>
1253                                                                                                                        <xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if>
1254                                                                                                                        <xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if>
1255                                                                                                                </fo:block>
1256                                                                                                        </fo:table-cell>
1257                                                                                                        <fo:table-cell>
1258                                                                                                                <fo:block>
1259                                                                                                                        <xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if>
1260                                                                                                                        <xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if>
1261                                                                                                                </fo:block>
1262                                                                                                        </fo:table-cell>
1263                                                                                                        <fo:table-cell>
1264                                                                                                                <fo:block>
1265                                                                                                                        <xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if>
1266                                                                                                                        <xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if>
1267                                                                                                                </fo:block>
1268                                                                                                        </fo:table-cell>
1269                                                                                                        <fo:table-cell>
1270                                                                                                                <fo:block>
1271                                                                                                                        <xfd:field xpath="witsml:presBump"/>
1272                                                                                                                </fo:block>
1273                                                                                                        </fo:table-cell>
1274                                                                                                        <fo:table-cell>
1275                                                                                                                <fo:block>
1276                                                                                                                        <xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if>
1277                                                                                                                        <xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if>
1278                                                                                                                </fo:block>
1279                                                                                                        </fo:table-cell>
1280                                                                                                        <fo:table-cell>
1281                                                                                                                <fo:block>
1282                                                                                                                        <xfd:field xpath="substring(witsml:eTimPresHeld, 0, 17)"/>
1283                                                                                                                </fo:block>
1284                                                                                                        </fo:table-cell>
1285                                                                                                        <fo:table-cell>
1286                                                                                                                <fo:block>
1287                                                                                                                        <xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if>
1288                                                                                                                        <xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if>
1289                                                                                                                </fo:block>
1290                                                                                                        </fo:table-cell>
1291                                                                                                        <fo:table-cell>
1292                                                                                                                <fo:block>
1293                                                                                                                        <xfd:field xpath="witsml:volReturns"/>
1294                                                                                                                </fo:block>
1295                                                                                                        </fo:table-cell>
1296                                                                                                        <fo:table-cell>
1297                                                                                                                <fo:block>
1298                                                                                                                        <xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if>
1299                                                                                                                        <xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if>
1300                                                                                                                </fo:block>
1301                                                                                                        </fo:table-cell>
1302                                                                                                        <fo:table-cell>
1303                                                                                                                <fo:block>
1304                                                                                                                        <xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if>
1305                                                                                                                        <xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if>
1306                                                                                                                </fo:block>
1307                                                                                                        </fo:table-cell>
1308                                                                                                        <fo:table-cell>
1309                                                                                                                <fo:block>
1310                                                                                                                        <xfd:field xpath="witsml:comments"/>
1311                                                                                                                </fo:block>
1312                                                                                                        </fo:table-cell>
1313                                                                                                </fo:table-row>
1314                                                                                        </fo:table-body>
1315                                                                                </fo:table>
1316                                                                        </fo:block>
1317                                                                </fo:table-cell>
1318                                                        </fo:table-row>
1319                                                        <fo:table-row>
1320                                                                <fo:table-cell>
1321                                                                        <fo:block/>
1322                                                                </fo:table-cell>
1323                                                        </fo:table-row>
1324                                                        <fo:table-row>
1325                                                                <fo:table-cell>
1326                                                                        <fo:block><fo:leader/></fo:block>
1327                                                                </fo:table-cell>
1328                                                        </fo:table-row>
1329                                                        <fo:table-row font-weight="bold" font-size="13pt">
1330                                                                <fo:table-cell>
1331                                                                        <fo:block>Cement Fluid Information</fo:block>
1332                                                                </fo:table-cell>
1333                                                        </fo:table-row>
1334                                                        <fo:table-row>
1335                                                                <fo:table-cell>
1336                                                                        <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1337                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
1338                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
1339                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
1340                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
1341                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
1342                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
1343                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
1344                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
1345                                                                                        <fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
1346                                                                                        <fo:table-body>
1347                                                                                                <fo:table-row font-weight="bold">
1348                                                                                                        <fo:table-cell>
1349                                                                                                                <fo:block>Fluid type</fo:block>
1350                                                                                                        </fo:table-cell>
1351                                                                                                        <fo:table-cell>
1352                                                                                                                <fo:block>Fluid Description</fo:block>
1353                                                                                                        </fo:table-cell>
1354                                                                                                        <fo:table-cell>
1355                                                                                                                <fo:block>Volume pumped</fo:block>
1356                                                                                                                <fo:block>
1357                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:volPumped/@uom"/>
1358                                                                                                                </fo:block>
1359                                                                                                        </fo:table-cell>
1360                                                                                                        <fo:table-cell>
1361                                                                                                                <fo:block>Fluid densitiy</fo:block>
1362                                                                                                                <fo:block>
1363                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:density/@uom"/>
1364                                                                                                                </fo:block>
1365                                                                                                        </fo:table-cell>
1366                                                                                                        <fo:table-cell>
1367                                                                                                                <fo:block>Yield point</fo:block>
1368                                                                                                                <fo:block>
1369                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:yp/@uom"/>
1370                                                                                                                </fo:block>
1371                                                                                                        </fo:table-cell>
1372                                                                                                        <fo:table-cell>
1373                                                                                                                <fo:block>Mix water ratio</fo:block>
1374                                                                                                                <fo:block>
1375                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:ratioMixWater/@uom"/>
1376                                                                                                                </fo:block>
1377                                                                                                        </fo:table-cell>
1378                                                                                                        <fo:table-cell>
1379                                                                                                                <fo:block>Free water</fo:block>
1380                                                                                                                <fo:block>
1381                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:pcFreeWater/@uom"/>
1382                                                                                                                </fo:block>
1383                                                                                                        </fo:table-cell>
1384                                                                                                        <fo:table-cell>
1385                                                                                                                <fo:block>Thick time</fo:block>
1386                                                                                                                <fo:block>
1387                                                                                                                        <xfd:field xpath="witsml:cementingFluid/witsml:eTimThickening/@uom"/>
1388                                                                                                                </fo:block>
1389                                                                                                        </fo:table-cell>
1390                                                                                                        <fo:table-cell>
1391                                                                                                                <fo:block>Comments</fo:block>
1392                                                                                                        </fo:table-cell>
1393                                                                                                </fo:table-row>
1394                                                                                                <xfd:table-row-repeat xpath="witsml:cementingFluid">
1395                                                                                                        <fo:table-cell>
1396                                                                                                                <fo:block>
1397                                                                                                                        <xfd:field xpath="witsml:typeFluid"/>
1398                                                                                                                </fo:block>
1399                                                                                                        </fo:table-cell>
1400                                                                                                        <fo:table-cell>
1401                                                                                                                <fo:block>
1402                                                                                                                        <xfd:field xpath="witsml:descFluid"/>
1403                                                                                                                </fo:block>
1404                                                                                                        </fo:table-cell>
1405                                                                                                        <fo:table-cell>
1406                                                                                                                <fo:block>
1407                                                                                                                        <xfd:field xpath="witsml:volPumped"/>
1408                                                                                                                </fo:block>
1409                                                                                                        </fo:table-cell>
1410                                                                                                        <fo:table-cell>
1411                                                                                                                <fo:block>
1412                                                                                                                        <xfd:field xpath="witsml:density"/>
1413                                                                                                                </fo:block>
1414                                                                                                        </fo:table-cell>
1415                                                                                                        <fo:table-cell>
1416                                                                                                                <fo:block>
1417                                                                                                                        <xfd:field xpath="witsml:yp"/>
1418                                                                                                                </fo:block>
1419                                                                                                        </fo:table-cell>
1420                                                                                                        <fo:table-cell>
1421                                                                                                                <fo:block>
1422                                                                                                                        <xfd:field xpath="witsml:ratioMixWater"/>
1423                                                                                                                </fo:block>
1424                                                                                                        </fo:table-cell>
1425                                                                                                        <fo:table-cell>
1426                                                                                                                <fo:block>
1427                                                                                                                        <xfd:field xpath="witsml:pcFreeWater"/>
1428                                                                                                                </fo:block>
1429                                                                                                        </fo:table-cell>
1430                                                                                                        <fo:table-cell>
1431                                                                                                                <fo:block>
1432                                                                                                                        <xfd:field xpath="witsml:eTimThickening"/>
1433                                                                                                                </fo:block>
1434                                                                                                        </fo:table-cell>
1435                                                                                                        <fo:table-cell>
1436                                                                                                                <fo:block>
1437                                                                                                                        <xfd:field xpath="witsml:comments"/>
1438                                                                                                                </fo:block>
1439                                                                                                        </fo:table-cell>
1440                                                                                                </xfd:table-row-repeat>
1441                                                                                                <fo:table-row>
1442                                                                                                        <fo:table-cell>
1443                                                                                                                <fo:block/>
1444                                                                                                        </fo:table-cell>
1445                                                                                                </fo:table-row>
1446                                                                                        </fo:table-body>
1447                                                                                </fo:table> </fo:block>
1448                                                                </fo:table-cell>
1449                                                        </fo:table-row>
1450                                                </fo:table-body>
1451                                        </fo:table>
1452                                </xfd:block-repeat>
1453                        </fo:block>
1454<!-- Pore pressure -->
1455                        <fo:block break-before="page">
1456                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1457                                <fo:leader/>
1458                                <xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
1459                                <xsl:variable name="url_readingKind">
1460                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
1461                                </xsl:variable>
1462                                <xsl:variable name="url_equivalentMudWeight">
1463                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
1464                                </xsl:variable>
1465                                <xsl:variable name="url_dTim">
1466                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
1467                                </xsl:variable>
1468                                <xsl:variable name="url_md">
1469                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
1470                                </xsl:variable>
1471                                <xsl:variable name="url_tvd">
1472                                        <xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
1473                                </xsl:variable>
1474                                <fo:table>
1475                                        <fo:table-column column-width="100%"/>
1476                                        <fo:table-body>
1477                                                <fo:table-row font-weight="bold" font-size="14pt">
1478                                                        <fo:table-cell>
1479                                                                <fo:block>
1480                                                                        Pore Pressure
1481                                                                </fo:block>
1482                                                        </fo:table-cell>
1483                                                </fo:table-row>
1484                                                <fo:table-row>
1485                                                        <fo:table-cell>
1486                                                                <fo:block> </fo:block>
1487                                                        </fo:table-cell>
1488                                                </fo:table-row>
1489                                                <fo:table-row>
1490                                                        <fo:table-cell>
1491                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1492                                                                                <fo:table-column column-width="proportional-column-width(15)" column-number="1"/>
1493                                                                                <fo:table-column column-width="proportional-column-width(15)" column-number="2"/>
1494                                                                                <fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
1495                                                                                <fo:table-column column-width="proportional-column-width(15)" column-number="4"/>
1496                                                                                <fo:table-column column-width="proportional-column-width(15)" column-number="5"/>
1497                                                                                <fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
1498                                                                                <fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
1499                                                                                <fo:table-column column-width="proportional-column-width(5)" column-number="8"/>
1500                                                                                <fo:table-body>
1501                                                                                        <fo:table-row font-weight="bold">
1502                                                                                                <fo:table-cell>
1503                                                                                                        <fo:block>
1504                                                                                                                <fo:basic-link external-destination="url({$url_readingKind})">Reading</fo:basic-link>
1505                                                                                                        </fo:block>
1506                                                                                                </fo:table-cell>
1507                                                                                                <fo:table-cell>
1508                                                                                                        <fo:block>
1509                                                                                                                <fo:basic-link external-destination="url({$url_equivalentMudWeight})">Equ Mud Weight</fo:basic-link>
1510                                                                                                        </fo:block>
1511                                                                                                        <fo:block>
1512                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
1513                                                                                                        </fo:block>
1514                                                                                                        <fo:block> </fo:block>
1515                                                                                                </fo:table-cell>
1516                                                                                                <fo:table-cell>
1517                                                                                                        <fo:block>
1518                                                                                                                <fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
1519                                                                                                        </fo:block>
1520                                                                                                </fo:table-cell>
1521                                                                                                <fo:table-cell>
1522                                                                                                        <fo:block>
1523                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
1524                                                                                                        </fo:block>
1525                                                                                                        <fo:block>mMD</fo:block>
1526                                                                                                </fo:table-cell>
1527                                                                                                <fo:table-cell>
1528                                                                                                        <fo:block>
1529                                                                                                                <fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
1530                                                                                                        </fo:block>
1531                                                                                                        <fo:block>mTVD</fo:block>
1532                                                                                                </fo:table-cell>
1533                                                                                                <fo:table-cell>
1534                                                                                                        <fo:block> </fo:block>
1535                                                                                                </fo:table-cell>
1536                                                                                                <fo:table-cell>
1537                                                                                                        <fo:block> </fo:block>
1538                                                                                                </fo:table-cell>
1539                                                                                                <fo:table-cell>
1540                                                                                                        <fo:block> </fo:block>
1541                                                                                                </fo:table-cell>
1542                                                                                        </fo:table-row>
1543                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure">
1544                                                                                                <fo:table-cell>
1545                                                                                                        <fo:block>
1546                                                                                                                <xfd:field xpath="witsml:readingKind"/>
1547                                                                                                        </fo:block>
1548                                                                                                </fo:table-cell>
1549                                                                                                <fo:table-cell>
1550                                                                                                        <fo:block>
1551                                                                                                                <xfd:field xpath="witsml:equivalentMudWeight"/>
1552                                                                                                        </fo:block>
1553                                                                                                </fo:table-cell>
1554                                                                                                <fo:table-cell>
1555                                                                                                        <fo:block>
1556                                                                                                                <xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
1557                                                                                                        </fo:block>
1558                                                                                                </fo:table-cell>
1559                                                                                                <fo:table-cell>
1560                                                                                                        <fo:block>
1561                                                                                                                <xfd:field xpath="witsml:md"/>
1562                                                                                                        </fo:block>
1563                                                                                                </fo:table-cell>
1564                                                                                                <fo:table-cell>
1565                                                                                                        <fo:block>
1566                                                                                                                <xfd:field xpath="witsml:tvd"/>
1567                                                                                                        </fo:block>
1568                                                                                                </fo:table-cell>
1569                                                                                                <fo:table-cell>
1570                                                                                                        <fo:block> </fo:block>
1571                                                                                                </fo:table-cell>
1572                                                                                                <fo:table-cell>
1573                                                                                                        <fo:block> </fo:block>
1574                                                                                                </fo:table-cell>
1575                                                                                                <fo:table-cell>
1576                                                                                                        <fo:block> </fo:block>
1577                                                                                                </fo:table-cell>
1578                                                                                        </xfd:table-row-repeat>
1579                                                                                </fo:table-body>
1580                                                                        </fo:table> </fo:block>
1581                                                        </fo:table-cell>
1582                                                </fo:table-row>
1583                                        </fo:table-body>
1584                                </fo:table>
1585                        </fo:block>
1586<!-- Survey Station -->
1587                        <fo:block>
1588                                <xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
1589                                <xsl:variable name="url_md">
1590                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
1591                                </xsl:variable>
1592                                <xsl:variable name="url_tvd">
1593                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
1594                                </xsl:variable>
1595                                <xsl:variable name="url_incl">
1596                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
1597                                </xsl:variable>
1598                                <xsl:variable name="url_azi">
1599                                        <xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
1600                                </xsl:variable>
1601                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1602                                <fo:leader/>
1603                                <fo:table>
1604                                        <fo:table-column column-width="100%"/>
1605                                        <fo:table-body>
1606                                                <fo:table-row font-weight="bold" font-size="14pt">
1607                                                        <fo:table-cell>
1608                                                                <fo:block>
1609                                                                        Survey Station
1610                                                                </fo:block>
1611                                                        </fo:table-cell>
1612                                                </fo:table-row>
1613                                                <fo:table-row>
1614                                                        <fo:table-cell>
1615                                                                <fo:block> </fo:block>
1616                                                        </fo:table-cell>
1617                                                </fo:table-row>
1618                                                <fo:table-row>
1619                                                        <fo:table-cell>
1620                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1621                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
1622                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
1623                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
1624                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
1625                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
1626                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
1627                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
1628                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
1629                                                                                <fo:table-body>
1630                                                                                        <fo:table-row font-weight="bold">
1631                                                                                                <fo:table-cell>
1632                                                                                                        <fo:block>
1633                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
1634                                                                                                        </fo:block>
1635                                                                                                        <fo:block>mMD</fo:block>
1636                                                                                                </fo:table-cell>
1637                                                                                                <fo:table-cell>
1638                                                                                                        <fo:block>
1639                                                                                                                <fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
1640                                                                                                        </fo:block>
1641                                                                                                        <fo:block>mTVD</fo:block>
1642                                                                                                </fo:table-cell>
1643                                                                                                <fo:table-cell>
1644                                                                                                        <fo:block>
1645                                                                                                                <fo:basic-link external-destination="url({$url_incl})">Inclination</fo:basic-link>
1646                                                                                                        </fo:block>
1647                                                                                                </fo:table-cell>
1648                                                                                                <fo:table-cell>
1649                                                                                                        <fo:block>
1650                                                                                                                <fo:basic-link external-destination="url({$url_azi})">Azimuth</fo:basic-link>
1651                                                                                                        </fo:block>
1652                                                                                                </fo:table-cell>
1653                                                                                                <fo:table-cell>
1654                                                                                                        <fo:block> </fo:block>
1655                                                                                                </fo:table-cell>
1656                                                                                                <fo:table-cell>
1657                                                                                                        <fo:block> </fo:block>
1658                                                                                                </fo:table-cell>
1659                                                                                                <fo:table-cell>
1660                                                                                                        <fo:block> </fo:block>
1661                                                                                                </fo:table-cell>
1662                                                                                                <fo:table-cell>
1663                                                                                                        <fo:block> </fo:block>
1664                                                                                                </fo:table-cell>
1665                                                                                        </fo:table-row>
1666                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:surveyStation">
1667                                                                                                <fo:table-cell>
1668                                                                                                        <fo:block>
1669                                                                                                                <xfd:field xpath="witsml:md"/>
1670                                                                                                        </fo:block>
1671                                                                                                </fo:table-cell>
1672                                                                                                <fo:table-cell>
1673                                                                                                        <fo:block>
1674                                                                                                                <xfd:field xpath="witsml:tvd"/>
1675                                                                                                        </fo:block>
1676                                                                                                </fo:table-cell>
1677                                                                                                <fo:table-cell>
1678                                                                                                        <fo:block>
1679                                                                                                                <xfd:field xpath="witsml:incl"/>
1680                                                                                                        </fo:block>
1681                                                                                                </fo:table-cell>
1682                                                                                                <fo:table-cell>
1683                                                                                                        <fo:block>
1684                                                                                                                <xfd:field xpath="witsml:azi"/>
1685                                                                                                        </fo:block>
1686                                                                                                </fo:table-cell>
1687                                                                                                <fo:table-cell>
1688                                                                                                        <fo:block> </fo:block>
1689                                                                                                </fo:table-cell>
1690                                                                                                <fo:table-cell>
1691                                                                                                        <fo:block> </fo:block>
1692                                                                                                </fo:table-cell>
1693                                                                                                <fo:table-cell>
1694                                                                                                        <fo:block> </fo:block>
1695                                                                                                </fo:table-cell>
1696                                                                                                <fo:table-cell>
1697                                                                                                        <fo:block> </fo:block>
1698                                                                                                </fo:table-cell>
1699                                                                                        </xfd:table-row-repeat>
1700                                                                                </fo:table-body>
1701                                                                        </fo:table> </fo:block>
1702                                                        </fo:table-cell>
1703                                                </fo:table-row>
1704                                        </fo:table-body>
1705                                </fo:table>
1706                        </fo:block>
1707<!-- Log Information -->
1708                        <fo:block>
1709                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1710                                <fo:leader/>
1711                                <xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
1712                                <xsl:variable name="url_serviceCompany">
1713                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
1714                                </xsl:variable>
1715                                <xsl:variable name="url_runNumber">
1716                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
1717                                </xsl:variable>
1718                                <xsl:variable name="url_mdTop">
1719                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
1720                                </xsl:variable>
1721                                <xsl:variable name="url_mdBottom">
1722                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
1723                                </xsl:variable>
1724                                <xsl:variable name="url_tool">
1725                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
1726                                </xsl:variable>
1727                                <xsl:variable name="url_tempBHCT">
1728                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
1729                                </xsl:variable>
1730                                <xsl:variable name="url_tempBHST">
1731                                        <xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
1732                                </xsl:variable>
1733                                <fo:table>
1734                                        <fo:table-column column-width="100%"/>
1735                                        <fo:table-body>
1736                                                <fo:table-row font-weight="bold" font-size="14pt">
1737                                                        <fo:table-cell>
1738                                                                <fo:block>
1739                                                                        Log Information
1740                                                                </fo:block>
1741                                                        </fo:table-cell>
1742                                                </fo:table-row>
1743                                                <fo:table-row font-weight="bold" font-size="14pt">
1744                                                        <fo:table-cell>
1745                                                                <fo:block> </fo:block>
1746                                                        </fo:table-cell>
1747                                                </fo:table-row>
1748                                                <fo:table-row>
1749                                                        <fo:table-cell>
1750                                                                <fo:block><fo:inline font-weight="bold">Logging Company:</fo:inline><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany"/></fo:block>
1751                                                        </fo:table-cell>
1752                                                </fo:table-row>
1753                                                <fo:table-row>
1754                                                        <fo:table-cell>
1755                                                                <fo:block> </fo:block>
1756                                                        </fo:table-cell>
1757                                                </fo:table-row>
1758                                                <fo:table-row>
1759                                                        <fo:table-cell>
1760                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1761                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
1762                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
1763                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
1764                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
1765                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
1766                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
1767                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
1768                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
1769                                                                                <fo:table-body>
1770                                                                                        <fo:table-row font-weight="bold">
1771                                                                                                <fo:table-cell>
1772                                                                                                        <fo:block>
1773                                                                                                                <fo:basic-link external-destination="url({$url_runNumber})">Run no</fo:basic-link>
1774                                                                                                        </fo:block>
1775                                                                                                </fo:table-cell>
1776                                                                                                <fo:table-cell>
1777                                                                                                        <fo:block>
1778                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
1779                                                                                                        </fo:block>
1780                                                                                                        <fo:block>mMD</fo:block>
1781                                                                                                </fo:table-cell>
1782                                                                                                <fo:table-cell>
1783                                                                                                        <fo:block>
1784                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
1785                                                                                                        </fo:block>
1786                                                                                                        <fo:block>mMD</fo:block>
1787                                                                                                </fo:table-cell>
1788                                                                                                <fo:table-cell>
1789                                                                                                        <fo:block>
1790                                                                                                                <fo:basic-link external-destination="url({$url_tool})">Tool</fo:basic-link>
1791                                                                                                        </fo:block>
1792                                                                                                </fo:table-cell>
1793                                                                                                <fo:table-cell>
1794                                                                                                        <fo:block>
1795                                                                                                                <fo:basic-link external-destination="url({$url_tempBHCT})">BHCT</fo:basic-link>
1796                                                                                                        </fo:block>
1797                                                                                                        <fo:block>
1798                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom"/>
1799                                                                                                        </fo:block>
1800                                                                                                </fo:table-cell>
1801                                                                                                <fo:table-cell>
1802                                                                                                        <fo:block>
1803                                                                                                                <fo:basic-link external-destination="url({$url_tempBHST})">BHST</fo:basic-link>
1804                                                                                                        </fo:block>
1805                                                                                                        <fo:block>
1806                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom"/>
1807                                                                                                        </fo:block>
1808                                                                                                </fo:table-cell>
1809                                                                                                <fo:table-cell>
1810                                                                                                        <fo:block> </fo:block>
1811                                                                                                </fo:table-cell>
1812                                                                                                <fo:table-cell>
1813                                                                                                        <fo:block> </fo:block>
1814                                                                                                </fo:table-cell>
1815                                                                                        </fo:table-row>
1816                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo">
1817                                                                                                <fo:table-cell>
1818                                                                                                        <fo:block>
1819                                                                                                                <xfd:field xpath="witsml:runNumber"/>
1820                                                                                                        </fo:block>
1821                                                                                                </fo:table-cell>
1822                                                                                                <fo:table-cell>
1823                                                                                                        <fo:block>
1824                                                                                                                <xfd:field xpath="witsml:mdTop"/>
1825                                                                                                        </fo:block>
1826                                                                                                </fo:table-cell>
1827                                                                                                <fo:table-cell>
1828                                                                                                        <fo:block>
1829                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
1830                                                                                                        </fo:block>
1831                                                                                                </fo:table-cell>
1832                                                                                                <fo:table-cell>
1833                                                                                                        <fo:block>
1834                                                                                                                <xfd:field xpath="witsml:tool"/>
1835                                                                                                        </fo:block>
1836                                                                                                </fo:table-cell>
1837                                                                                                <fo:table-cell>
1838                                                                                                        <fo:block>
1839                                                                                                                <xfd:field xpath="witsml:tempBHCT"/>
1840                                                                                                        </fo:block>
1841                                                                                                </fo:table-cell>
1842                                                                                                <fo:table-cell>
1843                                                                                                        <fo:block>
1844                                                                                                                <xfd:field xpath="witsml:tempBHST"/>
1845                                                                                                        </fo:block>
1846                                                                                                </fo:table-cell>
1847                                                                                                <fo:table-cell>
1848                                                                                                        <fo:block> </fo:block>
1849                                                                                                </fo:table-cell>
1850                                                                                                <fo:table-cell>
1851                                                                                                        <fo:block> </fo:block>
1852                                                                                                </fo:table-cell>
1853                                                                                        </xfd:table-row-repeat>
1854                                                                                </fo:table-body>
1855                                                                        </fo:table> </fo:block>
1856                                                        </fo:table-cell>
1857                                                </fo:table-row>
1858                                        </fo:table-body>
1859                                </fo:table>
1860                        </fo:block>
1861<!-- Core Information -->
1862                        <fo:block>
1863                                <xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
1864                                <xsl:variable name="url_coreNumber">
1865                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
1866                                </xsl:variable>
1867                                <xsl:variable name="url_mdTop">
1868                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
1869                                </xsl:variable>
1870                                <xsl:variable name="url_mdBottom">
1871                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
1872                                </xsl:variable>
1873                                <xsl:variable name="url_lenRecovered">
1874                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
1875                                </xsl:variable>
1876                                <xsl:variable name="url_recoverPc">
1877                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
1878                                </xsl:variable>
1879                                <xsl:variable name="url_lenBarrel">
1880                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
1881                                </xsl:variable>
1882                                <xsl:variable name="url_innerBarrelType">
1883                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
1884                                </xsl:variable>
1885                                <xsl:variable name="url_coreDescription">
1886                                        <xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
1887                                </xsl:variable>
1888                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
1889                                <fo:leader/>
1890                                <fo:table>
1891                                        <fo:table-column column-width="100%"/>
1892                                        <fo:table-body>
1893                                                <fo:table-row font-weight="bold" font-size="14pt">
1894                                                        <fo:table-cell>
1895                                                                <fo:block>
1896                                                                        Core Information
1897                                                                </fo:block>
1898                                                        </fo:table-cell>
1899                                                </fo:table-row>
1900                                                <fo:table-row>
1901                                                        <fo:table-cell>
1902                                                                <fo:block> </fo:block>
1903                                                        </fo:table-cell>
1904                                                </fo:table-row>
1905                                                <fo:table-row>
1906                                                        <fo:table-cell>
1907                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
1908                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
1909                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
1910                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
1911                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
1912                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
1913                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
1914                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
1915                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
1916                                                                                <fo:table-body>
1917                                                                                        <fo:table-row font-weight="bold">
1918                                                                                                <fo:table-cell>
1919                                                                                                        <fo:block>
1920                                                                                                                <fo:basic-link external-destination="url({$url_coreNumber})">Core no</fo:basic-link>
1921                                                                                                        </fo:block>
1922                                                                                                </fo:table-cell>
1923                                                                                                <fo:table-cell>
1924                                                                                                        <fo:block>
1925                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
1926                                                                                                        </fo:block>
1927                                                                                                        <fo:block>mMD</fo:block>
1928                                                                                                </fo:table-cell>
1929                                                                                                <fo:table-cell>
1930                                                                                                        <fo:block>
1931                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
1932                                                                                                        </fo:block>
1933                                                                                                        <fo:block>mMD</fo:block>
1934                                                                                                </fo:table-cell>
1935                                                                                                <fo:table-cell>
1936                                                                                                        <fo:block>
1937                                                                                                                <fo:basic-link external-destination="url({$url_lenRecovered})">Core length</fo:basic-link>
1938                                                                                                        </fo:block>
1939                                                                                                        <fo:block>
1940                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom"/>
1941                                                                                                        </fo:block>
1942                                                                                                </fo:table-cell>
1943                                                                                                <fo:table-cell>
1944                                                                                                        <fo:block>
1945                                                                                                                <fo:basic-link external-destination="url({$url_recoverPc})">Recover core</fo:basic-link>
1946                                                                                                        </fo:block>
1947                                                                                                        <fo:block>
1948                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom"/>
1949                                                                                                        </fo:block>
1950                                                                                                </fo:table-cell>
1951                                                                                                <fo:table-cell>
1952                                                                                                        <fo:block>
1953                                                                                                                <fo:basic-link external-destination="url({$url_lenBarrel})">Core barrel length</fo:basic-link>
1954                                                                                                        </fo:block>
1955                                                                                                        <fo:block>
1956                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom"/>
1957                                                                                                        </fo:block>
1958                                                                                                </fo:table-cell>
1959                                                                                                <fo:table-cell>
1960                                                                                                        <fo:block>
1961                                                                                                                <fo:basic-link external-destination="url({$url_innerBarrelType})">Inner barrel type</fo:basic-link>
1962                                                                                                        </fo:block>
1963                                                                                                </fo:table-cell>
1964                                                                                                <fo:table-cell>
1965                                                                                                        <fo:block>
1966                                                                                                                <fo:basic-link external-destination="url({$url_coreDescription})">Description</fo:basic-link>
1967                                                                                                        </fo:block>
1968                                                                                                </fo:table-cell>
1969                                                                                        </fo:table-row>
1970                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo">
1971                                                                                                <fo:table-cell>
1972                                                                                                        <fo:block>
1973                                                                                                                <xfd:field xpath="witsml:coreNumber"/>
1974                                                                                                        </fo:block>
1975                                                                                                </fo:table-cell>
1976                                                                                                <fo:table-cell>
1977                                                                                                        <fo:block>
1978                                                                                                                <xfd:field xpath="witsml:mdTop"/>
1979                                                                                                        </fo:block>
1980                                                                                                </fo:table-cell>
1981                                                                                                <fo:table-cell>
1982                                                                                                        <fo:block>
1983                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
1984                                                                                                        </fo:block>
1985                                                                                                </fo:table-cell>
1986                                                                                                <fo:table-cell>
1987                                                                                                        <fo:block>
1988                                                                                                                <xfd:field xpath="witsml:lenRecovered"/>
1989                                                                                                        </fo:block>
1990                                                                                                </fo:table-cell>
1991                                                                                                <fo:table-cell>
1992                                                                                                        <fo:block>
1993                                                                                                                <xfd:field xpath="witsml:recoverPc"/>
1994                                                                                                        </fo:block>
1995                                                                                                </fo:table-cell>
1996                                                                                                <fo:table-cell>
1997                                                                                                        <fo:block>
1998                                                                                                                <xfd:field xpath="witsml:lenBarrel"/>
1999                                                                                                        </fo:block>
2000                                                                                                </fo:table-cell>
2001                                                                                                <fo:table-cell>
2002                                                                                                        <fo:block>
2003                                                                                                                <xfd:field xpath="witsml:innerBarrelType"/>
2004                                                                                                        </fo:block>
2005                                                                                                </fo:table-cell>
2006                                                                                                <fo:table-cell>
2007                                                                                                        <fo:block>
2008                                                                                                                <xfd:field xpath="witsml:coreDescription"/>
2009                                                                                                        </fo:block>
2010                                                                                                </fo:table-cell>
2011                                                                                        </xfd:table-row-repeat>
2012                                                                                </fo:table-body>
2013                                                                        </fo:table> </fo:block>
2014                                                        </fo:table-cell>
2015                                                </fo:table-row>
2016                                        </fo:table-body>
2017                                </fo:table>
2018                        </fo:block>
2019<!-- Well Test Information -->
2020                        <fo:block break-before="page">
2021                                <xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
2022                                <xsl:variable name="url_dTim">
2023                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
2024                                </xsl:variable>
2025                                <xsl:variable name="url_testNumber">
2026                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
2027                                </xsl:variable>
2028                                <xsl:variable name="url_testType">
2029                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
2030                                </xsl:variable>
2031                                <xsl:variable name="url_mdTop">
2032                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
2033                                </xsl:variable>
2034                                <xsl:variable name="url_mdBottom">
2035                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
2036                                </xsl:variable>
2037                                <xsl:variable name="url_chokeOrificeSize">
2038                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
2039                                </xsl:variable>
2040                                <xsl:variable name="url_densityOil">
2041                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
2042                                </xsl:variable>
2043                                <xsl:variable name="url_flowRateOil">
2044                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
2045                                </xsl:variable>
2046                                <xsl:variable name="url_flowRateGas">
2047                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
2048                                </xsl:variable>
2049                                <xsl:variable name="url_flowRateWater">
2050                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
2051                                </xsl:variable>
2052                                <xsl:variable name="url_presShutIn">
2053                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
2054                                </xsl:variable>
2055                                <xsl:variable name="url_presFlowing">
2056                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
2057                                </xsl:variable>
2058                                <xsl:variable name="url_presBottom">
2059                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
2060                                </xsl:variable>
2061                                <xsl:variable name="url_gasOilRatio">
2062                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
2063                                </xsl:variable>
2064                                <xsl:variable name="url_waterOilRatio">
2065                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
2066                                </xsl:variable>
2067                                <xsl:variable name="url_chloride">
2068                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
2069                                </xsl:variable>
2070                                <xsl:variable name="url_carbonDioxide">
2071                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
2072                                </xsl:variable>
2073                                <xsl:variable name="url_hydrogenSulfide">
2074                                        <xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
2075                                </xsl:variable>
2076                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2077                                <fo:leader/>
2078                                <fo:table>
2079                                        <fo:table-column column-width="100%"/>
2080                                        <fo:table-body>
2081                                                <fo:table-row font-weight="bold" font-size="14pt">
2082                                                        <fo:table-cell>
2083                                                                <fo:block>
2084                                                                        Well Test Information
2085                                                                </fo:block>
2086                                                        </fo:table-cell>
2087                                                </fo:table-row>
2088                                                <fo:table-row>
2089                                                        <fo:table-cell>
2090                                                                <fo:block> </fo:block>
2091                                                        </fo:table-cell>
2092                                                </fo:table-row>
2093                                                <fo:table-row>
2094                                                        <fo:table-cell>
2095                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2096                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
2097                                                                                <fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
2098                                                                                <fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
2099                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
2100                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
2101                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
2102                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
2103                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
2104                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
2105                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
2106                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
2107                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
2108                                                                                <fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
2109                                                                                <fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
2110                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
2111                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
2112                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
2113                                                                                <fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
2114                                                                                <fo:table-body>
2115                                                                                        <fo:table-row font-weight="bold">
2116                                                                                                <fo:table-cell>
2117                                                                                                        <fo:block>
2118                                                                                                                <fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
2119                                                                                                        </fo:block>
2120                                                                                                </fo:table-cell>
2121                                                                                                <fo:table-cell>
2122                                                                                                        <fo:block>
2123                                                                                                                <fo:basic-link external-destination="url({$url_testNumber})">Test no</fo:basic-link>
2124                                                                                                        </fo:block>
2125                                                                                                </fo:table-cell>
2126                                                                                                <fo:table-cell>
2127                                                                                                        <fo:block>
2128                                                                                                                <fo:basic-link external-destination="url({$url_testType})">Type</fo:basic-link>
2129                                                                                                        </fo:block>
2130                                                                                                </fo:table-cell>
2131                                                                                                <fo:table-cell>
2132                                                                                                        <fo:block>
2133                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
2134                                                                                                        </fo:block>
2135                                                                                                        <fo:block>mMD</fo:block>
2136                                                                                                </fo:table-cell>
2137                                                                                                <fo:table-cell>
2138                                                                                                        <fo:block>
2139                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
2140                                                                                                        </fo:block>
2141                                                                                                        <fo:block>mMD</fo:block>
2142                                                                                                </fo:table-cell>
2143                                                                                                <fo:table-cell>
2144                                                                                                        <fo:block>
2145                                                                                                                <fo:basic-link external-destination="url({$url_chokeOrificeSize})">Choke orifice Size</fo:basic-link>
2146                                                                                                        </fo:block>
2147                                                                                                        <fo:block>
2148                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
2149                                                                                                        </fo:block>
2150                                                                                                </fo:table-cell>
2151                                                                                                <fo:table-cell>
2152                                                                                                        <fo:block>
2153                                                                                                                <fo:basic-link external-destination="url({$url_densityOil})">Density crude oil</fo:basic-link>
2154                                                                                                        </fo:block>
2155                                                                                                        <fo:block>
2156                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom"/>
2157                                                                                                        </fo:block>
2158                                                                                                </fo:table-cell>
2159                                                                                                <fo:table-cell>
2160                                                                                                        <fo:block>
2161                                                                                                                <fo:basic-link external-destination="url({$url_flowRateOil})">Oil flow rate</fo:basic-link>
2162                                                                                                        </fo:block>
2163                                                                                                        <fo:block>
2164                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
2165                                                                                                        </fo:block>
2166                                                                                                </fo:table-cell>
2167                                                                                                <fo:table-cell>
2168                                                                                                        <fo:block>
2169                                                                                                                <fo:basic-link external-destination="url({$url_flowRateGas})">Gas flow rate M</fo:basic-link>
2170                                                                                                        </fo:block>
2171                                                                                                        <fo:block>
2172                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
2173                                                                                                        </fo:block>
2174                                                                                                </fo:table-cell>
2175                                                                                                <fo:table-cell>
2176                                                                                                        <fo:block>
2177                                                                                                                <fo:basic-link external-destination="url({$url_flowRateWater})">Water flow rate</fo:basic-link>
2178                                                                                                        </fo:block>
2179                                                                                                        <fo:block>
2180                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
2181                                                                                                        </fo:block>
2182                                                                                                </fo:table-cell>
2183                                                                                                <fo:table-cell>
2184                                                                                                        <fo:block>
2185                                                                                                                <fo:basic-link external-destination="url({$url_presShutIn})">Shut in pressure</fo:basic-link>
2186                                                                                                        </fo:block>
2187                                                                                                        <fo:block>
2188                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom"/>
2189                                                                                                        </fo:block>
2190                                                                                                </fo:table-cell>
2191                                                                                                <fo:table-cell>
2192                                                                                                        <fo:block>
2193                                                                                                                <fo:basic-link external-destination="url({$url_presFlowing})">Flow pressure</fo:basic-link>
2194                                                                                                        </fo:block>
2195                                                                                                        <fo:block>
2196                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom"/>
2197                                                                                                        </fo:block>
2198                                                                                                </fo:table-cell>
2199                                                                                                <fo:table-cell>
2200                                                                                                        <fo:block>
2201                                                                                                                <fo:basic-link external-destination="url({$url_presBottom})">Bottom hole pressure</fo:basic-link>
2202                                                                                                        </fo:block>
2203                                                                                                        <fo:block>
2204                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom"/>
2205                                                                                                        </fo:block>
2206                                                                                                </fo:table-cell>
2207                                                                                                <fo:table-cell>
2208                                                                                                        <fo:block>
2209                                                                                                                <fo:basic-link external-destination="url({$url_gasOilRatio})">Gas oil ratio</fo:basic-link>
2210                                                                                                        </fo:block>
2211                                                                                                        <fo:block>
2212                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
2213                                                                                                        </fo:block>
2214                                                                                                </fo:table-cell>
2215                                                                                                <fo:table-cell>
2216                                                                                                        <fo:block>
2217                                                                                                                <fo:basic-link external-destination="url({$url_waterOilRatio})">Water oil ratio</fo:basic-link>
2218                                                                                                        </fo:block>
2219                                                                                                        <fo:block>
2220                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
2221                                                                                                        </fo:block>
2222                                                                                                </fo:table-cell>
2223                                                                                                <fo:table-cell>
2224                                                                                                        <fo:block>
2225                                                                                                                <fo:basic-link external-destination="url({$url_chloride})">Chloride content</fo:basic-link>
2226                                                                                                        </fo:block>
2227                                                                                                        <fo:block>
2228                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom"/>
2229                                                                                                        </fo:block>
2230                                                                                                </fo:table-cell>
2231                                                                                                <fo:table-cell>
2232                                                                                                        <fo:block>
2233                                                                                                                <fo:basic-link external-destination="url({$url_carbonDioxide})">CO2 content</fo:basic-link>
2234                                                                                                        </fo:block>
2235                                                                                                        <fo:block>
2236                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
2237                                                                                                        </fo:block>
2238                                                                                                </fo:table-cell>
2239                                                                                                <fo:table-cell>
2240                                                                                                        <fo:block>
2241                                                                                                                <fo:basic-link external-destination="url({$url_hydrogenSulfide})">H2S content</fo:basic-link>
2242                                                                                                        </fo:block>
2243                                                                                                        <fo:block>
2244                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
2245                                                                                                        </fo:block>
2246                                                                                                </fo:table-cell>
2247                                                                                        </fo:table-row>
2248                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo">
2249                                                                                                <fo:table-cell>
2250                                                                                                        <fo:block>
2251                                                                                                                <xfd:field xpath="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
2252                                                                                                        </fo:block>
2253                                                                                                </fo:table-cell>
2254                                                                                                <fo:table-cell>
2255                                                                                                        <fo:block>
2256                                                                                                                <xfd:field xpath="witsml:testNumber"/>
2257                                                                                                        </fo:block>
2258                                                                                                </fo:table-cell>
2259                                                                                                <fo:table-cell>
2260                                                                                                        <fo:block>
2261                                                                                                                <xfd:field xpath="witsml:testType"/>
2262                                                                                                        </fo:block>
2263                                                                                                </fo:table-cell>
2264                                                                                                <fo:table-cell>
2265                                                                                                        <fo:block>
2266                                                                                                                <xfd:field xpath="witsml:mdTop"/>
2267                                                                                                        </fo:block>
2268                                                                                                </fo:table-cell>
2269                                                                                                <fo:table-cell>
2270                                                                                                        <fo:block>
2271                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
2272                                                                                                        </fo:block>
2273                                                                                                </fo:table-cell>
2274                                                                                                <fo:table-cell>
2275                                                                                                        <fo:block>
2276                                                                                                                <xfd:field xpath="witsml:chokeOrificeSize"/>
2277                                                                                                        </fo:block>
2278                                                                                                </fo:table-cell>
2279                                                                                                <fo:table-cell>
2280                                                                                                        <fo:block>
2281                                                                                                                <xfd:field xpath="witsml:densityOil"/>
2282                                                                                                        </fo:block>
2283                                                                                                </fo:table-cell>
2284                                                                                                <fo:table-cell>
2285                                                                                                        <fo:block>
2286                                                                                                                <xfd:field xpath="witsml:flowRateOil"/>
2287                                                                                                        </fo:block>
2288                                                                                                </fo:table-cell>
2289                                                                                                <fo:table-cell>
2290                                                                                                        <fo:block>
2291                                                                                                                <xfd:field xpath="witsml:flowRateGas"/>
2292                                                                                                        </fo:block>
2293                                                                                                </fo:table-cell>
2294                                                                                                <fo:table-cell>
2295                                                                                                        <fo:block>
2296                                                                                                                <xfd:field xpath="witsml:flowRateWater"/>
2297                                                                                                        </fo:block>
2298                                                                                                </fo:table-cell>
2299                                                                                                <fo:table-cell>
2300                                                                                                        <fo:block>
2301                                                                                                                <xfd:field xpath="witsml:presShutIn"/>
2302                                                                                                        </fo:block>
2303                                                                                                </fo:table-cell>
2304                                                                                                <fo:table-cell>
2305                                                                                                        <fo:block>
2306                                                                                                                <xfd:field xpath="witsml:presFlowing"/>
2307                                                                                                        </fo:block>
2308                                                                                                </fo:table-cell>
2309                                                                                                <fo:table-cell>
2310                                                                                                        <fo:block>
2311                                                                                                                <xfd:field xpath="witsml:presBottom"/>
2312                                                                                                        </fo:block>
2313                                                                                                </fo:table-cell>
2314                                                                                                <fo:table-cell>
2315                                                                                                        <fo:block>
2316                                                                                                                <xfd:field xpath="witsml:gasOilRatio"/>
2317                                                                                                        </fo:block>
2318                                                                                                </fo:table-cell>
2319                                                                                                <fo:table-cell>
2320                                                                                                        <fo:block>
2321                                                                                                                <xfd:field xpath="witsml:waterOilRatio"/>
2322                                                                                                        </fo:block>
2323                                                                                                </fo:table-cell>
2324                                                                                                <fo:table-cell>
2325                                                                                                        <fo:block>
2326                                                                                                                <xfd:field xpath="witsml:chloride"/>
2327                                                                                                        </fo:block>
2328                                                                                                </fo:table-cell>
2329                                                                                                <fo:table-cell>
2330                                                                                                        <fo:block>
2331                                                                                                                <xfd:field xpath="witsml:carbonDioxide"/>
2332                                                                                                        </fo:block>
2333                                                                                                </fo:table-cell>
2334                                                                                                <fo:table-cell>
2335                                                                                                        <fo:block>
2336                                                                                                                <xfd:field xpath="witsml:hydrogenSulfide"/>
2337                                                                                                        </fo:block>
2338                                                                                                </fo:table-cell>
2339                                                                                        </xfd:table-row-repeat>
2340                                                                                </fo:table-body>
2341                                                                        </fo:table> </fo:block>
2342                                                        </fo:table-cell>
2343                                                </fo:table-row>
2344                                        </fo:table-body>
2345                                </fo:table>
2346                        </fo:block>
2347<!-- Formation Test -->
2348                        <fo:block>
2349                                <xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
2350                                <xsl:variable name="url_md">
2351                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
2352                                </xsl:variable>
2353                                <xsl:variable name="url_presPore">
2354                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
2355                                </xsl:variable>
2356                                <xsl:variable name="url_goodSealm">
2357                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
2358                                </xsl:variable>
2359                                <xsl:variable name="url_mdSample">
2360                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
2361                                </xsl:variable>
2362                                <xsl:variable name="url_dominateComponent">
2363                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
2364                                </xsl:variable>
2365                                <xsl:variable name="url_densityHC">
2366                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
2367                                </xsl:variable>
2368                                <xsl:variable name="url_volumeSample">
2369                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
2370                                </xsl:variable>
2371                                <xsl:variable name="url_description">
2372                                        <xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
2373                                </xsl:variable>
2374                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2375                                <fo:leader/>
2376                                <fo:table>
2377                                        <fo:table-column column-width="100%"/>
2378                                        <fo:table-body>
2379                                                <fo:table-row font-weight="bold" font-size="14pt">
2380                                                        <fo:table-cell>
2381                                                                <fo:block>
2382                                                                        Formation Test
2383                                                                </fo:block>
2384                                                        </fo:table-cell>
2385                                                </fo:table-row>
2386                                                <fo:table-row>
2387                                                        <fo:table-cell>
2388                                                                <fo:block> </fo:block>
2389                                                        </fo:table-cell>
2390                                                </fo:table-row>
2391                                                <fo:table-row>
2392                                                        <fo:table-cell>
2393                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2394                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
2395                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
2396                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
2397                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
2398                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
2399                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
2400                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
2401                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
2402                                                                                <fo:table-body>
2403                                                                                        <fo:table-row font-weight="bold">
2404                                                                                                <fo:table-cell>
2405                                                                                                        <fo:block>
2406                                                                                                                <fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
2407                                                                                                        </fo:block>
2408                                                                                                        <fo:block>mMD</fo:block>
2409                                                                                                </fo:table-cell>
2410                                                                                                <fo:table-cell>
2411                                                                                                        <fo:block>
2412                                                                                                                <fo:basic-link external-destination="url({$url_presPore})">Formation pore pressure</fo:basic-link>
2413                                                                                                        </fo:block>
2414                                                                                                        <fo:block>
2415                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom"/>
2416                                                                                                        </fo:block>
2417                                                                                                </fo:table-cell>
2418                                                                                                <fo:table-cell>
2419                                                                                                        <fo:block>
2420                                                                                                                <fo:basic-link external-destination="url({$url_goodSealm})">Good seal ind</fo:basic-link>
2421                                                                                                        </fo:block>
2422                                                                                                </fo:table-cell>
2423                                                                                                <fo:table-cell>
2424                                                                                                        <fo:block>
2425                                                                                                                <fo:basic-link external-destination="url({$url_mdSample})">Depth to sample point</fo:basic-link>
2426                                                                                                        </fo:block>
2427                                                                                                        <fo:block>
2428                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom"/>
2429                                                                                                        </fo:block>
2430                                                                                                </fo:table-cell>
2431                                                                                                <fo:table-cell>
2432                                                                                                        <fo:block>
2433                                                                                                                <fo:basic-link external-destination="url({$url_dominateComponent})">Dominate fluid component</fo:basic-link>
2434                                                                                                        </fo:block>
2435                                                                                                </fo:table-cell>
2436                                                                                                <fo:table-cell>
2437                                                                                                        <fo:block>
2438                                                                                                                <fo:basic-link external-destination="url({$url_densityHC})">HC Component density</fo:basic-link>
2439                                                                                                        </fo:block>
2440                                                                                                        <fo:block>
2441                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom"/>
2442                                                                                                        </fo:block>
2443                                                                                                </fo:table-cell>
2444                                                                                                <fo:table-cell>
2445                                                                                                        <fo:block>
2446                                                                                                                <fo:basic-link external-destination="url({$url_volumeSample})">Sample volume</fo:basic-link>
2447                                                                                                        </fo:block>
2448                                                                                                        <fo:block>
2449                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom"/>
2450                                                                                                        </fo:block>
2451                                                                                                </fo:table-cell>
2452                                                                                                <fo:table-cell>
2453                                                                                                        <fo:block>
2454                                                                                                                <fo:basic-link external-destination="url({$url_description})">Description</fo:basic-link>
2455                                                                                                        </fo:block>
2456                                                                                                </fo:table-cell>
2457                                                                                        </fo:table-row>
2458                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo">
2459                                                                                                <fo:table-cell>
2460                                                                                                        <fo:block>
2461                                                                                                                <xfd:field xpath="witsml:md"/>
2462                                                                                                        </fo:block>
2463                                                                                                </fo:table-cell>
2464                                                                                                <fo:table-cell>
2465                                                                                                        <fo:block>
2466                                                                                                                <xfd:field xpath="witsml:presPore"/>
2467                                                                                                        </fo:block>
2468                                                                                                </fo:table-cell>
2469                                                                                                <fo:table-cell>
2470                                                                                                        <fo:block>
2471                                                                                                                <xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if>
2472                                                                                                                <xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if>
2473                                                                                                        </fo:block>
2474                                                                                                </fo:table-cell>
2475                                                                                                <fo:table-cell>
2476                                                                                                        <fo:block>
2477                                                                                                                <xfd:field xpath="witsml:mdSample"/>
2478                                                                                                        </fo:block>
2479                                                                                                </fo:table-cell>
2480                                                                                                <fo:table-cell>
2481                                                                                                        <fo:block>
2482                                                                                                                <xfd:field xpath="witsml:dominateComponent"/>
2483                                                                                                        </fo:block>
2484                                                                                                </fo:table-cell>
2485                                                                                                <fo:table-cell>
2486                                                                                                        <fo:block>
2487                                                                                                                <xfd:field xpath="witsml:densityHC"/>
2488                                                                                                        </fo:block>
2489                                                                                                </fo:table-cell>
2490                                                                                                <fo:table-cell>
2491                                                                                                        <fo:block>
2492                                                                                                                <xfd:field xpath="witsml:volumeSample"/>
2493                                                                                                        </fo:block>
2494                                                                                                </fo:table-cell>
2495                                                                                                <fo:table-cell>
2496                                                                                                        <fo:block>
2497                                                                                                                <xfd:field xpath="witsml:description"/>
2498                                                                                                        </fo:block>
2499                                                                                                </fo:table-cell>
2500                                                                                        </xfd:table-row-repeat>
2501                                                                                </fo:table-body>
2502                                                                        </fo:table> </fo:block>
2503                                                        </fo:table-cell>
2504                                                </fo:table-row>
2505                                        </fo:table-body>
2506                                </fo:table>
2507                        </fo:block>
2508<!-- Stratigraphic Information -->
2509                        <fo:block break-before="page">
2510                                <xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
2511                                <xsl:variable name="url_mdTop">
2512                                        <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
2513                                </xsl:variable>
2514                                <xsl:variable name="url_tvdTop">
2515                                        <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
2516                                </xsl:variable>
2517                                <xsl:variable name="url_description">
2518                                        <xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
2519                                </xsl:variable>
2520                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2521                                <fo:leader/>
2522                                <fo:table>
2523                                        <fo:table-column column-width="100%"/>
2524                                        <fo:table-body>
2525                                                <fo:table-row font-weight="bold" font-size="14pt">
2526                                                        <fo:table-cell>
2527                                                                <fo:block>
2528                                                                        Stratigraphic Information
2529                                                                </fo:block>
2530                                                        </fo:table-cell>
2531                                                </fo:table-row>
2532                                                <fo:table-row>
2533                                                        <fo:table-cell>
2534                                                                <fo:block> </fo:block>
2535                                                        </fo:table-cell>
2536                                                </fo:table-row>
2537                                                <fo:table-row>
2538                                                        <fo:table-cell>
2539                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2540                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
2541                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
2542                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
2543                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
2544                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
2545                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
2546                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
2547                                                                                <fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
2548                                                                                <fo:table-body>
2549                                                                                        <fo:table-row font-weight="bold" height="29.680px" overflow="hidden">
2550                                                                                                <fo:table-cell>
2551                                                                                                        <fo:block>
2552                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth to top of formation</fo:basic-link>
2553                                                                                                        </fo:block>
2554                                                                                                        <fo:block>mMD</fo:block>
2555                                                                                                </fo:table-cell>
2556                                                                                                <fo:table-cell>
2557                                                                                                        <fo:block>
2558                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Depth to top of formation</fo:basic-link>
2559                                                                                                        </fo:block>
2560                                                                                                        <fo:block>mTVD</fo:block>
2561                                                                                                </fo:table-cell>
2562                                                                                                <fo:table-cell>
2563                                                                                                        <fo:block>
2564                                                                                                                <fo:basic-link external-destination="url({$url_description})">Formation name</fo:basic-link>
2565                                                                                                        </fo:block>
2566                                                                                                </fo:table-cell>
2567                                                                                                <fo:table-cell>
2568                                                                                                        <fo:block> </fo:block>
2569                                                                                                </fo:table-cell>
2570                                                                                                <fo:table-cell>
2571                                                                                                        <fo:block> </fo:block>
2572                                                                                                </fo:table-cell>
2573                                                                                                <fo:table-cell>
2574                                                                                                        <fo:block> </fo:block>
2575                                                                                                </fo:table-cell>
2576                                                                                                <fo:table-cell>
2577                                                                                                        <fo:block> </fo:block>
2578                                                                                                </fo:table-cell>
2579                                                                                                <fo:table-cell>
2580                                                                                                        <fo:block> </fo:block>
2581                                                                                                </fo:table-cell>
2582                                                                                        </fo:table-row>
2583                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:stratInfo">
2584                                                                                                <fo:table-cell>
2585                                                                                                        <fo:block>
2586                                                                                                                <xfd:field xpath="witsml:mdTop"/>
2587                                                                                                        </fo:block>
2588                                                                                                </fo:table-cell>
2589                                                                                                <fo:table-cell>
2590                                                                                                        <fo:block>
2591                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
2592                                                                                                        </fo:block>
2593                                                                                                </fo:table-cell>
2594                                                                                                <fo:table-cell>
2595                                                                                                        <fo:block>
2596                                                                                                                <xfd:field xpath="witsml:description"/>
2597                                                                                                        </fo:block>
2598                                                                                                </fo:table-cell>
2599                                                                                                <fo:table-cell>
2600                                                                                                        <fo:block> </fo:block>
2601                                                                                                </fo:table-cell>
2602                                                                                                <fo:table-cell>
2603                                                                                                        <fo:block> </fo:block>
2604                                                                                                </fo:table-cell>
2605                                                                                                <fo:table-cell>
2606                                                                                                        <fo:block> </fo:block>
2607                                                                                                </fo:table-cell>
2608                                                                                                <fo:table-cell>
2609                                                                                                        <fo:block> </fo:block>
2610                                                                                                </fo:table-cell>
2611                                                                                                <fo:table-cell>
2612                                                                                                        <fo:block> </fo:block>
2613                                                                                                </fo:table-cell>
2614                                                                                        </xfd:table-row-repeat>
2615                                                                                </fo:table-body>
2616                                                                        </fo:table> </fo:block>
2617                                                        </fo:table-cell>
2618                                                </fo:table-row>
2619                                        </fo:table-body>
2620                                </fo:table>
2621                        </fo:block>
2622<!-- Lithology Information -->
2623                        <fo:block>
2624                                <xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
2625                                <xsl:variable name="url_mdTop">
2626                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
2627                                </xsl:variable>
2628                                <xsl:variable name="url_mdBottom">
2629                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
2630                                </xsl:variable>
2631                                <xsl:variable name="url_tvdTop">
2632                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
2633                                </xsl:variable>
2634                                <xsl:variable name="url_tvdBottom">
2635                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
2636                                </xsl:variable>
2637                                <xsl:variable name="url_show">
2638                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
2639                                </xsl:variable>
2640                                <xsl:variable name="url_lithology">
2641                                        <xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
2642                                </xsl:variable>
2643                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2644                                <fo:leader/>
2645                                <fo:table>
2646                                        <fo:table-column column-width="100%"/>
2647                                        <fo:table-body>
2648                                                <fo:table-row font-weight="bold" font-size="14pt">
2649                                                        <fo:table-cell>
2650                                                                <fo:block>
2651                                                                        Lithology Information
2652                                                                </fo:block>
2653                                                        </fo:table-cell>
2654                                                </fo:table-row>
2655                                                <fo:table-row>
2656                                                        <fo:table-cell>
2657                                                                <fo:block> </fo:block>
2658                                                        </fo:table-cell>
2659                                                </fo:table-row>
2660                                                <fo:table-row>
2661                                                        <fo:table-cell>
2662                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2663                                                                                <fo:table-column column-width="proportional-column-width(9)" column-number="1"/>
2664                                                                                <fo:table-column column-width="proportional-column-width(9)" column-number="2"/>
2665                                                                                <fo:table-column column-width="proportional-column-width(9)" column-number="3"/>
2666                                                                                <fo:table-column column-width="proportional-column-width(9)" column-number="4"/>
2667                                                                                <fo:table-column column-width="proportional-column-width(9)" column-number="5"/>
2668                                                                                <fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
2669                                                                                <fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
2670                                                                                <fo:table-column column-width="proportional-column-width(35)" column-number="8"/>
2671                                                                                <fo:table-body>
2672                                                                                        <fo:table-row font-weight="bold">
2673                                                                                                <fo:table-cell>
2674                                                                                                        <fo:block>
2675                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Start Depth</fo:basic-link>
2676                                                                                                        </fo:block>
2677                                                                                                        <fo:block>mMD</fo:block>
2678                                                                                                </fo:table-cell>
2679                                                                                                <fo:table-cell>
2680                                                                                                        <fo:block>
2681                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">End Depth</fo:basic-link>
2682                                                                                                        </fo:block>
2683                                                                                                        <fo:block>mMD</fo:block>
2684                                                                                                </fo:table-cell>
2685                                                                                                <fo:table-cell>
2686                                                                                                        <fo:block>
2687                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Difference in Depth</fo:basic-link>
2688                                                                                                        </fo:block>
2689                                                                                                        <fo:block>mMD</fo:block>
2690                                                                                                </fo:table-cell>
2691                                                                                                <fo:table-cell>
2692                                                                                                        <fo:block>
2693                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Start Depth</fo:basic-link>
2694                                                                                                        </fo:block>
2695                                                                                                        <fo:block>mTVD</fo:block>
2696                                                                                                </fo:table-cell>
2697                                                                                                <fo:table-cell>
2698                                                                                                        <fo:block>
2699                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">End Depth</fo:basic-link>
2700                                                                                                        </fo:block>
2701                                                                                                        <fo:block>mTVD</fo:block>
2702                                                                                                </fo:table-cell>
2703                                                                                                <fo:table-cell>
2704                                                                                                        <fo:block>
2705                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">Difference in Depth</fo:basic-link>
2706                                                                                                        </fo:block>
2707                                                                                                        <fo:block>mTVD</fo:block>
2708                                                                                                </fo:table-cell>
2709                                                                                                <fo:table-cell>
2710                                                                                                        <fo:block>
2711                                                                                                                <fo:basic-link external-destination="url({$url_show})">Shows Description</fo:basic-link>
2712                                                                                                        </fo:block>
2713                                                                                                </fo:table-cell>
2714                                                                                                <fo:table-cell>
2715                                                                                                        <fo:block>
2716                                                                                                                <fo:basic-link external-destination="url({$url_lithology})">Lithology Description</fo:basic-link>
2717                                                                                                        </fo:block>
2718                                                                                                </fo:table-cell>
2719                                                                                        </fo:table-row>
2720                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:lithShowInfo">
2721                                                                                                <fo:table-cell>
2722                                                                                                        <fo:block>
2723                                                                                                                <xfd:field xpath="witsml:mdTop"/>
2724                                                                                                        </fo:block>
2725                                                                                                </fo:table-cell>
2726                                                                                                <fo:table-cell>
2727                                                                                                        <fo:block>
2728                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
2729                                                                                                        </fo:block>
2730                                                                                                </fo:table-cell>
2731                                                                                                <fo:table-cell>
2732                                                                                                        <fo:block>
2733                                                                                                                <xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
2734                                                                                                        </fo:block>
2735                                                                                                </fo:table-cell>
2736                                                                                                <fo:table-cell>
2737                                                                                                        <fo:block>
2738                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
2739                                                                                                        </fo:block>
2740                                                                                                </fo:table-cell>
2741                                                                                                <fo:table-cell>
2742                                                                                                        <fo:block>
2743                                                                                                                <xfd:field xpath="witsml:tvdBottom"/>
2744                                                                                                        </fo:block>
2745                                                                                                </fo:table-cell>
2746                                                                                                <fo:table-cell>
2747                                                                                                        <fo:block>
2748                                                                                                                <xfd:field xpath="witsml:tvdBottom - witsml:tvdTop"/>
2749                                                                                                        </fo:block>
2750                                                                                                </fo:table-cell>
2751                                                                                                <fo:table-cell>
2752                                                                                                        <fo:block>
2753                                                                                                                <xfd:field xpath="witsml:show"/>
2754                                                                                                        </fo:block>
2755                                                                                                </fo:table-cell>
2756                                                                                                <fo:table-cell>
2757                                                                                                        <fo:block>
2758                                                                                                                <xfd:field xpath="witsml:lithology"/>
2759                                                                                                        </fo:block>
2760                                                                                                </fo:table-cell>
2761                                                                                        </xfd:table-row-repeat>
2762                                                                                </fo:table-body>
2763                                                                        </fo:table> </fo:block>
2764                                                        </fo:table-cell>
2765                                                </fo:table-row>
2766                                        </fo:table-body>
2767                                </fo:table>
2768                        </fo:block>
2769<!-- Well Control Incident -->
2770                <fo:block break-before="page">
2771                        <xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:controlIncidentInfo">
2772                                <fo:block>
2773                                        <xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
2774                                        <xsl:variable name="url_dTim">
2775                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
2776                                        </xsl:variable>
2777                                        <xsl:variable name="url_mdInflow">
2778                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
2779                                        </xsl:variable>
2780                                        <xsl:variable name="url_tvdInflow">
2781                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
2782                                        </xsl:variable>
2783                                        <xsl:variable name="url_eTimLost">
2784                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
2785                                        </xsl:variable>
2786                                        <xsl:variable name="url_dTimRegained">
2787                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
2788                                        </xsl:variable>
2789                                        <xsl:variable name="url_mdBit">
2790                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
2791                                        </xsl:variable>
2792                                        <xsl:variable name="url_wtMud">
2793                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
2794                                        </xsl:variable>
2795                                        <xsl:variable name="url_porePressure">
2796                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
2797                                        </xsl:variable>
2798                                        <xsl:variable name="url_mdCsgLast">
2799                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
2800                                        </xsl:variable>
2801                                        <xsl:variable name="url_volMudGained">
2802                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
2803                                        </xsl:variable>
2804                                        <xsl:variable name="url_presShutInCasing">
2805                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
2806                                        </xsl:variable>
2807                                        <xsl:variable name="url_presShutInDrill">
2808                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
2809                                        </xsl:variable>
2810                                        <xsl:variable name="url_incidentType">
2811                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
2812                                        </xsl:variable>
2813                                        <xsl:variable name="url_killingType">
2814                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
2815                                        </xsl:variable>
2816                                        <xsl:variable name="url_formation">
2817                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
2818                                        </xsl:variable>
2819                                        <xsl:variable name="url_tempBottom">
2820                                                <xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
2821                                        </xsl:variable>
2822                                        <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
2823                                        <fo:leader/>
2824                                        <fo:table>
2825                                                <fo:table-column column-width="100%"/>
2826                                                <fo:table-body>
2827                                                        <fo:table-row font-weight="bold" font-size="14pt">
2828                                                                <fo:table-cell>
2829                                                                        <fo:block>
2830                                                                        Well Control Incident
2831                                                                </fo:block>
2832                                                                </fo:table-cell>
2833                                                        </fo:table-row>
2834                                                        <fo:table-row height="13.840px" overflow="hidden">
2835                                                                <fo:table-cell>
2836                                                                        <fo:block> </fo:block>
2837                                                                </fo:table-cell>
2838                                                        </fo:table-row>
2839                                                        <fo:table-row>
2840                                                                <fo:table-cell>
2841                                                                        <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
2842                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
2843                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
2844                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
2845                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
2846                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
2847                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
2848                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
2849                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
2850                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
2851                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
2852                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
2853                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
2854                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
2855                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
2856                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
2857                                                                                        <fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
2858                                                                                        <fo:table-body>
2859                                                                                                <fo:table-row font-weight="bold">
2860                                                                                                        <fo:table-cell>
2861                                                                                                                <fo:block>
2862                                                                                                                        <fo:basic-link external-destination="url({$url_dTim})">Date</fo:basic-link>
2863                                                                                                                </fo:block>
2864                                                                                                        </fo:table-cell>
2865                                                                                                        <fo:table-cell>
2866                                                                                                                <fo:block>
2867                                                                                                                        <fo:basic-link external-destination="url({$url_mdInflow})">Depth of well</fo:basic-link>
2868                                                                                                                        <fo:block>mMD</fo:block>
2869                                                                                                                </fo:block>
2870                                                                                                        </fo:table-cell>
2871                                                                                                        <fo:table-cell>
2872                                                                                                                <fo:block>
2873                                                                                                                        <fo:basic-link external-destination="url({$url_tvdInflow})">Depth of well mTVD</fo:basic-link>
2874                                                                                                                </fo:block>
2875                                                                                                        </fo:table-cell>
2876                                                                                                        <fo:table-cell>
2877                                                                                                                <fo:block>
2878                                                                                                                        <fo:basic-link external-destination="url({$url_eTimLost})">Lost time</fo:basic-link>
2879                                                                                                                </fo:block>
2880                                                                                                                <fo:block>
2881                                                                                                                        <xfd:field xpath="witsml:eTimLost/@uom"/>
2882                                                                                                                </fo:block>
2883                                                                                                        </fo:table-cell>
2884                                                                                                        <fo:table-cell>
2885                                                                                                                <fo:block>
2886                                                                                                                        <fo:basic-link external-destination="url({$url_dTimRegained})">Time for well control regain</fo:basic-link>
2887                                                                                                                </fo:block>
2888                                                                                                        </fo:table-cell>
2889                                                                                                        <fo:table-cell>
2890                                                                                                                <fo:block>
2891                                                                                                                        <fo:basic-link external-destination="url({$url_mdBit})">Depth at bit</fo:basic-link>
2892                                                                                                                        <fo:block>mMD</fo:block>
2893                                                                                                                </fo:block>
2894                                                                                                        </fo:table-cell>
2895                                                                                                        <fo:table-cell>
2896                                                                                                                <fo:block>
2897                                                                                                                        <fo:basic-link external-destination="url({$url_wtMud})">Drilling fluid density</fo:basic-link>
2898                                                                                                                </fo:block>
2899                                                                                                                <fo:block>
2900                                                                                                                        <xfd:field xpath="witsml:wtMud/@uom"/>
2901                                                                                                                </fo:block>
2902                                                                                                        </fo:table-cell>
2903                                                                                                        <fo:table-cell>
2904                                                                                                                <fo:block>
2905                                                                                                                        <fo:basic-link external-destination="url({$url_porePressure})">Pore pressure</fo:basic-link>
2906                                                                                                                </fo:block>
2907                                                                                                                <fo:block>
2908                                                                                                                        <xfd:field xpath="witsml:porePressure/@uom"/>
2909                                                                                                                </fo:block>
2910                                                                                                        </fo:table-cell>
2911                                                                                                        <fo:table-cell>
2912                                                                                                                <fo:block>
2913                                                                                                                        <fo:basic-link external-destination="url({$url_mdCsgLast})">Depth to casing</fo:basic-link>
2914                                                                                                                </fo:block>
2915                                                                                                                <fo:block>mMD</fo:block>
2916                                                                                                        </fo:table-cell>
2917                                                                                                        <fo:table-cell>
2918                                                                                                                <fo:block>
2919                                                                                                                        <fo:basic-link external-destination="url({$url_volMudGained})">Gained vol of Fluid</fo:basic-link>
2920                                                                                                                </fo:block>
2921                                                                                                                <fo:block>
2922                                                                                                                        <xfd:field xpath="witsml:volMudGain/@uom"/>
2923                                                                                                                </fo:block>
2924                                                                                                        </fo:table-cell>
2925                                                                                                        <fo:table-cell>
2926                                                                                                                <fo:block>
2927                                                                                                                        <fo:basic-link external-destination="url({$url_presShutInCasing})">Shut in casing pressure</fo:basic-link>
2928                                                                                                                </fo:block>
2929                                                                                                                <fo:block>
2930                                                                                                                        <xfd:field xpath="witsml:presShutInCasing/@uom"/>
2931                                                                                                                </fo:block>
2932                                                                                                        </fo:table-cell>
2933                                                                                                        <fo:table-cell>
2934                                                                                                                <fo:block>
2935                                                                                                                        <fo:basic-link external-destination="url({$url_presShutInDrill})">Shut in drill pipe pressure</fo:basic-link>
2936                                                                                                                </fo:block>
2937                                                                                                                <fo:block>
2938                                                                                                                        <xfd:field xpath="witsml:presShutInDrill/@uom"/>
2939                                                                                                                </fo:block>
2940                                                                                                        </fo:table-cell>
2941                                                                                                        <fo:table-cell>
2942                                                                                                                <fo:block>
2943                                                                                                                        <fo:basic-link external-destination="url({$url_incidentType})">Incident class</fo:basic-link>
2944                                                                                                                </fo:block>
2945                                                                                                        </fo:table-cell>
2946                                                                                                        <fo:table-cell>
2947                                                                                                                <fo:block>
2948                                                                                                                        <fo:basic-link external-destination="url({$url_killingType})">Killing procd</fo:basic-link>
2949                                                                                                                </fo:block>
2950                                                                                                        </fo:table-cell>
2951                                                                                                        <fo:table-cell>
2952                                                                                                                <fo:block>
2953                                                                                                                        <fo:basic-link external-destination="url({$url_formation})">Formation</fo:basic-link>
2954                                                                                                                </fo:block>
2955                                                                                                        </fo:table-cell>
2956                                                                                                        <fo:table-cell>
2957                                                                                                                <fo:block>
2958                                                                                                                        <fo:basic-link external-destination="url({$url_tempBottom})">BHT</fo:basic-link>
2959                                                                                                                </fo:block>
2960                                                                                                        </fo:table-cell>
2961                                                                                                </fo:table-row>
2962                                                                                                <fo:table-row>
2963                                                                                                        <fo:table-cell>
2964                                                                                                                <fo:block>
2965                                                                                                                        <xfd:field xpath="substring-before(witsml:dTim, 'T')"/>
2966                                                                                                                </fo:block>
2967                                                                                                        </fo:table-cell>
2968                                                                                                        <fo:table-cell>
2969                                                                                                                <fo:block>
2970                                                                                                                        <xfd:field xpath="witsml:mdInflow"/>
2971                                                                                                                </fo:block>
2972                                                                                                        </fo:table-cell>
2973                                                                                                        <fo:table-cell>
2974                                                                                                                <fo:block>
2975                                                                                                                        <xfd:field xpath="witsml:tvdInFlow"/>
2976                                                                                                                </fo:block>
2977                                                                                                        </fo:table-cell>
2978                                                                                                        <fo:table-cell>
2979                                                                                                                <fo:block>
2980                                                                                                                        <xfd:field xpath="witsml:eTimLost"/>
2981                                                                                                                </fo:block>
2982                                                                                                        </fo:table-cell>
2983                                                                                                        <fo:table-cell>
2984                                                                                                                <fo:block>
2985                                                                                                                        <xfd:field xpath="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
2986                                                                                                                </fo:block>
2987                                                                                                        </fo:table-cell>
2988                                                                                                        <fo:table-cell>
2989                                                                                                                <fo:block>
2990                                                                                                                        <xfd:field xpath="witsml:mdBit"/>
2991                                                                                                                </fo:block>
2992                                                                                                        </fo:table-cell>
2993                                                                                                        <fo:table-cell>
2994                                                                                                                <fo:block>
2995                                                                                                                        <xfd:field xpath="witsml:wtMud"/>
2996                                                                                                                </fo:block>
2997                                                                                                        </fo:table-cell>
2998                                                                                                        <fo:table-cell>
2999                                                                                                                <fo:block>
3000                                                                                                                        <xfd:field xpath="witsml:porePressure"/>
3001                                                                                                                </fo:block>
3002                                                                                                        </fo:table-cell>
3003                                                                                                        <fo:table-cell>
3004                                                                                                                <fo:block>
3005                                                                                                                        <xfd:field xpath="witsml:mdCsgLast"/>
3006                                                                                                                </fo:block>
3007                                                                                                        </fo:table-cell>
3008                                                                                                        <fo:table-cell>
3009                                                                                                                <fo:block>
3010                                                                                                                        <xfd:field xpath="witsml:volMudGained"/>
3011                                                                                                                </fo:block>
3012                                                                                                        </fo:table-cell>
3013                                                                                                        <fo:table-cell>
3014                                                                                                                <fo:block>
3015                                                                                                                        <xfd:field xpath="witsml:presShutInCasing"/>
3016                                                                                                                </fo:block>
3017                                                                                                        </fo:table-cell>
3018                                                                                                        <fo:table-cell>
3019                                                                                                                <fo:block>
3020                                                                                                                        <xfd:field xpath="witsml:presShutInDrill"/>
3021                                                                                                                </fo:block>
3022                                                                                                        </fo:table-cell>
3023                                                                                                        <fo:table-cell>
3024                                                                                                                <fo:block>
3025                                                                                                                        <xfd:field xpath="witsml:incidentType"/>
3026                                                                                                                </fo:block>
3027                                                                                                        </fo:table-cell>
3028                                                                                                        <fo:table-cell>
3029                                                                                                                <fo:block>
3030                                                                                                                        <xfd:field xpath="witsml:killingType"/>
3031                                                                                                                </fo:block>
3032                                                                                                        </fo:table-cell>
3033                                                                                                        <fo:table-cell>
3034                                                                                                                <fo:block>
3035                                                                                                                        <xfd:field xpath="witsml:formation"/>
3036                                                                                                                </fo:block>
3037                                                                                                        </fo:table-cell>
3038                                                                                                        <fo:table-cell>
3039                                                                                                                <fo:block>
3040                                                                                                                        <xfd:field xpath="witsml:tempBottom"/>
3041                                                                                                                </fo:block>
3042                                                                                                        </fo:table-cell>
3043                                                                                                </fo:table-row>
3044                                                                                        </fo:table-body>
3045                                                                                </fo:table><fo:table>
3046                                                                                        <fo:table-body>
3047                                                                                                <fo:table-row>
3048                                                                                                        <fo:table-cell>
3049                                                                                                                <fo:block> </fo:block>
3050                                                                                                        </fo:table-cell>
3051                                                                                                </fo:table-row>
3052                                                                                                <fo:table-row>
3053                                                                                                        <fo:table-cell>
3054                                                                                                                <fo:block>
3055                                                                                                                        <xfd:field xpath="witsml:description"/>
3056                                                                                                                </fo:block>
3057                                                                                                        </fo:table-cell>
3058                                                                                                </fo:table-row>
3059                                                                                        </fo:table-body>
3060                                                                                </fo:table> </fo:block>
3061                                                                </fo:table-cell>
3062                                                        </fo:table-row>
3063                                                </fo:table-body>
3064                                        </fo:table>
3065                                </fo:block>
3066                        </xfd:block-repeat>
3067                </fo:block>
3068<!-- Perforation Information -->
3069                        <fo:block break-before="page">
3070                                <xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
3071                                <xsl:variable name="url_dTimOpen">
3072                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
3073                                </xsl:variable>
3074                                <xsl:variable name="url_dTimClose">
3075                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
3076                                </xsl:variable>
3077                                <xsl:variable name="url_mdTop">
3078                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
3079                                </xsl:variable>
3080                                <xsl:variable name="url_mdBottom">
3081                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
3082                                </xsl:variable>
3083                                <xsl:variable name="url_tvdTop">
3084                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
3085                                </xsl:variable>
3086                                <xsl:variable name="url_tvdBottom">
3087                                        <xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
3088                                </xsl:variable>
3089                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
3090                                <fo:leader/>
3091                                <fo:table>
3092                                        <fo:table-column column-width="100%"/>
3093                                        <fo:table-body>
3094                                                <fo:table-row font-weight="bold" font-size="14pt">
3095                                                        <fo:table-cell>
3096                                                                <fo:block>
3097                                                                        Perforation Information
3098                                                                </fo:block>
3099                                                        </fo:table-cell>
3100                                                </fo:table-row>
3101                                                <fo:table-row>
3102                                                        <fo:table-cell>
3103                                                                <fo:block> </fo:block>
3104                                                        </fo:table-cell>
3105                                                </fo:table-row>
3106                                                <fo:table-row>
3107                                                        <fo:table-cell>
3108                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
3109                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
3110                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
3111                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
3112                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
3113                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
3114                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
3115                                                                                <fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
3116                                                                                <fo:table-body>
3117                                                                                        <fo:table-row font-weight="bold">
3118                                                                                                <fo:table-cell>
3119                                                                                                        <fo:block>
3120                                                                                                                <fo:basic-link external-destination="url({$url_dTimOpen})">Time of opening well perf</fo:basic-link>
3121                                                                                                        </fo:block>
3122                                                                                                </fo:table-cell>
3123                                                                                                <fo:table-cell>
3124                                                                                                        <fo:block>
3125                                                                                                                <fo:basic-link external-destination="url({$url_dTimClose})">Time of closing well perf</fo:basic-link>
3126                                                                                                        </fo:block>
3127                                                                                                </fo:table-cell>
3128                                                                                                <fo:table-cell>
3129                                                                                                        <fo:block>
3130                                                                                                                <fo:basic-link external-destination="url({$urlRDS})">Duration well perf</fo:basic-link>
3131                                                                                                        </fo:block>
3132                                                                                                </fo:table-cell>
3133                                                                                                <fo:table-cell>
3134                                                                                                        <fo:block>
3135                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Top of perf</fo:basic-link>
3136                                                                                                        </fo:block>
3137                                                                                                        <fo:block>mMD</fo:block>
3138                                                                                                </fo:table-cell>
3139                                                                                                <fo:table-cell>
3140                                                                                                        <fo:block>
3141                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Bottom of Perf</fo:basic-link>
3142                                                                                                        </fo:block>
3143                                                                                                        <fo:block>mMD</fo:block>
3144                                                                                                </fo:table-cell>
3145                                                                                                <fo:table-cell>
3146                                                                                                        <fo:block>
3147                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Top of perf</fo:basic-link>
3148                                                                                                        </fo:block>
3149                                                                                                        <fo:block>mTVD</fo:block>
3150                                                                                                </fo:table-cell>
3151                                                                                                <fo:table-cell>
3152                                                                                                        <fo:block>
3153                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">Bottom of Perf</fo:basic-link>
3154                                                                                                        </fo:block>
3155                                                                                                        <fo:block>mTVD</fo:block>
3156                                                                                                </fo:table-cell>
3157                                                                                        </fo:table-row>
3158                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:perfInfo">
3159                                                                                                <fo:table-cell>
3160                                                                                                        <fo:block>
3161                                                                                                                <xfd:field xpath="substring(witsml:dTimOpen, 0 ,17)"/>
3162                                                                                                        </fo:block>
3163                                                                                                </fo:table-cell>
3164                                                                                                <fo:table-cell>
3165                                                                                                        <fo:block>
3166                                                                                                                <xfd:field xpath="substring(witsml:dTimClose, 0, 17)"/>
3167                                                                                                        </fo:block>
3168                                                                                                </fo:table-cell>
3169                                                                                                <fo:table-cell>
3170                                                                                                        <fo:block><!--<xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/>-->
3171                                                                                                                duration
3172                                                                                                        </fo:block>
3173                                                                                                </fo:table-cell>
3174                                                                                                <fo:table-cell>
3175                                                                                                        <fo:block>
3176                                                                                                                <xfd:field xpath="witsml:mdTop"/>
3177                                                                                                        </fo:block>
3178                                                                                                </fo:table-cell>
3179                                                                                                <fo:table-cell>
3180                                                                                                        <fo:block>
3181                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
3182                                                                                                        </fo:block>
3183                                                                                                </fo:table-cell>
3184                                                                                                <fo:table-cell>
3185                                                                                                        <fo:block>
3186                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
3187                                                                                                        </fo:block>
3188                                                                                                </fo:table-cell>
3189                                                                                                <fo:table-cell>
3190                                                                                                        <fo:block>
3191                                                                                                                <xfd:field xpath="witsml:tvdBottom"/>
3192                                                                                                        </fo:block>
3193                                                                                                </fo:table-cell>
3194                                                                                        </xfd:table-row-repeat>
3195                                                                                </fo:table-body>
3196                                                                        </fo:table> </fo:block>
3197                                                        </fo:table-cell>
3198                                                </fo:table-row>
3199                                        </fo:table-body>
3200                                </fo:table>
3201                        </fo:block>
3202<!-- Gas Reading Information -->
3203                        <fo:block>
3204                                <xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
3205                                <xsl:variable name="url_dTim">
3206                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
3207                                </xsl:variable>
3208                                <xsl:variable name="url_readingType">
3209                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
3210                                </xsl:variable>
3211                                <xsl:variable name="url_mdTop">
3212                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
3213                                </xsl:variable>
3214                                <xsl:variable name="url_mdBottom">
3215                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
3216                                </xsl:variable>
3217                                <xsl:variable name="url_tvdTop">
3218                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
3219                                </xsl:variable>
3220                                <xsl:variable name="url_tvdBottom">
3221                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
3222                                </xsl:variable>
3223                                <xsl:variable name="url_gasHigh">
3224                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
3225                                </xsl:variable>
3226                                <xsl:variable name="url_gasLow">
3227                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
3228                                </xsl:variable>
3229                                <xsl:variable name="url_meth">
3230                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
3231                                </xsl:variable>
3232                                <xsl:variable name="url_eth">
3233                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
3234                                </xsl:variable>
3235                                <xsl:variable name="url_prop">
3236                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
3237                                </xsl:variable>
3238                                <xsl:variable name="url_ibut">
3239                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
3240                                </xsl:variable>
3241                                <xsl:variable name="url_ipent">
3242                                        <xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
3243                                </xsl:variable>
3244                                <fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
3245                                <fo:leader/>
3246                                <fo:table>
3247                                        <fo:table-column column-width="100%"/>
3248                                        <fo:table-body>
3249                                                <fo:table-row font-weight="bold" font-size="14pt">
3250                                                        <fo:table-cell>
3251                                                                <fo:block>
3252                                                                        Gas Reading Information
3253                                                                </fo:block>
3254                                                        </fo:table-cell>
3255                                                </fo:table-row>
3256                                                <fo:table-row>
3257                                                        <fo:table-cell>
3258                                                                <fo:block> </fo:block>
3259                                                        </fo:table-cell>
3260                                                </fo:table-row>
3261                                                <fo:table-row>
3262                                                        <fo:table-cell>
3263                                                                <fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
3264                                                                                <fo:table-column column-width="proportional-column-width(11)" column-number="1"/>
3265                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
3266                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
3267                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
3268                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
3269                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
3270                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
3271                                                                                <fo:table-column column-width="proportional-column-width(6.038)" column-number="8"/>
3272                                                                                <fo:table-column column-width="proportional-column-width(6.038)" column-number="9"/>
3273                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
3274                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
3275                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
3276                                                                                <fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
3277                                                                                <fo:table-body>
3278                                                                                        <fo:table-row font-weight="bold">
3279                                                                                                <fo:table-cell>
3280                                                                                                        <fo:block>
3281                                                                                                                <fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
3282                                                                                                        </fo:block>
3283                                                                                                </fo:table-cell>
3284                                                                                                <fo:table-cell>
3285                                                                                                        <fo:block>
3286                                                                                                                <fo:basic-link external-destination="url({$url_readingType})">Class</fo:basic-link>
3287                                                                                                        </fo:block>
3288                                                                                                </fo:table-cell>
3289                                                                                                <fo:table-cell>
3290                                                                                                        <fo:block>
3291                                                                                                                <fo:basic-link external-destination="url({$url_mdTop})">Depth to top</fo:basic-link>
3292                                                                                                        </fo:block>
3293                                                                                                        <fo:block>mMD</fo:block>
3294                                                                                                </fo:table-cell>
3295                                                                                                <fo:table-cell>
3296                                                                                                        <fo:block>
3297                                                                                                                <fo:basic-link external-destination="url({$url_mdBottom})">Depth to bottom</fo:basic-link>
3298                                                                                                        </fo:block>
3299                                                                                                        <fo:block>mMD</fo:block>
3300                                                                                                </fo:table-cell>
3301                                                                                                <fo:table-cell>
3302                                                                                                        <fo:block>
3303                                                                                                                <fo:basic-link external-destination="url({$url_tvdTop})">Depth to top</fo:basic-link>
3304                                                                                                        </fo:block>
3305                                                                                                        <fo:block>mTVD</fo:block>
3306                                                                                                </fo:table-cell>
3307                                                                                                <fo:table-cell>
3308                                                                                                        <fo:block>
3309                                                                                                                <fo:basic-link external-destination="url({$url_tvdBottom})">Depth to bottom</fo:basic-link>
3310                                                                                                        </fo:block>
3311                                                                                                        <fo:block>mTVD</fo:block>
3312                                                                                                </fo:table-cell>
3313                                                                                                <fo:table-cell>
3314                                                                                                        <fo:block>
3315                                                                                                                <fo:basic-link external-destination="url({$url_gasHigh})">Highest gas</fo:basic-link>
3316                                                                                                        </fo:block>
3317                                                                                                        <fo:block>
3318                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
3319                                                                                                        </fo:block>
3320                                                                                                </fo:table-cell>
3321                                                                                                <fo:table-cell>
3322                                                                                                        <fo:block>
3323                                                                                                                <fo:basic-link external-destination="url({$url_gasLow})">Lowest gas</fo:basic-link>
3324                                                                                                        </fo:block>
3325                                                                                                        <fo:block>
3326                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom"/>
3327                                                                                                        </fo:block>
3328                                                                                                </fo:table-cell>
3329                                                                                                <fo:table-cell>
3330                                                                                                        <fo:block>
3331                                                                                                                <fo:basic-link external-destination="url({$url_meth})">C1</fo:basic-link>
3332                                                                                                        </fo:block>
3333                                                                                                        <fo:block>
3334                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom"/>
3335                                                                                                        </fo:block>
3336                                                                                                </fo:table-cell>
3337                                                                                                <fo:table-cell>
3338                                                                                                        <fo:block>
3339                                                                                                                <fo:basic-link external-destination="url({$url_eth})">C2</fo:basic-link>
3340                                                                                                        </fo:block>
3341                                                                                                        <fo:block>
3342                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom"/>
3343                                                                                                        </fo:block>
3344                                                                                                </fo:table-cell>
3345                                                                                                <fo:table-cell>
3346                                                                                                        <fo:block>
3347                                                                                                                <fo:basic-link external-destination="url({$url_prop})">C3</fo:basic-link>
3348                                                                                                        </fo:block>
3349                                                                                                        <fo:block>
3350                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom"/>
3351                                                                                                        </fo:block>
3352                                                                                                </fo:table-cell>
3353                                                                                                <fo:table-cell>
3354                                                                                                        <fo:block>
3355                                                                                                                <fo:basic-link external-destination="url({$url_ibut})">IC4</fo:basic-link>
3356                                                                                                        </fo:block>
3357                                                                                                        <fo:block>
3358                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom"/>
3359                                                                                                        </fo:block>
3360                                                                                                </fo:table-cell>
3361                                                                                                <fo:table-cell>
3362                                                                                                        <fo:block>
3363                                                                                                                <fo:basic-link external-destination="url({$url_ipent})">IC5</fo:basic-link>
3364                                                                                                        </fo:block>
3365                                                                                                        <fo:block>
3366                                                                                                                <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom"/>
3367                                                                                                        </fo:block>
3368                                                                                                </fo:table-cell>
3369                                                                                        </fo:table-row>
3370                                                                                        <xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo">
3371                                                                                                <fo:table-cell>
3372                                                                                                        <fo:block>
3373                                                                                                                <xfd:field xpath="substring-after(witsml:dTim, 'T')"/>
3374                                                                                                        </fo:block>
3375                                                                                                </fo:table-cell>
3376                                                                                                <fo:table-cell>
3377                                                                                                        <fo:block>
3378                                                                                                                <xfd:field xpath="witsml:readingType"/>
3379                                                                                                        </fo:block>
3380                                                                                                </fo:table-cell>
3381                                                                                                <fo:table-cell>
3382                                                                                                        <fo:block>
3383                                                                                                                <xfd:field xpath="witsml:mdTop"/>
3384                                                                                                        </fo:block>
3385                                                                                                </fo:table-cell>
3386                                                                                                <fo:table-cell>
3387                                                                                                        <fo:block>
3388                                                                                                                <xfd:field xpath="witsml:mdBottom"/>
3389                                                                                                        </fo:block>
3390                                                                                                </fo:table-cell>
3391                                                                                                <fo:table-cell>
3392                                                                                                        <fo:block>
3393                                                                                                                <xfd:field xpath="witsml:tvdTop"/>
3394                                                                                                        </fo:block>
3395                                                                                                </fo:table-cell>
3396                                                                                                <fo:table-cell>
3397                                                                                                        <fo:block>
3398                                                                                                                <xfd:field xpath="witsml:tvdBottom"/>
3399                                                                                                        </fo:block>
3400                                                                                                </fo:table-cell>
3401                                                                                                <fo:table-cell>
3402                                                                                                        <fo:block>
3403                                                                                                                <xfd:field xpath="witsml:gasHigh"/>
3404                                                                                                        </fo:block>
3405                                                                                                </fo:table-cell>
3406                                                                                                <fo:table-cell>
3407                                                                                                        <fo:block>
3408                                                                                                                <xfd:field xpath="witsml:gasLow"/>
3409                                                                                                        </fo:block>
3410                                                                                                </fo:table-cell>
3411                                                                                                <fo:table-cell>
3412                                                                                                        <fo:block>
3413                                                                                                                <xfd:field xpath="witsml:meth"/>
3414                                                                                                        </fo:block>
3415                                                                                                </fo:table-cell>
3416                                                                                                <fo:table-cell>
3417                                                                                                        <fo:block>
3418                                                                                                                <xfd:field xpath="witsml:eth"/>
3419                                                                                                        </fo:block>
3420                                                                                                </fo:table-cell>
3421                                                                                                <fo:table-cell>
3422                                                                                                        <fo:block>
3423                                                                                                                <xfd:field xpath="witsml:prop"/>
3424                                                                                                        </fo:block>
3425                                                                                                </fo:table-cell>
3426                                                                                                <fo:table-cell>
3427                                                                                                        <fo:block>
3428                                                                                                                <xfd:field xpath="witsml:ibut"/>
3429                                                                                                        </fo:block>
3430                                                                                                </fo:table-cell>
3431                                                                                                <fo:table-cell>
3432                                                                                                        <fo:block>
3433                                                                                                                <xfd:field xpath="witsml:ipent"/>
3434                                                                                                        </fo:block>
3435                                                                                                </fo:table-cell>
3436                                                                                        </xfd:table-row-repeat>
3437                                                                                </fo:table-body>
3438                                                                        </fo:table> </fo:block>
3439                                                        </fo:table-cell>
3440                                                </fo:table-row>
3441                                        </fo:table-body>
3442                                </fo:table>
3443                        </fo:block>
3444                </fo:flow>
3445        </fo:page-sequence>
3446</xfd:document>
Note: See TracBrowser for help on using the browser.