Index: /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDfReport_transformation_2011_03_09.xfd
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDfReport_transformation_2011_03_09.xfd (revision 170)
+++ /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDfReport_transformation_2011_03_09.xfd (revision 170)
@@ -0,0 +1,3446 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<xfd:document xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:witsml="http://www.witsml.org/schemas/1series" sample-xsd=".\WITSML_drillReport_profiled_schema_2011_01_29.xsd" sample-xml=".\testDocumet_2011_02_07.xml">
+	<xfd:localization>
+		<xfd:locale language-id="en_US" language-name="English (United States)"/>
+	</xfd:localization>
+	<fo:layout-master-set>
+		<fo:simple-page-master master-name="Letter Page" page-width="30cm" page-height="20cm">
+			<fo:region-body region-name="xsl-region-body" margin="67.200px"/>
+			<fo:region-before region-name="xsl-region-before" display-align="after" extent="67.200px"/>
+			<fo:region-after region-name="xsl-region-after" display-align="before" extent="67.200px"/>
+			<fo:region-start region-name="xsl-region-start" extent="67.200px"/>
+			<fo:region-end region-name="xsl-region-end" extent="67.200px"/>
+		</fo:simple-page-master>
+	</fo:layout-master-set>
+	<fo:page-sequence master-reference="Letter Page">
+		<fo:flow flow-name="xsl-region-body" font-family="Times" font-size="11pt">
+			<xsl:variable name="ddrSchema">
+				<xsl:value-of select="'..\HTMLreport\WITSML_drillReport_profiled_schema_2011_01_29.xsd'"/>
+			</xsl:variable>
+			<xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/>
+			<xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/>
+			<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
+			<xsl:variable name="urlRDS">
+				<xsl:value-of select="'http://www.posccaesar.org'"/>
+			</xsl:variable>
+<!-- Report header -->
+			<fo:block>
+				<fo:table table-layout="fixed" width="auto" border-collapse="collapse" margin-top="-5.200px">
+					<fo:table-column column-width="proportional-column-width(50.44)" column-number="1"/>
+					<fo:table-column column-width="proportional-column-width(49.56)" column-number="2"/>
+					<fo:table-body>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+				<fo:leader rule-thickness="5px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+			</fo:block>
+<!-- Wellbore info -->
+			<fo:block>
+				<xsl:variable name="url_versionKind">
+					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_createDate">
+					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_operator">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_drillContractor">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_rigAlias">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimSpud">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dateDrillComplete">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_elevKelly">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_typeWellbore">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdKickoff">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdKickoff">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdPlugTop">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvd">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_distDrill">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_ropCurrent">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_diaHole">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presTestType">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_strengthForm">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdStrengthForm">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdStrengthForm">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_diaCsgLast">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdCsgLast">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdCsgLast">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/>
+					<fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/>
+					<fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/>
+					<fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/>
+					<fo:table-body>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold">Report Number:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:reportNo"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold">Period:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="concat(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17), &quot;-&quot;, substring(/witsml:drillReports/witsml:drillReport/witsml:dTimStart, 0, 17))"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold">Wellbore:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold">Wellbore Id:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_versionKind})" font-weight="bold">Status:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:versionKind"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_createDate})" font-weight="bold">Created date:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="substring(/witsml:drillReports/witsml:drillReport/witsml:createDate, 0, 17)"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_operator})" font-weight="bold">Operator:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:operator"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_drillContractor})" font-weight="bold">Drilling contractor:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:drillContractor"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">Rig name:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD name']/witsml:name"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row height="17.840px" overflow="hidden">
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_dTimSpud})" font-weight="bold">Spud date:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T')"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block> <xfd:field xpath="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T')"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Tight well</fo:basic-link>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<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>
+									<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>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<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>
+									<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>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold">Rig type</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_typeWellbore})">Wellbore type:</fo:basic-link>   </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:typeWellbore"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdKickoff})">Depth at Kick Off mMD:</fo:basic-link>   </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdKickoff"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdKickoff"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_md})">Depth mMD:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:md"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_tvd})">Depth mTVD:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvd"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdPlugTop})">Plug Back Depth mMD:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdPlugTop"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_presTestType})">Pressure Test Type:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:presTestType"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdStrengthForm})">Depth At Formation Strength mMD:</fo:basic-link>   </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdStrengthForm"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdStrengthForm"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_mdCsgLast})">Depth At Last Casing mMD:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdCsgLast"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdCsgLast})">Depth At Last Casing mTVD:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdCsgLast"/>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"> </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Summary of activity -->
+			<fo:block break-before="page">
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>Summary of Activities (24 Hours)</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:sum24Hr"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Summary of Planned Activities -->
+			<fo:block>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>Summary of Planned Activities (Next 24 Hours)</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block>
+									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:forecast24Hr"/>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Operations -->
+			<fo:block break-before="page">
+				<xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/>
+				<xsl:variable name="url_dTimStart">
+					<xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimEnd">
+					<xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_proprietaryCode">
+					<xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_state">
+					<xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_comments">
+					<xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>Operation</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block font-weight="bold"> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block>
+									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(6)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(50)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimStart})">Start Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimEnd})">End Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Start Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">End Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_proprietaryCode})">Main Oper Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_state})">Main Oper Eval Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_comments})">Remark</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:activity">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdHoleStart"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdHoleEnd"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:md"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:proprietaryCode"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:state"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:comments"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Equipment failure info -->
+			<fo:block>
+				<xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_equipClass">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_eTimMissProduction">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimRepair">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_description">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Equipment Failure Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(7)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(14)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(46)" column-number="6"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Start</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_equipClass})">Sub Equip Syst Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_eTimMissProduction})">Operation Downtime</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/drillReports/drillReport/equipFailureInfo/eTimMissProduction/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimRepair})">Equipment Repaired</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_description})">Equip Failure Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:equipFailureInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:md"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:equipClass"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:eTimMissProduction"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring(witsml:dTimRepair, 0, 17)"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:description"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Bit Record -->
+			<fo:block break-before="page">
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/>
+				<xsl:variable name="url_numBit">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_diaBit">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_codeMfg">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_manufacturer">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table width="100%">
+					<fo:table-column/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Bit Record
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
+												<fo:table-column column-width="proportional-column-width(6.384)" column-number="2"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
+												<fo:table-column column-width="proportional-column-width(6.692)" column-number="5"/>
+												<fo:table-column column-width="proportional-column-width(6.692)" column-number="6"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
+												<fo:table-column column-width="proportional-column-width(11)" column-number="13"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_diaBit})">Bit size</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:diaBit/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_numBit})">Run No</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_codeMfg})">Model</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Hours drilled</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD Start</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD end</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Hole made (run)</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Hours drilled (run)</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>ROP</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Total hole made</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Total hours drilled</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Total ROP</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Dull grade</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:diaBit"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:numBit"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:codeMfg"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:mdHoleStart"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:mdHoleStop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:ropAv"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:bitRun/witsml:ropMx"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:dullGrade"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> 
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Casing/Liner/Tubing -->
+			<fo:block>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Casing/Liner/Tubing information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="10"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="11"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="12"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>Type of pipe</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Casing type</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Run time</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal outside diameter</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal inside diameter</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal Weight</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal Grade</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal Connection</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Length</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD Top/Hangar</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD Bottom/Shoe</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Description</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing">
+												<fo:table-cell>
+													<fo:block>
+														<xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/>
+														<xsl:variable name="pipeType" select="witsml:type"/>
+														<xfd:field xpath="$element_pipeType//xsd:enumeration[@value=$pipeType]"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:casing_liner_tubing_run/witsml:tubularJobType"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:od"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:id"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:weight"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:grade"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:connection"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:casing_liner_tubing_run/witsml:description"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Cement info -->
+			<fo:block break-before="page">
+				<xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:cementStage">
+					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+					<fo:leader/>
+					<fo:table>
+						<fo:table-column column-width="100%"/>
+						<fo:table-body>
+							<fo:table-row font-weight="bold" font-size="14pt">
+								<fo:table-cell>
+									<fo:block>
+									Cement information
+								</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block>
+										<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+											<fo:table-column column-width="proportional-column-width(5)" column-number="1"/>
+											<fo:table-column column-width="proportional-column-width(5)" column-number="2"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="3"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="4"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="5"/>
+											<fo:table-column column-width="proportional-column-width(6)" column-number="6"/>
+											<fo:table-column column-width="proportional-column-width(6)" column-number="7"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="8"/>
+											<fo:table-column column-width="proportional-column-width(5.5)" column-number="9"/>
+											<fo:table-column column-width="proportional-column-width(10)" column-number="10"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="11"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="12"/>
+											<fo:table-column column-width="proportional-column-width(8.5)" column-number="13"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="14"/>
+											<fo:table-column column-width="proportional-column-width(8.5)" column-number="15"/>
+											<fo:table-body>
+												<fo:table-row font-weight="bold">
+													<fo:table-cell>
+														<fo:block>Start time</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>End time</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Job type</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Casing string diameter</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:casingStrDia/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Top plug used</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Bottom plug used</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Plug bumped</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Plug bump pressure</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:presBump/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Float held</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Pressure release time</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Full returns</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Cement volume returns</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:volReturns/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Reciprocated</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Rotated</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Comments</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:jobType"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:casingStrDia"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if>
+															<xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if>
+															<xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if>
+															<xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:presBump"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if>
+															<xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="substring(witsml:eTimPresHeld, 0, 17)"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if>
+															<xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:volReturns"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if>
+															<xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if>
+															<xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:comments"/>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table>
+									</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block/>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row font-weight="bold" font-size="13pt">
+								<fo:table-cell>
+									<fo:block>Cement Fluid Information</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
+											<fo:table-body>
+												<fo:table-row font-weight="bold">
+													<fo:table-cell>
+														<fo:block>Fluid type</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Fluid Description</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Volume pumped</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:cementingFluid/witsml:volPumped/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Fluid densitiy</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:cementingFluid/witsml:density/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Yield point</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:cementingFluid/witsml:yp/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Mix water ratio</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:cementingFluid/witsml:ratioMixWater/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Free water</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:cementingFluid/witsml:pcFreeWater/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Thick time</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:cementingFluid/witsml:eTimThickening/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Comments</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<xfd:table-row-repeat xpath="witsml:cementingFluid">
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:typeFluid"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:descFluid"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:volPumped"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:density"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:yp"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:ratioMixWater"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:pcFreeWater"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:eTimThickening"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:comments"/>
+														</fo:block>
+													</fo:table-cell>
+												</xfd:table-row-repeat>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block/>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+						</fo:table-body>
+					</fo:table>
+				</xfd:block-repeat>
+			</fo:block>
+<!-- Pore pressure -->
+			<fo:block break-before="page">
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
+				<xsl:variable name="url_readingKind">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_equivalentMudWeight">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvd">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Pore Pressure
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(15)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_readingKind})">Reading</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_equivalentMudWeight})">Equ Mud Weight</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
+													</fo:block>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:readingKind"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:equivalentMudWeight"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:md"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvd"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Survey Station -->
+			<fo:block>
+				<xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvd">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_incl">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_azi">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Survey Station
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_incl})">Inclination</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_azi})">Azimuth</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:surveyStation">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:md"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvd"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:incl"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:azi"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Log Information -->
+			<fo:block>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
+				<xsl:variable name="url_serviceCompany">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_runNumber">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tool">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tempBHCT">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tempBHST">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Log Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:inline font-weight="bold">Logging Company:</fo:inline><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany"/></fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_runNumber})">Run no</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tool})">Tool</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tempBHCT})">BHCT</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tempBHST})">BHST</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:runNumber"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tool"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tempBHCT"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tempBHST"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Core Information -->
+			<fo:block>
+				<xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
+				<xsl:variable name="url_coreNumber">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_lenRecovered">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_recoverPc">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_lenBarrel">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_innerBarrelType">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_coreDescription">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Core Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_coreNumber})">Core no</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_lenRecovered})">Core length</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_recoverPc})">Recover core</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_lenBarrel})">Core barrel length</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_innerBarrelType})">Inner barrel type</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_coreDescription})">Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:coreNumber"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:lenRecovered"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:recoverPc"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:lenBarrel"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:innerBarrelType"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:coreDescription"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Well Test Information -->
+			<fo:block break-before="page">
+				<xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_testNumber">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_testType">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_chokeOrificeSize">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_densityOil">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_flowRateOil">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_flowRateGas">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_flowRateWater">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presShutIn">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presFlowing">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presBottom">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_gasOilRatio">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_waterOilRatio">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_chloride">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_carbonDioxide">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_hydrogenSulfide">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Well Test Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
+										<fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
+										<fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_testNumber})">Test no</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_testType})">Type</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_chokeOrificeSize})">Choke orifice Size</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_densityOil})">Density crude oil</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_flowRateOil})">Oil flow rate</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_flowRateGas})">Gas flow rate M</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_flowRateWater})">Water flow rate</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presShutIn})">Shut in pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presFlowing})">Flow pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presBottom})">Bottom hole pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_gasOilRatio})">Gas oil ratio</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_waterOilRatio})">Water oil ratio</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_chloride})">Chloride content</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_carbonDioxide})">CO2 content</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_hydrogenSulfide})">H2S content</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:testNumber"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:testType"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:chokeOrificeSize"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:densityOil"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:flowRateOil"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:flowRateGas"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:flowRateWater"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:presShutIn"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:presFlowing"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:presBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:gasOilRatio"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:waterOilRatio"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:chloride"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:carbonDioxide"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:hydrogenSulfide"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Formation Test -->
+			<fo:block>
+				<xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presPore">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_goodSealm">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdSample">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dominateComponent">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_densityHC">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_volumeSample">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_description">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Formation Test
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presPore})">Formation pore pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_goodSealm})">Good seal ind</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdSample})">Depth to sample point</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dominateComponent})">Dominate fluid component</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_densityHC})">HC Component density</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_volumeSample})">Sample volume</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_description})">Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:md"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:presPore"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if>
+														<xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdSample"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:dominateComponent"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:densityHC"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:volumeSample"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:description"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Stratigraphic Information -->
+			<fo:block break-before="page">
+				<xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_description">
+					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Stratigraphic Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold" height="29.680px" overflow="hidden">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top of formation</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top of formation</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_description})">Formation name</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:stratInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:description"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Lithology Information -->
+			<fo:block>
+				<xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdBottom">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_show">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_lithology">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Lithology Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(9)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(35)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Start Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">End Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Difference in Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Start Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">End Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">Difference in Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_show})">Shows Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_lithology})">Lithology Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:lithShowInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdBottom - witsml:tvdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:show"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:lithology"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Well Control Incident -->
+		<fo:block break-before="page">
+			<xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:controlIncidentInfo">
+				<fo:block>
+					<xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
+					<xsl:variable name="url_dTim">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_mdInflow">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_tvdInflow">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_eTimLost">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_dTimRegained">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_mdBit">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_wtMud">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_porePressure">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_mdCsgLast">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_volMudGained">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_presShutInCasing">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_presShutInDrill">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_incidentType">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_killingType">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_formation">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_tempBottom">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+					<fo:leader/>
+					<fo:table>
+						<fo:table-column column-width="100%"/>
+						<fo:table-body>
+							<fo:table-row font-weight="bold" font-size="14pt">
+								<fo:table-cell>
+									<fo:block>
+									Well Control Incident
+								</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row height="13.840px" overflow="hidden">
+								<fo:table-cell>
+									<fo:block> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
+											<fo:table-body>
+												<fo:table-row font-weight="bold">
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_dTim})">Date</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_mdInflow})">Depth of well</fo:basic-link>
+															<fo:block>mMD</fo:block>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_tvdInflow})">Depth of well mTVD</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_eTimLost})">Lost time</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:eTimLost/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_dTimRegained})">Time for well control regain</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_mdBit})">Depth at bit</fo:basic-link>
+															<fo:block>mMD</fo:block>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_wtMud})">Drilling fluid density</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:wtMud/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_porePressure})">Pore pressure</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:porePressure/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_mdCsgLast})">Depth to casing</fo:basic-link>
+														</fo:block>
+														<fo:block>mMD</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_volMudGained})">Gained vol of Fluid</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:volMudGain/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_presShutInCasing})">Shut in casing pressure</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:presShutInCasing/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_presShutInDrill})">Shut in drill pipe pressure</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xfd:field xpath="witsml:presShutInDrill/@uom"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_incidentType})">Incident class</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_killingType})">Killing procd</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_formation})">Formation</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_tempBottom})">BHT</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="substring-before(witsml:dTim, 'T')"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:mdInflow"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:tvdInFlow"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:eTimLost"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:mdBit"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:wtMud"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:porePressure"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:mdCsgLast"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:volMudGained"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:presShutInCasing"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:presShutInDrill"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:incidentType"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:killingType"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:formation"/>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:tempBottom"/>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table><fo:table>
+											<fo:table-body>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block> </fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block>
+															<xfd:field xpath="witsml:description"/>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+						</fo:table-body>
+					</fo:table>
+				</fo:block>
+			</xfd:block-repeat>
+		</fo:block>
+<!-- Perforation Information -->
+			<fo:block break-before="page">
+				<xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTimOpen">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimClose">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdBottom">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Perforation Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimOpen})">Time of opening well perf</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimClose})">Time of closing well perf</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$urlRDS})">Duration well perf</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Top of perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Bottom of Perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Top of perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">Bottom of Perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:perfInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring(witsml:dTimOpen, 0 ,17)"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring(witsml:dTimClose, 0, 17)"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block><!--<xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/>-->
+														duration
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<!-- Gas Reading Information -->
+			<fo:block>
+				<xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_readingType">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdBottom">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_gasHigh">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_gasLow">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_meth">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_eth">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_prop">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_ibut">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_ipent">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Gas Reading Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(11)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(6.038)" column-number="8"/>
+										<fo:table-column column-width="proportional-column-width(6.038)" column-number="9"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_readingType})">Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth to bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">Depth to bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_gasHigh})">Highest gas</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_gasLow})">Lowest gas</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_meth})">C1</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_eth})">C2</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_prop})">C3</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_ibut})">IC4</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_ipent})">IC5</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom"/>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo">
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="substring-after(witsml:dTim, 'T')"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:readingType"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:mdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdTop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:tvdBottom"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:gasHigh"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:gasLow"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:meth"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:eth"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:prop"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:ibut"/>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xfd:field xpath="witsml:ipent"/>
+													</fo:block>
+												</fo:table-cell>
+											</xfd:table-row-repeat>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+		</fo:flow>
+	</fo:page-sequence>
+</xfd:document>
Index: /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDFReport_transformation_2011_03_09.fo
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDFReport_transformation_2011_03_09.fo (revision 170)
+++ /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDFReport_transformation_2011_03_09.fo (revision 170)
@@ -0,0 +1,3555 @@
+﻿<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<fo:layout-master-set>
+<fo:simple-page-master master-name="Letter Page" page-width="30cm" page-height="20cm">
+<fo:region-body region-name="xsl-region-body" margin="67.200px"/>
+<fo:region-before region-name="xsl-region-before" display-align="after" extent="67.200px"/>
+<fo:region-after region-name="xsl-region-after" display-align="before" extent="67.200px"/>
+<fo:region-start region-name="xsl-region-start" extent="67.200px"/>
+<fo:region-end region-name="xsl-region-end" extent="67.200px"/>
+</fo:simple-page-master>
+</fo:layout-master-set>
+<fo:page-sequence master-reference="Letter Page">
+<fo:flow flow-name="xsl-region-body" font-family="Times" font-size="11pt">
+<!-- Report header -->
+<fo:block>
+<fo:table margin-top="-5.200px" table-layout="fixed" width="auto" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(50.44)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(49.56)" column-number="2"/>
+<fo:table-body>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold" font-size="11pt">Summary report Wellbore: <fo:inline>99/99-A-99 T1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold" text-align="right" font-size="11pt">End time:  <fo:inline font-weight="bold">2006-06-06T12:00</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+<fo:leader rule-thickness="5px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+</fo:block>
+<!-- Wellbore info -->
+<fo:block>
+<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/>
+<fo:table-body>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold">Report Number:</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold">Period:</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>2006-06-06T12:00-2006-06-06T00:00</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold">Wellbore:</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>99/99-A-99 T1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold">Wellbore Id:</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17817431)" font-weight="bold">Status:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>preliminary</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364064)" font-weight="bold">Created date:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>2006-06-06T13:15</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818569)" font-weight="bold">Operator:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>Big operator Inc</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818614)" font-weight="bold">Drilling contractor:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17645305)" font-weight="bold">Rig name:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17645305)" font-weight="bold">NPD Rig Id:</fo:basic-link><fo:inline font-size="11pt" font-weight="bold"> </fo:inline> </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>4321</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row height="17.840px" overflow="hidden">
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818479)" font-weight="bold">Spud date:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>1986-06-06</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818524)" font-weight="bold">Date Well Complete:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold">Elevation RKB-MSL <fo:inline font-weight="bold">m</fo:inline>:</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>23.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold">Water depth MSL <fo:inline>m</fo:inline>:</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>15</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://www.posccaesar.org)" font-weight="bold">Tight well</fo:basic-link>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://www.posccaesar.org)" font-weight="bold">High pressure - High temperature</fo:basic-link>  </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>no</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://www.posccaesar.org)">Pressure </fo:basic-link><fo:inline>psig</fo:inline>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://www.posccaesar.org)">Temperature </fo:basic-link><fo:inline>degC</fo:inline>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>20</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold">Rig type</fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660325)">Wellbore type:</fo:basic-link>   </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660400)">Depth at Kick Off mMD:</fo:basic-link>   </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>1233.22</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850980)">Depth at Kick Off mTVD:</fo:basic-link>  </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644930)">Depth mMD:</fo:basic-link>  </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>6898</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851070)">Depth mTVD:</fo:basic-link>  </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>4561</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659110)">Plug Back Depth mMD:</fo:basic-link>  </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>3564.22</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850485)">Dist Drilled</fo:basic-link>  <fo:inline>m</fo:inline>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>78.9</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850095)">Penetration Rate</fo:basic-link> <fo:inline>m/h</fo:inline>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>6.22</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644585)">Hole Dia </fo:basic-link><fo:inline>in</fo:inline>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>43.33</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658975)">Pressure Test Type:</fo:basic-link>  </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>leak off test</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659800)">Formation Strength</fo:basic-link><fo:inline>g/cm3</fo:inline>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660055)">Depth At Formation Strength mMD:</fo:basic-link>   </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>1234</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850755)">Depth At Formation Strength mTVD</fo:basic-link>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470)">Dia Last Casing</fo:basic-link>  <fo:inline>in</fo:inline>: </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>16.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755)">Depth At Last Casing mMD:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block>
+<fo:inline>1234.56</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell vertical-align="middle">
+<fo:block font-weight="bold"><fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850890)">Depth At Last Casing mTVD:</fo:basic-link>
+								 </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block font-size="11pt" font-weight="bold"> </fo:block>
+</fo:table-cell>
+<fo:table-cell vertical-align="middle">
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Summary of activity -->
+<fo:block break-before="page">
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>Summary of Activities (24 Hours)</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Yada yada yada</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Summary of Planned Activities -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>Summary of Planned Activities (Next 24 Hours)</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Bla bla bla</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Operations -->
+<fo:block break-before="page">
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>Operation</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block font-weight="bold"> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(6)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(50)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511259)">Start Time</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511304)">End Time</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057)">Start Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057)">End Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057)">Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409)">Main Oper Class</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841049)">Main Oper Eval Class</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17723327)">Remark</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>22:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>23:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>drilling -- drill</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>ok</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Bla bla bla</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>02:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>06:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>moving -- transit</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>fail</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Bla bla bla</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Equipment failure info -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Equipment Failure Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(12)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(7)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(14)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(46)" column-number="6"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772599)">Start</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772749)">Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17771429)">Sub Equip Syst Class</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17773139)">Operation Downtime</fo:basic-link>
+</fo:block>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772914)">Equipment Repaired</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772869)">Equip Failure Description</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2001-12-31T02:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>drill floor -- drilling control</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>180</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2002-01-31T02:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Bla bla bla</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Bit Record -->
+<fo:block break-before="page">
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table width="100%">
+<fo:table-column/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Bit Record
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(6.384)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(6.692)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(6.692)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
+<fo:table-column column-width="proportional-column-width(11)" column-number="13"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831442)">Bit size</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>in</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831262)">Run No</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831487)">Model</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Hours drilled</fo:block>
+<fo:block>
+<fo:inline>h</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>MD Start</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>MD end</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Hole made (run)</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Hours drilled (run)</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>ROP</fo:block>
+<fo:block>
+<fo:inline>m/h</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Total hole made</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Total hours drilled</fo:block>
+<fo:block>
+<fo:inline>h</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Total ROP</fo:block>
+<fo:block>
+<fo:inline>m/h</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Dull grade</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>24.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>SSB</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>24</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>25</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>8</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2/3/NO/A/X/I/NO/DTF</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12.2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>SSB</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>24</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>32</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>15</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>22</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>0/4/BT/B/X/I/BU/DTF</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> 
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Casing/Liner/Tubing -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Casing/Liner/Tubing information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="12"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>Type of pipe</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Casing type</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Run time</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Nominal outside diameter</fo:block>
+<fo:block>
+<fo:inline>in</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Nominal inside diameter</fo:block>
+<fo:block>
+<fo:inline>in</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Nominal Weight</fo:block>
+<fo:block>
+<fo:inline>lbm/ft</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Nominal Grade</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Nominal Connection</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Length</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>MD Top/Hangar</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>MD Bottom/Shoe</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Description</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>
+				
+					Casing
+				
+			</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Top</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>14:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>18</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>13</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>65</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>30</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>42</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla..</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>
+				
+					Liner
+				
+			</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Intermediate</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>17:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>13</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>10</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>63</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>11</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>40</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>46</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla..</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>
+				
+					Tubing
+				
+			</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Production</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>10:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>21</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>40</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>13</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>54</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>58</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla..</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Cement info -->
+<fo:block break-before="page">
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Cement information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(5)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(5)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(5.5)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="12"/>
+<fo:table-column column-width="proportional-column-width(8.5)" column-number="13"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="14"/>
+<fo:table-column column-width="proportional-column-width(8.5)" column-number="15"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>Start time</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>End time</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Job type</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Casing string diameter</fo:block>
+<fo:block>
+<fo:inline>in</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Top plug used</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Bottom plug used</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Plug bumped</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Plug bump pressure</fo:block>
+<fo:block>
+<fo:inline>bar</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Float held</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Pressure release time</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Full returns</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Cement volume returns</fo:block>
+<fo:block>
+<fo:inline>m3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Reciprocated</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Rotated</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Comments</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>16:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>17:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>squeeze</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>16</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>200</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2011-02-07T14:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>25</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row font-weight="bold" font-size="13pt">
+<fo:table-cell>
+<fo:block>Cement Fluid Information</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>Fluid type</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Fluid Description</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Volume pumped</fo:block>
+<fo:block>
+<fo:inline>m3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Fluid densitiy</fo:block>
+<fo:block>
+<fo:inline>sg</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Yield point</fo:block>
+<fo:block>
+<fo:inline>ft3/sack</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Mix water ratio</fo:block>
+<fo:block>
+<fo:inline>gal/sack</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Free water</fo:block>
+<fo:block>
+<fo:inline>%</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Thick time</fo:block>
+<fo:block>
+<fo:inline>h</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Comments</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Spacer</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>15</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>30</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>15</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>20</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Cement information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(5)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(5)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(6)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(5.5)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="12"/>
+<fo:table-column column-width="proportional-column-width(8.5)" column-number="13"/>
+<fo:table-column column-width="proportional-column-width(6.5)" column-number="14"/>
+<fo:table-column column-width="proportional-column-width(8.5)" column-number="15"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>Start time</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>End time</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Job type</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Casing string diameter</fo:block>
+<fo:block>
+<fo:inline>in</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Top plug used</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Bottom plug used</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Plug bumped</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Plug bump pressure</fo:block>
+<fo:block>
+<fo:inline>bar</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Float held</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Pressure release time</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Full returns</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Cement volume returns</fo:block>
+<fo:block>
+<fo:inline>m3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Reciprocated</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Rotated</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Comments</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>14:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>15:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>primary</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>18</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>250</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2011-02-07T14:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>25</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>no</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row font-weight="bold" font-size="13pt">
+<fo:table-cell>
+<fo:block>Cement Fluid Information</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>Fluid type</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Fluid Description</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Volume pumped</fo:block>
+<fo:block>
+<fo:inline>m3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Fluid densitiy</fo:block>
+<fo:block>
+<fo:inline>sg</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Yield point</fo:block>
+<fo:block>
+<fo:inline>ft3/sack</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Mix water ratio</fo:block>
+<fo:block>
+<fo:inline>gal/sack</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Free water</fo:block>
+<fo:block>
+<fo:inline>%</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Thick time</fo:block>
+<fo:block>
+<fo:inline>h</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>Comments</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Mud</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>8</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>27</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>19</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>18</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>40</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Slurry</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>10</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>24</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>40</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Spacer</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>10</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>24</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>40</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla...</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+</fo:block>
+<!-- Pore pressure -->
+<fo:block break-before="page">
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Pore Pressure
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(15)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(15)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(15)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(15)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(5)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS373368811)">Reading</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307)">Equ Mud Weight</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>g/cm3</fo:inline></fo:block>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683945)">Time</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684935)">Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17847750)">Depth</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>estimated</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>23.1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2001-12-31T12:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>321.1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>measured</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>23.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2001-12-31T22:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>9321.1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>9123.4232</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Survey Station -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Survey Station
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688642)">Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688102)">Depth</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687922)">Inclination</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688267)">Azimuth</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>66.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>55.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Log Information -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Log Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:inline font-weight="bold">Logging Company:</fo:inline><fo:inline>Small Service Inc</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692038)">Run no</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691558)">Depth Top</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691393)">Depth Bottom</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692083)">Tool</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691153)">BHCT</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>degC</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836159)">BHST</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>degC</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>4567.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>4668.9</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Hammer</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>85.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>4567.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>4668.9</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Hammer</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>85.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Core Information -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Core Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694745)">Core no</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694790)">Depth Top</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694340)">Depth Bottom</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694505)">Core length</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694625)">Recover core</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>%</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694145)">Core barrel length</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832597)">Inner barrel type</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693860)">Description</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>89.9</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>33.3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>aluminum</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Well Test Information -->
+<fo:block break-before="page">
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Well Test Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
+<fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
+<fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
+<fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699490)">Time</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701335)">Test no</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701590)">Type</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701290)">Depth Top</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701380)">Depth Bottom</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701110)">Choke orifice Size</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>mm</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700690)">Density crude oil</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>g/cm3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700915)">Oil flow rate</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>m3/d</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700480)">Gas flow rate M</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>M(m3)/d</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700765)">Water flow rate</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>m3/d</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700360)">Shut in pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>MPa</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700645)">Flow pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>MPa</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700075)">Bottom hole pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>MPa</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700000)">Gas oil ratio</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>m3/m3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700240)">Water oil ratio</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>m3/m3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699730)">Chloride content</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699610)">CO2 content</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699880)">H2S content</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>02:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>production test</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2345.6</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>32.1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>0.86</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>77.7</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>88.8</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>7.7</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>44.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>33.3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>22.2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>23</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>0.33</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>22.2</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>11.1</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>7.3</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Formation Test -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Formation Test
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856531)">Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17608469)">Formation pore pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>MPa</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704780)">Good seal ind</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704900)">Depth to sample point</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>m</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704210)">Dominate fluid component</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS373424931)">HC Component density</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>g/cm3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704405)">Sample volume</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>dm3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704120)">Description</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>66.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>yes</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1224.3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>oil</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>0.33</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>11</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Yada yada yada</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Stratigraphic Information -->
+<fo:block break-before="page">
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Stratigraphic Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" height="29.680px" overflow="hidden">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795870)">Depth to top of formation</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796065)">Depth to top of formation</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332)">Formation name</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>bla bla bla</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Lithology Information -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Lithology Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(9)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(9)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(9)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(9)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(9)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(35)" column-number="8"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17713095)">Start Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712870)">End Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712870)">Difference in Depth</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516)">Start Depth</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921)">End Depth</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921)">Difference in Depth</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS375160921)">Shows Description</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712795)">Lithology Description</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>0</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>0</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape. </fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape. W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2). W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Well Control Incident -->
+<fo:block break-before="page">
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Well Control Incident
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row height="13.840px" overflow="hidden">
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790447)">Date</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790597)">Depth of well</fo:basic-link>
+<fo:block>mMD</fo:block>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790027)">Depth of well mTVD</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17888195)">Lost time</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>min</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789592)">Time for well control regain</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789832)">Depth at bit</fo:basic-link>
+<fo:block>mMD</fo:block>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789232)">Drilling fluid density</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>g/cm3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307)">Pore pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>g/cm3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755)">Depth to casing</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789472)">Gained vol of Fluid</fo:basic-link>
+</fo:block>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789037)">Shut in casing pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>bar</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887970)">Shut in drill pipe pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>bar</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788857)">Incident class</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789157)">Killing procd</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332)">Formation</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS16631877)">BHT</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2001-12-31</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>16</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>02:16</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1.23</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1.12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>112</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>44</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>33</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>oil kick</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>lubricate and bleed</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>jura</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>258</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table><fo:table>
+<fo:table-body>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape.
+W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2). W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Well Control Incident
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row height="13.840px" overflow="hidden">
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
+<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790447)">Date</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790597)">Depth of well</fo:basic-link>
+<fo:block>mMD</fo:block>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790027)">Depth of well mTVD</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17888195)">Lost time</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>min</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789592)">Time for well control regain</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789832)">Depth at bit</fo:basic-link>
+<fo:block>mMD</fo:block>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789232)">Drilling fluid density</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>g/cm3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307)">Pore pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>g/cm3</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755)">Depth to casing</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789472)">Gained vol of Fluid</fo:basic-link>
+</fo:block>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789037)">Shut in casing pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>bar</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887970)">Shut in drill pipe pressure</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>bar</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788857)">Incident class</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789157)">Killing procd</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332)">Formation</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS16631877)">BHT</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2008-12-31</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234.5</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block/>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>16</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>02:16</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1.23</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1.12</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>123</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>112</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>44</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>33</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>oil kick</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>lubricate and bleed</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>jura</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>258</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table><fo:table>
+<fo:table-body>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape.
+W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+</fo:block>
+<!-- Perforation Information -->
+<fo:block break-before="page">
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Perforation Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797330)">Time of opening well perf</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797405)">Time of closing well perf</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://www.posccaesar.org)">Duration well perf</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797480)">Top of perf</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796970)">Bottom of Perf</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854791)">Top of perf</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855226)">Bottom of Perf</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2001-12-31T02:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>2001-12-31T18:00</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block><!--<xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/>-->
+														duration
+													</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1033</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>999</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1100</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+<!-- Gas Reading Information -->
+<fo:block>
+<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+<fo:leader/>
+<fo:table>
+<fo:table-column column-width="100%"/>
+<fo:table-body>
+<fo:table-row font-weight="bold" font-size="14pt">
+<fo:table-cell>
+<fo:block>
+									Gas Reading Information
+								</fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+<fo:table-column column-width="proportional-column-width(11)" column-number="1"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
+<fo:table-column column-width="proportional-column-width(6.038)" column-number="8"/>
+<fo:table-column column-width="proportional-column-width(6.038)" column-number="9"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
+<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
+<fo:table-body>
+<fo:table-row font-weight="bold">
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879697)">Time</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893235)">Class</fo:basic-link>
+</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892935)">Depth to top</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893070)">Depth to bottom</fo:basic-link>
+</fo:block>
+<fo:block>mMD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892575)">Depth to top</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892710)">Depth to bottom</fo:basic-link>
+</fo:block>
+<fo:block>mTVD</fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892170)">Highest gas</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>%</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892260)">Lowest gas</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>%</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892350)">C1</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892485)">C2</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17891900)">C3</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS374341731)">IC4</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS374357751)">IC5</fo:basic-link>
+</fo:block>
+<fo:block>
+<fo:inline>ppm</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+<fo:table-row>
+<fo:table-cell>
+<fo:block>
+<fo:inline>02:00:00.000Z</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>shut down gas</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1234</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1256</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>999</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>1120</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>77.7</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>44.4</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>55</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>55</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>55</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>55</fo:inline></fo:block>
+</fo:table-cell>
+<fo:table-cell>
+<fo:block>
+<fo:inline>55</fo:inline></fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table> </fo:block>
+</fo:table-cell>
+</fo:table-row>
+</fo:table-body>
+</fo:table>
+</fo:block>
+</fo:flow>
+</fo:page-sequence>
+</fo:root>
Index: /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDFReport_transformation_2011_03_09.xsl
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDFReport_transformation_2011_03_09.xsl (revision 170)
+++ /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_PDFReport_transformation_2011_03_09.xsl (revision 170)
@@ -0,0 +1,4783 @@
+﻿<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<xslt:stylesheet xmlns:date="http://exslt.org/dates-and-times" xmlns:str="http://exslt.org/strings" xmlns:xslt="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" extension-element-prefixes="date str">
+<xslt:output indent="yes" encoding="utf-8"/>
+<xslt:param name="XFCrtLocalDate">2011-04-06</xslt:param>
+<xslt:param name="XFCrtLocalTime">13:22:39</xslt:param>
+<xslt:param name="XFCrtLocalDateTime">2011-04-06T13:22:39</xslt:param>
+<xslt:param name="XFCrtUTCDate">2011-04-06</xslt:param>
+<xslt:param name="XFCrtUTCTime">11:22:39</xslt:param>
+<xslt:param name="XFCrtUTCDateTime">2011-04-06T11:22:39</xslt:param>
+<xslt:param name="XFOutputFormat"/>
+<!--
+		This stylesheet was generated for a 'en_US' Translation ID. 
+		The Translation ID applies to both the whole text in a document and the locale-long and locale-short date formats.
+	  -->
+<!-- ============================ GROUPING KEYS =============================== -->
+<!-- ============================ RAW XSL =============================== -->
+<!-- =========================== SCRIPTS ================================ -->
+<!-- ========================= ROOT TEMPLATE =========================== -->
+<xsl:template match="/">
+<fo:root>
+<fo:layout-master-set>
+		<fo:simple-page-master master-name="Letter Page" page-width="30cm" page-height="20cm">
+			<fo:region-body region-name="xsl-region-body" margin="67.200px"/>
+			<fo:region-before region-name="xsl-region-before" display-align="after" extent="67.200px"/>
+			<fo:region-after region-name="xsl-region-after" display-align="before" extent="67.200px"/>
+			<fo:region-start region-name="xsl-region-start" extent="67.200px"/>
+			<fo:region-end region-name="xsl-region-end" extent="67.200px"/>
+		</fo:simple-page-master>
+	</fo:layout-master-set>
+<fo:page-sequence master-reference="Letter Page">
+		<fo:flow flow-name="xsl-region-body" font-family="Times" font-size="11pt">
+			<xsl:variable name="ddrSchema">
+				<xsl:value-of select="'..\HTMLreport\WITSML_drillReport_profiled_schema_2011_01_29.xsd'"/>
+			</xsl:variable>
+			<xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/>
+			<xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/>
+			<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
+			<xsl:variable name="urlRDS">
+				<xsl:value-of select="'http://www.posccaesar.org'"/>
+			</xsl:variable>
+<xslt:comment> Report header </xslt:comment>
+			<fo:block>
+				<fo:table margin-top="-5.200px" table-layout="fixed" width="auto" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(50.44)" column-number="1"/>
+					<fo:table-column column-width="proportional-column-width(49.56)" column-number="2"/>
+					<fo:table-body>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold" font-size="11pt">Summary report Wellbore: <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+</fo:inline></xsl:if></fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold" text-align="right" font-size="11pt">End time:  <xsl:if test="string(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17))"><fo:inline font-weight="bold">
+<xsl:value-of select="substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17)"/>
+</fo:inline></xsl:if></fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+				<fo:leader rule-thickness="5px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+			</fo:block>
+<xslt:comment> Wellbore info </xslt:comment>
+			<fo:block>
+				<xsl:variable name="url_versionKind">
+					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_createDate">
+					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_operator">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_drillContractor">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_rigAlias">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimSpud">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dateDrillComplete">
+					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_elevKelly">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_typeWellbore">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdKickoff">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdKickoff">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdPlugTop">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvd">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_distDrill">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_ropCurrent">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_diaHole">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presTestType">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_strengthForm">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdStrengthForm">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdStrengthForm">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_diaCsgLast">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdCsgLast">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdCsgLast">
+					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/>
+					<fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/>
+					<fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/>
+					<fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/>
+					<fo:table-body>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold">Report Number:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:reportNo)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:reportNo"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold">Period:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(concat(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17), &quot;-&quot;, substring(/witsml:drillReports/witsml:drillReport/witsml:dTimStart, 0, 17)))"><fo:inline>
+<xsl:value-of select="concat(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17), &quot;-&quot;, substring(/witsml:drillReports/witsml:drillReport/witsml:dTimStart, 0, 17))"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold">Wellbore:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold">Wellbore Id:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_versionKind})" font-weight="bold">Status:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:versionKind)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:versionKind"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_createDate})" font-weight="bold">Created date:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(substring(/witsml:drillReports/witsml:drillReport/witsml:createDate, 0, 17))"><fo:inline>
+<xsl:value-of select="substring(/witsml:drillReports/witsml:drillReport/witsml:createDate, 0, 17)"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_operator})" font-weight="bold">Operator:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:operator)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:operator"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_drillContractor})" font-weight="bold">Drilling contractor:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:drillContractor)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:drillContractor"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">Rig name:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD name']/witsml:name)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD name']/witsml:name"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row height="17.840px" overflow="hidden">
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_dTimSpud})" font-weight="bold">Spud date:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T'))"><fo:inline>
+<xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T')"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block> <xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T'))"><fo:inline>
+<xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T')"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold">Elevation RKB-MSL <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom)"><fo:inline font-weight="bold">
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom"/>
+</fo:inline></xsl:if>:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold">Water depth MSL <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom"/>
+</fo:inline></xsl:if>:</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Tight well</fo:basic-link>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<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>
+									<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>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<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>
+									<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>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Pressure </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH/@uom"/>
+</fo:inline></xsl:if>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Temperature </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom"/>
+</fo:inline></xsl:if>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold">Rig type</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_typeWellbore})">Wellbore type:</fo:basic-link>   </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:typeWellbore)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:typeWellbore"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdKickoff})">Depth at Kick Off mMD:</fo:basic-link>   </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdKickoff)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdKickoff"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdKickoff)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdKickoff"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_md})">Depth mMD:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:md)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:md"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_tvd})">Depth mTVD:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvd)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvd"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdPlugTop})">Plug Back Depth mMD:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdPlugTop)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdPlugTop"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_distDrill})">Dist Drilled</fo:basic-link>  <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom"/>
+</fo:inline></xsl:if>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_ropCurrent})">Penetration Rate</fo:basic-link> <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent/@uom"/>
+</fo:inline></xsl:if>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_diaHole})">Hole Dia </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom"/>
+</fo:inline></xsl:if>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_presTestType})">Pressure Test Type:</fo:basic-link>  </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:presTestType)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:presTestType"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_strengthForm})">Formation Strength</fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom"/>
+</fo:inline></xsl:if>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdStrengthForm})">Depth At Formation Strength mMD:</fo:basic-link>   </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdStrengthForm)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdStrengthForm"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<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>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdStrengthForm)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdStrengthForm"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_diaCsgLast})">Dia Last Casing</fo:basic-link>  <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast/@uom"/>
+</fo:inline></xsl:if>: </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_mdCsgLast})">Depth At Last Casing mMD:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdCsgLast)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdCsgLast"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdCsgLast})">Depth At Last Casing mTVD:</fo:basic-link>
+								 </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdCsgLast)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdCsgLast"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block font-size="11pt" font-weight="bold"> </fo:block>
+							</fo:table-cell>
+							<fo:table-cell vertical-align="middle">
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Summary of activity </xslt:comment>
+			<fo:block break-before="page">
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>Summary of Activities (24 Hours)</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:sum24Hr)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:sum24Hr"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Summary of Planned Activities </xslt:comment>
+			<fo:block>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>Summary of Planned Activities (Next 24 Hours)</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block>
+									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:forecast24Hr)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:forecast24Hr"/>
+</fo:inline></xsl:if>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Operations </xslt:comment>
+			<fo:block break-before="page">
+				<xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/>
+				<xsl:variable name="url_dTimStart">
+					<xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimEnd">
+					<xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_proprietaryCode">
+					<xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_state">
+					<xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_comments">
+					<xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>Operation</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block font-weight="bold"> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block>
+									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(6)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(50)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimStart})">Start Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimEnd})">End Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Start Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">End Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_proprietaryCode})">Main Oper Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_state})">Main Oper Eval Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_comments})">Remark</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:activity">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring-after(substring(witsml:dTimStart, 0, 17), 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring-after(substring(witsml:dTimEnd, 0, 17), 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdHoleStart)"><fo:inline>
+<xsl:value-of select="witsml:mdHoleStart"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdHoleEnd)"><fo:inline>
+<xsl:value-of select="witsml:mdHoleEnd"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:md)"><fo:inline>
+<xsl:value-of select="witsml:md"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:proprietaryCode)"><fo:inline>
+<xsl:value-of select="witsml:proprietaryCode"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:state)"><fo:inline>
+<xsl:value-of select="witsml:state"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:comments)"><fo:inline>
+<xsl:value-of select="witsml:comments"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table>
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Equipment failure info </xslt:comment>
+			<fo:block>
+				<xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_equipClass">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_eTimMissProduction">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimRepair">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_description">
+					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Equipment Failure Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(6)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(7)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(14)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(46)" column-number="6"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Start</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_equipClass})">Sub Equip Syst Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_eTimMissProduction})">Operation Downtime</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/drillReports/drillReport/equipFailureInfo/eTimMissProduction/@uom)"><fo:inline>
+<xsl:value-of select="/drillReports/drillReport/equipFailureInfo/eTimMissProduction/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimRepair})">Equipment Repaired</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_description})">Equip Failure Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:equipFailureInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring(witsml:dTim, 0, 17))"><fo:inline>
+<xsl:value-of select="substring(witsml:dTim, 0, 17)"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:md)"><fo:inline>
+<xsl:value-of select="witsml:md"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:equipClass)"><fo:inline>
+<xsl:value-of select="witsml:equipClass"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:eTimMissProduction)"><fo:inline>
+<xsl:value-of select="witsml:eTimMissProduction"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring(witsml:dTimRepair, 0, 17))"><fo:inline>
+<xsl:value-of select="substring(witsml:dTimRepair, 0, 17)"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:description)"><fo:inline>
+<xsl:value-of select="witsml:description"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Bit Record </xslt:comment>
+			<fo:block break-before="page">
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/>
+				<xsl:variable name="url_numBit">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_diaBit">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_codeMfg">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_manufacturer">
+					<xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table width="100%">
+					<fo:table-column/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Bit Record
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
+												<fo:table-column column-width="proportional-column-width(6.384)" column-number="2"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
+												<fo:table-column column-width="proportional-column-width(6.692)" column-number="5"/>
+												<fo:table-column column-width="proportional-column-width(6.692)" column-number="6"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
+												<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
+												<fo:table-column column-width="proportional-column-width(11)" column-number="13"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_diaBit})">Bit size</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:diaBit/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:diaBit/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_numBit})">Run No</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_codeMfg})">Model</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Hours drilled</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD Start</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD end</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Hole made (run)</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Hours drilled (run)</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>ROP</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Total hole made</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Total hours drilled</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Total ROP</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Dull grade</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:diaBit)"><fo:inline>
+<xsl:value-of select="witsml:diaBit"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:numBit)"><fo:inline>
+<xsl:value-of select="witsml:numBit"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:codeMfg)"><fo:inline>
+<xsl:value-of select="witsml:codeMfg"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:eTimOpBit)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:mdHoleStart)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:mdHoleStart"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:mdHoleStop)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:mdHoleStop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:eTimOpBit)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:ropAv)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:ropAv"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:mdTotHoleMade)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:totHrsDrilled)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:bitRun/witsml:ropMx)"><fo:inline>
+<xsl:value-of select="witsml:bitRun/witsml:ropMx"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:dullGrade)"><fo:inline>
+<xsl:value-of select="witsml:dullGrade"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> 
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Casing/Liner/Tubing </xslt:comment>
+			<fo:block>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Casing/Liner/Tubing information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="10"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="11"/>
+										<fo:table-column column-width="proportional-column-width(8.333)" column-number="12"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>Type of pipe</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Casing type</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Run time</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal outside diameter</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal inside diameter</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal Weight</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal Grade</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Nominal Connection</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Length</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD Top/Hangar</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>MD Bottom/Shoe</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>Description</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/>
+														<xsl:variable name="pipeType" select="witsml:type"/>
+														<xsl:if test="string($element_pipeType//xsd:enumeration[@value=$pipeType])"><fo:inline>
+<xsl:value-of select="$element_pipeType//xsd:enumeration[@value=$pipeType]"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:casing_liner_tubing_run/witsml:tubularJobType)"><fo:inline>
+<xsl:value-of select="witsml:casing_liner_tubing_run/witsml:tubularJobType"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:od)"><fo:inline>
+<xsl:value-of select="witsml:od"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:id)"><fo:inline>
+<xsl:value-of select="witsml:id"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:weight)"><fo:inline>
+<xsl:value-of select="witsml:weight"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:grade)"><fo:inline>
+<xsl:value-of select="witsml:grade"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:connection)"><fo:inline>
+<xsl:value-of select="witsml:connection"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom - witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom - witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:casing_liner_tubing_run/witsml:description)"><fo:inline>
+<xsl:value-of select="witsml:casing_liner_tubing_run/witsml:description"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Cement info </xslt:comment>
+			<fo:block break-before="page">
+				<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:cementStage">
+<fo:block>
+					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+					<fo:leader/>
+					<fo:table>
+						<fo:table-column column-width="100%"/>
+						<fo:table-body>
+							<fo:table-row font-weight="bold" font-size="14pt">
+								<fo:table-cell>
+									<fo:block>
+									Cement information
+								</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block>
+										<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+											<fo:table-column column-width="proportional-column-width(5)" column-number="1"/>
+											<fo:table-column column-width="proportional-column-width(5)" column-number="2"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="3"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="4"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="5"/>
+											<fo:table-column column-width="proportional-column-width(6)" column-number="6"/>
+											<fo:table-column column-width="proportional-column-width(6)" column-number="7"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="8"/>
+											<fo:table-column column-width="proportional-column-width(5.5)" column-number="9"/>
+											<fo:table-column column-width="proportional-column-width(10)" column-number="10"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="11"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="12"/>
+											<fo:table-column column-width="proportional-column-width(8.5)" column-number="13"/>
+											<fo:table-column column-width="proportional-column-width(6.5)" column-number="14"/>
+											<fo:table-column column-width="proportional-column-width(8.5)" column-number="15"/>
+											<fo:table-body>
+												<fo:table-row font-weight="bold">
+													<fo:table-cell>
+														<fo:block>Start time</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>End time</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Job type</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Casing string diameter</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:casingStrDia/@uom)"><fo:inline>
+<xsl:value-of select="witsml:casingStrDia/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Top plug used</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Bottom plug used</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Plug bumped</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Plug bump pressure</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:presBump/@uom)"><fo:inline>
+<xsl:value-of select="witsml:presBump/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Float held</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Pressure release time</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Full returns</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Cement volume returns</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:volReturns/@uom)"><fo:inline>
+<xsl:value-of select="witsml:volReturns/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Reciprocated</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Rotated</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Comments</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:jobType)"><fo:inline>
+<xsl:value-of select="witsml:jobType"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:casingStrDia)"><fo:inline>
+<xsl:value-of select="witsml:casingStrDia"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if>
+															<xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if>
+															<xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if>
+															<xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:presBump)"><fo:inline>
+<xsl:value-of select="witsml:presBump"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if>
+															<xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(substring(witsml:eTimPresHeld, 0, 17))"><fo:inline>
+<xsl:value-of select="substring(witsml:eTimPresHeld, 0, 17)"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if>
+															<xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:volReturns)"><fo:inline>
+<xsl:value-of select="witsml:volReturns"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if>
+															<xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if>
+															<xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:comments)"><fo:inline>
+<xsl:value-of select="witsml:comments"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table>
+									</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block/>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row font-weight="bold" font-size="13pt">
+								<fo:table-cell>
+									<fo:block>Cement Fluid Information</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
+											<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
+											<fo:table-body>
+												<fo:table-row font-weight="bold">
+													<fo:table-cell>
+														<fo:block>Fluid type</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Fluid Description</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Volume pumped</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:cementingFluid/witsml:volPumped/@uom)"><fo:inline>
+<xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Fluid densitiy</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:cementingFluid/witsml:density/@uom)"><fo:inline>
+<xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Yield point</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:cementingFluid/witsml:yp/@uom)"><fo:inline>
+<xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Mix water ratio</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:cementingFluid/witsml:ratioMixWater/@uom)"><fo:inline>
+<xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Free water</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:cementingFluid/witsml:pcFreeWater/@uom)"><fo:inline>
+<xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Thick time</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:cementingFluid/witsml:eTimThickening/@uom)"><fo:inline>
+<xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>Comments</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<xsl:for-each select="witsml:cementingFluid">
+<fo:table-row>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:typeFluid)"><fo:inline>
+<xsl:value-of select="witsml:typeFluid"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:descFluid)"><fo:inline>
+<xsl:value-of select="witsml:descFluid"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:volPumped)"><fo:inline>
+<xsl:value-of select="witsml:volPumped"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:density)"><fo:inline>
+<xsl:value-of select="witsml:density"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:yp)"><fo:inline>
+<xsl:value-of select="witsml:yp"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:ratioMixWater)"><fo:inline>
+<xsl:value-of select="witsml:ratioMixWater"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:pcFreeWater)"><fo:inline>
+<xsl:value-of select="witsml:pcFreeWater"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:eTimThickening)"><fo:inline>
+<xsl:value-of select="witsml:eTimThickening"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:comments)"><fo:inline>
+<xsl:value-of select="witsml:comments"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+</xsl:for-each>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block/>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+						</fo:table-body>
+					</fo:table>
+				</fo:block>
+</xsl:for-each>
+			</fo:block>
+<xslt:comment> Pore pressure </xslt:comment>
+			<fo:block break-before="page">
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
+				<xsl:variable name="url_readingKind">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_equivalentMudWeight">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvd">
+					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Pore Pressure
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(15)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(15)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_readingKind})">Reading</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_equivalentMudWeight})">Equ Mud Weight</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:porePressure">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:readingKind)"><fo:inline>
+<xsl:value-of select="witsml:readingKind"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:equivalentMudWeight)"><fo:inline>
+<xsl:value-of select="witsml:equivalentMudWeight"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring(witsml:dTim, 0, 17))"><fo:inline>
+<xsl:value-of select="substring(witsml:dTim, 0, 17)"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:md)"><fo:inline>
+<xsl:value-of select="witsml:md"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvd)"><fo:inline>
+<xsl:value-of select="witsml:tvd"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Survey Station </xslt:comment>
+			<fo:block>
+				<xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvd">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_incl">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_azi">
+					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Survey Station
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_incl})">Inclination</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_azi})">Azimuth</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:surveyStation">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:md)"><fo:inline>
+<xsl:value-of select="witsml:md"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvd)"><fo:inline>
+<xsl:value-of select="witsml:tvd"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:incl)"><fo:inline>
+<xsl:value-of select="witsml:incl"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:azi)"><fo:inline>
+<xsl:value-of select="witsml:azi"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Log Information </xslt:comment>
+			<fo:block>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
+				<xsl:variable name="url_serviceCompany">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_runNumber">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tool">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tempBHCT">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tempBHST">
+					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Log Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:inline font-weight="bold">Logging Company:</fo:inline><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany"/>
+</fo:inline></xsl:if></fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_runNumber})">Run no</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tool})">Tool</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tempBHCT})">BHCT</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tempBHST})">BHST</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:logInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:runNumber)"><fo:inline>
+<xsl:value-of select="witsml:runNumber"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tool)"><fo:inline>
+<xsl:value-of select="witsml:tool"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tempBHCT)"><fo:inline>
+<xsl:value-of select="witsml:tempBHCT"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tempBHST)"><fo:inline>
+<xsl:value-of select="witsml:tempBHST"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Core Information </xslt:comment>
+			<fo:block>
+				<xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
+				<xsl:variable name="url_coreNumber">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_lenRecovered">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_recoverPc">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_lenBarrel">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_innerBarrelType">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_coreDescription">
+					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Core Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_coreNumber})">Core no</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_lenRecovered})">Core length</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_recoverPc})">Recover core</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_lenBarrel})">Core barrel length</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_innerBarrelType})">Inner barrel type</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_coreDescription})">Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:coreNumber)"><fo:inline>
+<xsl:value-of select="witsml:coreNumber"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:lenRecovered)"><fo:inline>
+<xsl:value-of select="witsml:lenRecovered"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:recoverPc)"><fo:inline>
+<xsl:value-of select="witsml:recoverPc"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:lenBarrel)"><fo:inline>
+<xsl:value-of select="witsml:lenBarrel"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:innerBarrelType)"><fo:inline>
+<xsl:value-of select="witsml:innerBarrelType"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:coreDescription)"><fo:inline>
+<xsl:value-of select="witsml:coreDescription"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Well Test Information </xslt:comment>
+			<fo:block break-before="page">
+				<xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_testNumber">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_testType">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_chokeOrificeSize">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_densityOil">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_flowRateOil">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_flowRateGas">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_flowRateWater">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presShutIn">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presFlowing">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presBottom">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_gasOilRatio">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_waterOilRatio">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_chloride">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_carbonDioxide">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_hydrogenSulfide">
+					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Well Test Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
+										<fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
+										<fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
+										<fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_testNumber})">Test no</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_testType})">Type</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_chokeOrificeSize})">Choke orifice Size</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_densityOil})">Density crude oil</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_flowRateOil})">Oil flow rate</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_flowRateGas})">Gas flow rate M</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_flowRateWater})">Water flow rate</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presShutIn})">Shut in pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presFlowing})">Flow pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presBottom})">Bottom hole pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_gasOilRatio})">Gas oil ratio</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_waterOilRatio})">Water oil ratio</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_chloride})">Chloride content</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_carbonDioxide})">CO2 content</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_hydrogenSulfide})">H2S content</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring-after(substring(witsml:dTim, 0, 17), 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:testNumber)"><fo:inline>
+<xsl:value-of select="witsml:testNumber"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:testType)"><fo:inline>
+<xsl:value-of select="witsml:testType"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:chokeOrificeSize)"><fo:inline>
+<xsl:value-of select="witsml:chokeOrificeSize"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:densityOil)"><fo:inline>
+<xsl:value-of select="witsml:densityOil"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:flowRateOil)"><fo:inline>
+<xsl:value-of select="witsml:flowRateOil"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:flowRateGas)"><fo:inline>
+<xsl:value-of select="witsml:flowRateGas"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:flowRateWater)"><fo:inline>
+<xsl:value-of select="witsml:flowRateWater"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:presShutIn)"><fo:inline>
+<xsl:value-of select="witsml:presShutIn"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:presFlowing)"><fo:inline>
+<xsl:value-of select="witsml:presFlowing"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:presBottom)"><fo:inline>
+<xsl:value-of select="witsml:presBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:gasOilRatio)"><fo:inline>
+<xsl:value-of select="witsml:gasOilRatio"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:waterOilRatio)"><fo:inline>
+<xsl:value-of select="witsml:waterOilRatio"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:chloride)"><fo:inline>
+<xsl:value-of select="witsml:chloride"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:carbonDioxide)"><fo:inline>
+<xsl:value-of select="witsml:carbonDioxide"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:hydrogenSulfide)"><fo:inline>
+<xsl:value-of select="witsml:hydrogenSulfide"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Formation Test </xslt:comment>
+			<fo:block>
+				<xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
+				<xsl:variable name="url_md">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_presPore">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_goodSealm">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdSample">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dominateComponent">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_densityHC">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_volumeSample">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_description">
+					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Formation Test
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_presPore})">Formation pore pressure</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_goodSealm})">Good seal ind</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdSample})">Depth to sample point</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dominateComponent})">Dominate fluid component</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_densityHC})">HC Component density</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_volumeSample})">Sample volume</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_description})">Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:md)"><fo:inline>
+<xsl:value-of select="witsml:md"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:presPore)"><fo:inline>
+<xsl:value-of select="witsml:presPore"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if>
+														<xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdSample)"><fo:inline>
+<xsl:value-of select="witsml:mdSample"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:dominateComponent)"><fo:inline>
+<xsl:value-of select="witsml:dominateComponent"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:densityHC)"><fo:inline>
+<xsl:value-of select="witsml:densityHC"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:volumeSample)"><fo:inline>
+<xsl:value-of select="witsml:volumeSample"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:description)"><fo:inline>
+<xsl:value-of select="witsml:description"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Stratigraphic Information </xslt:comment>
+			<fo:block break-before="page">
+				<xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_description">
+					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Stratigraphic Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold" height="29.680px" overflow="hidden">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top of formation</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top of formation</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_description})">Formation name</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:stratInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
+<xsl:value-of select="witsml:tvdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:description)"><fo:inline>
+<xsl:value-of select="witsml:description"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block> </fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Lithology Information </xslt:comment>
+			<fo:block>
+				<xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdBottom">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_show">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_lithology">
+					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Lithology Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(9)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(9)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(10)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(35)" column-number="8"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Start Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">End Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Difference in Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Start Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">End Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">Difference in Depth</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_show})">Shows Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_lithology})">Lithology Description</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:lithShowInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom - witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom - witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
+<xsl:value-of select="witsml:tvdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdBottom)"><fo:inline>
+<xsl:value-of select="witsml:tvdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdBottom - witsml:tvdTop)"><fo:inline>
+<xsl:value-of select="witsml:tvdBottom - witsml:tvdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:show)"><fo:inline>
+<xsl:value-of select="witsml:show"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:lithology)"><fo:inline>
+<xsl:value-of select="witsml:lithology"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Well Control Incident </xslt:comment>
+		<fo:block break-before="page">
+			<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:controlIncidentInfo">
+<fo:block>
+					<xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
+					<xsl:variable name="url_dTim">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_mdInflow">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_tvdInflow">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_eTimLost">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_dTimRegained">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_mdBit">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_wtMud">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_porePressure">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_mdCsgLast">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_volMudGained">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_presShutInCasing">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_presShutInDrill">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_incidentType">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_killingType">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_formation">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<xsl:variable name="url_tempBottom">
+						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
+					</xsl:variable>
+					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+					<fo:leader/>
+					<fo:table>
+						<fo:table-column column-width="100%"/>
+						<fo:table-body>
+							<fo:table-row font-weight="bold" font-size="14pt">
+								<fo:table-cell>
+									<fo:block>
+									Well Control Incident
+								</fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row height="13.840px" overflow="hidden">
+								<fo:table-cell>
+									<fo:block> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+							<fo:table-row>
+								<fo:table-cell>
+									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
+											<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
+											<fo:table-body>
+												<fo:table-row font-weight="bold">
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_dTim})">Date</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_mdInflow})">Depth of well</fo:basic-link>
+															<fo:block>mMD</fo:block>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_tvdInflow})">Depth of well mTVD</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_eTimLost})">Lost time</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:eTimLost/@uom)"><fo:inline>
+<xsl:value-of select="witsml:eTimLost/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_dTimRegained})">Time for well control regain</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_mdBit})">Depth at bit</fo:basic-link>
+															<fo:block>mMD</fo:block>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_wtMud})">Drilling fluid density</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:wtMud/@uom)"><fo:inline>
+<xsl:value-of select="witsml:wtMud/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_porePressure})">Pore pressure</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:porePressure/@uom)"><fo:inline>
+<xsl:value-of select="witsml:porePressure/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_mdCsgLast})">Depth to casing</fo:basic-link>
+														</fo:block>
+														<fo:block>mMD</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_volMudGained})">Gained vol of Fluid</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:volMudGain/@uom)"><fo:inline>
+<xsl:value-of select="witsml:volMudGain/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_presShutInCasing})">Shut in casing pressure</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:presShutInCasing/@uom)"><fo:inline>
+<xsl:value-of select="witsml:presShutInCasing/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_presShutInDrill})">Shut in drill pipe pressure</fo:basic-link>
+														</fo:block>
+														<fo:block>
+															<xsl:if test="string(witsml:presShutInDrill/@uom)"><fo:inline>
+<xsl:value-of select="witsml:presShutInDrill/@uom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_incidentType})">Incident class</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_killingType})">Killing procd</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_formation})">Formation</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<fo:basic-link external-destination="url({$url_tempBottom})">BHT</fo:basic-link>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(substring-before(witsml:dTim, 'T'))"><fo:inline>
+<xsl:value-of select="substring-before(witsml:dTim, 'T')"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:mdInflow)"><fo:inline>
+<xsl:value-of select="witsml:mdInflow"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:tvdInFlow)"><fo:inline>
+<xsl:value-of select="witsml:tvdInFlow"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:eTimLost)"><fo:inline>
+<xsl:value-of select="witsml:eTimLost"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(substring-after(substring(witsml:dTimRegained, 0, 17), 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:mdBit)"><fo:inline>
+<xsl:value-of select="witsml:mdBit"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:wtMud)"><fo:inline>
+<xsl:value-of select="witsml:wtMud"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:porePressure)"><fo:inline>
+<xsl:value-of select="witsml:porePressure"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:mdCsgLast)"><fo:inline>
+<xsl:value-of select="witsml:mdCsgLast"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:volMudGained)"><fo:inline>
+<xsl:value-of select="witsml:volMudGained"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:presShutInCasing)"><fo:inline>
+<xsl:value-of select="witsml:presShutInCasing"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:presShutInDrill)"><fo:inline>
+<xsl:value-of select="witsml:presShutInDrill"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:incidentType)"><fo:inline>
+<xsl:value-of select="witsml:incidentType"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:killingType)"><fo:inline>
+<xsl:value-of select="witsml:killingType"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:formation)"><fo:inline>
+<xsl:value-of select="witsml:formation"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:tempBottom)"><fo:inline>
+<xsl:value-of select="witsml:tempBottom"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table><fo:table>
+											<fo:table-body>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block> </fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+												<fo:table-row>
+													<fo:table-cell>
+														<fo:block>
+															<xsl:if test="string(witsml:description)"><fo:inline>
+<xsl:value-of select="witsml:description"/>
+</fo:inline></xsl:if>
+														</fo:block>
+													</fo:table-cell>
+												</fo:table-row>
+											</fo:table-body>
+										</fo:table> </fo:block>
+								</fo:table-cell>
+							</fo:table-row>
+						</fo:table-body>
+					</fo:table>
+				</fo:block>
+</xsl:for-each>
+		</fo:block>
+<xslt:comment> Perforation Information </xslt:comment>
+			<fo:block break-before="page">
+				<xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTimOpen">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_dTimClose">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdBottom">
+					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Perforation Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimOpen})">Time of opening well perf</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTimClose})">Time of closing well perf</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$urlRDS})">Duration well perf</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Top of perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Bottom of Perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Top of perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">Bottom of Perf</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:perfInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring(witsml:dTimOpen, 0 ,17))"><fo:inline>
+<xsl:value-of select="substring(witsml:dTimOpen, 0 ,17)"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring(witsml:dTimClose, 0, 17))"><fo:inline>
+<xsl:value-of select="substring(witsml:dTimClose, 0, 17)"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block><xslt:comment>&lt;xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/&gt;</xslt:comment>
+														duration
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
+<xsl:value-of select="witsml:tvdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdBottom)"><fo:inline>
+<xsl:value-of select="witsml:tvdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+<xslt:comment> Gas Reading Information </xslt:comment>
+			<fo:block>
+				<xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
+				<xsl:variable name="url_dTim">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_readingType">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdTop">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_mdBottom">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdTop">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_tvdBottom">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_gasHigh">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_gasLow">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_meth">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_eth">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_prop">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_ibut">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<xsl:variable name="url_ipent">
+					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
+				</xsl:variable>
+				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
+				<fo:leader/>
+				<fo:table>
+					<fo:table-column column-width="100%"/>
+					<fo:table-body>
+						<fo:table-row font-weight="bold" font-size="14pt">
+							<fo:table-cell>
+								<fo:block>
+									Gas Reading Information
+								</fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+						<fo:table-row>
+							<fo:table-cell>
+								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
+										<fo:table-column column-width="proportional-column-width(11)" column-number="1"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
+										<fo:table-column column-width="proportional-column-width(6.038)" column-number="8"/>
+										<fo:table-column column-width="proportional-column-width(6.038)" column-number="9"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
+										<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
+										<fo:table-body>
+											<fo:table-row font-weight="bold">
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_readingType})">Class</fo:basic-link>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_mdBottom})">Depth to bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mMD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_tvdBottom})">Depth to bottom</fo:basic-link>
+													</fo:block>
+													<fo:block>mTVD</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_gasHigh})">Highest gas</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_gasLow})">Lowest gas</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_meth})">C1</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_eth})">C2</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_prop})">C3</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_ibut})">IC4</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<fo:basic-link external-destination="url({$url_ipent})">IC5</fo:basic-link>
+													</fo:block>
+													<fo:block>
+														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom)"><fo:inline>
+<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo">
+<fo:table-row>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(substring-after(witsml:dTim, 'T'))"><fo:inline>
+<xsl:value-of select="substring-after(witsml:dTim, 'T')"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:readingType)"><fo:inline>
+<xsl:value-of select="witsml:readingType"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdTop)"><fo:inline>
+<xsl:value-of select="witsml:mdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
+<xsl:value-of select="witsml:mdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
+<xsl:value-of select="witsml:tvdTop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:tvdBottom)"><fo:inline>
+<xsl:value-of select="witsml:tvdBottom"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:gasHigh)"><fo:inline>
+<xsl:value-of select="witsml:gasHigh"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:gasLow)"><fo:inline>
+<xsl:value-of select="witsml:gasLow"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:meth)"><fo:inline>
+<xsl:value-of select="witsml:meth"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:eth)"><fo:inline>
+<xsl:value-of select="witsml:eth"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:prop)"><fo:inline>
+<xsl:value-of select="witsml:prop"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:ibut)"><fo:inline>
+<xsl:value-of select="witsml:ibut"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+												<fo:table-cell>
+													<fo:block>
+														<xsl:if test="string(witsml:ipent)"><fo:inline>
+<xsl:value-of select="witsml:ipent"/>
+</fo:inline></xsl:if>
+													</fo:block>
+												</fo:table-cell>
+											</fo:table-row>
+</xsl:for-each>
+										</fo:table-body>
+									</fo:table> </fo:block>
+							</fo:table-cell>
+						</fo:table-row>
+					</fo:table-body>
+				</fo:table>
+			</fo:block>
+		</fo:flow>
+	</fo:page-sequence>
+</fo:root>
+</xsl:template>
+<!-- ========================= NUMBER FORMATS ========================= -->
+<!-- ========================= CUSTOM FORMATS ========================= -->
+<xslt:template name="str:custom-format">
+<xslt:param name="str" select="''"/>
+<xslt:param name="pattern" select="''"/>
+<xslt:param name="crtPos" select="1"/>
+<xslt:if test="$crtPos &lt;= string-length($pattern)">
+<xslt:variable name="chr" select="substring(normalize-space($pattern), $crtPos, 1)"/>
+<xslt:choose>
+<xslt:when test="$chr = '#'">
+<xslt:value-of select="substring($str, 1, 1)"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="$chr"/>
+</xslt:otherwise>
+</xslt:choose>
+<xslt:call-template name="str:custom-format">
+<xslt:with-param name="str">
+<xslt:choose>
+<xslt:when test="$chr = '#'">
+<xslt:value-of select="substring($str, 2)"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="$str"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:with-param>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="crtPos" select="$crtPos + 1"/>
+</xslt:call-template>
+</xslt:if>
+</xslt:template>
+<!-- ========================= EXSLT TEMPLATES [str.padding.template.xsl] ========================= -->
+<xslt:template name="str:padding">
+<xslt:param name="length" select="0"/>
+<xslt:param name="chars" select="' '"/>
+<xslt:choose>
+<xslt:when test="not($length) or not($chars)"/>
+<xslt:otherwise>
+<xslt:variable name="string" select="concat($chars, $chars, $chars, $chars, $chars,                                        $chars, $chars, $chars, $chars, $chars)"/>
+<xslt:choose>
+<xslt:when test="string-length($string) &gt;= $length">
+<xslt:value-of select="substring($string, 1, $length)"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:call-template name="str:padding">
+<xslt:with-param name="length" select="$length"/>
+<xslt:with-param name="chars" select="$string"/>
+</xslt:call-template>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:template>
+<!-- ========================= EXSLT TEMPLATES [date.format-date.template.xsl] ========================= -->
+<xslt:template name="date:_get-days-elapsed">
+<xslt:param name="month"/>
+<xslt:choose>
+<xslt:when test="$month = 1">0</xslt:when>
+<xslt:when test="$month = 2">31</xslt:when>
+<xslt:when test="$month = 3">59</xslt:when>
+<xslt:when test="$month = 4">90</xslt:when>
+<xslt:when test="$month = 5">120</xslt:when>
+<xslt:when test="$month = 6">151</xslt:when>
+<xslt:when test="$month = 7">181</xslt:when>
+<xslt:when test="$month = 8">212</xslt:when>
+<xslt:when test="$month = 9">243</xslt:when>
+<xslt:when test="$month = 10">273</xslt:when>
+<xslt:when test="$month = 11">304</xslt:when>
+<xslt:when test="$month = 12">334</xslt:when>
+<xslt:otherwise>365</xslt:otherwise>
+</xslt:choose>
+</xslt:template>
+<xslt:template name="date:_get-month">
+<xslt:param name="month"/>
+<xslt:param name="lang-id" select="'en_US'"/>
+<xslt:choose>
+<xslt:when test="$lang-id = 'fr_FR'">
+<xslt:choose>
+<xslt:when test="$month = 1">Janvier;Jan</xslt:when>
+<xslt:when test="$month = 2">Février;Fév</xslt:when>
+<xslt:when test="$month = 3">Mars;Mar</xslt:when>
+<xslt:when test="$month = 4">Avril;Avr</xslt:when>
+<xslt:when test="$month = 5">Mai;Mai</xslt:when>
+<xslt:when test="$month = 6">Juin;Jui</xslt:when>
+<xslt:when test="$month = 7">Juillet;Juil</xslt:when>
+<xslt:when test="$month = 8">Août;Aoû</xslt:when>
+<xslt:when test="$month = 9">Septembre;Sep</xslt:when>
+<xslt:when test="$month = 10">Octobre;Oct</xslt:when>
+<xslt:when test="$month = 11">Novembre;Nov</xslt:when>
+<xslt:when test="$month = 12">Décembre;Déc</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$lang-id = 'de_AT' or $lang-id = 'de_DE' or $lang-id = 'de_CH'">
+<xslt:choose>
+<xslt:when test="$month = 1">Januar;Jan</xslt:when>
+<xslt:when test="$month = 2">Februar;Feb</xslt:when>
+<xslt:when test="$month = 3">März;Mär</xslt:when>
+<xslt:when test="$month = 4">April;Apr</xslt:when>
+<xslt:when test="$month = 5">Dürfen;Dür</xslt:when>
+<xslt:when test="$month = 6">Juni;Jun</xslt:when>
+<xslt:when test="$month = 7">Juli;Jul</xslt:when>
+<xslt:when test="$month = 8">August;Aug</xslt:when>
+<xslt:when test="$month = 9">September;Sep</xslt:when>
+<xslt:when test="$month = 10">Oktober;Okt</xslt:when>
+<xslt:when test="$month = 11">November;Nov</xslt:when>
+<xslt:when test="$month = 12">Dezember;Dez</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$lang-id = 'es_ES'">
+<xslt:choose>
+<xslt:when test="$month = 1">Enero;Ene</xslt:when>
+<xslt:when test="$month = 2">Febrero;Feb</xslt:when>
+<xslt:when test="$month = 3">Marzo;Mar</xslt:when>
+<xslt:when test="$month = 4">Abril;Abr</xslt:when>
+<xslt:when test="$month = 5">Mayo;May</xslt:when>
+<xslt:when test="$month = 6">Junio;Jun</xslt:when>
+<xslt:when test="$month = 7">Julio;Jul</xslt:when>
+<xslt:when test="$month = 8">Agosto;Ago</xslt:when>
+<xslt:when test="$month = 9">Septiembre;Sep</xslt:when>
+<xslt:when test="$month = 10">Octubre;Oct</xslt:when>
+<xslt:when test="$month = 11">Noviembre;Nov</xslt:when>
+<xslt:when test="$month = 12">Diciembre;Dic</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$lang-id = 'nl_NL'">
+<xslt:choose>
+<xslt:when test="$month = 1">januari;jan</xslt:when>
+<xslt:when test="$month = 2">februari;feb</xslt:when>
+<xslt:when test="$month = 3">maart;maa</xslt:when>
+<xslt:when test="$month = 4">april;apr</xslt:when>
+<xslt:when test="$month = 5">mei;mei</xslt:when>
+<xslt:when test="$month = 6">juni;jun</xslt:when>
+<xslt:when test="$month = 7">juli;jul</xslt:when>
+<xslt:when test="$month = 8">augustus;aug</xslt:when>
+<xslt:when test="$month = 9">september;sep</xslt:when>
+<xslt:when test="$month = 10">oktober;okt</xslt:when>
+<xslt:when test="$month = 11">november;nov</xslt:when>
+<xslt:when test="$month = 12">december;dec</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:otherwise>
+<xslt:choose>
+<xslt:when test="$month = 1">January;Jan</xslt:when>
+<xslt:when test="$month = 2">February;Feb</xslt:when>
+<xslt:when test="$month = 3">March;Mar</xslt:when>
+<xslt:when test="$month = 4">April;Apr</xslt:when>
+<xslt:when test="$month = 5">May;May</xslt:when>
+<xslt:when test="$month = 6">June;Jun</xslt:when>
+<xslt:when test="$month = 7">July;Jul</xslt:when>
+<xslt:when test="$month = 8">August;Aug</xslt:when>
+<xslt:when test="$month = 9">September;Sep</xslt:when>
+<xslt:when test="$month = 10">October;Oct</xslt:when>
+<xslt:when test="$month = 11">November;Nov</xslt:when>
+<xslt:when test="$month = 12">December;Dec</xslt:when>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:template>
+<xslt:template name="date:_get-day">
+<xslt:param name="day"/>
+<xslt:param name="lang-id" select="'en_US'"/>
+<xslt:choose>
+<xslt:when test="$lang-id = 'fr_FR'">
+<xslt:choose>
+<xslt:when test="$day = 1">Dimanche;Dim</xslt:when>
+<xslt:when test="$day = 2">Lundi;Lun</xslt:when>
+<xslt:when test="$day = 3">Mardi;Mar</xslt:when>
+<xslt:when test="$day = 4">Mercredi;Mer</xslt:when>
+<xslt:when test="$day = 5">Jeudi;Jeu</xslt:when>
+<xslt:when test="$day = 6">Vendredi;Ven</xslt:when>
+<xslt:when test="$day = 7">Samedi;Sam</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$lang-id = 'de_AT' or $lang-id = 'de_DE' or $lang-id = 'de_CH'">
+<xslt:choose>
+<xslt:when test="$day = 1">Sonntag;Son</xslt:when>
+<xslt:when test="$day = 2">Montag;Mon</xslt:when>
+<xslt:when test="$day = 3">Dienstag;Die</xslt:when>
+<xslt:when test="$day = 4">Mittwoch;Mit</xslt:when>
+<xslt:when test="$day = 5">Donnerstag;Don</xslt:when>
+<xslt:when test="$day = 6">Freitag;Fre</xslt:when>
+<xslt:when test="$day = 7">Samstag;Sam</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$lang-id = 'es_ES'">
+<xslt:choose>
+<xslt:when test="$day = 1">Domingo;Dom</xslt:when>
+<xslt:when test="$day = 2">Lunes;Lun</xslt:when>
+<xslt:when test="$day = 3">Martes;Mar</xslt:when>
+<xslt:when test="$day = 4">Miércoles;Mié</xslt:when>
+<xslt:when test="$day = 5">Jueves;Jue</xslt:when>
+<xslt:when test="$day = 6">Viernes;Vie</xslt:when>
+<xslt:when test="$day = 7">Sábado;Sáb</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$lang-id = 'nl_NL'">
+<xslt:choose>
+<xslt:when test="$day = 1">zondag;zon</xslt:when>
+<xslt:when test="$day = 2">maandag;maa</xslt:when>
+<xslt:when test="$day = 3">dinsdag;din</xslt:when>
+<xslt:when test="$day = 4">woensdag;woe</xslt:when>
+<xslt:when test="$day = 5">donderdag;don</xslt:when>
+<xslt:when test="$day = 6">vrijdag;vri</xslt:when>
+<xslt:when test="$day = 7">zaterdag;zat</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:otherwise>
+<xslt:choose>
+<xslt:when test="$day = 1">Sunday;Sun</xslt:when>
+<xslt:when test="$day = 2">Monday;Mon</xslt:when>
+<xslt:when test="$day = 3">Tuesday;Tue</xslt:when>
+<xslt:when test="$day = 4">Wednesday;Wed</xslt:when>
+<xslt:when test="$day = 5">Thursday;Thu</xslt:when>
+<xslt:when test="$day = 6">Friday;Fri</xslt:when>
+<xslt:when test="$day = 7">Saturday;Sat</xslt:when>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:template>
+<xslt:template name="date:format-date">
+<xslt:param name="date-time"/>
+<xslt:param name="pattern"/>
+<xslt:param name="lang-id"/>
+<xslt:variable name="formatted">
+<xslt:choose>
+<xslt:when test="starts-with($date-time, '---')">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="'NaN'"/>
+<xslt:with-param name="month" select="'NaN'"/>
+<xslt:with-param name="day" select="number(substring($date-time, 4, 2))"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:when test="starts-with($date-time, '--')">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="'NaN'"/>
+<xslt:with-param name="month" select="number(substring($date-time, 3, 2))"/>
+<xslt:with-param name="day" select="number(substring($date-time, 6, 2))"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:otherwise>
+<xslt:variable name="neg" select="starts-with($date-time, '-')"/>
+<xslt:variable name="no-neg">
+<xslt:choose>
+<xslt:when test="$neg or starts-with($date-time, '+')">
+<xslt:value-of select="substring($date-time, 2)"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="$date-time"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:variable>
+<xslt:variable name="no-neg-length" select="string-length($no-neg)"/>
+<xslt:variable name="timezone">
+<xslt:choose>
+<xslt:when test="substring($no-neg, $no-neg-length) = 'Z'">Z</xslt:when>
+<xslt:otherwise>
+<xslt:variable name="tz" select="substring($no-neg, $no-neg-length - 5)"/>
+<xslt:if test="(substring($tz, 1, 1) = '-' or                                      substring($tz, 1, 1) = '+') and                                    substring($tz, 4, 1) = ':'">
+<xslt:value-of select="$tz"/>
+</xslt:if>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:variable>
+<xslt:if test="not(string($timezone)) or                           $timezone = 'Z' or                            (substring($timezone, 2, 2) &lt;= 23 and                            substring($timezone, 5, 2) &lt;= 59)">
+<xslt:variable name="dt" select="substring($no-neg, 1, $no-neg-length - string-length($timezone))"/>
+<xslt:variable name="dt-length" select="string-length($dt)"/>
+<xslt:choose>
+<xslt:when test="substring($dt, 3, 1) = ':' and                                   substring($dt, 6, 1) = ':'">
+<xslt:variable name="hour" select="substring($dt, 1, 2)"/>
+<xslt:variable name="min" select="substring($dt, 4, 2)"/>
+<xslt:variable name="sec" select="substring($dt, 7)"/>
+<xslt:if test="$hour &lt;= 23 and                                    $min &lt;= 59 and                                    $sec &lt;= 60">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="'NaN'"/>
+<xslt:with-param name="month" select="'NaN'"/>
+<xslt:with-param name="day" select="'NaN'"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$min"/>
+<xslt:with-param name="second" select="$sec"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:if>
+</xslt:when>
+<xslt:otherwise>
+<xslt:variable name="year" select="substring($dt, 1, 4) * (($neg * -2) + 1)"/>
+<xslt:choose>
+<xslt:when test="not(number($year))"/>
+<xslt:when test="$dt-length = 4">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:when test="substring($dt, 5, 1) = '-'">
+<xslt:variable name="month" select="substring($dt, 6, 2)"/>
+<xslt:choose>
+<xslt:when test="not($month &lt;= 12)"/>
+<xslt:when test="$dt-length = 7">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:when test="substring($dt, 8, 1) = '-'">
+<xslt:variable name="day" select="substring($dt, 9, 2)"/>
+<xslt:if test="$day &lt;= 31">
+<xslt:choose>
+<xslt:when test="$dt-length = 10">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:when test="substring($dt, 11, 1) = 'T' and                                                        substring($dt, 14, 1) = ':' and                                                        substring($dt, 17, 1) = ':'">
+<xslt:variable name="hour" select="substring($dt, 12, 2)"/>
+<xslt:variable name="min" select="substring($dt, 15, 2)"/>
+<xslt:variable name="sec" select="substring($dt, 18)"/>
+<xslt:if test="$hour &lt;= 23 and                                                         $min &lt;= 59 and                                                         $sec &lt;= 60">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$min"/>
+<xslt:with-param name="second" select="$sec"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:if>
+</xslt:when>
+</xslt:choose>
+</xslt:if>
+</xslt:when>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="string(number(substring($dt,5,1)))!='NaN'">
+<xslt:variable name="month" select="substring($dt, 5, 2)"/>
+<xslt:choose>
+<xslt:when test="not($month &lt;= 12)"/>
+<xslt:when test="$dt-length = 6">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:otherwise>
+<xslt:variable name="day" select="substring($dt, 7, 2)"/>
+<xslt:if test="$day &lt;= 31">
+<xslt:choose>
+<xslt:when test="$dt-length = 8">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:when test="substring($dt, 9, 1) = 'T' and  substring($dt, 12, 1) = ':' and  substring($dt, 15, 1) = ':'">
+<xslt:variable name="hour" select="substring($dt, 10, 2)"/>
+<xslt:variable name="min" select="substring($dt, 13, 2)"/>
+<xslt:variable name="sec" select="substring($dt, 16)"/>
+<xslt:if test="$hour &lt;= 23 and                                                         $min &lt;= 59 and                                                         $sec &lt;= 60">
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$min"/>
+<xslt:with-param name="second" select="$sec"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="$pattern"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:if>
+</xslt:when>
+</xslt:choose>
+</xslt:if>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:if>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:variable>
+<xslt:value-of select="$formatted"/>
+</xslt:template>
+<xslt:template name="date:_format-date">
+<xslt:param name="year"/>
+<xslt:param name="month" select="1"/>
+<xslt:param name="day" select="1"/>
+<xslt:param name="hour" select="0"/>
+<xslt:param name="minute" select="0"/>
+<xslt:param name="second" select="0"/>
+<xslt:param name="timezone" select="'Z'"/>
+<xslt:param name="pattern" select="''"/>
+<xslt:param name="lang-id" select="'en_US'"/>
+<xslt:variable name="char" select="substring($pattern, 1, 1)"/>
+<xslt:choose>
+<xslt:when test="not($pattern)"/>
+<xslt:when test="$char = &quot;'&quot;">
+<xslt:choose>
+<xslt:when test="substring($pattern, 2, 1) = &quot;'&quot;">
+<xslt:text>'</xslt:text>
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$minute"/>
+<xslt:with-param name="second" select="$second"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="substring($pattern, 3)"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:otherwise>
+<xslt:variable name="literal-value" select="substring-before(substring($pattern, 2), &quot;'&quot;)"/>
+<xslt:value-of select="$literal-value"/>
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$minute"/>
+<xslt:with-param name="second" select="$second"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="substring($pattern, string-length($literal-value) + 2)"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="not(contains('abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', $char))">
+<xslt:value-of select="$char"/>
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$minute"/>
+<xslt:with-param name="second" select="$second"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="substring($pattern, 2)"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:when test="not(contains('GyMdhHmsSEDFwWakKz', $char))">
+<xslt:message>
+              Invalid token in format string: <xslt:value-of select="$char"/></xslt:message>
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$minute"/>
+<xslt:with-param name="second" select="$second"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="substring($pattern, 2)"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:otherwise>
+<xslt:variable name="next-different-char" select="substring(translate($pattern, $char, ''), 1, 1)"/>
+<xslt:variable name="pattern-length">
+<xslt:choose>
+<xslt:when test="$next-different-char">
+<xslt:value-of select="string-length(substring-before($pattern, $next-different-char))"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="string-length($pattern)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:variable>
+<xslt:choose>
+<xslt:when test="$char = 'G'">
+<xslt:choose>
+<xslt:when test="string($year) = 'NaN'"/>
+<xslt:when test="$year &gt; 0">AD</xslt:when>
+<xslt:otherwise>BC</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'M'">
+<xslt:choose>
+<xslt:when test="string($month) = 'NaN'"/>
+<xslt:when test="$pattern-length &gt;= 3">
+<xslt:variable name="month-node">
+<xslt:call-template name="date:_get-month">
+<xslt:with-param name="month" select="number($month)"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:variable>
+<xslt:choose>
+<xslt:when test="$pattern-length &gt;= 4">
+<xslt:value-of select="substring-before(normalize-space($month-node), ';')"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="substring-after(normalize-space($month-node), ';')"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$pattern-length = 2">
+<xslt:value-of select="format-number($month, '00')"/>
+</xslt:when>
+<xslt:when test="$pattern-length = 1">
+<xslt:value-of select="format-number($month, '0')"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="$month"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'E'">
+<xslt:choose>
+<xslt:when test="string($year) = 'NaN' or string($month) = 'NaN' or string($day) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:variable name="month-days">
+<xslt:call-template name="date:_get-days-elapsed">
+<xslt:with-param name="month" select="number($month)"/>
+</xslt:call-template>
+</xslt:variable>
+<xslt:variable name="days" select="number($month-days) + $day + boolean(((not($year mod 4) and $year mod 100) or not($year mod 400)) and $month &gt; 2)"/>
+<xslt:variable name="y-1" select="$year - 1"/>
+<xslt:variable name="dow" select="(($y-1 + floor($y-1 div 4) -                                              floor($y-1 div 100) + floor($y-1 div 400) +                                              $days)                                              mod 7) + 1"/>
+<xslt:variable name="day-node">
+<xslt:call-template name="date:_get-day">
+<xslt:with-param name="day" select="number($dow)"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:variable>
+<xslt:choose>
+<xslt:when test="$pattern-length &gt;= 4">
+<xslt:value-of select="substring-before(normalize-space($day-node),';')"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="substring-after(normalize-space($day-node),';')"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'a'">
+<xslt:choose>
+<xslt:when test="string($hour) = 'NaN'"/>
+<xslt:when test="$hour &gt;= 12">PM</xslt:when>
+<xslt:otherwise>AM</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'z'">
+<xslt:choose>
+<xslt:when test="$timezone = 'Z'">UTC</xslt:when>
+<xslt:otherwise>
+                    UTC<xslt:value-of select="$timezone"/></xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:otherwise>
+<xslt:variable name="padding">
+<xslt:choose>
+<xslt:when test="$pattern-length &gt; 10">
+<xslt:call-template name="str:padding">
+<xslt:with-param name="length" select="$pattern-length"/>
+<xslt:with-param name="chars" select="'0'"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="substring('0000000000', 1, $pattern-length)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:variable>
+<xslt:choose>
+<xslt:when test="$char = 'y'">
+<xslt:choose>
+<xslt:when test="string($year) = 'NaN'"/>
+<xslt:when test="$pattern-length &gt; 2">
+<xslt:value-of select="format-number($year, $padding)"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="format-number(substring($year, string-length($year) - 1), $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'd'">
+<xslt:choose>
+<xslt:when test="string($day) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:value-of select="format-number($day, $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'h'">
+<xslt:variable name="h" select="$hour mod 12"/>
+<xslt:choose>
+<xslt:when test="string($hour) = 'NaN'"/>
+<xslt:when test="$h">
+<xslt:value-of select="format-number($h, $padding)"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="format-number(12, $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'H'">
+<xslt:choose>
+<xslt:when test="string($hour) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:value-of select="format-number($hour, $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'k'">
+<xslt:choose>
+<xslt:when test="string($hour) = 'NaN'"/>
+<xslt:when test="$hour">
+<xslt:value-of select="format-number($hour, $padding)"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="format-number(24, $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'K'">
+<xslt:choose>
+<xslt:when test="string($hour) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:value-of select="format-number($hour mod 12, $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'm'">
+<xslt:choose>
+<xslt:when test="string($minute) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:value-of select="format-number($minute, $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 's'">
+<xslt:choose>
+<xslt:when test="string($second) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:value-of select="format-number($second, $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'S'">
+<xslt:choose>
+<xslt:when test="string($second) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:value-of select="format-number(substring-after($second, '.'), $padding)"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="$char = 'F'">
+<xslt:choose>
+<xslt:when test="string($day) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:value-of select="floor($day div 7) + 1"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+<xslt:when test="string($year) = 'NaN' or string($month) = 'NaN' or string($day) = 'NaN'"/>
+<xslt:otherwise>
+<xslt:variable name="month-days">
+<xslt:call-template name="date:_get-days-elapsed">
+<xslt:with-param name="month" select="number($month)"/>
+</xslt:call-template>
+</xslt:variable>
+<xslt:variable name="days" select="number($month-days) + $day + boolean(((not($year mod 4) and $year mod 100) or not($year mod 400)) and $month &gt; 2)"/>
+<xslt:choose>
+<xslt:when test="$char = 'D'">
+<xslt:value-of select="format-number($days, $padding)"/>
+</xslt:when>
+<xslt:when test="$char = 'w'">
+<xslt:call-template name="date:_week-in-year">
+<xslt:with-param name="days" select="$days"/>
+<xslt:with-param name="year" select="$year"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:when test="$char = 'W'">
+<xslt:variable name="y-1" select="$year - 1"/>
+<xslt:variable name="day-of-week" select="(($y-1 + floor($y-1 div 4) -                                                   floor($y-1 div 100) + floor($y-1 div 400) +                                                   $days)                                                    mod 7) + 1"/>
+<xslt:choose>
+<xslt:when test="($day - $day-of-week) mod 7">
+<xslt:value-of select="floor(($day - $day-of-week) div 7) + 2"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="floor(($day - $day-of-week) div 7) + 1"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:when>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+<xslt:call-template name="date:_format-date">
+<xslt:with-param name="year" select="$year"/>
+<xslt:with-param name="month" select="$month"/>
+<xslt:with-param name="day" select="$day"/>
+<xslt:with-param name="hour" select="$hour"/>
+<xslt:with-param name="minute" select="$minute"/>
+<xslt:with-param name="second" select="$second"/>
+<xslt:with-param name="timezone" select="$timezone"/>
+<xslt:with-param name="pattern" select="substring($pattern, $pattern-length + 1)"/>
+<xslt:with-param name="lang-id" select="$lang-id"/>
+</xslt:call-template>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:template>
+<xslt:template name="date:_week-in-year">
+<xslt:param name="days"/>
+<xslt:param name="year"/>
+<xslt:variable name="y-1" select="$year - 1"/>
+<xslt:variable name="day-of-week" select="($y-1 + floor($y-1 div 4) -                           floor($y-1 div 100) + floor($y-1 div 400) +                           $days)                           mod 7"/>
+<xslt:variable name="dow">
+<xslt:choose>
+<xslt:when test="$day-of-week">
+<xslt:value-of select="$day-of-week"/>
+</xslt:when>
+<xslt:otherwise>7</xslt:otherwise>
+</xslt:choose>
+</xslt:variable>
+<xslt:variable name="start-day" select="($days - $dow + 7) mod 7"/>
+<xslt:variable name="week-number" select="floor(($days - $dow + 7) div 7)"/>
+<xslt:choose>
+<xslt:when test="$start-day &gt;= 4">
+<xslt:value-of select="$week-number + 1"/>
+</xslt:when>
+<xslt:otherwise>
+<xslt:choose>
+<xslt:when test="not($week-number)">
+<xslt:call-template name="date:_week-in-year">
+<xslt:with-param name="days" select="365 + ((not($y-1 mod 4) and $y-1 mod 100) or not($y-1 mod 400))"/>
+<xslt:with-param name="year" select="$y-1"/>
+</xslt:call-template>
+</xslt:when>
+<xslt:otherwise>
+<xslt:value-of select="$week-number"/>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:otherwise>
+</xslt:choose>
+</xslt:template>
+<!-- ========================= END OF STYLESHEET ========================= -->
+</xslt:stylesheet>
Index: /ojects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.fo
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.fo (revision 167)
+++  (revision )
@@ -1,3969 +1,0 @@
-﻿<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-	<fo:layout-master-set>
-		<fo:simple-page-master master-name="Letter Page" page-width="30cm" page-height="20cm">
-			<fo:region-body region-name="xsl-region-body" margin="67.200px"/>
-			<fo:region-before region-name="xsl-region-before" display-align="after" extent="67.200px"/>
-			<fo:region-after region-name="xsl-region-after" display-align="before" extent="67.200px"/>
-			<fo:region-start region-name="xsl-region-start" extent="67.200px"/>
-			<fo:region-end region-name="xsl-region-end" extent="67.200px"/>
-		</fo:simple-page-master>
-	</fo:layout-master-set>
-	<fo:page-sequence master-reference="Letter Page">
-		<fo:flow flow-name="xsl-region-body" font-family="Times" font-size="11pt">
-			<!-- Report header -->
-			<fo:block>
-				<fo:table margin-top="-5.200px" table-layout="fixed" width="auto" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(50.44)" column-number="1"/>
-					<fo:table-column column-width="proportional-column-width(49.56)" column-number="2"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold" font-size="11pt">Summary report Wellbore: <fo:inline>99/99-A-99 T1</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold" text-align="right" font-size="11pt">End time:  <fo:inline font-weight="bold">2006-06-06T12:00</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-				<fo:leader rule-thickness="5px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-			</fo:block>
-			<!-- Wellbore info -->
-			<fo:block>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/>
-					<fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/>
-					<fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/>
-					<fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Report Number:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>1</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Period:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>2006-06-06T12:00-2006-06-06T00:00</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Wellbore:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>99/99-A-99 T1</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Wellbore Id:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>123</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17817431)" font-weight="bold">Status:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>preliminary</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364064)" font-weight="bold">Created date:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>2006-06-06T13:15</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818569)" font-weight="bold">Operator:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>Big operator Inc</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818614)" font-weight="bold">Drilling contractor:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block/>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17645305)" font-weight="bold">Rig name:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block/>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17645305)" font-weight="bold">NPD Rig Id:</fo:basic-link>
-									<fo:inline font-size="11pt" font-weight="bold"> </fo:inline> </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>4321</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row height="17.840px" overflow="hidden">
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818479)" font-weight="bold">Spud date:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>1986-06-06</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818524)" font-weight="bold">Date Well Complete:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Elevation RKB-MSL <fo:inline font-weight="bold">m</fo:inline>:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>23.5</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Water depth MSL <fo:inline>m</fo:inline>:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>15</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://www.posccaesar.org)" font-weight="bold">Tight well</fo:basic-link>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>no</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:basic-link external-destination="url(http://www.posccaesar.org)" font-weight="bold">High pressure - High temperature</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>no</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://www.posccaesar.org)">Pressure </fo:basic-link>
-									<fo:inline>psig</fo:inline>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>2</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://www.posccaesar.org)">Temperature </fo:basic-link>
-									<fo:inline>degC</fo:inline>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>20</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Rig type</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>Fixed rig</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660325)">Wellbore type:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block/>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660400)">Depth at Kick Off mMD:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>1233.22</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850980)">Depth at Kick Off mTVD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block/>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644930)">Depth mMD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>6898</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851070)">Depth mTVD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>4561</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659110)">Plug Back Depth mMD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>3564.22</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850485)">Dist Drilled</fo:basic-link>  <fo:inline>m</fo:inline>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>78.9</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850095)">Penetration Rate</fo:basic-link> <fo:inline>m/h</fo:inline>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>6.22</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644585)">Hole Dia </fo:basic-link>
-									<fo:inline>in</fo:inline>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>43.33</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658975)">Pressure Test Type:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>leak off test</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659800)">Formation Strength</fo:basic-link>
-									<fo:inline>g/cm3</fo:inline>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>123</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660055)">Depth At Formation Strength mMD:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>1234</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850755)">Depth At Formation Strength mTVD</fo:basic-link>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block/>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470)">Dia Last Casing</fo:basic-link>  <fo:inline>in</fo:inline>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>16.6</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755)">Depth At Last Casing mMD:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<fo:inline>1234.56</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">
-									<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850890)">Depth At Last Casing mTVD:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block/>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"> </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Summary of activity -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Summary of Activities (24 Hours)</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:inline>Yada yada yada</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Summary of Planned Activities -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Summary of Planned Activities (Next 24 Hours)</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:inline>Bla bla bla</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Operations -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Operation</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block font-weight="bold"> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.407)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(10.593)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511259)">Start Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511304)">End Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057)">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057)">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057)">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409)">Main Oper Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841049)">Main Oper Eval Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17723327)">Remark</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>22:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>23:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>drilling -- drill</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>ok</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Bla bla bla</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>02:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>06:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>moving -- transit</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>fail</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Bla bla bla</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Equipment failure info -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Equipment Failure Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(19.454)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(13.879)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(16.667)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(16.667)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(18.427)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.906)" column-number="6"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772599)">Start</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772749)">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17771429)">Sub Equip Syst Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17773139)">Operation Downtime</fo:basic-link>
-													</fo:block>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772914)">Equipment Repaired</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772869)">Equip Failure Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2001-12-31T02:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>drill floor -- drilling control</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>180</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2002-01-31T02:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Bla bla bla</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Bit Record -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table width="100%">
-					<fo:table-column/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Bit Record
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(6.384)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(6.692)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(6.692)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(11)" column-number="13"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831442)">Bit size</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>in</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831262)">Run No</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831487)">Model</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hours drilled</fo:block>
-													<fo:block>
-														<fo:inline>h</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Start</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD end</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hole made (run)</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hours drilled (run)</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>ROP</fo:block>
-													<fo:block>
-														<fo:inline>m/h</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total hole made</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total hours drilled</fo:block>
-													<fo:block>
-														<fo:inline>h</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total ROP</fo:block>
-													<fo:block>
-														<fo:inline>m/h</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Dull grade</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>24,6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>SSB</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>24</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>25</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>8</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2/3/NO/A/X/I/NO/DTF</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>12.2</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>SSB</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>24</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>32</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>15</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>22</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>0/4/BT/B/X/I/BU/DTF</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> 
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Casing/Liner/Tubing -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Casing/Liner/Tubing information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="12"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>Type of pipe</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Casing type</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Run time</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Description</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal outside diameter</fo:block>
-													<fo:block>
-														<fo:inline>in</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal inside diameter</fo:block>
-													<fo:block>
-														<fo:inline>in</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Weight</fo:block>
-													<fo:block>
-														<fo:inline>lbm/ft</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Grade</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Connection</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Length</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Top/Hangar</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Bottom/Shoe</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>
-
-					Casing
-
-														</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Top</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>14:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>bla bla bla..</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>18</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>13</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>65</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>12</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>12</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>30</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>42</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>
-
-					Liner
-
-														</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Intermediate</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>17:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>bla bla bla..</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>13</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>10</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>63</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>11</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>40</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>46</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>
-
-					Tubing
-
-														</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Production</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>10:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>bla bla bla..</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>21</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>12</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>40</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>13</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>54</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>58</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Cement info -->
-			<fo:block break-before="page">
-				<fo:block>
-					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-					<fo:leader/>
-					<fo:table>
-						<fo:table-column column-width="100%"/>
-						<fo:table-body>
-							<fo:table-row font-weight="bold" font-size="14pt">
-								<fo:table-cell>
-									<fo:block>
-									Cement information
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block>
-										<fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
-											<fo:table-column column-width="6%" column-number="1"/>
-											<fo:table-column column-width="6%" column-number="2"/>
-											<fo:table-column column-width="6.5%" column-number="3"/>
-											<fo:table-column column-width="6.5%" column-number="4"/>
-											<fo:table-column column-width="6.5%" column-number="5"/>
-											<fo:table-column column-width="6%" column-number="6"/>
-											<fo:table-column column-width="6%" column-number="7"/>
-											<fo:table-column column-width="6.5%" column-number="8"/>
-											<fo:table-column column-width="6.5%" column-number="9"/>
-											<fo:table-column column-width="6.5%" column-number="10"/>
-											<fo:table-column column-width="10%" column-number="11"/>
-											<fo:table-column column-width="6.5%" column-number="12"/>
-											<fo:table-column column-width="6.5%" column-number="13"/>
-											<fo:table-column column-width="7.5%" column-number="14"/>
-											<fo:table-column column-width="6.5%" column-number="15"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Start time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>End time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Job type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Casing string diameter</fo:block>
-														<fo:block>
-															<fo:inline>in</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Top plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Bottom plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bumped</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bump pressure</fo:block>
-														<fo:block>
-															<fo:inline>bar</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Float held</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Pressure release time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Full returns</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Cement volume returns</fo:block>
-														<fo:block>
-															<fo:inline>m3</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Reciprocated</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Rotated</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>16:00</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>17:00</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>squeeze</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>16</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>no</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>yes</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>no</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>200</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>yes</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>2011-02-07T14:00</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>no</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>25</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>no</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>yes</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table>
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block/>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row font-weight="bold" font-size="13pt">
-								<fo:table-cell>
-									<fo:block>Cement Fluid Information</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block>
-										<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Fluid type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid Description</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Volume pumped</fo:block>
-														<fo:block>
-															<fo:inline>m3</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid densitiy</fo:block>
-														<fo:block>
-															<fo:inline>sg</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Yield point</fo:block>
-														<fo:block>
-															<fo:inline>ft3/sack</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Mix water ratio</fo:block>
-														<fo:block>
-															<fo:inline>gal/sack</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Free water</fo:block>
-														<fo:block>
-															<fo:inline>%</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Thick time</fo:block>
-														<fo:block>
-															<fo:inline>h</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>Spacer</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>15</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>30</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>12</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>15</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>20</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>5</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block/>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-						</fo:table-body>
-					</fo:table>
-				</fo:block>
-				<fo:block>
-					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-					<fo:leader/>
-					<fo:table>
-						<fo:table-column column-width="100%"/>
-						<fo:table-body>
-							<fo:table-row font-weight="bold" font-size="14pt">
-								<fo:table-cell>
-									<fo:block>
-									Cement information
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block>
-										<fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
-											<fo:table-column column-width="6%" column-number="1"/>
-											<fo:table-column column-width="6%" column-number="2"/>
-											<fo:table-column column-width="6.5%" column-number="3"/>
-											<fo:table-column column-width="6.5%" column-number="4"/>
-											<fo:table-column column-width="6.5%" column-number="5"/>
-											<fo:table-column column-width="6%" column-number="6"/>
-											<fo:table-column column-width="6%" column-number="7"/>
-											<fo:table-column column-width="6.5%" column-number="8"/>
-											<fo:table-column column-width="6.5%" column-number="9"/>
-											<fo:table-column column-width="6.5%" column-number="10"/>
-											<fo:table-column column-width="10%" column-number="11"/>
-											<fo:table-column column-width="6.5%" column-number="12"/>
-											<fo:table-column column-width="6.5%" column-number="13"/>
-											<fo:table-column column-width="7.5%" column-number="14"/>
-											<fo:table-column column-width="6.5%" column-number="15"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Start time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>End time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Job type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Casing string diameter</fo:block>
-														<fo:block>
-															<fo:inline>in</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Top plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Bottom plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bumped</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bump pressure</fo:block>
-														<fo:block>
-															<fo:inline>bar</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Float held</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Pressure release time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Full returns</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Cement volume returns</fo:block>
-														<fo:block>
-															<fo:inline>m3</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Reciprocated</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Rotated</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>14:00</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>15:00</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>primary</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>18</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>yes</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>no</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>yes</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>250</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>yes</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>2011-02-07T14:00</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>no</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>25</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>no</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>yes</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table>
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block/>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row font-weight="bold" font-size="13pt">
-								<fo:table-cell>
-									<fo:block>Cement Fluid Information</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block>
-										<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Fluid type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid Description</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Volume pumped</fo:block>
-														<fo:block>
-															<fo:inline>m3</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid densitiy</fo:block>
-														<fo:block>
-															<fo:inline>sg</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Yield point</fo:block>
-														<fo:block>
-															<fo:inline>ft3/sack</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Mix water ratio</fo:block>
-														<fo:block>
-															<fo:inline>gal/sack</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Free water</fo:block>
-														<fo:block>
-															<fo:inline>%</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Thick time</fo:block>
-														<fo:block>
-															<fo:inline>h</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>Mud</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>8</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>27</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>19</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>18</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>40</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>2</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>Slurry</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>10</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>24</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>12</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>12</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>40</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>3</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>Spacer</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>10</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>24</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>12</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>12</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>40</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>3</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:inline>bla bla bla...</fo:inline>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block/>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-						</fo:table-body>
-					</fo:table>
-				</fo:block>
-			</fo:block>
-			<!-- Pore pressure -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Pore Pressure
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="15.000%" column-number="1"/>
-										<fo:table-column column-width="15.000%" column-number="2"/>
-										<fo:table-column column-width="15.000%" column-number="3"/>
-										<fo:table-column column-width="15.000%" column-number="4"/>
-										<fo:table-column column-width="15.000%" column-number="5"/>
-										<fo:table-column column-width="10.000%" column-number="6"/>
-										<fo:table-column column-width="10.000%" column-number="7"/>
-										<fo:table-column column-width="5.000%" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS373368811)">Reading</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307)">Equ Mud Weight</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>g/cm3</fo:inline>
-													</fo:block>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683945)">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684935)">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17847750)">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>estimated</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>23.1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2001-12-31T12:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>321.1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>measured</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>23.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2001-12-31T22:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>9321.1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>9123.4232</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Survey Station -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Survey Station
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500%" column-number="1"/>
-										<fo:table-column column-width="12.500%" column-number="2"/>
-										<fo:table-column column-width="12.500%" column-number="3"/>
-										<fo:table-column column-width="12.500%" column-number="4"/>
-										<fo:table-column column-width="12.500%" column-number="5"/>
-										<fo:table-column column-width="12.500%" column-number="6"/>
-										<fo:table-column column-width="12.500%" column-number="7"/>
-										<fo:table-column column-width="12.500%" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688642)">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688102)">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687922)">Inclination</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688267)">Azimuth</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>66.6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>55.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Log Information -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Log Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:inline font-weight="bold">Logging Company:</fo:inline>
-									<fo:inline>Small Service Inc</fo:inline>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500%" column-number="1"/>
-										<fo:table-column column-width="12.500%" column-number="2"/>
-										<fo:table-column column-width="12.500%" column-number="3"/>
-										<fo:table-column column-width="12.500%" column-number="4"/>
-										<fo:table-column column-width="12.500%" column-number="5"/>
-										<fo:table-column column-width="12.500%" column-number="6"/>
-										<fo:table-column column-width="12.500%" column-number="7"/>
-										<fo:table-column column-width="12.500%" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692038)">Run no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691558)">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691393)">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692083)">Tool</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691153)">BHCT</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>degC</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836159)">BHST</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>degC</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>4567.6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>4668.9</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Hammer</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>85.6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>4567.6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>4668.9</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Hammer</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>85.6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Core Information -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Core Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694745)">Core no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694790)">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694340)">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694505)">Core length</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694625)">Recover core</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>%</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694145)">Core barrel length</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832597)">Inner barrel type</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693860)">Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>89.9</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>33.3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>aluminum</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>bla bla bla</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Well Test Information -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Well Test Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
-										<fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699490)">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701335)">Test no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701590)">Type</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701290)">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701380)">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701110)">Choke orifice Size</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>mm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700690)">Density crude oil</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>g/cm3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700915)">Oil flow rate</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>m3/d</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700480)">Gas flow rate M</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>M(m3)/d</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700765)">Water flow rate</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>m3/d</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700360)">Shut in pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>MPa</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700645)">Flow pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>MPa</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700075)">Bottom hole pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>MPa</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700000)">Gas oil ratio</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>m3/m3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700240)">Water oil ratio</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>m3/m3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699730)">Chloride content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699610)">CO2 content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699880)">H2S content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>02:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>production test</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2345.6</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>32.1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>0.86</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>77.7</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>88.8</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>7.7</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>44.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>33.3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>22.2</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>23</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>0.33</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>22.2</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>11.1</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>7.3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Formation Test -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Formation Test
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856531)">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17608469)">Formation pore pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>MPa</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704780)">Good seal ind</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704900)">Depth to sample point</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>m</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704210)">Dominate fluid component</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS373424931)">HC Component density</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>g/cm3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704405)">Sample volume</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>dm3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704120)">Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>66.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>yes</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1224.3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>oil</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>0.33</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>11</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Yada yada yada</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Stratigraphic Information -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Stratigraphic Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500%" column-number="1"/>
-										<fo:table-column column-width="12.500%" column-number="2"/>
-										<fo:table-column column-width="12.500%" column-number="3"/>
-										<fo:table-column column-width="12.500%" column-number="4"/>
-										<fo:table-column column-width="12.500%" column-number="5"/>
-										<fo:table-column column-width="12.500%" column-number="6"/>
-										<fo:table-column column-width="12.500%" column-number="7"/>
-										<fo:table-column column-width="12.500%" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795870)">Depth to top of formation</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796065)">Depth to top of formation</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332)">Formation name</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>bla bla bla</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Lithology Information -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Lithology Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(9%)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(9%)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(9%)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(9%)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(9%)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(10%)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(10%)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(35%)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17713095)">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712870)">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712870)">Difference in Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516)">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921)">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921)">Difference in Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS375160921)">Shows Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712795)">Lithology Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>0</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>0</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape. </fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape. W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2). W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Well Control Incident -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Well Control Incident
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row height="13.840px" overflow="hidden">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790447)">Date</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790597)">Depth of well</fo:basic-link>
-														<fo:block>mMD</fo:block>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790027)">Depth of well mTVD</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17888195)">Lost time</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>min</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789592)">Time for well control regain</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789832)">Depth at bit</fo:basic-link>
-														<fo:block>mMD</fo:block>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789232)">Drilling fluid density</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>g/cm3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307)">Pore pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>g/cm3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755)">Depth to casing</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789472)">Gained vol of Fluid</fo:basic-link>
-													</fo:block>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789037)">Shut in casing pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>bar</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887970)">Shut in drill pipe pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>bar</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788857)">Incident class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789157)">Killing procd</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332)">Formation</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS16631877)">BHT</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2001-12-31</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>16</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>02:16</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1.23</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1.12</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>112</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>44</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>33</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>oil kick</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>lubricate and bleed</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>jura</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>258</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table>
-									<fo:table>
-										<fo:table-body>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape.
-W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2). W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Well Control Incident
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row height="13.840px" overflow="hidden">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
-										<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790447)">Date</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790597)">Depth of well</fo:basic-link>
-														<fo:block>mMD</fo:block>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790027)">Depth of well mTVD</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17888195)">Lost time</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>min</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789592)">Time for well control regain</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789832)">Depth at bit</fo:basic-link>
-														<fo:block>mMD</fo:block>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789232)">Drilling fluid density</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>g/cm3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307)">Pore pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>g/cm3</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755)">Depth to casing</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789472)">Gained vol of Fluid</fo:basic-link>
-													</fo:block>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789037)">Shut in casing pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>bar</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887970)">Shut in drill pipe pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>bar</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788857)">Incident class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789157)">Killing procd</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332)">Formation</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS16631877)">BHT</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2008-12-31</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234.5</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>16</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>02:16</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1.23</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1.12</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>123</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>112</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>44</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>33</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>oil kick</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>lubricate and bleed</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>jura</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>258</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table>
-									<fo:table>
-										<fo:table-body>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape.
-W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Perforation Information -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Perforation Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797330)">Time of opening well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797405)">Time of closing well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://www.posccaesar.org)">Duration well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797480)">Top of perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796970)">Bottom of Perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854791)">Top of perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855226)">Bottom of Perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2001-12-31T02:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>2001-12-31T18:00</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<!--<xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/>-->
-														duration
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1033</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>999</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1100</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<!-- Gas Reading Information -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Gas Reading Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(11)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(6.038)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(6.038)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879697)">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893235)">Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892935)">Depth to top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893070)">Depth to bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892575)">Depth to top</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892710)">Depth to bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892170)">Highest gas</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>%</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892260)">Lowest gas</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>%</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892350)">C1</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892485)">C2</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS17891900)">C3</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS374341731)">IC4</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS374357751)">IC5</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<fo:inline>ppm</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>02:00:00.000Z</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>shut down gas</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1234</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1256</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>999</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>1120</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>77.7</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>44.4</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>55</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>55</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>55</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>55</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:inline>55</fo:inline>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-		</fo:flow>
-	</fo:page-sequence>
-</fo:root>
Index: /ojects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xsl
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xsl (revision 160)
+++  (revision )
@@ -1,4744 +1,0 @@
-﻿<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<xslt:stylesheet xmlns:date="http://exslt.org/dates-and-times" xmlns:str="http://exslt.org/strings" xmlns:xslt="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" extension-element-prefixes="date str">
-<xslt:output indent="yes" encoding="utf-8"/>
-<xslt:param name="XFCrtLocalDate">2011-03-30</xslt:param>
-<xslt:param name="XFCrtLocalTime">13:40:29</xslt:param>
-<xslt:param name="XFCrtLocalDateTime">2011-03-30T13:40:29</xslt:param>
-<xslt:param name="XFCrtUTCDate">2011-03-30</xslt:param>
-<xslt:param name="XFCrtUTCTime">11:40:29</xslt:param>
-<xslt:param name="XFCrtUTCDateTime">2011-03-30T11:40:29</xslt:param>
-<xslt:param name="XFOutputFormat"/>
-<!--
-		This stylesheet was generated for a 'en_US' Translation ID. 
-		The Translation ID applies to both the whole text in a document and the locale-long and locale-short date formats.
-	  -->
-<!-- ============================ GROUPING KEYS =============================== -->
-<!-- ============================ RAW XSL =============================== -->
-<!-- =========================== SCRIPTS ================================ -->
-<!-- ========================= ROOT TEMPLATE =========================== -->
-<xsl:template match="/">
-<fo:root>
-<fo:layout-master-set>
-		<fo:simple-page-master master-name="Letter Page" page-width="30cm" page-height="20cm">
-			<fo:region-body region-name="xsl-region-body" margin="67.200px"/>
-			<fo:region-before region-name="xsl-region-before" display-align="after" extent="67.200px"/>
-			<fo:region-after region-name="xsl-region-after" display-align="before" extent="67.200px"/>
-			<fo:region-start region-name="xsl-region-start" extent="67.200px"/>
-			<fo:region-end region-name="xsl-region-end" extent="67.200px"/>
-		</fo:simple-page-master>
-	</fo:layout-master-set>
-<fo:page-sequence master-reference="Letter Page">
-		<fo:flow flow-name="xsl-region-body" font-family="Times" font-size="11pt">
-			<xsl:variable name="ddrSchema">
-				<xsl:value-of select="'..\HTMLreport\WITSML_drillReport_profiled_schema_2011_01_29.xsd'"/>
-			</xsl:variable>
-			<xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/>
-			<xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/>
-			<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
-			<xsl:variable name="urlRDS">
-				<xsl:value-of select="'http://www.posccaesar.org'"/>
-			</xsl:variable>
-<xslt:comment> Report header </xslt:comment>
-			<fo:block>
-				<fo:table margin-top="-5.200px" table-layout="fixed" width="auto" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(50.44)" column-number="1"/>
-					<fo:table-column column-width="proportional-column-width(49.56)" column-number="2"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold" font-size="11pt">Summary report Wellbore: <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
-</fo:inline></xsl:if></fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold" text-align="right" font-size="11pt">End time:  <xsl:if test="string(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17))"><fo:inline font-weight="bold">
-<xsl:value-of select="substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17)"/>
-</fo:inline></xsl:if></fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-				<fo:leader rule-thickness="5px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-			</fo:block>
-<xslt:comment> Wellbore info </xslt:comment>
-			<fo:block>
-				<xsl:variable name="url_versionKind">
-					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_createDate">
-					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_operator">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_drillContractor">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_rigAlias">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimSpud">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dateDrillComplete">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_elevKelly">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_typeWellbore">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdKickoff">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdKickoff">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdPlugTop">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvd">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_distDrill">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_ropCurrent">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_diaHole">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presTestType">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_strengthForm">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdStrengthForm">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdStrengthForm">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_diaCsgLast">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdCsgLast">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdCsgLast">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/>
-					<fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/>
-					<fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/>
-					<fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Report Number:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:reportNo)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:reportNo"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Period:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(concat(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17), &quot;-&quot;, substring(/witsml:drillReports/witsml:drillReport/witsml:dTimStart, 0, 17)))"><fo:inline>
-<xsl:value-of select="concat(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17), &quot;-&quot;, substring(/witsml:drillReports/witsml:drillReport/witsml:dTimStart, 0, 17))"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Wellbore:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Wellbore Id:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_versionKind})" font-weight="bold">Status:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:versionKind)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:versionKind"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_createDate})" font-weight="bold">Created date:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(substring(/witsml:drillReports/witsml:drillReport/witsml:createDate, 0, 17))"><fo:inline>
-<xsl:value-of select="substring(/witsml:drillReports/witsml:drillReport/witsml:createDate, 0, 17)"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_operator})" font-weight="bold">Operator:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:operator)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:operator"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_drillContractor})" font-weight="bold">Drilling contractor:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:drillContractor)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:drillContractor"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">Rig name:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD name']/witsml:name)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD name']/witsml:name"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row height="17.840px" overflow="hidden">
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_dTimSpud})" font-weight="bold">Spud date:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T'))"><fo:inline>
-<xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T')"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block> <xsl:if test="string(substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T'))"><fo:inline>
-<xsl:value-of select="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T')"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Elevation RKB-MSL <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom)"><fo:inline font-weight="bold">
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly/@uom"/>
-</fo:inline></xsl:if>:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Water depth MSL <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth/@uom"/>
-</fo:inline></xsl:if>:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Tight well</fo:basic-link>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<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>
-									<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>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<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>
-									<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>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Pressure </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH/@uom"/>
-</fo:inline></xsl:if>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})">Temperature </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH/@uom"/>
-</fo:inline></xsl:if>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Rig type</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_typeWellbore})">Wellbore type:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:typeWellbore)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:typeWellbore"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdKickoff})">Depth at Kick Off mMD:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdKickoff)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdKickoff"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdKickoff)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdKickoff"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_md})">Depth mMD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:md)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:md"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_tvd})">Depth mTVD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvd)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvd"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdPlugTop})">Plug Back Depth mMD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdPlugTop)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdPlugTop"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_distDrill})">Dist Drilled</fo:basic-link>  <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill/@uom"/>
-</fo:inline></xsl:if>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_ropCurrent})">Penetration Rate</fo:basic-link> <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent/@uom"/>
-</fo:inline></xsl:if>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_diaHole})">Hole Dia </fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole/@uom"/>
-</fo:inline></xsl:if>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_presTestType})">Pressure Test Type:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:presTestType)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:presTestType"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_strengthForm})">Formation Strength</fo:basic-link><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm/@uom"/>
-</fo:inline></xsl:if>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdStrengthForm})">Depth At Formation Strength mMD:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdStrengthForm)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdStrengthForm"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdStrengthForm)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdStrengthForm"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_diaCsgLast})">Dia Last Casing</fo:basic-link>  <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast/@uom"/>
-</fo:inline></xsl:if>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_mdCsgLast})">Depth At Last Casing mMD:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdCsgLast)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdCsgLast"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdCsgLast})">Depth At Last Casing mTVD:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdCsgLast)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdCsgLast"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"> </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Summary of activity </xslt:comment>
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Summary of Activities (24 Hours)</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:sum24Hr)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:sum24Hr"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Summary of Planned Activities </xslt:comment>
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Summary of Planned Activities (Next 24 Hours)</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:forecast24Hr)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:forecast24Hr"/>
-</fo:inline></xsl:if>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Operations </xslt:comment>
-			<fo:block break-before="page">
-				<xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/>
-				<xsl:variable name="url_dTimStart">
-					<xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimEnd">
-					<xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_proprietaryCode">
-					<xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_state">
-					<xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_comments">
-					<xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Operation</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block font-weight="bold"> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.407)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(10.593)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimStart})">Start Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimEnd})">End Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_proprietaryCode})">Main Oper Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_state})">Main Oper Eval Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_comments})">Remark</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:activity">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring-after(substring(witsml:dTimStart, 0, 17), 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring-after(substring(witsml:dTimEnd, 0, 17), 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdHoleStart)"><fo:inline>
-<xsl:value-of select="witsml:mdHoleStart"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdHoleEnd)"><fo:inline>
-<xsl:value-of select="witsml:mdHoleEnd"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:md)"><fo:inline>
-<xsl:value-of select="witsml:md"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:proprietaryCode)"><fo:inline>
-<xsl:value-of select="witsml:proprietaryCode"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:state)"><fo:inline>
-<xsl:value-of select="witsml:state"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:comments)"><fo:inline>
-<xsl:value-of select="witsml:comments"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Equipment failure info </xslt:comment>
-			<fo:block>
-				<xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_equipClass">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_eTimMissProduction">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimRepair">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_description">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Equipment Failure Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(19.454)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(13.879)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(16.667)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(16.667)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(18.427)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.906)" column-number="6"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Start</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_equipClass})">Sub Equip Syst Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_eTimMissProduction})">Operation Downtime</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/drillReports/drillReport/equipFailureInfo/eTimMissProduction/@uom)"><fo:inline>
-<xsl:value-of select="/drillReports/drillReport/equipFailureInfo/eTimMissProduction/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimRepair})">Equipment Repaired</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_description})">Equip Failure Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:equipFailureInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring(witsml:dTim, 0, 17))"><fo:inline>
-<xsl:value-of select="substring(witsml:dTim, 0, 17)"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:md)"><fo:inline>
-<xsl:value-of select="witsml:md"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:equipClass)"><fo:inline>
-<xsl:value-of select="witsml:equipClass"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:eTimMissProduction)"><fo:inline>
-<xsl:value-of select="witsml:eTimMissProduction"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring(witsml:dTimRepair, 0, 17))"><fo:inline>
-<xsl:value-of select="substring(witsml:dTimRepair, 0, 17)"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:description)"><fo:inline>
-<xsl:value-of select="witsml:description"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Bit Record </xslt:comment>
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/>
-				<xsl:variable name="url_numBit">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_diaBit">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_codeMfg">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_manufacturer">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table width="100%">
-					<fo:table-column/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Bit Record
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_diaBit})">Bit size</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:diaBit/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:diaBit/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_numBit})">Run No</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_codeMfg})">Model</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hours drilled</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Start</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD end</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hole made (run)</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hours drilled (run)</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>ROP</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total hole made</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total hours drilled</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total ROP</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Dull grade</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:diaBit)"><fo:inline>
-<xsl:value-of select="witsml:diaBit"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:numBit)"><fo:inline>
-<xsl:value-of select="witsml:numBit"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:codeMfg)"><fo:inline>
-<xsl:value-of select="witsml:codeMfg"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:eTimOpBit)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:mdHoleStart)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:mdHoleStart"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:mdHoleStop)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:mdHoleStop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:eTimOpBit)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:ropAv)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:ropAv"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:mdTotHoleMade)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:totHrsDrilled)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:bitRun/witsml:ropMx)"><fo:inline>
-<xsl:value-of select="witsml:bitRun/witsml:ropMx"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:dullGrade)"><fo:inline>
-<xsl:value-of select="witsml:dullGrade"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> 
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Casing/Liner/Tubing </xslt:comment>
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Casing/Liner/Tubing information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="12"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>Type of pipe</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Casing type</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Run time</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Description</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal outside diameter</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal inside diameter</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Weight</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Grade</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Connection</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Length</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Top/Hangar</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Bottom/Shoe</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/>
-														<xsl:variable name="pipeType" select="witsml:type"/>
-														<xsl:if test="string($element_pipeType//xsd:enumeration[@value=$pipeType])"><fo:inline>
-<xsl:value-of select="$element_pipeType//xsd:enumeration[@value=$pipeType]"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:casing_liner_tubing_run/witsml:tubularJobType)"><fo:inline>
-<xsl:value-of select="witsml:casing_liner_tubing_run/witsml:tubularJobType"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:casing_liner_tubing_run/witsml:description)"><fo:inline>
-<xsl:value-of select="witsml:casing_liner_tubing_run/witsml:description"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:od)"><fo:inline>
-<xsl:value-of select="witsml:od"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:id)"><fo:inline>
-<xsl:value-of select="witsml:id"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:weight)"><fo:inline>
-<xsl:value-of select="witsml:weight"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:grade)"><fo:inline>
-<xsl:value-of select="witsml:grade"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:connection)"><fo:inline>
-<xsl:value-of select="witsml:connection"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom - witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom - witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Cement info </xslt:comment>
-			<fo:block break-before="page">
-				<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:cementStage">
-<fo:block>
-					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-					<fo:leader/>
-					<fo:table>
-						<fo:table-column column-width="100%"/>
-						<fo:table-body>
-							<fo:table-row font-weight="bold" font-size="14pt">
-								<fo:table-cell>
-									<fo:block>
-									Cement information
-								</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block>
-										<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="6.667" column-number="1"/>
-											<fo:table-column column-width="6.667" column-number="2"/>
-											<fo:table-column column-width="6.667" column-number="3"/>
-											<fo:table-column column-width="6.667" column-number="4"/>
-											<fo:table-column column-width="6.667" column-number="5"/>
-											<fo:table-column column-width="6.667" column-number="6"/>
-											<fo:table-column column-width="6.667" column-number="7"/>
-											<fo:table-column column-width="6.667" column-number="8"/>
-											<fo:table-column column-width="6.667" column-number="9"/>
-											<fo:table-column column-width="6.667" column-number="10"/>
-											<fo:table-column column-width="6.667" column-number="11"/>
-											<fo:table-column column-width="6.667" column-number="12"/>
-											<fo:table-column column-width="6.667" column-number="13"/>
-											<fo:table-column column-width="6.667" column-number="14"/>
-											<fo:table-column column-width="6.667" column-number="15"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Start time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>End time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Job type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Casing string diameter</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:casingStrDia/@uom)"><fo:inline>
-<xsl:value-of select="witsml:casingStrDia/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Top plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Bottom plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bumped</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bump pressure</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:presBump/@uom)"><fo:inline>
-<xsl:value-of select="witsml:presBump/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Float held</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Pressure release time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Full returns</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Cement volume returns</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:volReturns/@uom)"><fo:inline>
-<xsl:value-of select="witsml:volReturns/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Reciprocated</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Rotated</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:jobType)"><fo:inline>
-<xsl:value-of select="witsml:jobType"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:casingStrDia)"><fo:inline>
-<xsl:value-of select="witsml:casingStrDia"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:comments)"><fo:inline>
-<xsl:value-of select="witsml:comments"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if>
-															<xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if>
-															<xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if>
-															<xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:presBump)"><fo:inline>
-<xsl:value-of select="witsml:presBump"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if>
-															<xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(substring(witsml:eTimPresHeld, 0, 17))"><fo:inline>
-<xsl:value-of select="substring(witsml:eTimPresHeld, 0, 17)"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if>
-															<xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:volReturns)"><fo:inline>
-<xsl:value-of select="witsml:volReturns"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if>
-															<xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if>
-															<xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table>
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block/>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row font-weight="bold" font-size="13pt">
-								<fo:table-cell>
-									<fo:block>Cement Fluid Information</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Fluid type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid Description</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Volume pumped</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:cementingFluid/witsml:volPumped/@uom)"><fo:inline>
-<xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid densitiy</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:cementingFluid/witsml:density/@uom)"><fo:inline>
-<xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Yield point</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:cementingFluid/witsml:yp/@uom)"><fo:inline>
-<xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Mix water ratio</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:cementingFluid/witsml:ratioMixWater/@uom)"><fo:inline>
-<xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Free water</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:cementingFluid/witsml:pcFreeWater/@uom)"><fo:inline>
-<xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Thick time</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:cementingFluid/witsml:eTimThickening/@uom)"><fo:inline>
-<xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<xsl:for-each select="witsml:cementingFluid">
-<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:typeFluid)"><fo:inline>
-<xsl:value-of select="witsml:typeFluid"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:descFluid)"><fo:inline>
-<xsl:value-of select="witsml:descFluid"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:volPumped)"><fo:inline>
-<xsl:value-of select="witsml:volPumped"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:density)"><fo:inline>
-<xsl:value-of select="witsml:density"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:yp)"><fo:inline>
-<xsl:value-of select="witsml:yp"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:ratioMixWater)"><fo:inline>
-<xsl:value-of select="witsml:ratioMixWater"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:pcFreeWater)"><fo:inline>
-<xsl:value-of select="witsml:pcFreeWater"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:eTimThickening)"><fo:inline>
-<xsl:value-of select="witsml:eTimThickening"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:comments)"><fo:inline>
-<xsl:value-of select="witsml:comments"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-</xsl:for-each>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block/>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-						</fo:table-body>
-					</fo:table>
-				</fo:block>
-</xsl:for-each>
-			</fo:block>
-<xslt:comment> Pore pressure </xslt:comment>
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
-				<xsl:variable name="url_readingKind">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_equivalentMudWeight">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvd">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Pore Pressure
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/>
-										<fo:table-column column-width="12.500" column-number="4"/>
-										<fo:table-column column-width="12.500" column-number="5"/><fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_readingKind})">Reading</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_equivalentMudWeight})">Equ Mud Weight</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:porePressure">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:readingKind)"><fo:inline>
-<xsl:value-of select="witsml:readingKind"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:equivalentMudWeight)"><fo:inline>
-<xsl:value-of select="witsml:equivalentMudWeight"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring(witsml:dTim, 0, 17))"><fo:inline>
-<xsl:value-of select="substring(witsml:dTim, 0, 17)"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:md)"><fo:inline>
-<xsl:value-of select="witsml:md"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvd)"><fo:inline>
-<xsl:value-of select="witsml:tvd"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Survey Station </xslt:comment>
-			<fo:block>
-				<xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvd">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_incl">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_azi">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Survey Station
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/>
-										<fo:table-column column-width="12.500" column-number="4"/><fo:table-column column-width="12.500" column-number="5"/><fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_incl})">Inclination</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_azi})">Azimuth</fo:basic-link>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:surveyStation">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:md)"><fo:inline>
-<xsl:value-of select="witsml:md"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvd)"><fo:inline>
-<xsl:value-of select="witsml:tvd"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:incl)"><fo:inline>
-<xsl:value-of select="witsml:incl"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:azi)"><fo:inline>
-<xsl:value-of select="witsml:azi"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Log Information </xslt:comment>
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
-				<xsl:variable name="url_serviceCompany">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_runNumber">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tool">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tempBHCT">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tempBHST">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Log Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:inline font-weight="bold">Logging Company:</fo:inline><xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany"/>
-</fo:inline></xsl:if></fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/>
-										<fo:table-column column-width="12.500" column-number="4"/>
-										<fo:table-column column-width="12.500" column-number="5"/>
-										<fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_runNumber})">Run no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tool})">Tool</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tempBHCT})">BHCT</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tempBHST})">BHST</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:logInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:runNumber)"><fo:inline>
-<xsl:value-of select="witsml:runNumber"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tool)"><fo:inline>
-<xsl:value-of select="witsml:tool"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tempBHCT)"><fo:inline>
-<xsl:value-of select="witsml:tempBHCT"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tempBHST)"><fo:inline>
-<xsl:value-of select="witsml:tempBHST"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Core Information </xslt:comment>
-			<fo:block>
-				<xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
-				<xsl:variable name="url_coreNumber">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_lenRecovered">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_recoverPc">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_lenBarrel">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_innerBarrelType">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_coreDescription">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Core Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_coreNumber})">Core no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_lenRecovered})">Core length</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_recoverPc})">Recover core</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_lenBarrel})">Core barrel length</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_innerBarrelType})">Inner barrel type</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_coreDescription})">Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:coreInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:coreNumber)"><fo:inline>
-<xsl:value-of select="witsml:coreNumber"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:lenRecovered)"><fo:inline>
-<xsl:value-of select="witsml:lenRecovered"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:recoverPc)"><fo:inline>
-<xsl:value-of select="witsml:recoverPc"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:lenBarrel)"><fo:inline>
-<xsl:value-of select="witsml:lenBarrel"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:innerBarrelType)"><fo:inline>
-<xsl:value-of select="witsml:innerBarrelType"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:coreDescription)"><fo:inline>
-<xsl:value-of select="witsml:coreDescription"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Well Test Information </xslt:comment>
-			<fo:block break-before="page">
-				<xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_testNumber">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_testType">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_chokeOrificeSize">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_densityOil">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_flowRateOil">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_flowRateGas">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_flowRateWater">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presShutIn">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presFlowing">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presBottom">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_gasOilRatio">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_waterOilRatio">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_chloride">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_carbonDioxide">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_hydrogenSulfide">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Well Test Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
-										<fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_testNumber})">Test no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_testType})">Type</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_chokeOrificeSize})">Choke orifice Size</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_densityOil})">Density crude oil</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_flowRateOil})">Oil flow rate</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_flowRateGas})">Gas flow rate M</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_flowRateWater})">Water flow rate</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presShutIn})">Shut in pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presFlowing})">Flow pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presBottom})">Bottom hole pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_gasOilRatio})">Gas oil ratio</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_waterOilRatio})">Water oil ratio</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_chloride})">Chloride content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_carbonDioxide})">CO2 content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_hydrogenSulfide})">H2S content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring-after(substring(witsml:dTim, 0, 17), 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:testNumber)"><fo:inline>
-<xsl:value-of select="witsml:testNumber"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:testType)"><fo:inline>
-<xsl:value-of select="witsml:testType"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:chokeOrificeSize)"><fo:inline>
-<xsl:value-of select="witsml:chokeOrificeSize"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:densityOil)"><fo:inline>
-<xsl:value-of select="witsml:densityOil"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:flowRateOil)"><fo:inline>
-<xsl:value-of select="witsml:flowRateOil"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:flowRateGas)"><fo:inline>
-<xsl:value-of select="witsml:flowRateGas"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:flowRateWater)"><fo:inline>
-<xsl:value-of select="witsml:flowRateWater"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:presShutIn)"><fo:inline>
-<xsl:value-of select="witsml:presShutIn"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:presFlowing)"><fo:inline>
-<xsl:value-of select="witsml:presFlowing"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:presBottom)"><fo:inline>
-<xsl:value-of select="witsml:presBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:gasOilRatio)"><fo:inline>
-<xsl:value-of select="witsml:gasOilRatio"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:waterOilRatio)"><fo:inline>
-<xsl:value-of select="witsml:waterOilRatio"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:chloride)"><fo:inline>
-<xsl:value-of select="witsml:chloride"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:carbonDioxide)"><fo:inline>
-<xsl:value-of select="witsml:carbonDioxide"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:hydrogenSulfide)"><fo:inline>
-<xsl:value-of select="witsml:hydrogenSulfide"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Formation Test </xslt:comment>
-			<fo:block>
-				<xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presPore">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_goodSealm">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdSample">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dominateComponent">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_densityHC">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_volumeSample">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_description">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Formation Test
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presPore})">Formation pore pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_goodSealm})">Good seal ind</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdSample})">Depth to sample point</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dominateComponent})">Dominate fluid component</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_densityHC})">HC Component density</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_volumeSample})">Sample volume</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_description})">Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:md)"><fo:inline>
-<xsl:value-of select="witsml:md"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:presPore)"><fo:inline>
-<xsl:value-of select="witsml:presPore"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if>
-														<xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdSample)"><fo:inline>
-<xsl:value-of select="witsml:mdSample"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:dominateComponent)"><fo:inline>
-<xsl:value-of select="witsml:dominateComponent"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:densityHC)"><fo:inline>
-<xsl:value-of select="witsml:densityHC"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:volumeSample)"><fo:inline>
-<xsl:value-of select="witsml:volumeSample"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:description)"><fo:inline>
-<xsl:value-of select="witsml:description"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Stratigraphic Information </xslt:comment>
-			<fo:block break-before="page">
-				<xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_description">
-					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Stratigraphic Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/><fo:table-column column-width="12.500" column-number="4"/><fo:table-column column-width="12.500" column-number="5"/><fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold" height="29.680px" overflow="hidden">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top of formation</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top of formation</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_description})">Formation name</fo:basic-link>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:stratInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
-<xsl:value-of select="witsml:tvdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:description)"><fo:inline>
-<xsl:value-of select="witsml:description"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Lithology Information </xslt:comment>
-			<fo:block>
-				<xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdBottom">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_show">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_lithology">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Lithology Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(6.396)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(6.297)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.698)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(5.196)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(5.696)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(7.097)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(49.62)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Difference in Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">Difference in Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_show})">Shows Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_lithology})">Lithology Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:lithShowInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom - witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom - witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
-<xsl:value-of select="witsml:tvdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdBottom)"><fo:inline>
-<xsl:value-of select="witsml:tvdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdBottom - witsml:tvdTop)"><fo:inline>
-<xsl:value-of select="witsml:tvdBottom - witsml:tvdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:show)"><fo:inline>
-<xsl:value-of select="witsml:show"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:lithology)"><fo:inline>
-<xsl:value-of select="witsml:lithology"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Well Control Incident </xslt:comment>
-			<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:controlIncidentInfo">
-<fo:block>
-					<xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
-					<xsl:variable name="url_dTim">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_mdInflow">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_tvdInflow">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_eTimLost">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_dTimRegained">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_mdBit">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_wtMud">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_porePressure">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_mdCsgLast">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_volMudGained">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_presShutInCasing">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_presShutInDrill">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_incidentType">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_killingType">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_formation">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_tempBottom">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-					<fo:leader/>
-					<fo:table>
-						<fo:table-column column-width="100%"/>
-						<fo:table-body>
-							<fo:table-row font-weight="bold" font-size="14pt">
-								<fo:table-cell>
-									<fo:block>
-									Well Control Incident
-								</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row height="13.840px" overflow="hidden">
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_dTim})">Date</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_mdInflow})">Depth of well</fo:basic-link>
-															<fo:block>mMD</fo:block>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_tvdInflow})">Depth of well mTVD</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_eTimLost})">Lost time</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:eTimLost/@uom)"><fo:inline>
-<xsl:value-of select="witsml:eTimLost/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_dTimRegained})">Time for well control regain</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_mdBit})">Depth at bit</fo:basic-link>
-															<fo:block>mMD</fo:block>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_wtMud})">Drilling fluid density</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:wtMud/@uom)"><fo:inline>
-<xsl:value-of select="witsml:wtMud/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_porePressure})">Pore pressure</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:porePressure/@uom)"><fo:inline>
-<xsl:value-of select="witsml:porePressure/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_mdCsgLast})">Depth to casing</fo:basic-link>
-														</fo:block>
-														<fo:block>mMD</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_volMudGained})">Gained vol of Fluid</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:volMudGain/@uom)"><fo:inline>
-<xsl:value-of select="witsml:volMudGain/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_presShutInCasing})">Shut in casing pressure</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:presShutInCasing/@uom)"><fo:inline>
-<xsl:value-of select="witsml:presShutInCasing/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_presShutInDrill})">Shut in drill pipe pressure</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xsl:if test="string(witsml:presShutInDrill/@uom)"><fo:inline>
-<xsl:value-of select="witsml:presShutInDrill/@uom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_incidentType})">Incident class</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_killingType})">Killing procd</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_formation})">Formation</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_tempBottom})">BHT</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(substring-before(witsml:dTim, 'T'))"><fo:inline>
-<xsl:value-of select="substring-before(witsml:dTim, 'T')"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:mdInflow)"><fo:inline>
-<xsl:value-of select="witsml:mdInflow"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:tvdInFlow)"><fo:inline>
-<xsl:value-of select="witsml:tvdInFlow"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:eTimLost)"><fo:inline>
-<xsl:value-of select="witsml:eTimLost"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(substring-after(substring(witsml:dTimRegained, 0, 17), 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:mdBit)"><fo:inline>
-<xsl:value-of select="witsml:mdBit"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:wtMud)"><fo:inline>
-<xsl:value-of select="witsml:wtMud"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:porePressure)"><fo:inline>
-<xsl:value-of select="witsml:porePressure"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:mdCsgLast)"><fo:inline>
-<xsl:value-of select="witsml:mdCsgLast"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:volMudGained)"><fo:inline>
-<xsl:value-of select="witsml:volMudGained"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:presShutInCasing)"><fo:inline>
-<xsl:value-of select="witsml:presShutInCasing"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:presShutInDrill)"><fo:inline>
-<xsl:value-of select="witsml:presShutInDrill"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:incidentType)"><fo:inline>
-<xsl:value-of select="witsml:incidentType"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:killingType)"><fo:inline>
-<xsl:value-of select="witsml:killingType"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:formation)"><fo:inline>
-<xsl:value-of select="witsml:formation"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:tempBottom)"><fo:inline>
-<xsl:value-of select="witsml:tempBottom"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table><fo:table>
-											<fo:table-body>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block> </fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="string(witsml:description)"><fo:inline>
-<xsl:value-of select="witsml:description"/>
-</fo:inline></xsl:if>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-						</fo:table-body>
-					</fo:table>
-				</fo:block>
-</xsl:for-each>
-<xslt:comment> Perforation Information </xslt:comment>
-			<fo:block break-before="page">
-				<xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTimOpen">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimClose">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdBottom">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Perforation Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimOpen})">Time of opening well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimClose})">Time of closing well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$urlRDS})">Duration well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Top of perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Bottom of Perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Top of perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">Bottom of Perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:perfInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring(witsml:dTimOpen, 0 ,17))"><fo:inline>
-<xsl:value-of select="substring(witsml:dTimOpen, 0 ,17)"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring(witsml:dTimClose, 0, 17))"><fo:inline>
-<xsl:value-of select="substring(witsml:dTimClose, 0, 17)"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block><xslt:comment>&lt;xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/&gt;</xslt:comment>
-														duration
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
-<xsl:value-of select="witsml:tvdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdBottom)"><fo:inline>
-<xsl:value-of select="witsml:tvdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<xslt:comment> Gas Reading Information </xslt:comment>
-			<fo:block>
-				<xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_readingType">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdBottom">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_gasHigh">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_gasLow">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_meth">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_eth">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_prop">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_ibut">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_ipent">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Gas Reading Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_readingType})">Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth to bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">Depth to bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_gasHigh})">Highest gas</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_gasLow})">Lowest gas</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_meth})">C1</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_eth})">C2</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_prop})">C3</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_ibut})">IC4</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_ipent})">IC5</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom)"><fo:inline>
-<xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xsl:for-each select="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo">
-<fo:table-row>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(substring-after(witsml:dTim, 'T'))"><fo:inline>
-<xsl:value-of select="substring-after(witsml:dTim, 'T')"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:readingType)"><fo:inline>
-<xsl:value-of select="witsml:readingType"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdTop)"><fo:inline>
-<xsl:value-of select="witsml:mdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:mdBottom)"><fo:inline>
-<xsl:value-of select="witsml:mdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdTop)"><fo:inline>
-<xsl:value-of select="witsml:tvdTop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:tvdBottom)"><fo:inline>
-<xsl:value-of select="witsml:tvdBottom"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:gasHigh)"><fo:inline>
-<xsl:value-of select="witsml:gasHigh"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:gasLow)"><fo:inline>
-<xsl:value-of select="witsml:gasLow"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:meth)"><fo:inline>
-<xsl:value-of select="witsml:meth"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:eth)"><fo:inline>
-<xsl:value-of select="witsml:eth"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:prop)"><fo:inline>
-<xsl:value-of select="witsml:prop"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:ibut)"><fo:inline>
-<xsl:value-of select="witsml:ibut"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="string(witsml:ipent)"><fo:inline>
-<xsl:value-of select="witsml:ipent"/>
-</fo:inline></xsl:if>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-</xsl:for-each>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-		</fo:flow>
-	</fo:page-sequence>
-</fo:root>
-</xsl:template>
-<!-- ========================= NUMBER FORMATS ========================= -->
-<!-- ========================= CUSTOM FORMATS ========================= -->
-<xslt:template name="str:custom-format">
-<xslt:param name="str" select="''"/>
-<xslt:param name="pattern" select="''"/>
-<xslt:param name="crtPos" select="1"/>
-<xslt:if test="$crtPos &lt;= string-length($pattern)">
-<xslt:variable name="chr" select="substring(normalize-space($pattern), $crtPos, 1)"/>
-<xslt:choose>
-<xslt:when test="$chr = '#'">
-<xslt:value-of select="substring($str, 1, 1)"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="$chr"/>
-</xslt:otherwise>
-</xslt:choose>
-<xslt:call-template name="str:custom-format">
-<xslt:with-param name="str">
-<xslt:choose>
-<xslt:when test="$chr = '#'">
-<xslt:value-of select="substring($str, 2)"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="$str"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:with-param>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="crtPos" select="$crtPos + 1"/>
-</xslt:call-template>
-</xslt:if>
-</xslt:template>
-<!-- ========================= EXSLT TEMPLATES [str.padding.template.xsl] ========================= -->
-<xslt:template name="str:padding">
-<xslt:param name="length" select="0"/>
-<xslt:param name="chars" select="' '"/>
-<xslt:choose>
-<xslt:when test="not($length) or not($chars)"/>
-<xslt:otherwise>
-<xslt:variable name="string" select="concat($chars, $chars, $chars, $chars, $chars,                                        $chars, $chars, $chars, $chars, $chars)"/>
-<xslt:choose>
-<xslt:when test="string-length($string) &gt;= $length">
-<xslt:value-of select="substring($string, 1, $length)"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:call-template name="str:padding">
-<xslt:with-param name="length" select="$length"/>
-<xslt:with-param name="chars" select="$string"/>
-</xslt:call-template>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:template>
-<!-- ========================= EXSLT TEMPLATES [date.format-date.template.xsl] ========================= -->
-<xslt:template name="date:_get-days-elapsed">
-<xslt:param name="month"/>
-<xslt:choose>
-<xslt:when test="$month = 1">0</xslt:when>
-<xslt:when test="$month = 2">31</xslt:when>
-<xslt:when test="$month = 3">59</xslt:when>
-<xslt:when test="$month = 4">90</xslt:when>
-<xslt:when test="$month = 5">120</xslt:when>
-<xslt:when test="$month = 6">151</xslt:when>
-<xslt:when test="$month = 7">181</xslt:when>
-<xslt:when test="$month = 8">212</xslt:when>
-<xslt:when test="$month = 9">243</xslt:when>
-<xslt:when test="$month = 10">273</xslt:when>
-<xslt:when test="$month = 11">304</xslt:when>
-<xslt:when test="$month = 12">334</xslt:when>
-<xslt:otherwise>365</xslt:otherwise>
-</xslt:choose>
-</xslt:template>
-<xslt:template name="date:_get-month">
-<xslt:param name="month"/>
-<xslt:param name="lang-id" select="'en_US'"/>
-<xslt:choose>
-<xslt:when test="$lang-id = 'fr_FR'">
-<xslt:choose>
-<xslt:when test="$month = 1">Janvier;Jan</xslt:when>
-<xslt:when test="$month = 2">Février;Fév</xslt:when>
-<xslt:when test="$month = 3">Mars;Mar</xslt:when>
-<xslt:when test="$month = 4">Avril;Avr</xslt:when>
-<xslt:when test="$month = 5">Mai;Mai</xslt:when>
-<xslt:when test="$month = 6">Juin;Jui</xslt:when>
-<xslt:when test="$month = 7">Juillet;Juil</xslt:when>
-<xslt:when test="$month = 8">Août;Aoû</xslt:when>
-<xslt:when test="$month = 9">Septembre;Sep</xslt:when>
-<xslt:when test="$month = 10">Octobre;Oct</xslt:when>
-<xslt:when test="$month = 11">Novembre;Nov</xslt:when>
-<xslt:when test="$month = 12">Décembre;Déc</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$lang-id = 'de_AT' or $lang-id = 'de_DE' or $lang-id = 'de_CH'">
-<xslt:choose>
-<xslt:when test="$month = 1">Januar;Jan</xslt:when>
-<xslt:when test="$month = 2">Februar;Feb</xslt:when>
-<xslt:when test="$month = 3">März;Mär</xslt:when>
-<xslt:when test="$month = 4">April;Apr</xslt:when>
-<xslt:when test="$month = 5">Dürfen;Dür</xslt:when>
-<xslt:when test="$month = 6">Juni;Jun</xslt:when>
-<xslt:when test="$month = 7">Juli;Jul</xslt:when>
-<xslt:when test="$month = 8">August;Aug</xslt:when>
-<xslt:when test="$month = 9">September;Sep</xslt:when>
-<xslt:when test="$month = 10">Oktober;Okt</xslt:when>
-<xslt:when test="$month = 11">November;Nov</xslt:when>
-<xslt:when test="$month = 12">Dezember;Dez</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$lang-id = 'es_ES'">
-<xslt:choose>
-<xslt:when test="$month = 1">Enero;Ene</xslt:when>
-<xslt:when test="$month = 2">Febrero;Feb</xslt:when>
-<xslt:when test="$month = 3">Marzo;Mar</xslt:when>
-<xslt:when test="$month = 4">Abril;Abr</xslt:when>
-<xslt:when test="$month = 5">Mayo;May</xslt:when>
-<xslt:when test="$month = 6">Junio;Jun</xslt:when>
-<xslt:when test="$month = 7">Julio;Jul</xslt:when>
-<xslt:when test="$month = 8">Agosto;Ago</xslt:when>
-<xslt:when test="$month = 9">Septiembre;Sep</xslt:when>
-<xslt:when test="$month = 10">Octubre;Oct</xslt:when>
-<xslt:when test="$month = 11">Noviembre;Nov</xslt:when>
-<xslt:when test="$month = 12">Diciembre;Dic</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$lang-id = 'nl_NL'">
-<xslt:choose>
-<xslt:when test="$month = 1">januari;jan</xslt:when>
-<xslt:when test="$month = 2">februari;feb</xslt:when>
-<xslt:when test="$month = 3">maart;maa</xslt:when>
-<xslt:when test="$month = 4">april;apr</xslt:when>
-<xslt:when test="$month = 5">mei;mei</xslt:when>
-<xslt:when test="$month = 6">juni;jun</xslt:when>
-<xslt:when test="$month = 7">juli;jul</xslt:when>
-<xslt:when test="$month = 8">augustus;aug</xslt:when>
-<xslt:when test="$month = 9">september;sep</xslt:when>
-<xslt:when test="$month = 10">oktober;okt</xslt:when>
-<xslt:when test="$month = 11">november;nov</xslt:when>
-<xslt:when test="$month = 12">december;dec</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:otherwise>
-<xslt:choose>
-<xslt:when test="$month = 1">January;Jan</xslt:when>
-<xslt:when test="$month = 2">February;Feb</xslt:when>
-<xslt:when test="$month = 3">March;Mar</xslt:when>
-<xslt:when test="$month = 4">April;Apr</xslt:when>
-<xslt:when test="$month = 5">May;May</xslt:when>
-<xslt:when test="$month = 6">June;Jun</xslt:when>
-<xslt:when test="$month = 7">July;Jul</xslt:when>
-<xslt:when test="$month = 8">August;Aug</xslt:when>
-<xslt:when test="$month = 9">September;Sep</xslt:when>
-<xslt:when test="$month = 10">October;Oct</xslt:when>
-<xslt:when test="$month = 11">November;Nov</xslt:when>
-<xslt:when test="$month = 12">December;Dec</xslt:when>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:template>
-<xslt:template name="date:_get-day">
-<xslt:param name="day"/>
-<xslt:param name="lang-id" select="'en_US'"/>
-<xslt:choose>
-<xslt:when test="$lang-id = 'fr_FR'">
-<xslt:choose>
-<xslt:when test="$day = 1">Dimanche;Dim</xslt:when>
-<xslt:when test="$day = 2">Lundi;Lun</xslt:when>
-<xslt:when test="$day = 3">Mardi;Mar</xslt:when>
-<xslt:when test="$day = 4">Mercredi;Mer</xslt:when>
-<xslt:when test="$day = 5">Jeudi;Jeu</xslt:when>
-<xslt:when test="$day = 6">Vendredi;Ven</xslt:when>
-<xslt:when test="$day = 7">Samedi;Sam</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$lang-id = 'de_AT' or $lang-id = 'de_DE' or $lang-id = 'de_CH'">
-<xslt:choose>
-<xslt:when test="$day = 1">Sonntag;Son</xslt:when>
-<xslt:when test="$day = 2">Montag;Mon</xslt:when>
-<xslt:when test="$day = 3">Dienstag;Die</xslt:when>
-<xslt:when test="$day = 4">Mittwoch;Mit</xslt:when>
-<xslt:when test="$day = 5">Donnerstag;Don</xslt:when>
-<xslt:when test="$day = 6">Freitag;Fre</xslt:when>
-<xslt:when test="$day = 7">Samstag;Sam</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$lang-id = 'es_ES'">
-<xslt:choose>
-<xslt:when test="$day = 1">Domingo;Dom</xslt:when>
-<xslt:when test="$day = 2">Lunes;Lun</xslt:when>
-<xslt:when test="$day = 3">Martes;Mar</xslt:when>
-<xslt:when test="$day = 4">Miércoles;Mié</xslt:when>
-<xslt:when test="$day = 5">Jueves;Jue</xslt:when>
-<xslt:when test="$day = 6">Viernes;Vie</xslt:when>
-<xslt:when test="$day = 7">Sábado;Sáb</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$lang-id = 'nl_NL'">
-<xslt:choose>
-<xslt:when test="$day = 1">zondag;zon</xslt:when>
-<xslt:when test="$day = 2">maandag;maa</xslt:when>
-<xslt:when test="$day = 3">dinsdag;din</xslt:when>
-<xslt:when test="$day = 4">woensdag;woe</xslt:when>
-<xslt:when test="$day = 5">donderdag;don</xslt:when>
-<xslt:when test="$day = 6">vrijdag;vri</xslt:when>
-<xslt:when test="$day = 7">zaterdag;zat</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:otherwise>
-<xslt:choose>
-<xslt:when test="$day = 1">Sunday;Sun</xslt:when>
-<xslt:when test="$day = 2">Monday;Mon</xslt:when>
-<xslt:when test="$day = 3">Tuesday;Tue</xslt:when>
-<xslt:when test="$day = 4">Wednesday;Wed</xslt:when>
-<xslt:when test="$day = 5">Thursday;Thu</xslt:when>
-<xslt:when test="$day = 6">Friday;Fri</xslt:when>
-<xslt:when test="$day = 7">Saturday;Sat</xslt:when>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:template>
-<xslt:template name="date:format-date">
-<xslt:param name="date-time"/>
-<xslt:param name="pattern"/>
-<xslt:param name="lang-id"/>
-<xslt:variable name="formatted">
-<xslt:choose>
-<xslt:when test="starts-with($date-time, '---')">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="'NaN'"/>
-<xslt:with-param name="month" select="'NaN'"/>
-<xslt:with-param name="day" select="number(substring($date-time, 4, 2))"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:when test="starts-with($date-time, '--')">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="'NaN'"/>
-<xslt:with-param name="month" select="number(substring($date-time, 3, 2))"/>
-<xslt:with-param name="day" select="number(substring($date-time, 6, 2))"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:otherwise>
-<xslt:variable name="neg" select="starts-with($date-time, '-')"/>
-<xslt:variable name="no-neg">
-<xslt:choose>
-<xslt:when test="$neg or starts-with($date-time, '+')">
-<xslt:value-of select="substring($date-time, 2)"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="$date-time"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:variable>
-<xslt:variable name="no-neg-length" select="string-length($no-neg)"/>
-<xslt:variable name="timezone">
-<xslt:choose>
-<xslt:when test="substring($no-neg, $no-neg-length) = 'Z'">Z</xslt:when>
-<xslt:otherwise>
-<xslt:variable name="tz" select="substring($no-neg, $no-neg-length - 5)"/>
-<xslt:if test="(substring($tz, 1, 1) = '-' or                                      substring($tz, 1, 1) = '+') and                                    substring($tz, 4, 1) = ':'">
-<xslt:value-of select="$tz"/>
-</xslt:if>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:variable>
-<xslt:if test="not(string($timezone)) or                           $timezone = 'Z' or                            (substring($timezone, 2, 2) &lt;= 23 and                            substring($timezone, 5, 2) &lt;= 59)">
-<xslt:variable name="dt" select="substring($no-neg, 1, $no-neg-length - string-length($timezone))"/>
-<xslt:variable name="dt-length" select="string-length($dt)"/>
-<xslt:choose>
-<xslt:when test="substring($dt, 3, 1) = ':' and                                   substring($dt, 6, 1) = ':'">
-<xslt:variable name="hour" select="substring($dt, 1, 2)"/>
-<xslt:variable name="min" select="substring($dt, 4, 2)"/>
-<xslt:variable name="sec" select="substring($dt, 7)"/>
-<xslt:if test="$hour &lt;= 23 and                                    $min &lt;= 59 and                                    $sec &lt;= 60">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="'NaN'"/>
-<xslt:with-param name="month" select="'NaN'"/>
-<xslt:with-param name="day" select="'NaN'"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$min"/>
-<xslt:with-param name="second" select="$sec"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:if>
-</xslt:when>
-<xslt:otherwise>
-<xslt:variable name="year" select="substring($dt, 1, 4) * (($neg * -2) + 1)"/>
-<xslt:choose>
-<xslt:when test="not(number($year))"/>
-<xslt:when test="$dt-length = 4">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:when test="substring($dt, 5, 1) = '-'">
-<xslt:variable name="month" select="substring($dt, 6, 2)"/>
-<xslt:choose>
-<xslt:when test="not($month &lt;= 12)"/>
-<xslt:when test="$dt-length = 7">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:when test="substring($dt, 8, 1) = '-'">
-<xslt:variable name="day" select="substring($dt, 9, 2)"/>
-<xslt:if test="$day &lt;= 31">
-<xslt:choose>
-<xslt:when test="$dt-length = 10">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:when test="substring($dt, 11, 1) = 'T' and                                                        substring($dt, 14, 1) = ':' and                                                        substring($dt, 17, 1) = ':'">
-<xslt:variable name="hour" select="substring($dt, 12, 2)"/>
-<xslt:variable name="min" select="substring($dt, 15, 2)"/>
-<xslt:variable name="sec" select="substring($dt, 18)"/>
-<xslt:if test="$hour &lt;= 23 and                                                         $min &lt;= 59 and                                                         $sec &lt;= 60">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$min"/>
-<xslt:with-param name="second" select="$sec"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:if>
-</xslt:when>
-</xslt:choose>
-</xslt:if>
-</xslt:when>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="string(number(substring($dt,5,1)))!='NaN'">
-<xslt:variable name="month" select="substring($dt, 5, 2)"/>
-<xslt:choose>
-<xslt:when test="not($month &lt;= 12)"/>
-<xslt:when test="$dt-length = 6">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:otherwise>
-<xslt:variable name="day" select="substring($dt, 7, 2)"/>
-<xslt:if test="$day &lt;= 31">
-<xslt:choose>
-<xslt:when test="$dt-length = 8">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:when test="substring($dt, 9, 1) = 'T' and  substring($dt, 12, 1) = ':' and  substring($dt, 15, 1) = ':'">
-<xslt:variable name="hour" select="substring($dt, 10, 2)"/>
-<xslt:variable name="min" select="substring($dt, 13, 2)"/>
-<xslt:variable name="sec" select="substring($dt, 16)"/>
-<xslt:if test="$hour &lt;= 23 and                                                         $min &lt;= 59 and                                                         $sec &lt;= 60">
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$min"/>
-<xslt:with-param name="second" select="$sec"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="$pattern"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:if>
-</xslt:when>
-</xslt:choose>
-</xslt:if>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:if>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:variable>
-<xslt:value-of select="$formatted"/>
-</xslt:template>
-<xslt:template name="date:_format-date">
-<xslt:param name="year"/>
-<xslt:param name="month" select="1"/>
-<xslt:param name="day" select="1"/>
-<xslt:param name="hour" select="0"/>
-<xslt:param name="minute" select="0"/>
-<xslt:param name="second" select="0"/>
-<xslt:param name="timezone" select="'Z'"/>
-<xslt:param name="pattern" select="''"/>
-<xslt:param name="lang-id" select="'en_US'"/>
-<xslt:variable name="char" select="substring($pattern, 1, 1)"/>
-<xslt:choose>
-<xslt:when test="not($pattern)"/>
-<xslt:when test="$char = &quot;'&quot;">
-<xslt:choose>
-<xslt:when test="substring($pattern, 2, 1) = &quot;'&quot;">
-<xslt:text>'</xslt:text>
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$minute"/>
-<xslt:with-param name="second" select="$second"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="substring($pattern, 3)"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:otherwise>
-<xslt:variable name="literal-value" select="substring-before(substring($pattern, 2), &quot;'&quot;)"/>
-<xslt:value-of select="$literal-value"/>
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$minute"/>
-<xslt:with-param name="second" select="$second"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="substring($pattern, string-length($literal-value) + 2)"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="not(contains('abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', $char))">
-<xslt:value-of select="$char"/>
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$minute"/>
-<xslt:with-param name="second" select="$second"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="substring($pattern, 2)"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:when test="not(contains('GyMdhHmsSEDFwWakKz', $char))">
-<xslt:message>
-              Invalid token in format string: <xslt:value-of select="$char"/></xslt:message>
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$minute"/>
-<xslt:with-param name="second" select="$second"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="substring($pattern, 2)"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:otherwise>
-<xslt:variable name="next-different-char" select="substring(translate($pattern, $char, ''), 1, 1)"/>
-<xslt:variable name="pattern-length">
-<xslt:choose>
-<xslt:when test="$next-different-char">
-<xslt:value-of select="string-length(substring-before($pattern, $next-different-char))"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="string-length($pattern)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:variable>
-<xslt:choose>
-<xslt:when test="$char = 'G'">
-<xslt:choose>
-<xslt:when test="string($year) = 'NaN'"/>
-<xslt:when test="$year &gt; 0">AD</xslt:when>
-<xslt:otherwise>BC</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'M'">
-<xslt:choose>
-<xslt:when test="string($month) = 'NaN'"/>
-<xslt:when test="$pattern-length &gt;= 3">
-<xslt:variable name="month-node">
-<xslt:call-template name="date:_get-month">
-<xslt:with-param name="month" select="number($month)"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:variable>
-<xslt:choose>
-<xslt:when test="$pattern-length &gt;= 4">
-<xslt:value-of select="substring-before(normalize-space($month-node), ';')"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="substring-after(normalize-space($month-node), ';')"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$pattern-length = 2">
-<xslt:value-of select="format-number($month, '00')"/>
-</xslt:when>
-<xslt:when test="$pattern-length = 1">
-<xslt:value-of select="format-number($month, '0')"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="$month"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'E'">
-<xslt:choose>
-<xslt:when test="string($year) = 'NaN' or string($month) = 'NaN' or string($day) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:variable name="month-days">
-<xslt:call-template name="date:_get-days-elapsed">
-<xslt:with-param name="month" select="number($month)"/>
-</xslt:call-template>
-</xslt:variable>
-<xslt:variable name="days" select="number($month-days) + $day + boolean(((not($year mod 4) and $year mod 100) or not($year mod 400)) and $month &gt; 2)"/>
-<xslt:variable name="y-1" select="$year - 1"/>
-<xslt:variable name="dow" select="(($y-1 + floor($y-1 div 4) -                                              floor($y-1 div 100) + floor($y-1 div 400) +                                              $days)                                              mod 7) + 1"/>
-<xslt:variable name="day-node">
-<xslt:call-template name="date:_get-day">
-<xslt:with-param name="day" select="number($dow)"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:variable>
-<xslt:choose>
-<xslt:when test="$pattern-length &gt;= 4">
-<xslt:value-of select="substring-before(normalize-space($day-node),';')"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="substring-after(normalize-space($day-node),';')"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'a'">
-<xslt:choose>
-<xslt:when test="string($hour) = 'NaN'"/>
-<xslt:when test="$hour &gt;= 12">PM</xslt:when>
-<xslt:otherwise>AM</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'z'">
-<xslt:choose>
-<xslt:when test="$timezone = 'Z'">UTC</xslt:when>
-<xslt:otherwise>
-                    UTC<xslt:value-of select="$timezone"/></xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:otherwise>
-<xslt:variable name="padding">
-<xslt:choose>
-<xslt:when test="$pattern-length &gt; 10">
-<xslt:call-template name="str:padding">
-<xslt:with-param name="length" select="$pattern-length"/>
-<xslt:with-param name="chars" select="'0'"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="substring('0000000000', 1, $pattern-length)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:variable>
-<xslt:choose>
-<xslt:when test="$char = 'y'">
-<xslt:choose>
-<xslt:when test="string($year) = 'NaN'"/>
-<xslt:when test="$pattern-length &gt; 2">
-<xslt:value-of select="format-number($year, $padding)"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="format-number(substring($year, string-length($year) - 1), $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'd'">
-<xslt:choose>
-<xslt:when test="string($day) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:value-of select="format-number($day, $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'h'">
-<xslt:variable name="h" select="$hour mod 12"/>
-<xslt:choose>
-<xslt:when test="string($hour) = 'NaN'"/>
-<xslt:when test="$h">
-<xslt:value-of select="format-number($h, $padding)"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="format-number(12, $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'H'">
-<xslt:choose>
-<xslt:when test="string($hour) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:value-of select="format-number($hour, $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'k'">
-<xslt:choose>
-<xslt:when test="string($hour) = 'NaN'"/>
-<xslt:when test="$hour">
-<xslt:value-of select="format-number($hour, $padding)"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="format-number(24, $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'K'">
-<xslt:choose>
-<xslt:when test="string($hour) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:value-of select="format-number($hour mod 12, $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'm'">
-<xslt:choose>
-<xslt:when test="string($minute) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:value-of select="format-number($minute, $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 's'">
-<xslt:choose>
-<xslt:when test="string($second) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:value-of select="format-number($second, $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'S'">
-<xslt:choose>
-<xslt:when test="string($second) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:value-of select="format-number(substring-after($second, '.'), $padding)"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="$char = 'F'">
-<xslt:choose>
-<xslt:when test="string($day) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:value-of select="floor($day div 7) + 1"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-<xslt:when test="string($year) = 'NaN' or string($month) = 'NaN' or string($day) = 'NaN'"/>
-<xslt:otherwise>
-<xslt:variable name="month-days">
-<xslt:call-template name="date:_get-days-elapsed">
-<xslt:with-param name="month" select="number($month)"/>
-</xslt:call-template>
-</xslt:variable>
-<xslt:variable name="days" select="number($month-days) + $day + boolean(((not($year mod 4) and $year mod 100) or not($year mod 400)) and $month &gt; 2)"/>
-<xslt:choose>
-<xslt:when test="$char = 'D'">
-<xslt:value-of select="format-number($days, $padding)"/>
-</xslt:when>
-<xslt:when test="$char = 'w'">
-<xslt:call-template name="date:_week-in-year">
-<xslt:with-param name="days" select="$days"/>
-<xslt:with-param name="year" select="$year"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:when test="$char = 'W'">
-<xslt:variable name="y-1" select="$year - 1"/>
-<xslt:variable name="day-of-week" select="(($y-1 + floor($y-1 div 4) -                                                   floor($y-1 div 100) + floor($y-1 div 400) +                                                   $days)                                                    mod 7) + 1"/>
-<xslt:choose>
-<xslt:when test="($day - $day-of-week) mod 7">
-<xslt:value-of select="floor(($day - $day-of-week) div 7) + 2"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="floor(($day - $day-of-week) div 7) + 1"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:when>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-<xslt:call-template name="date:_format-date">
-<xslt:with-param name="year" select="$year"/>
-<xslt:with-param name="month" select="$month"/>
-<xslt:with-param name="day" select="$day"/>
-<xslt:with-param name="hour" select="$hour"/>
-<xslt:with-param name="minute" select="$minute"/>
-<xslt:with-param name="second" select="$second"/>
-<xslt:with-param name="timezone" select="$timezone"/>
-<xslt:with-param name="pattern" select="substring($pattern, $pattern-length + 1)"/>
-<xslt:with-param name="lang-id" select="$lang-id"/>
-</xslt:call-template>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:template>
-<xslt:template name="date:_week-in-year">
-<xslt:param name="days"/>
-<xslt:param name="year"/>
-<xslt:variable name="y-1" select="$year - 1"/>
-<xslt:variable name="day-of-week" select="($y-1 + floor($y-1 div 4) -                           floor($y-1 div 100) + floor($y-1 div 400) +                           $days)                           mod 7"/>
-<xslt:variable name="dow">
-<xslt:choose>
-<xslt:when test="$day-of-week">
-<xslt:value-of select="$day-of-week"/>
-</xslt:when>
-<xslt:otherwise>7</xslt:otherwise>
-</xslt:choose>
-</xslt:variable>
-<xslt:variable name="start-day" select="($days - $dow + 7) mod 7"/>
-<xslt:variable name="week-number" select="floor(($days - $dow + 7) div 7)"/>
-<xslt:choose>
-<xslt:when test="$start-day &gt;= 4">
-<xslt:value-of select="$week-number + 1"/>
-</xslt:when>
-<xslt:otherwise>
-<xslt:choose>
-<xslt:when test="not($week-number)">
-<xslt:call-template name="date:_week-in-year">
-<xslt:with-param name="days" select="365 + ((not($y-1 mod 4) and $y-1 mod 100) or not($y-1 mod 400))"/>
-<xslt:with-param name="year" select="$y-1"/>
-</xslt:call-template>
-</xslt:when>
-<xslt:otherwise>
-<xslt:value-of select="$week-number"/>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:otherwise>
-</xslt:choose>
-</xslt:template>
-<!-- ========================= END OF STYLESHEET ========================= -->
-</xslt:stylesheet>
Index: /ojects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xfd
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xfd (revision 160)
+++  (revision )
@@ -1,3407 +1,0 @@
-﻿<?xml version="1.0" encoding="utf-8"?>
-<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">
-	<xfd:localization>
-		<xfd:locale language-id="en_US" language-name="English (United States)"/>
-	</xfd:localization>
-	<fo:layout-master-set>
-		<fo:simple-page-master master-name="Letter Page" page-width="30cm" page-height="20cm">
-			<fo:region-body region-name="xsl-region-body" margin="67.200px"/>
-			<fo:region-before region-name="xsl-region-before" display-align="after" extent="67.200px"/>
-			<fo:region-after region-name="xsl-region-after" display-align="before" extent="67.200px"/>
-			<fo:region-start region-name="xsl-region-start" extent="67.200px"/>
-			<fo:region-end region-name="xsl-region-end" extent="67.200px"/>
-		</fo:simple-page-master>
-	</fo:layout-master-set>
-	<fo:page-sequence master-reference="Letter Page">
-		<fo:flow flow-name="xsl-region-body" font-family="Times" font-size="11pt">
-			<xsl:variable name="ddrSchema">
-				<xsl:value-of select="'..\HTMLreport\WITSML_drillReport_profiled_schema_2011_01_29.xsd'"/>
-			</xsl:variable>
-			<xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/>
-			<xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/>
-			<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
-			<xsl:variable name="urlRDS">
-				<xsl:value-of select="'http://www.posccaesar.org'"/>
-			</xsl:variable>
-<!-- Report header -->
-			<fo:block>
-				<fo:table table-layout="fixed" width="auto" border-collapse="collapse" margin-top="-5.200px">
-					<fo:table-column column-width="proportional-column-width(50.44)" column-number="1"/>
-					<fo:table-column column-width="proportional-column-width(49.56)" column-number="2"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-				<fo:leader rule-thickness="5px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-			</fo:block>
-<!-- Wellbore info -->
-			<fo:block>
-				<xsl:variable name="url_versionKind">
-					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_createDate">
-					<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_operator">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_drillContractor">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_rigAlias">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimSpud">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dateDrillComplete">
-					<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_elevKelly">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_typeWellbore">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdKickoff">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdKickoff">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdPlugTop">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvd">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_distDrill">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_ropCurrent">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_diaHole">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presTestType">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_strengthForm">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdStrengthForm">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdStrengthForm">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_diaCsgLast">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdCsgLast">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdCsgLast">
-					<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/>
-					<fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/>
-					<fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/>
-					<fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Report Number:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:reportNo"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Period:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="concat(substring(/witsml:drillReports/witsml:drillReport/witsml:dTimEnd, 0, 17), &quot;-&quot;, substring(/witsml:drillReports/witsml:drillReport/witsml:dTimStart, 0, 17))"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Wellbore:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold">Wellbore Id:</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_versionKind})" font-weight="bold">Status:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:versionKind"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_createDate})" font-weight="bold">Created date:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="substring(/witsml:drillReports/witsml:drillReport/witsml:createDate, 0, 17)"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_operator})" font-weight="bold">Operator:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:operator"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_drillContractor})" font-weight="bold">Drilling contractor:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:drillContractor"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_rigAlias})" font-weight="bold">Rig name:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD name']/witsml:name"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row height="17.840px" overflow="hidden">
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_dTimSpud})" font-weight="bold">Spud date:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dTimSpud, 'T')"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block> <xfd:field xpath="substring-before(/witsml:drillReports/witsml:drillReport/witsml:wellboreInfo/witsml:dateDrillComplete, 'T')"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:elevKelly"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:waterDepth"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$urlRDS})" font-weight="bold">Tight well</fo:basic-link>: </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<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>
-									<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>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<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>
-									<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>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:avgPresBH"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:expTempBH"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold">Rig type</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:rigType"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_typeWellbore})">Wellbore type:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:typeWellbore"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdKickoff})">Depth at Kick Off mMD:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdKickoff"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdKickoff"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_md})">Depth mMD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:md"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_tvd})">Depth mTVD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvd"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdPlugTop})">Plug Back Depth mMD:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdPlugTop"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:distDrill"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:ropCurrent"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaHole"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_presTestType})">Pressure Test Type:</fo:basic-link>  </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:presTestType"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:strengthForm"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_mdStrengthForm})">Depth At Formation Strength mMD:</fo:basic-link>   </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdStrengthForm"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdStrengthForm"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<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>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:diaCsgLast"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"><fo:basic-link external-destination="url({$url_mdCsgLast})">Depth At Last Casing mMD:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:mdCsgLast"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-weight="bold"><fo:basic-link external-destination="url({$url_tvdCsgLast})">Depth At Last Casing mTVD:</fo:basic-link>
-								 </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tvdCsgLast"/>
-								</fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block font-size="11pt" font-weight="bold"> </fo:block>
-							</fo:table-cell>
-							<fo:table-cell vertical-align="middle">
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Summary of activity -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Summary of Activities (24 Hours)</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:sum24Hr"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Summary of Planned Activities -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Summary of Planned Activities (Next 24 Hours)</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:forecast24Hr"/>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Operations -->
-			<fo:block break-before="page">
-				<xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/>
-				<xsl:variable name="url_dTimStart">
-					<xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimEnd">
-					<xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_proprietaryCode">
-					<xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_state">
-					<xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_comments">
-					<xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-					<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>Operation</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block font-weight="bold"> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>
-									<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.407)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(10.593)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimStart})">Start Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimEnd})">End Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_proprietaryCode})">Main Oper Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_state})">Main Oper Eval Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_comments})">Remark</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:activity">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdHoleStart"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdHoleEnd"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:md"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:proprietaryCode"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:state"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:comments"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table>
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Equipment failure info -->
-			<fo:block>
-				<xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_equipClass">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_eTimMissProduction">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimRepair">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_description">
-					<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Equipment Failure Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(19.454)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(13.879)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(16.667)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(16.667)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(18.427)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.906)" column-number="6"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Start</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_equipClass})">Sub Equip Syst Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_eTimMissProduction})">Operation Downtime</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/drillReports/drillReport/equipFailureInfo/eTimMissProduction/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimRepair})">Equipment Repaired</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_description})">Equip Failure Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:equipFailureInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:md"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:equipClass"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:eTimMissProduction"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring(witsml:dTimRepair, 0, 17)"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:description"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Bit Record -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/>
-				<xsl:variable name="url_numBit">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_diaBit">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_codeMfg">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_manufacturer">
-					<xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table width="100%">
-					<fo:table-column/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Bit Record
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse" text-align="center">
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_diaBit})">Bit size</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:diaBit/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_numBit})">Run No</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_codeMfg})">Model</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hours drilled</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:eTimOpBit/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Start</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD end</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hole made (run)</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Hours drilled (run)</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>ROP</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total hole made</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total hours drilled</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Total ROP</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Dull grade</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:diaBit"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:numBit"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:codeMfg"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:mdHoleStart"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:mdHoleStop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:ropAv"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:bitRun/witsml:ropMx"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:dullGrade"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> 
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Casing/Liner/Tubing -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Casing/Liner/Tubing information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(8.333)" column-number="12"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>Type of pipe</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Casing type</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Run time</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Description</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal outside diameter</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:od/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal inside diameter</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:id/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Weight</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:weight/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Grade</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Nominal Connection</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>Length</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Top/Hangar</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdTop/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>MD Bottom/Shoe</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing/witsml:mdBottom/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:casing_liner_tubing">
-												<fo:table-cell>
-													<fo:block>
-														<xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/>
-														<xsl:variable name="pipeType" select="witsml:type"/>
-														<xfd:field xpath="$element_pipeType//xsd:enumeration[@value=$pipeType]"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:casing_liner_tubing_run/witsml:tubularJobType"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:casing_liner_tubing_run/witsml:description"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:od"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:id"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:weight"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:grade"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:connection"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Cement info -->
-			<fo:block break-before="page">
-				<xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:cementStage">
-					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-					<fo:leader/>
-					<fo:table>
-						<fo:table-column column-width="100%"/>
-						<fo:table-body>
-							<fo:table-row font-weight="bold" font-size="14pt">
-								<fo:table-cell>
-									<fo:block>
-									Cement information
-								</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block>
-										<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="6.667" column-number="1"/>
-											<fo:table-column column-width="6.667" column-number="2"/>
-											<fo:table-column column-width="6.667" column-number="3"/>
-											<fo:table-column column-width="6.667" column-number="4"/>
-											<fo:table-column column-width="6.667" column-number="5"/>
-											<fo:table-column column-width="6.667" column-number="6"/>
-											<fo:table-column column-width="6.667" column-number="7"/>
-											<fo:table-column column-width="6.667" column-number="8"/>
-											<fo:table-column column-width="6.667" column-number="9"/>
-											<fo:table-column column-width="6.667" column-number="10"/>
-											<fo:table-column column-width="6.667" column-number="11"/>
-											<fo:table-column column-width="6.667" column-number="12"/>
-											<fo:table-column column-width="6.667" column-number="13"/>
-											<fo:table-column column-width="6.667" column-number="14"/>
-											<fo:table-column column-width="6.667" column-number="15"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Start time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>End time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Job type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Casing string diameter</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:casingStrDia/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Top plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Bottom plug used</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bumped</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Plug bump pressure</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:presBump/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Float held</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Pressure release time</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Full returns</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Cement volume returns</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:volReturns/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Reciprocated</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Rotated</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:jobType"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:casingStrDia"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:comments"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if>
-															<xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if>
-															<xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if>
-															<xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:presBump"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if>
-															<xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="substring(witsml:eTimPresHeld, 0, 17)"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if>
-															<xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:volReturns"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if>
-															<xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if>
-															<xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table>
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block/>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row font-weight="bold" font-size="13pt">
-								<fo:table-cell>
-									<fo:block>Cement Fluid Information</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="1"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="2"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="3"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="4"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="5"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="6"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="7"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="8"/>
-											<fo:table-column column-width="proportional-column-width(8.333)" column-number="9"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>Fluid type</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid Description</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Volume pumped</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:cementingFluid/witsml:volPumped/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Fluid densitiy</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:cementingFluid/witsml:density/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Yield point</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:cementingFluid/witsml:yp/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Mix water ratio</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:cementingFluid/witsml:ratioMixWater/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Free water</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:cementingFluid/witsml:pcFreeWater/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Thick time</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:cementingFluid/witsml:eTimThickening/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>Comments</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<xfd:table-row-repeat xpath="witsml:cementingFluid">
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:typeFluid"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:descFluid"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:volPumped"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:density"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:yp"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:ratioMixWater"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:pcFreeWater"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:eTimThickening"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:comments"/>
-														</fo:block>
-													</fo:table-cell>
-												</xfd:table-row-repeat>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block/>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-						</fo:table-body>
-					</fo:table>
-				</xfd:block-repeat>
-			</fo:block>
-<!-- Pore pressure -->
-			<fo:block break-before="page">
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
-				<xsl:variable name="url_readingKind">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_equivalentMudWeight">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvd">
-					<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Pore Pressure
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/>
-										<fo:table-column column-width="12.500" column-number="4"/>
-										<fo:table-column column-width="12.500" column-number="5"/><fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_readingKind})">Reading</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_equivalentMudWeight})">Equ Mud Weight</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
-													</fo:block>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:porePressure">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:readingKind"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:equivalentMudWeight"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring(witsml:dTim, 0, 17)"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:md"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvd"/>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Survey Station -->
-			<fo:block>
-				<xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvd">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_incl">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_azi">
-					<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Survey Station
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/>
-										<fo:table-column column-width="12.500" column-number="4"/><fo:table-column column-width="12.500" column-number="5"/><fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvd})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_incl})">Inclination</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_azi})">Azimuth</fo:basic-link>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:surveyStation">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:md"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvd"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:incl"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:azi"/>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Log Information -->
-			<fo:block>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
-				<xsl:variable name="url_serviceCompany">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_runNumber">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tool">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tempBHCT">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tempBHST">
-					<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Log Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:inline font-weight="bold">Logging Company:</fo:inline><xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:serviceCompany"/></fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/>
-										<fo:table-column column-width="12.500" column-number="4"/>
-										<fo:table-column column-width="12.500" column-number="5"/>
-										<fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_runNumber})">Run no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tool})">Tool</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tempBHCT})">BHCT</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHCT/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tempBHST})">BHST</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo/witsml:tempBHST/@uom"/>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-													
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:logInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:runNumber"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tool"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tempBHCT"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tempBHST"/>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Core Information -->
-			<fo:block>
-				<xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
-				<xsl:variable name="url_coreNumber">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_lenRecovered">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_recoverPc">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_lenBarrel">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_innerBarrelType">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_coreDescription">
-					<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Core Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_coreNumber})">Core no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_lenRecovered})">Core length</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenRecovered/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_recoverPc})">Recover core</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:recoverPc/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_lenBarrel})">Core barrel length</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo/witsml:lenBarrel/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_innerBarrelType})">Inner barrel type</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_coreDescription})">Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:coreInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:coreNumber"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:lenRecovered"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:recoverPc"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:lenBarrel"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:innerBarrelType"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:coreDescription"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Well Test Information -->
-			<fo:block break-before="page">
-				<xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_testNumber">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_testType">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_chokeOrificeSize">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_densityOil">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_flowRateOil">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_flowRateGas">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_flowRateWater">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presShutIn">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presFlowing">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presBottom">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_gasOilRatio">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_waterOilRatio">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_chloride">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_carbonDioxide">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_hydrogenSulfide">
-					<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Well Test Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(3.755)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.356)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(6.256)" column-number="13"/>
-										<fo:table-column column-width="proportional-column-width(4.855)" column-number="14"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="15"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="16"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="17"/>
-										<fo:table-column column-width="proportional-column-width(5.556)" column-number="18"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_testNumber})">Test no</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_testType})">Type</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth Top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth Bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_chokeOrificeSize})">Choke orifice Size</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_densityOil})">Density crude oil</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:densityOil/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_flowRateOil})">Oil flow rate</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_flowRateGas})">Gas flow rate M</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_flowRateWater})">Water flow rate</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presShutIn})">Shut in pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presShutIn/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presFlowing})">Flow pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presFlowing/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presBottom})">Bottom hole pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:presBottom/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_gasOilRatio})">Gas oil ratio</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_waterOilRatio})">Water oil ratio</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_chloride})">Chloride content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:chloride/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_carbonDioxide})">CO2 content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_hydrogenSulfide})">H2S content</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:wellTestInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:testNumber"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:testType"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:chokeOrificeSize"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:densityOil"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:flowRateOil"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:flowRateGas"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:flowRateWater"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:presShutIn"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:presFlowing"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:presBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:gasOilRatio"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:waterOilRatio"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:chloride"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:carbonDioxide"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:hydrogenSulfide"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Formation Test -->
-			<fo:block>
-				<xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
-				<xsl:variable name="url_md">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_presPore">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_goodSealm">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdSample">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dominateComponent">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_densityHC">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_volumeSample">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_description">
-					<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Formation Test
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(12.5)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_md})">Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_presPore})">Formation pore pressure</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:presPore/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_goodSealm})">Good seal ind</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdSample})">Depth to sample point</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:mdSample/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dominateComponent})">Dominate fluid component</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_densityHC})">HC Component density</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:densityHC/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_volumeSample})">Sample volume</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo/witsml:volumeSample/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_description})">Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:formTestInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:md"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:presPore"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if>
-														<xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdSample"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:dominateComponent"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:densityHC"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:volumeSample"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:description"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Stratigraphic Information -->
-			<fo:block break-before="page">
-				<xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_description">
-					<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Stratigraphic Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="12.500" column-number="1"/>
-										<fo:table-column column-width="12.500" column-number="2"/>
-										<fo:table-column column-width="12.500" column-number="3"/><fo:table-column column-width="12.500" column-number="4"/><fo:table-column column-width="12.500" column-number="5"/><fo:table-column column-width="12.500" column-number="6"/><fo:table-column column-width="12.500" column-number="7"/><fo:table-column column-width="12.500" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold" height="29.680px" overflow="hidden">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top of formation</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top of formation</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_description})">Formation name</fo:basic-link>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:stratInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:description"/>
-													</fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell><fo:table-cell>
-													<fo:block> </fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Lithology Information -->
-			<fo:block>
-				<xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdBottom">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_show">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_lithology">
-					<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Lithology Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(6.396)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(6.297)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.698)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(5.196)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(5.696)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(7.097)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(12)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(49.62)" column-number="8"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Difference in Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Start Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">End Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">Difference in Depth</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_show})">Shows Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_lithology})">Lithology Description</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:lithShowInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom - witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdBottom - witsml:tvdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:show"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:lithology"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Well Control Incident -->
-			<xfd:block-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:controlIncidentInfo">
-				<fo:block>
-					<xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
-					<xsl:variable name="url_dTim">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_mdInflow">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_tvdInflow">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_eTimLost">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_dTimRegained">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_mdBit">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_wtMud">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_porePressure">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_mdCsgLast">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_volMudGained">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_presShutInCasing">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_presShutInDrill">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_incidentType">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_killingType">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_formation">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<xsl:variable name="url_tempBottom">
-						<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
-					</xsl:variable>
-					<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-					<fo:leader/>
-					<fo:table>
-						<fo:table-column column-width="100%"/>
-						<fo:table-body>
-							<fo:table-row font-weight="bold" font-size="14pt">
-								<fo:table-cell>
-									<fo:block>
-									Well Control Incident
-								</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row height="13.840px" overflow="hidden">
-								<fo:table-cell>
-									<fo:block> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="7"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="8"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="9"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="10"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="11"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="12"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="13"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="14"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="15"/>
-											<fo:table-column column-width="proportional-column-width(6.25)" column-number="16"/>
-											<fo:table-body>
-												<fo:table-row font-weight="bold">
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_dTim})">Date</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_mdInflow})">Depth of well</fo:basic-link>
-															<fo:block>mMD</fo:block>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_tvdInflow})">Depth of well mTVD</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_eTimLost})">Lost time</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:eTimLost/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_dTimRegained})">Time for well control regain</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_mdBit})">Depth at bit</fo:basic-link>
-															<fo:block>mMD</fo:block>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_wtMud})">Drilling fluid density</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:wtMud/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_porePressure})">Pore pressure</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:porePressure/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_mdCsgLast})">Depth to casing</fo:basic-link>
-														</fo:block>
-														<fo:block>mMD</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_volMudGained})">Gained vol of Fluid</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:volMudGain/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_presShutInCasing})">Shut in casing pressure</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:presShutInCasing/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_presShutInDrill})">Shut in drill pipe pressure</fo:basic-link>
-														</fo:block>
-														<fo:block>
-															<xfd:field xpath="witsml:presShutInDrill/@uom"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_incidentType})">Incident class</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_killingType})">Killing procd</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_formation})">Formation</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<fo:basic-link external-destination="url({$url_tempBottom})">BHT</fo:basic-link>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="substring-before(witsml:dTim, 'T')"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:mdInflow"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:tvdInFlow"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:eTimLost"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:mdBit"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:wtMud"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:porePressure"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:mdCsgLast"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:volMudGained"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:presShutInCasing"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:presShutInDrill"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:incidentType"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:killingType"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:formation"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:tempBottom"/>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table><fo:table>
-											<fo:table-body>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block> </fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<fo:table-row>
-													<fo:table-cell>
-														<fo:block>
-															<xfd:field xpath="witsml:description"/>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-											</fo:table-body>
-										</fo:table> </fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-						</fo:table-body>
-					</fo:table>
-				</fo:block>
-			</xfd:block-repeat>
-<!-- Perforation Information -->
-			<fo:block break-before="page">
-				<xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTimOpen">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_dTimClose">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdBottom">
-					<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Perforation Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(14.286)" column-number="7"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimOpen})">Time of opening well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTimClose})">Time of closing well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$urlRDS})">Duration well perf</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Top of perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Bottom of Perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Top of perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">Bottom of Perf</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:perfInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring(witsml:dTimOpen, 0 ,17)"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring(witsml:dTimClose, 0, 17)"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block><!--<xfd:field xpath="substring-after(xsl:dateTime(witsml:dTimClose) - xsl:dateTime(witsml:dTimOpen), 'PT')"/>-->
-														duration
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-<!-- Gas Reading Information -->
-			<fo:block>
-				<xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
-				<xsl:variable name="url_dTim">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_readingType">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdTop">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_mdBottom">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdTop">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_tvdBottom">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_gasHigh">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_gasLow">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_meth">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_eth">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_prop">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_ibut">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<xsl:variable name="url_ipent">
-					<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
-				</xsl:variable>
-				<fo:leader rule-thickness="2px" leader-length="100%" leader-pattern="rule"/>
-				<fo:leader/>
-				<fo:table>
-					<fo:table-column column-width="100%"/>
-					<fo:table-body>
-						<fo:table-row font-weight="bold" font-size="14pt">
-							<fo:table-cell>
-								<fo:block>
-									Gas Reading Information
-								</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block><fo:table table-layout="fixed" width="100%" border-collapse="collapse">
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="1"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="2"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="3"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="4"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="5"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="6"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="7"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="8"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="9"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="10"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="11"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="12"/>
-										<fo:table-column column-width="proportional-column-width(7.692)" column-number="13"/>
-										<fo:table-body>
-											<fo:table-row font-weight="bold">
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_dTim})">Time</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_readingType})">Class</fo:basic-link>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdTop})">Depth to top</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_mdBottom})">Depth to bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mMD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdTop})">Depth to top</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_tvdBottom})">Depth to bottom</fo:basic-link>
-													</fo:block>
-													<fo:block>mTVD</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_gasHigh})">Highest gas</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_gasLow})">Lowest gas</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:gasLow/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_meth})">C1</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:meth/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_eth})">C2</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:eth/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_prop})">C3</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:prop/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_ibut})">IC4</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ibut/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<fo:basic-link external-destination="url({$url_ipent})">IC5</fo:basic-link>
-													</fo:block>
-													<fo:block>
-														<xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo/witsml:ipent/@uom"/>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<xfd:table-row-repeat xpath="/witsml:drillReports/witsml:drillReport/witsml:gasReadingInfo">
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="substring-after(witsml:dTim, 'T')"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:readingType"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:mdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdTop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:tvdBottom"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:gasHigh"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:gasLow"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:meth"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:eth"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:prop"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:ibut"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block>
-														<xfd:field xpath="witsml:ipent"/>
-													</fo:block>
-												</fo:table-cell>
-											</xfd:table-row-repeat>
-										</fo:table-body>
-									</fo:table> </fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-		</fo:flow>
-	</fo:page-sequence>
-</xfd:document>
