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

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

Did changes for both HTML report and PDF report so it is closer to how WITSML should be.

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