Index: /projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd (revision 131)
+++ /projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd (revision 135)
@@ -21,5 +21,5 @@
 	<!-- ADDED 07/02-2011 -->
 	<!-- Header -->
-	<xsd:complexType name="header">
+	<xsd:complexType name="reportHeader">
 		<xsd:annotation>
 			<xsd:documentation>Information about this report.</xsd:documentation>
@@ -33,5 +33,5 @@
 						</xsd:annotation>
 					</xsd:element>
-					<xsd:element name="reportNo" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1">
+					<xsd:element name="reportNo" type="witsml:positiveCount" minOccurs="0" maxOccurs="1">
 						<xsd:annotation>
 							<xsd:documentation>Sequence number of daily drilling report.</xsd:documentation>
@@ -74,10 +74,10 @@
 		</xsd:annotation>
 		<xsd:restriction base="witsml:abstractTypeEnum">
-			<xsd:enumeration value="f" data="Fixed Rig">
+			<xsd:enumeration value="Fixed rig">
 				<xsd:annotation>
 					<xsd:documentation>Fixed rig</xsd:documentation>
 				</xsd:annotation>
 			</xsd:enumeration>
-			<xsd:enumeration value="m">
+			<xsd:enumeration value="Movable rig">
 				<xsd:annotation>
 					<xsd:documentation>Movable rig</xsd:documentation>
@@ -140,20 +140,14 @@
 
 			<!-- Added 07/02 - 2011 -->
-			<xsd:complexContent>
-				<xsd:extension base="abs:abstractObject">
-					<xsd:sequence>
-						<xsd:element name="mdHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
-							<xsd:annotation>
-								<xsd:documentation>Meassured depth at start of the activity (m).</xsd:documentation>
-							</xsd:annotation>
-						</xsd:element>
-						<xsd:element name="mdHoleEnd" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
-							<xsd:annotation>
-								<xsd:documentation>Meassured depth at end of the activity (m).</xsd:documentation>
-							</xsd:annotation>
-						</xsd:element>
-					</xsd:sequence>
-				</xsd:extension>
-			</xsd:complexContent>
+			<xsd:element name="mdHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Meassured depth at start of the activity (m).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdHoleEnd" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Meassured depth at end of the activity (m).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
 			<!-- END Added 07/02 - 2011 -->
 
@@ -236,4 +230,10 @@
 		</xsd:annotation>
 		<xsd:sequence>
+			<xsd:element name="diaBit" type="witsml:lengthMeasureInch" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831442">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaBit.-->
+				<xsd:annotation>
+					<xsd:documentation>Diameter of drilled hole.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
 			<xsd:element name="numBit" type="witsml:str32" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831262">
 				<!--PROFILE: Changed minOccurs from 0 to 1 for element numBit.-->
@@ -242,158 +242,22 @@
 				</xsd:annotation>
 			</xsd:element>
-			<xsd:element name="diaBit" type="witsml:lengthMeasureInch" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831442">
-				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaBit.-->
-				<xsd:annotation>
-					<xsd:documentation>Diameter of drilled hole.</xsd:documentation>
-				</xsd:annotation>
-			</xsd:element>
 			<!--PROFILE: Deleted element diaPassThru.-->
 			<!--PROFILE: Deleted element diaPilot.-->
-			<xsd:element name="manufacturer" type="witsml:nameString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831532">
-				<!--PROFILE: Changed minOccurs from 0 to 1 for element manufacturer.-->
-				<xsd:annotation>
-					<xsd:documentation>Manufacturer / supplier of the item.</xsd:documentation>
-				</xsd:annotation>
-			</xsd:element>
+			<!--PROFILE: Deleted element manufacturer.-->
 			<!--PROFILE: Deleted element typeBit.-->
 			<!--PROFILE: Deleted element cost.-->
-			<xsd:element name="codeMfg" type="witsml:str32" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831487">
-				<!--PROFILE: Changed minOccurs from 0 to 1 for element codeMfg.-->
-				<xsd:annotation>
-					<xsd:documentation>The manufacturers code for the bit.</xsd:documentation>
+			<xsd:element name="codeMfg" type="witsml:str32" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The manufacturers code for the bit</xsd:documentation>
 					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
-				</xsd:annotation>
-			</xsd:element>
-			<!-- Added 07/02 - 2011 -->
-			<xsd:element name="serialNo" type="witsml:uidString" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>UiD for a bit</xsd:documentation>
-					<!-- Missing: Added element serialNo -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="tfa" type="witsml:areaMeasureSquareInch" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Total flow area for bit (in2)</xsd:documentation>
-					<!-- Missing: Added element tfa -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="dTimIn" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Start date and time of drill bit run.</xsd:documentation>
-					<!-- Missing: Added element dTimIn -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="dTimOut" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>End date and time of drill bit run.</xsd:documentation>
-					<!-- Missing: Added element dTimOut -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="hrsDrilled" type="witsml:timeMeasureHrs" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Hourse drilled in reporting period (hrs).</xsd:documentation>
-					<!-- Missing: Added element hrsDrilled -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="mdHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Measured depth at start of drill bit run (MD).</xsd:documentation>
-					<!-- Missing: Added element mdHoleStart -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="mdHoleEnd" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Measured depth at end of drill bit run (MD).</xsd:documentation>
-					<!-- Missing: Added element mdHoldeEnd -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="dullGrade" type="witsml:dullGrade_CHECK" minOccurs="0" maxOccurs="1">
+					<!-- Missing: Added element dullGrade -->
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element serialNo.
+			Missing: Added element serialNo-->
+			<xsd:element name="dullGrade" type="witsml:str32" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Dull grade according to IADC?</xsd:documentation>
 					<!-- Missing: Added element dullGrade -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxWob" type="witsml:volumeMeasureCubicDeciMetre" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Maximum weight of bit in reporting period (m3).</xsd:documentation>
-					<!-- Missing: Added element maxWob -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxRpm" type="witsml:anglePerTimeMeasureRpm" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Maximum rotational speed in reporting period (rpm).</xsd:documentation>
-					<!-- Missing: Added element maxRpm -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxCircRate" type="witsml:volumeFlowRateMeasureCubicMeterPerMin" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>MAximum drilling fluid circulation rate in reporting period (m3/min).</xsd:documentation>
-					<!-- Missing: Added element maxCircRate -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxSpp" type="witsml:pressureMeasureBar" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Maximum standpipe pressure in reporting period (bar).</xsd:documentation>
-					<!-- Missing: Added element maxSpp -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="mdHoleMadeRun" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Meassured depth drilled during drill run (md).</xsd:documentation>
-					<!-- Missing: Added element mdHoleMadeRun -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="hrsDrilledRun" type="witsml:timeMeasureHrs" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Hours drilled in drill run (hrs).</xsd:documentation>
-					<!-- Missing: Added element mdHrsDrilledRun -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="rop" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Drill bit rate of penetration for reporting period (m/h).</xsd:documentation>
-					<!-- Missing: Added element rop -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxTotWob" type="witsml:volumeMeasureCubicDeciMetre" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Maximum weight of bit in drill run (m3).</xsd:documentation>
-					<!-- Missing: Added element maxTotWob -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxTotRpm" type="witsml:anglePerTimeMeasureRpm" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Maximum rotational speed in drill run (rpm).</xsd:documentation>
-					<!-- Missing: Added element maxTotRpm -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxTotCircRate" type="witsml:volumeFlowRateMeasureCubicMeterPerMin" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Maximum drilling fluid circulation rate in drill run (m3/min).</xsd:documentation>
-					<!-- Missing: Added element maxTotCircRate -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="maxTotSpp" type="witsml:pressureMeasureBar" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Maximum standpipe pressure in drill run (bar).</xsd:documentation>
-					<!-- Missing: Added element maxTotSpp -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="mdTotHoleMade" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Meassured depth drilled accumulated (md).</xsd:documentation>
-					<!-- Missing: Added element mdTotHoleMade -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="totHrsDrilled" type="witsml:timeMeasureHrs" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Hours drilled in accumulated (hrs).</xsd:documentation>
-					<!-- Missing: Added element totHrsDrilled -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="totRop" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Drill bit rate of penetration for drill run (m/h).</xsd:documentation>
-					<!-- Missing: Added element totRop -->
 				</xsd:annotation>
 			</xsd:element>
@@ -421,4 +285,9 @@
 			<!--PROFILE: Deleted element extensionAny.-->
 			<!--PROFILE: Deleted element extensionNameValue.-->
+			<xsd:element name="bitRun" type="witsml:cs_drillingParams">
+				<xsd:annotation>
+					<xsd:documentation>information about a bit run.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
 		</xsd:sequence>
 		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
@@ -431,4 +300,111 @@
 	</xsd:complexType>
 
+	<!-- Added 22/02 - 2011 -->
+	<xsd:complexType name="cs_drillingParams">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Bottom hole assembly drilling parameters component schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="eTimOpBit" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Operating time spent by bit for run.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at start.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdHoleStop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at stop.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element tubular.-->
+			<!--PROFILE: Deleted element hkldRot.-->
+			<!--PROFILE: Deleted element overPull.-->
+			<!--PROFILE: Deleted element slackOff.-->
+			<!--PROFILE: Deleted element hkldUp.-->
+			<!--PROFILE: Deleted element hkldDn.-->
+			<!--PROFILE: Deleted element tqOnBotAv.-->
+			<!--PROFILE: Deleted element tqOnBotMx.-->
+			<!--PROFILE: Deleted element tqOnBotMn.-->
+			<!--PROFILE: Deleted element tqOffBotAv.-->
+			<!--PROFILE: Deleted element tqDhAv.-->
+			<!--PROFILE: Deleted element wtAboveJar.-->
+			<!--PROFILE: Deleted element wtBelowJar.-->
+			<!--PROFILE: Deleted element wtMud.-->
+			<!--PROFILE: Deleted element flowratePump.-->
+			<!--PROFILE: Deleted element powBit.-->
+			<!--PROFILE: Deleted element velNozzleAv.-->
+			<!--PROFILE: Deleted element presDropBit.-->
+			<!--PROFILE: Deleted element cTimHold.-->
+			<!--PROFILE: Deleted element cTimSteering.-->
+			<!--PROFILE: Deleted element cTimDrillRot.-->
+			<!--PROFILE: Deleted element cTimDrillSlid.-->
+			<!--PROFILE: Deleted element cTimCirc.-->
+			<!--PROFILE: Deleted element cTimReam.-->
+			<!--PROFILE: Deleted element distDrillRot.-->
+			<!--PROFILE: Deleted element distDrillSlid.-->
+			<!--PROFILE: Deleted element distReam.-->
+			<!--PROFILE: Deleted element distHold.-->
+			<!--PROFILE: Deleted element distSteering.-->
+			<!--PROFILE: Deleted element rpmAv.-->
+			<!--PROFILE: Deleted element rpmMx.-->
+			<!--PROFILE: Deleted element rpmMn.-->
+			<!--PROFILE: Deleted element rpmAvDh.-->
+			<xsd:element name="ropAv" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Average rate of penetration through Interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ropMx" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Maximum rate of penetration through Interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element ropMn.-->
+			<!--PROFILE: Deleted element wobAv.-->
+			<!--PROFILE: Deleted element wobMx.-->
+			<!--PROFILE: Deleted element wobMn.-->
+			<!--PROFILE: Deleted element wobAvDh.-->
+			<!--PROFILE: Deleted element reasonTrip.-->
+			<!--PROFILE: Deleted element objectiveBha.-->
+			<!--PROFILE: Deleted element aziTop.-->
+			<!--PROFILE: Deleted element aziBottom.-->
+			<!--PROFILE: Deleted element inclStart.-->
+			<!--PROFILE: Deleted element inclMx.-->
+			<!--PROFILE: Deleted element inclMn.-->
+			<!--PROFILE: Deleted element inclStop.-->
+			<!--PROFILE: Deleted element tempMudDhMx.-->
+			<!--PROFILE: Deleted element presPumpAv.-->
+			<!--PROFILE: Deleted element flowrateBit.-->
+			<!--PROFILE: Deleted element comments.-->
+			<!--PROFILE: Deleted element extensionNameValue.-->
+			<xsd:element name="mdHoleMadeRun" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth of hole made current run.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="hrsDrilledRun" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Hours used on current run.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTotHoleMade" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth made totally.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="totHrsDrilled" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Hours drilled totally.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+		<!--Unused: Deleted element attgrp_uid. -->
+	</xsd:complexType>
+	<!-- END Added 22/02 - 2011 -->
+
 	<!-- Added 07/02 - 2011 -->
 	<!-- Cement job -->
@@ -476,5 +452,5 @@
 			<!-- Profile: Deleted element flowrateDisplaceMx -->
 			<!-- Profile: Deleted element presDisplace -->
-			<xsd:element name="volReturns" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+			<xsd:element name="volReturns" type="witsml:volumeMeasureCubicMetre" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Volume of returns.</xsd:documentation>
@@ -510,5 +486,5 @@
 			<!-- Profile: Deleted element presSqueezeHeld -->
 			<!-- Profile: Deleted element presSqueeze -->
-			<xsd:element name="eTimPresHeld" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+			<xsd:element name="eTimPresHeld" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Time pressure held.</xsd:documentation>
@@ -562,5 +538,5 @@
 				</xsd:annotation>
 			</xsd:element>
-			<xsd:element name="floatFailed" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+			<xsd:element name="floatFailed" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Float Failed? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
@@ -578,4 +554,9 @@
 					<xsd:documentation>Casing string being rotated. Values are "true(1) and "false"(0).</xsd:documentation>
 					<!-- Missing: Added element rotated -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="cementingFluid" type="witsml:cs_cementingFluid" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831397">
+				<xsd:annotation>
+					<xsd:documentation>Information about a bit run.</xsd:documentation>
 				</xsd:annotation>
 			</xsd:element>
@@ -639,5 +620,5 @@
 			</xsd:element>
 			<!-- Profile: Deleted element fluidIndex -->
-			<xsd:element name="descFluid" type="witsml:shortDescriptionString" minOccurs="0" maxOccurs="1">
+			<xsd:element name="descFluid" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Fluid description.</xsd:documentation>
@@ -651,5 +632,5 @@
 			<!-- Profile: Deleted element volWater -->
 			<!-- Profile: Deleted element volCement -->
-			<xsd:element name="ratioMixWater" type="witsml:specificVolumeMeasure" minOccurs="0" maxOccurs="1">
+			<xsd:element name="ratioMixWater" type="witsml:specificVolumeMeasureUsGallonsPerSack94" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Mix Water Ratio.</xsd:documentation>
@@ -666,5 +647,5 @@
 			</xsd:element>
 			<!-- Profile: Deleted element solidVolumeFraction -->
-			<xsd:element name="volPumped" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+			<xsd:element name="volPumped" type="witsml:volumeMeasureCubicMetre" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Volume Pumped.</xsd:documentation>
@@ -679,5 +660,5 @@
 				</xsd:annotation>
 			</xsd:element>
-			<xsd:element name="yp" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+			<xsd:element name="yp" type="witsml:specificVolumeMeasureCubicFeetPer94PoundSack" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation>
@@ -708,5 +689,5 @@
 			<!-- Profile: Deleted element ratioConstGasMethodEnd -->
 			<!-- Profile: Deleted element densConstGasFoam -->
-			<xsd:element name="eTimThickening" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+			<xsd:element name="eTimThickening" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Test thickening time.</xsd:documentation>
@@ -2229,22 +2210,4 @@
 				</xsd:annotation>
 			</xsd:element>
-			<xsd:element name="casingType" type="witsml:casingTypes" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>The type of casing (e.g. top, intermediate, production).</xsd:documentation>
-					<!-- Missing: Added element casingType -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="dTimRun" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>Run date and time.</xsd:documentation>
-					<!-- Missing: Added element dTimRun -->
-				</xsd:annotation>
-			</xsd:element>
-			<xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
-				<xsd:annotation>
-					<xsd:documentation>description of run.</xsd:documentation>
-					<!-- Missing: Added element description -->
-				</xsd:annotation>
-			</xsd:element>
 			<xsd:element name="id" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
@@ -2262,5 +2225,5 @@
 				</xsd:annotation>
 			</xsd:element>
-			<xsd:element name="grade" type="witsml:grade_CHECK" minOccurs="0" maxOccurs="1">
+			<xsd:element name="grade" type="witsml:str32" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Nominal grade.</xsd:documentation>
@@ -2268,5 +2231,5 @@
 				</xsd:annotation>
 			</xsd:element>
-			<xsd:element name="connection" type="witsml:connection_CHECK" minOccurs="0" maxOccurs="1">
+			<xsd:element name="connection" type="witsml:positiveCount" minOccurs="0" maxOccurs="1">
 				<xsd:annotation>
 					<xsd:documentation>Nominal connection.</xsd:documentation>
@@ -2288,4 +2251,9 @@
 				<xsd:annotation>
 					<xsd:documentation>The measured depth of the bottom of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="casing_liner_tubing_run" type="witsml:cs_stimJobStage">
+				<xsd:annotation>
+					<xsd:documentation>Information about a casing_liner_tubing run.</xsd:documentation>
 				</xsd:annotation>
 			</xsd:element>
@@ -2297,5 +2265,107 @@
 		<!-- Unused: deleted element attgrp_uid -->
 	</xsd:complexType>
+	
+	<xsd:complexType name="cs_stimJobStage">
+	<xsd:annotation>
+		<xsd:documentation>Job stage for a well stimulation treatment, where one or more stages are part     of a flow path, one or more flow paths are part of a treatment, and one or more      treatments are part of a job.</xsd:documentation>
+		<xsd:appinfo>Modified-in-version=1.4.1, By-issue=W-CR-010, Change=Added</xsd:appinfo>
+	</xsd:annotation>
+	<xsd:sequence>
+		<xsd:element name="kind" type="witsml:StimStageType" minOccurs="1" maxOccurs="1">
+			<xsd:annotation>
+				<xsd:documentation>The type of stage for the stimulation job.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:element>
+		<!-- Profile: deleted element name. -->
+		<xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+			<xsd:annotation>
+				<xsd:documentation>A short description of the stage.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:element>
+		<!-- Profile: deleted element number. -->
+		<xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+			<xsd:annotation>
+				<xsd:documentation>Date time of start of this stimulation stage.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:element>
+		<!-- Profile: deleted element dTimEnd.-->
+		<!-- Profile: deleted element pumpTime. -->
+		<!-- Profile: deleted element startRateSurfaceLiquid. -->
+		<!-- Profile: deleted element endRateSurfaceLiquid. -->
+		<!-- Profile: deleted element avgRateSurfaceLiquid. -->
+		<!-- Profile: deleted element startRateSurfaceCO2. -->
+		<!-- Profile: deleted element endRateSurfaceCO2. -->
+		<!-- Profile: deleted element avgRateSurfaceCO2. -->
+		<!-- Profile: deleted element startStdRateSurfaceN2. -->
+		<!-- Profile: deleted element endStdRateSurfaceN2. -->
+		<!-- Profile: deleted element avgStdRateSurfaceN2. -->
+		<!-- Profile: deleted element startPresSurface. -->
+		<!-- Profile: deleted element endPresSurface. -->
+		<!-- Profile: deleted element averagePresSurface. -->
+		<!-- Profile: deleted element startPumpRateBottomhole. -->
+		<!-- Profile: deleted element endPumpRateBottomhole. -->
+		<!-- Profile: deleted element avgPumpRateBottomhole. -->
+		<!-- Profile: deleted element startPresBottomhole. -->
+		<!-- Profile: deleted element endPresBottomhole. -->
+		<!-- Profile: deleted element averagePresBottomhole. -->
+		<!-- Profile: deleted element startProppantConcSurface. -->
+		<!-- Profile: deleted element endProppantConcSurface. -->
+		<!-- Profile: deleted element avgProppantConcSurface. -->
+		<!-- Profile: deleted element startProppantConcBottomhole. -->
+		<!-- Profile: deleted element endProppantConcBottomhole. -->
+		<!-- Profile: deleted element avgProppantConcBottomhole. -->
+		<!-- Profile: deleted element startFoamRateN2. -->
+		<!-- Profile: deleted element endFoamRateN2. -->
+		<!-- Profile: deleted element startFoamRateCO2. -->
+		<!-- Profile: deleted element endFoamRateCO2. -->
+		<!-- Profile: deleted element fluidVolBase. -->
+		<!-- Profile: deleted element fluidVolSlurry. -->
+		<!-- Profile: deleted element slurryRateBegin. -->
+		<!-- Profile: deleted element slurryRateEnd. -->
+		<!-- Profile: deleted element proppantMassWellHead. -->
+		<!-- Profile: deleted element proppantMass. -->
+		<!-- Profile: deleted element maxPres. -->
+		<!-- Profile: deleted element maxSlurryRate. -->
+		<!-- Profile: deleted element maxWellheadRate. -->
+		<!-- Profile: deleted element maxN2StdRate. -->
+		<!-- Profile: deleted element maxCO2LiquidRate. -->
+		<!-- Profile: deleted element maxPropConc. -->
+		<!-- Profile: deleted element maxSlurryPropConc. -->
+		<!-- Profile: deleted element avgPropConc. -->
+		<!-- Profile: deleted element avgSlurryPropConc. -->
+		<!-- Profile: deleted element avgTemperature. -->
+		<!-- Profile: deleted element avgInternalPhaseFraction. -->
+		<!-- Profile: deleted element avgBaseFluidQuality. -->
+		<!-- Profile: deleted element avgN2BaseFluidQuality. -->
+		<!-- Profile: deleted element avgCO2BaseFluidQuality. -->
+		<!-- Profile: deleted element avgHydraulicPower. -->
+		<!-- Profile: deleted element avgBaseFluidRate. -->
+		<!-- Profile: deleted element avgSlurryRate. -->
+		<!-- Profile: deleted element avgWellheadRate. -->
+		<!-- Profile: deleted element avgN2StdRate. -->
+		<!-- Profile: deleted element avgCO2Rate. -->
+		<!-- Profile: deleted element baseFluidVol. -->
+		<!-- Profile: deleted element slurryVol. -->
+		<!-- Profile: deleted element wellheadVol. -->
+		<!-- Profile: deleted element maxPmaxPacPres. -->
+		<!-- Profile: deleted element maxPmaxWeaklinkPres. -->
+		<!-- Profile: deleted element maxGelRate. -->
+		<!-- Profile: deleted element maxOilRate. -->
+		<!-- Profile: deleted element maxAcidRate. -->
+		<!-- Profile: deleted element avgGelRate. -->
+		<!-- Profile: deleted element avgOilRate. -->
+		<!-- Profile: deleted element avgAcidRate. -->
+		<!-- Profile: deleted element gelVolume. -->
+		<!-- Profile: deleted element oilVolume. -->
+		<!-- Profile: deleted element acidVolume. -->
+		<!-- Profile: deleted element baseFluidBypassVol. -->
+		<!-- Profile: deleted element frictionFactor. -->
+		<!-- Profile: deleted element stageFluid. -->
+		<!-- Profile: deleted element extensionNameValue. -->
+	</xsd:sequence>
+	<!-- Unused: deleted element attgrp_uid -->
+</xsd:complexType>
 
+	
 	<!-- Tubular types -->
 	<xsd:simpleType name="tubularTypes">
@@ -2304,32 +2374,17 @@
 		</xsd:annotation>
 		<xsd:restriction base="witsml:abstractTypeEnum">
-			<xsd:enumeration value="c">
+			<xsd:enumeration value="Casing">
 				<xsd:annotation>
 					<xsd:documentation>Casing</xsd:documentation>
 				</xsd:annotation>
 			</xsd:enumeration>
-			<xsd:enumeration value="l">
+			<xsd:enumeration value="Liner">
 				<xsd:annotation>
 					<xsd:documentation>Liner</xsd:documentation>
 				</xsd:annotation>
 			</xsd:enumeration>
-			<xsd:enumeration value="t">
+			<xsd:enumeration value="Tubing">
 				<xsd:annotation>
 					<xsd:documentation>Tubing</xsd:documentation>
-				</xsd:annotation>
-			</xsd:enumeration>
-			<xsd:enumeration value="p">
-				<xsd:annotation>
-					<xsd:documentation>Packer</xsd:documentation>
-				</xsd:annotation>
-			</xsd:enumeration>
-			<xsd:enumeration value="oh">
-				<xsd:annotation>
-					<xsd:documentation>Open Hole</xsd:documentation>
-				</xsd:annotation>
-			</xsd:enumeration>
-			<xsd:enumeration value="o">
-				<xsd:annotation>
-					<xsd:documentation>Other</xsd:documentation>
 				</xsd:annotation>
 			</xsd:enumeration>
@@ -2338,20 +2393,20 @@
 
 	<!-- Casing type -->
-	<xsd:simpleType name="casingTypes">
+	<xsd:simpleType name="StimStageType">
 		<xsd:annotation>
 			<xsd:documentation>The type of casing, used to determant which type of casing is used.</xsd:documentation>
 		</xsd:annotation>
 		<xsd:restriction base="witsml:abstractTypeEnum">
-			<xsd:enumeration value="t">
+			<xsd:enumeration value="Top">
 				<xsd:annotation>
 					<xsd:documentation>Top</xsd:documentation>
 				</xsd:annotation>
 			</xsd:enumeration>
-			<xsd:enumeration value="i">
+			<xsd:enumeration value="Intermediate">
 				<xsd:annotation>
 					<xsd:documentation>Intermediate</xsd:documentation>
 				</xsd:annotation>
 			</xsd:enumeration>
-			<xsd:enumeration value="p">
+			<xsd:enumeration value="Production">
 				<xsd:annotation>
 					<xsd:documentation>Production</xsd:documentation>
@@ -2423,5 +2478,5 @@
 				</xsd:annotation>
 			</xsd:element>
-			<xsd:element name="yp" type="witsml:pressureMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684395">
+			<xsd:element name="yp" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684395">
 				<!--PROFILE: Changed minOccurs from 0 to 1 for element yp.-->
 				<xsd:annotation>
@@ -3358,4 +3413,9 @@
 					</xsd:annotation>
 				</xsd:element>
+				<xsd:element name="header" type="witsml:reportHeader" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>Information about this report.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
 				<xsd:element name="wellCRS" type="witsml:cs_wellCRS" minOccurs="0" maxOccurs="unbounded">
 					<xsd:annotation>
@@ -3379,4 +3439,14 @@
 					<xsd:annotation>
 						<xsd:documentation>Information about a bit.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="casing_liner_tubing" type="witsml:cs_stimTubular" minOccurs="0" maxOccurs="unbounded">
+					<xsd:annotation>
+						<xsd:documentation>Information about a bit run.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="cementStage" type="witsml:cs_cementStage" minOccurs="0" maxOccurs="unbounded">
+					<xsd:annotation>
+						<xsd:documentation>Information about a bit run.</xsd:documentation>
 					</xsd:annotation>
 				</xsd:element>
@@ -5483,5 +5553,15 @@
 	</xsd:complexType>
 	<!--UNUSED: Deleted type relativePowerMeasure.-->
-	<!--UNUSED: Deleted type specificVolumeMeasure.-->
+	<xsd:complexType name="specificVolumeMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:specificVolumeUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:timeUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
 	<!--UNUSED: Deleted type thermodynamicTemperatureMeasure.-->
 
@@ -5540,16 +5620,4 @@
 		</xsd:simpleContent>
 	</xsd:complexType>
-	<xsd:complexType name="anglePerTimeMeasure">
-		<xsd:simpleContent>
-			<xsd:extension base="witsml:abstractMeasure">
-				<xsd:attribute name="uom" type="witsml:anglePerTimeUom" use="required">
-					<xsd:annotation>
-						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:areaUom</xsd:appinfo>
-					</xsd:annotation>
-				</xsd:attribute>
-			</xsd:extension>
-		</xsd:simpleContent>
-	</xsd:complexType>
-
 	<xsd:complexType name="anglePerTimeMeasure">
 		<xsd:simpleContent>
@@ -5635,5 +5703,11 @@
 	<!--UNUSED: Deleted type AnglePerLengthUom.-->
 	<!--UNUSED: Deleted type AnglePerTimeUom.-->
-	<!--UNUSED: Deleted type AreaUom.-->
+	<!-- Added 22/02 - 2011 -->
+	<xsd:simpleType name="areaUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- END Added 22/02 - 2011 -->
 	<!--UNUSED: Deleted type AreaPerAreaUom.-->
 
@@ -5675,4 +5749,5 @@
 			<!--PROFILE: Deleted enumeration value="dAPI".-->
 			<xsd:enumeration value="g/cm3"/>
+			<xsd:enumeration value="sg"/>
 			<!--PROFILE: Deleted enumeration value="g/dm3".-->
 			<!--PROFILE: Deleted enumeration value="g/galUK".-->
@@ -5815,9 +5890,4 @@
 		</xsd:simpleContent>
 	</xsd:complexType>
-	<xsd:simpleType name="massPerLengthUom">
-		<xsd:restriction base="witsml:abstractUomEnum">
-			<xsd:enumeration value="lbm/ft"/>
-		</xsd:restriction>
-	</xsd:simpleType>
 
 	<xsd:simpleType name="massPerLengthUomPoundsPerFoot">
@@ -5829,5 +5899,5 @@
 		<xsd:simpleContent>
 			<xsd:extension base="witsml:abstractMeasure">
-				<xsd:attribute name="uom" type="witsml:massPerLengthUomPoundsMassPerFoot" use="required"/>
+				<xsd:attribute name="uom" type="witsml:massPerLengthUomPoundsPerFoot" use="required"/>
 			</xsd:extension>
 		</xsd:simpleContent>
Index: /projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml (revision 131)
+++ /projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml (revision 135)
@@ -6,50 +6,52 @@
 	xmlns:witsml="http://www.witsml.org/schemas/1series" 
 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-	
-  <witsml:documentInfo>
-  	<witsml:documentName>Drill Report</witsml:documentName>
-  	<witsml:owner>IIP</witsml:owner>
-  </witsml:documentInfo>
-  <witsml:drillReport>
-    <witsml:nameWell>99/99-A-99</witsml:nameWell>
-    <witsml:nameWellbore>99/99-A-99 T1</witsml:nameWellbore>
-    <witsml:name>witsml:name</witsml:name>
-    <witsml:dTimStart>2006-06-06T00:00:00.000Z</witsml:dTimStart>
-    <witsml:dTimEnd>2006-06-06T12:00:00.0Z</witsml:dTimEnd>
-    <witsml:versionKind>preliminary</witsml:versionKind>
-    <witsml:createDate>2006-06-06T13:15:00.000Z</witsml:createDate>
-    <witsml:wellAlias>
-    	<witsml:name>99/99-A-99</witsml:name>
-    	<witsml:namingSystem>NPD code</witsml:namingSystem>
-    </witsml:wellAlias>
-    <witsml:wellboreAlias>
-    	<witsml:name>99/99-A-99 T1</witsml:name>
-    	<witsml:namingSystem>NPD code</witsml:namingSystem>
-    </witsml:wellboreAlias>
-    <witsml:wellboreAlias>
-    	<witsml:name>123</witsml:name>
-    	<witsml:namingSystem>NPD number</witsml:namingSystem>
-    </witsml:wellboreAlias>
-    <witsml:wellDatum defaultMeasuredDepth="true" defaultVerticalDepth="true">
-    	<witsml:name>Kelly Bushing</witsml:name>
-    	<witsml:code>KB</witsml:code>
-    	<witsml:elevation uom="m" datum="SL">23.55</witsml:elevation>
-    </witsml:wellDatum>
-	
-	<witsml:header>
-	<witsml:periodeOfOperation>2011-02-07T00:00:00 - 2011-02-07T00:00:00</witsml:periodeOfOperation>
-	<witsml:reportNo>1</witsml:reportNo>
-	<witsml:tightWell>false</witsml:tightWell>
-	<witsml:hpht>false</witsml:hpht>
-	<witsml:avgPresBH uom="psig">2</witsml:avgPresBH>
-	<witsml:expTempBH uom="C">20</witsml:expTempBH>
-	<witsml:rigType>f</witsml:rigType>
-  </witsml:header>
-  
-    <witsml:wellDatum>
-    	<witsml:name>Sea Level</witsml:name>
-    	<witsml:code>SL</witsml:code>
-    </witsml:wellDatum>
-    <!-- 
+
+	<witsml:documentInfo>
+		<witsml:documentName>Drill Report</witsml:documentName>
+		<witsml:owner>IIP</witsml:owner>
+	</witsml:documentInfo>
+	<witsml:drillReport>
+		<witsml:nameWell>99/99-A-99</witsml:nameWell>
+		<witsml:nameWellbore>99/99-A-99 T1</witsml:nameWellbore>
+		<witsml:name>witsml:name</witsml:name>
+		<witsml:dTimStart>2006-06-06T00:00:00.000Z</witsml:dTimStart>
+		<witsml:dTimEnd>2006-06-06T12:00:00.0Z</witsml:dTimEnd>
+		<witsml:versionKind>preliminary</witsml:versionKind>
+		<witsml:createDate>2006-06-06T13:15:00.000Z</witsml:createDate>
+		<witsml:wellAlias>
+			<witsml:name>99/99-A-99</witsml:name>
+			<witsml:namingSystem>NPD code</witsml:namingSystem>
+		</witsml:wellAlias>
+		<witsml:wellboreAlias>
+			<witsml:name>99/99-A-99 T1</witsml:name>
+			<witsml:namingSystem>NPD code</witsml:namingSystem>
+		</witsml:wellboreAlias>
+		<witsml:wellboreAlias>
+			<witsml:name>123</witsml:name>
+			<witsml:namingSystem>NPD number</witsml:namingSystem>
+		</witsml:wellboreAlias>
+		<witsml:wellDatum defaultMeasuredDepth="true" defaultVerticalDepth="true">
+			<witsml:name>Kelly Bushing</witsml:name>
+			<witsml:code>KB</witsml:code>
+			<witsml:elevation uom="m" datum="SL">23.55</witsml:elevation>
+		</witsml:wellDatum>
+
+		<witsml:wellDatum>
+			<witsml:name>Sea Level</witsml:name>
+			<witsml:code>SL</witsml:code>
+		</witsml:wellDatum>
+
+		<witsml:header>
+			<witsml:periodOfOperation>2011-02-07T00:00:00 - 2011-02-07T00:00:00</witsml:periodOfOperation>
+			<witsml:reportNo>1</witsml:reportNo>
+			<witsml:tightWell>false</witsml:tightWell>
+			<witsml:hpht>false</witsml:hpht>
+			<witsml:avgPresBH uom="psig">2</witsml:avgPresBH>
+			<witsml:expTempBH uom="degC">20</witsml:expTempBH>
+			<witsml:rigType>Fixed rig</witsml:rigType>
+		</witsml:header>
+
+
+		<!-- 
     <witsml:wellCRS>
     	<witsml:name>ED50</witsml:name>
@@ -59,361 +61,382 @@
     </witsml:wellCRS>
      -->
-    <witsml:wellboreInfo>
-    	<witsml:dTimSpud>1986-06-06T13:15:00.000Z</witsml:dTimSpud>
-    	<witsml:dTimPreSpud>1982-06-06T13:15:00.000Z</witsml:dTimPreSpud>
-    	<witsml:operator>Big operator Inc</witsml:operator>
-    	<witsml:rigAlias>
-    		<witsml:name>Offshore Rig</witsml:name>
-    		<witsml:namingSystem>NPD Name</witsml:namingSystem>
-    	</witsml:rigAlias>
-    	<witsml:rigAlias>
-    		<witsml:name>4321</witsml:name>
-    		<witsml:namingSystem>NPD code</witsml:namingSystem>
-    	</witsml:rigAlias>
-    </witsml:wellboreInfo>
-    <witsml:statusInfo>
-    	<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
-    	<witsml:md uom="m">6898</witsml:md>
-    	<witsml:tvd uom="m">4561</witsml:tvd>
-    	<witsml:mdPlugTop uom="m">3564.22</witsml:mdPlugTop>
-    	<witsml:diaHole uom="in">43.33</witsml:diaHole>
-    	<witsml:mdDiaHoleStart uom="m">5935.7</witsml:mdDiaHoleStart>
-    	<witsml:diaPilot uom="in"> 45.55</witsml:diaPilot>    	
-    	<witsml:mdDiaPilotPlan uom="m"> 5866.66</witsml:mdDiaPilotPlan>
-    	<witsml:mdKickoff uom="m">1233.22</witsml:mdKickoff>
-    	<witsml:strengthForm uom="g/cm3">123</witsml:strengthForm>
-    	<witsml:mdStrengthForm uom="m">1234</witsml:mdStrengthForm>
-    	<witsml:diaCsgLast uom="in">16.6</witsml:diaCsgLast>
-    	<witsml:mdCsgLast uom="m">1234.56</witsml:mdCsgLast>
-    	<witsml:presTestType>leak off test</witsml:presTestType>
-    	<witsml:distDrill uom="m">78.9</witsml:distDrill>
-		<witsml:msl uom="m">15</witsml:msl>
-    	<witsml:elevKelly uom="m">23.5</witsml:elevKelly>
-    	<witsml:sum24Hr>Yada yada yada</witsml:sum24Hr>
-    	<witsml:forecast24Hr>Bla bla bla</witsml:forecast24Hr>
-    	<witsml:ropCurrent uom="m/h">6.22</witsml:ropCurrent>
-    </witsml:statusInfo>
-    <witsml:bitRecord>
-    	<witsml:numBit>1</witsml:numBit>
-    	<witsml:diaBit uom="in">46.6</witsml:diaBit>
-    	<witsml:manufacturer>Small Bit Builder Inc</witsml:manufacturer>
-    	<witsml:codeMfg>SBB</witsml:codeMfg>
-		<witsml:serialNo>123</witsml:serialNo>
-		<witsml:tfa uom="in2">8</witsml:tfa>
-		<witsml:dTimIn>2011-07-02T12:00:00.000Z</witsml:dTimIn>
-		<witsml:dTimOut>2011-07-02T13:00:00.000Z</witsml:dTimOut>
-		<witsml:hrsDrilled uom="hr">1</witsml:hrsDrilled>
-		<witsml:mdHoleStart uom="m">24</witsml:mdHoleStart>
-		<witsml:mdHoleEnd uom="m">25</witsml:mdHoleEnd>
-		<witsml:dullGrade>2</witsml:dullGrade>
-		<witsml:maxWob uom="m3">50</witsml:maxWob>
-		<witsml:maxRpm uom="rpm">1000</witsml:maxRpm>
-		<witsml:maxCircRate uom="m3/min">10</witsml:maxCircRate>
-		<witsml:maxSpp uom="bar">2</witsml:maxSpp>
-		<witsml:mdHoleMadeRun uom="m">1</witsml:mdHoleMadeRun>
-		<witsml:hrsDrilledRun uom="hr">1</witsml:hrsDrilledRun>
-		<witsml:rop uom="m/h">1</witsml:rop>
-		<witsml:maxTotWob uom="m3">80</witsml:maxTotWob>
-		<witsml:maxTotRpm uom="rpm">1200</witsml:maxTotRpm>
-		<witsml:maxTotCircRate uom="m3/min">15</witsml:maxTotCircRate>
-		<witsml:maxTotSpp uom="bar">5</witsml:maxTotSpp>
-		<witsml:mdTotHoleMade uom="m">5</witsml:mdTotHoleMade>
-		<witsml:totHrsDrilled uom="hr">8</witsml:totHrsDrilled>
-		<witsml:totRop uom="m/h">3</witsml:totRop>
-    </witsml:bitRecord>
-	<witsml:cs_stimTubular>
-		<witsml:type>c</witsml:type>
-		<witsml:casingType>t</witsml:casingType>
-		<witsml:dTimRun>2011-02-07T12:00:00.000Z</witsml:dTimRun>
-		<witsml:description>bla bla bla..</witsml:description>
-		<witsml:id uom="in">13</witsml:id>
-		<witsml:od uom="in">18</witsml:od>
-		<witsml:weight uom="pound/ft">65</witsml:weight>
-		<witsml:grade>12</witsml:grade>
-		<witsml:connection>2</witsml:connection>
-		<witsml:length uom="m">30</witsml:length>
-		<witsml:mdTop uom="m">30</witsml:mdTop>
-		<witsml:mdBottom uom="m">42</witsml:mdBottom>
-	</witsml:cs_stimTubular>
-	<witsml:cs_cementStage>
-		<witsml:dTimPumpStart>2011-02-07T14:00:00.000Z</witsml:dTimPumpStart>
-		<witsml:dTimPumpEnd>2011-02-07T15:00:00.000Z</witsml:dTimPumpEnd>
-		<witsml:jobType>cl</witsml:jobType>
-		<witsml:casingStrDia uom="in">16</witsml:casingStrDia>
-		<witsml:comment>bla bla bla...</witsml:comment>
-		<witsml:volReturns uom="m3">25</witsml:volReturns>
-		<witsml:eTimPresHeld>2011-02-07T14:00:00.000Z</witsml:eTimPresHeld>
-		<witsml:annFlowAfter>false</witsml:annFlowAfter>
-		<witsml:topPlug>false</witsml:topPlug>
-		<witsml:botPlug>true</witsml:botPlug>
-		<witsml:plugBump>false</witsml:plugBump>
-		<witsml:presBump uom="bar">200</witsml:presBump>
-		<witsml:floatFailed>false</witsml:floatFailed>
-		<witsml:reciprocated>false</witsml:reciprocated>
-		<witsml:rotated>true</witsml:rotated>
-	</witsml:cs_cementStage>
-	<witsml:cs_cementingFluid>
-		<witsml:dTimTest>2011-02-07T12:00:00.000Z</witsml:dTimTest>
-		<witsml:mdLog uom="m">15</witsml:mdLog>
-		<witsml:typeFluid>m</witsml:typeFluid>
-		<witsml:descFluid>bla bla bla...</witsml:descFluid>
-		<witsml:ratioMixWater uom="gal/sack">15</witsml:ratioMixWater>
-		<witsml:density uom="sg">30</witsml:density>
-		<witsml:volPumped uom="m3">15</witsml:volPumped>
-		<witsml:pv uom="mPa.s">20</witsml:pv>
-		<witsml:yp uom="ft3/sack">12</witsml:yp>
-		<witsml:eTimThickening uom="hr">5</witsml:eTimThickening>
-		<witsml:pcFreeWater uom="%">20</witsml:pcFreeWater>
-		<witsml:comment>bla bla bla...</witsml:comment>
-	</witsml:cs_cementingFluid>
-    <witsml:fluid>
-    	<witsml:type>oil based</witsml:type>
-    	<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
-    	<witsml:md uom="m">1235.6</witsml:md>
-    	<witsml:tvd uom="m">986.6</witsml:tvd>
-    	<witsml:presBopRating uom="bar">77.7</witsml:presBopRating>
-    	<witsml:mudClass>oil based</witsml:mudClass>
-    	<witsml:density uom="g/cm3">1.85</witsml:density>
-    	<witsml:pv uom="mPa.s">33</witsml:pv>
-    	<witsml:yp uom="Pa">44.4</witsml:yp>
-    </witsml:fluid>
-    <witsml:fluid>
-    	<witsml:type>water based</witsml:type>
-    	<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
-    	<witsml:md uom="m">1235.6</witsml:md>
-    	<witsml:tvd uom="m">986.6</witsml:tvd>
-    	<witsml:presBopRating uom="bar">177.7</witsml:presBopRating>
-    	<witsml:mudClass>water based</witsml:mudClass>
-    	<witsml:density uom="g/cm3">1.85</witsml:density>
-    	<witsml:pv uom="mPa.s">33</witsml:pv>
-    	<witsml:yp uom="Pa">44.4</witsml:yp> 
-    </witsml:fluid>
-    <witsml:porePressure>
-    	<witsml:readingKind>estimated</witsml:readingKind>
-    	<witsml:equivalentMudWeight uom="g/cm3">23.1</witsml:equivalentMudWeight>
-    	<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
-    	
-    	<witsml:md uom="m">321.1</witsml:md>
-    	<witsml:tvd uom="m">123.4</witsml:tvd>
-    </witsml:porePressure>
-    <witsml:porePressure>
-    	<witsml:readingKind>measured</witsml:readingKind>
-    	<witsml:equivalentMudWeight uom="g/cm3">23.5</witsml:equivalentMudWeight>
-    	<witsml:dTim>2001-12-31T22:00:00.000Z</witsml:dTim>
-    	<witsml:md uom="m">9321.1</witsml:md>
-    	<witsml:tvd uom="m">9123.4232</witsml:tvd>
-    </witsml:porePressure>
-    <witsml:extendedReport dTim="2006-06-07T06:00:00.000Z">Bla bla bla</witsml:extendedReport>
-    <witsml:surveyStation>
-    	<witsml:dTim>2001-12-31T22:00:00.000Z</witsml:dTim>
-    	<witsml:md uom="m">123.4</witsml:md>
-    	<witsml:tvd uom="m">123.4</witsml:tvd>
-    	<witsml:incl uom="dega">66.6</witsml:incl>
-    	<witsml:azi uom="dega">55.5</witsml:azi>
-    </witsml:surveyStation>
-    <witsml:activity>
-    	<witsml:dTimStart>2001-12-31T22:00:00.000Z</witsml:dTimStart>
-    	<witsml:dTimEnd>2001-12-31T23:00:00.000Z</witsml:dTimEnd>
-		<witsml:mdHoleStart uom="m">123</witsml:mdHoleStart>
-		<witsml:mdHoleEnd uom="m">123.4</witsml:mdHoleEnd>
-    	<witsml:md uom="m">123.4</witsml:md>
-    	<witsml:tvd uom="m">100.0</witsml:tvd>
-    	<witsml:phase>fixed</witsml:phase>
-    	<witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode>
-    	<witsml:state>ok</witsml:state>
-    	<witsml:stateDetailActivity>kick</witsml:stateDetailActivity>
-    	<witsml:comments>Bla bla bla</witsml:comments>
-    </witsml:activity>
-    <witsml:activity>
-    	<witsml:dTimStart>2001-12-31T02:00:00.000Z</witsml:dTimStart>
-    	<witsml:dTimEnd>2001-12-31T06:00:00.000Z</witsml:dTimEnd>
-		<witsml:mdHoleStart uom="m">123</witsml:mdHoleStart>
-		<witsml:mdHoleEnd uom="m">123.4</witsml:mdHoleEnd>
-    	<witsml:md uom="m">123.4</witsml:md>
-    	<witsml:tvd uom="m">100.0</witsml:tvd>
-    	<witsml:phase>snub</witsml:phase>
-    	<witsml:proprietaryCode>moving -- transit</witsml:proprietaryCode>
-    	<witsml:state>fail</witsml:state>
-    	<witsml:stateDetailActivity>injury</witsml:stateDetailActivity>
-    	<witsml:comments>Bla bla bla</witsml:comments>
-    </witsml:activity>
-    <witsml:logInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:runNumber>1</witsml:runNumber>
-    	<witsml:serviceCompany>Small Service Inc</witsml:serviceCompany>
-    	<witsml:mdTop uom="m">4567.6</witsml:mdTop>
-    	<witsml:mdBottom uom="m">4668.9</witsml:mdBottom>
-    	<witsml:tvdTop uom="m">333.3</witsml:tvdTop>
-    	<witsml:tvdBottom uom="m">444.4</witsml:tvdBottom>
-    	<witsml:tool>Hammer</witsml:tool>
-    	<witsml:tempBHCT uom="degC">85.6</witsml:tempBHCT>
-    	<witsml:mdTempTool uom="m">6666.6</witsml:mdTempTool>
-    	<witsml:tvdTempTool uom="m">6666.5</witsml:tvdTempTool>
-    </witsml:logInfo>
-    <witsml:logInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:runNumber>1</witsml:runNumber>
-    	<witsml:serviceCompany>Small Service Inc</witsml:serviceCompany>
-    	<witsml:mdTop uom="m">4567.6</witsml:mdTop>
-    	<witsml:mdBottom uom="m">4668.9</witsml:mdBottom>
-    	<witsml:tvdTop uom="m">333.3</witsml:tvdTop>
-    	<witsml:tvdBottom uom="m">444.4</witsml:tvdBottom>
-    	<witsml:tool>Hammer</witsml:tool>
-    	<witsml:tempBHST uom="degC">85.6</witsml:tempBHST>
-    	<witsml:eTimStatic uom="h">2.3</witsml:eTimStatic>    	
-    	<witsml:mdTempTool uom="m">6666.6</witsml:mdTempTool>
-    	<witsml:tvdTempTool uom="m">6666.5</witsml:tvdTempTool>
-    </witsml:logInfo>
-    <witsml:coreInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:coreNumber>1</witsml:coreNumber>
-    	<witsml:mdTop uom="m">1234</witsml:mdTop>
-    	<witsml:mdBottom uom="m">1234</witsml:mdBottom>
-    	<witsml:tvdTop uom="m">1233</witsml:tvdTop>
-    	<witsml:tvdBottom uom="m">1233</witsml:tvdBottom>
-    	<witsml:lenRecovered uom="m">123</witsml:lenRecovered>
-    	<witsml:recoverPc uom="%">89.9</witsml:recoverPc>
-    	<witsml:lenBarrel uom="m">33.3</witsml:lenBarrel>
-    	<witsml:innerBarrelType>aluminum</witsml:innerBarrelType>
-    	<witsml:coreDescription>bla bla bla</witsml:coreDescription>
-    </witsml:coreInfo>
-    <witsml:wellTestInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:testType>production test</witsml:testType>
-    	<witsml:testNumber>1</witsml:testNumber>
-    	<witsml:mdTop uom="m">1234.5</witsml:mdTop>
-    	<witsml:mdBottom uom="m">2345.6</witsml:mdBottom>
-    	<witsml:tvdTop uom="m">1234.5</witsml:tvdTop>
-    	<witsml:tvdBottom uom="m">2345.5</witsml:tvdBottom>
-    	<witsml:chokeOrificeSize uom="mm">32.1</witsml:chokeOrificeSize>
-    	<witsml:densityOil uom="g/cm3">0.86</witsml:densityOil>
-    	<witsml:densityWater uom="g/cm3">1.03</witsml:densityWater>
-    	<witsml:densityGas uom="g/cm3">0.06</witsml:densityGas>
-    	<witsml:flowRateOil uom="m3/d">77.7</witsml:flowRateOil>
-    	<witsml:flowRateWater uom="m3/d">7.7</witsml:flowRateWater>
-    	<witsml:flowRateGas uom="M(m3)/d">88.8</witsml:flowRateGas>
-    	<witsml:presShutIn uom="MPa">44.4</witsml:presShutIn>
-    	<witsml:presFlowing uom="MPa">33.3</witsml:presFlowing>
-    	<witsml:presBottom uom="MPa">22.2</witsml:presBottom>
-    	<witsml:gasOilRatio uom="m3/m3">23</witsml:gasOilRatio>
-    	<witsml:waterOilRatio uom="m3/m3">0.33</witsml:waterOilRatio>
-    	<witsml:chloride uom="ppm">22.2</witsml:chloride>
-    	<witsml:carbonDioxide uom="ppm">11.1</witsml:carbonDioxide>
-    	<witsml:hydrogenSulfide uom="ppm">7.3</witsml:hydrogenSulfide>
-    	<witsml:volOilTotal uom="m3">9999</witsml:volOilTotal>
-    	<witsml:volGasTotal uom="M(m3)">666</witsml:volGasTotal>
-    	<witsml:volWaterTotal uom="m3">55</witsml:volWaterTotal>
-    	<witsml:volOilStored uom="m3">1365</witsml:volOilStored>
-    </witsml:wellTestInfo>
-    <witsml:formTestInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:md uom="m">1234.5</witsml:md>
-    	<witsml:tvd uom="m">1234.5</witsml:tvd>
-    	<witsml:presPore uom="MPa">66.5</witsml:presPore>
-    	<witsml:goodSeal>true</witsml:goodSeal>
-    	<witsml:mdSample uom="m">1224.3</witsml:mdSample>
-    	<witsml:dominateComponent>oil</witsml:dominateComponent>
-    	<witsml:densityHC uom="g/cm3">0.33</witsml:densityHC>
-    	<witsml:volumeSample uom="dm3">11</witsml:volumeSample>
-    	<witsml:description>Yada yada yada</witsml:description>
-    </witsml:formTestInfo>
-    <witsml:lithShowInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:mdTop uom="m">1234.5</witsml:mdTop>
-    	<witsml:mdBottom uom="m">1234.5</witsml:mdBottom>
-    	<witsml:tvdTop uom="m">1234.5</witsml:tvdTop>
-    	<witsml:tvdBottom uom="m">1234.5</witsml:tvdBottom>
-    	<witsml:show>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape. </witsml:show>
-    	<witsml:lithology>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).</witsml:lithology>
-    </witsml:lithShowInfo>
-    <witsml:equipFailureInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:md uom="m">1234.5</witsml:md>
-    	<witsml:equipClass>drill floor -- drilling control</witsml:equipClass>
-    	<witsml:eTimMissProduction uom="min">180</witsml:eTimMissProduction>
-    	<witsml:dTimRepair>2002-01-31T02:00:00.000Z</witsml:dTimRepair>
-    	<witsml:description>Bla bla bla</witsml:description>
-    </witsml:equipFailureInfo>
-    <witsml:controlIncidentInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:mdInflow uom="m">1234.5</witsml:mdInflow>
-    	<witsml:tvdInflow uom="m">1234</witsml:tvdInflow>
-    	<witsml:phase>wire line</witsml:phase>
-    	<witsml:proprietaryCode>moving -- transit</witsml:proprietaryCode>
-    	<witsml:eTimLost uom="min">16</witsml:eTimLost>
-    	<witsml:dTimRegained>2001-12-31T02:16:00.000Z</witsml:dTimRegained>
-    	<witsml:diaBit uom="in">21</witsml:diaBit>
-    	<witsml:mdBit uom="m">123</witsml:mdBit>
-    	<witsml:wtMud uom="g/cm3">1.23</witsml:wtMud>
-    	<witsml:porePressure uom="g/cm3">1.12</witsml:porePressure>
-    	<witsml:diaCsgLast uom="in">33</witsml:diaCsgLast>
-    	<witsml:mdCsgLast uom="m">123</witsml:mdCsgLast>
-    	<witsml:volMudGained uom="m3">112</witsml:volMudGained>
-    	<witsml:presShutInCasing uom="bar">44</witsml:presShutInCasing>
-    	<witsml:presShutInDrill uom="bar">33</witsml:presShutInDrill>
-    	<witsml:incidentType>oil kick</witsml:incidentType>
-    	<witsml:killingType>lubricate and bleed</witsml:killingType>
-    	<witsml:formation>jura</witsml:formation>
-    	<witsml:tempBottom uom="degC">258</witsml:tempBottom>
-    	<witsml:presMaxChoke uom="bar">66.3</witsml:presMaxChoke>
-    	<witsml:description>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape.
+		<witsml:wellboreInfo>
+			<witsml:dTimSpud>1986-06-06T13:15:00.000Z</witsml:dTimSpud>
+			<witsml:dTimPreSpud>1982-06-06T13:15:00.000Z</witsml:dTimPreSpud>
+			<witsml:operator>Big operator Inc</witsml:operator>
+			<witsml:rigAlias>
+				<witsml:name>Offshore Rig</witsml:name>
+				<witsml:namingSystem>NPD Name</witsml:namingSystem>
+			</witsml:rigAlias>
+			<witsml:rigAlias>
+				<witsml:name>4321</witsml:name>
+				<witsml:namingSystem>NPD code</witsml:namingSystem>
+			</witsml:rigAlias>
+		</witsml:wellboreInfo>
+		<witsml:statusInfo>
+			<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">6898</witsml:md>
+			<witsml:tvd uom="m">4561</witsml:tvd>
+			<witsml:mdPlugTop uom="m">3564.22</witsml:mdPlugTop>
+			<witsml:diaHole uom="in">43.33</witsml:diaHole>
+			<witsml:mdDiaHoleStart uom="m">5935.7</witsml:mdDiaHoleStart>
+			<witsml:diaPilot uom="in"> 45.55</witsml:diaPilot>    	
+			<witsml:mdDiaPilotPlan uom="m"> 5866.66</witsml:mdDiaPilotPlan>
+			<witsml:mdKickoff uom="m">1233.22</witsml:mdKickoff>
+			<witsml:strengthForm uom="g/cm3">123</witsml:strengthForm>
+			<witsml:mdStrengthForm uom="m">1234</witsml:mdStrengthForm>
+			<witsml:diaCsgLast uom="in">16.6</witsml:diaCsgLast>
+			<witsml:mdCsgLast uom="m">1234.56</witsml:mdCsgLast>
+			<witsml:presTestType>leak off test</witsml:presTestType>
+			<witsml:distDrill uom="m">78.9</witsml:distDrill>
+			<witsml:msl uom="m">15</witsml:msl>
+			<witsml:elevKelly uom="m">23.5</witsml:elevKelly>
+			<witsml:sum24Hr>Yada yada yada</witsml:sum24Hr>
+			<witsml:forecast24Hr>Bla bla bla</witsml:forecast24Hr>
+			<witsml:ropCurrent uom="m/h">6.22</witsml:ropCurrent>
+		</witsml:statusInfo>
+		<witsml:bitRecord>
+			<witsml:diaBit uom="in">46.6</witsml:diaBit>
+			<witsml:numBit>1</witsml:numBit>
+			<witsml:codeMfg>SSB</witsml:codeMfg>
+			<witsml:dullGrade>2</witsml:dullGrade>
+			<witsml:bitRun>
+				<witsml:eTimOpBit uom="h">1</witsml:eTimOpBit>
+				<witsml:mdHoleStart uom="m">24</witsml:mdHoleStart>
+				<witsml:mdHoleStop uom="m">25</witsml:mdHoleStop>
+				<witsml:ropAv uom="m/h">1</witsml:ropAv>
+				<witsml:ropMx uom="m/h">3</witsml:ropMx>
+				<witsml:mdHoleMadeRun uom="m">1</witsml:mdHoleMadeRun>
+				<witsml:hrsDrilledRun uom="h">1</witsml:hrsDrilledRun>
+				<witsml:mdTotHoleMade uom="m">5</witsml:mdTotHoleMade>
+				<witsml:totHrsDrilled uom="h">8</witsml:totHrsDrilled>
+			</witsml:bitRun>
+		</witsml:bitRecord>
+		<witsml:casing_liner_tubing>
+			<witsml:type>Casing</witsml:type>
+			<witsml:id uom="in">13</witsml:id>
+			<witsml:od uom="in">18</witsml:od>
+			<witsml:weight uom="lbm/ft">65</witsml:weight>
+			<witsml:grade>12</witsml:grade>
+			<witsml:connection>2</witsml:connection>
+			<witsml:length uom="m">30</witsml:length>
+			<witsml:mdTop uom="m">30</witsml:mdTop>
+			<witsml:mdBottom uom="m">42</witsml:mdBottom>
+			<witsml:casing_liner_tubing_run>
+				<witsml:kind>Top</witsml:kind>
+				<witsml:description>bla bla bla..</witsml:description>
+				<witsml:dTimStart>2011-02-07T12:00:00.000Z</witsml:dTimStart>
+			</witsml:casing_liner_tubing_run>
+		</witsml:casing_liner_tubing>
+		<witsml:cementStage>
+			<witsml:dTimPumpStart>2011-02-07T14:00:00.000Z</witsml:dTimPumpStart>
+			<witsml:dTimPumpEnd>2011-02-07T15:00:00.000Z</witsml:dTimPumpEnd>
+			<witsml:jobType>cl</witsml:jobType>
+			<witsml:casingStrDia uom="in">16</witsml:casingStrDia>
+			<witsml:comment>bla bla bla...</witsml:comment>
+			<witsml:volReturns uom="m3">25</witsml:volReturns>
+			<witsml:eTimPresHeld>2011-02-07T14:00:00.000Z</witsml:eTimPresHeld>
+			<witsml:annFlowAfter>false</witsml:annFlowAfter>
+			<witsml:topPlug>false</witsml:topPlug>
+			<witsml:botPlug>true</witsml:botPlug>
+			<witsml:plugBumped>false</witsml:plugBumped>
+			<witsml:presBump uom="bar">200</witsml:presBump>
+			<witsml:floatFailed>false</witsml:floatFailed>
+			<witsml:reciprocated>false</witsml:reciprocated>
+			<witsml:rotated>true</witsml:rotated>
+			<witsml:cementingFluid>
+				<witsml:dTimTest>2011-02-07T12:00:00.000Z</witsml:dTimTest>
+				<witsml:mdLog uom="m">15</witsml:mdLog>
+				<witsml:typeFluid>m</witsml:typeFluid>
+				<witsml:descFluid>bla bla bla...</witsml:descFluid>
+				<witsml:ratioMixWater uom="galUS/sack94">15</witsml:ratioMixWater>
+				<witsml:density uom="sg">30</witsml:density>
+				<witsml:volPumped uom="m3">15</witsml:volPumped>
+				<witsml:pv uom="mPa">20</witsml:pv>
+				<witsml:yp uom="ft3/sack94">12</witsml:yp>
+				<witsml:eTimThickening uom="h">5</witsml:eTimThickening>
+				<witsml:pcFreeWater uom="%">20</witsml:pcFreeWater>
+				<witsml:comment>bla bla bla...</witsml:comment>
+			</witsml:cementingFluid>
+		</witsml:cementStage>
+		<witsml:cementStage>
+			<witsml:dTimPumpStart>2011-02-07T14:00:00.000Z</witsml:dTimPumpStart>
+			<witsml:dTimPumpEnd>2011-02-07T15:00:00.000Z</witsml:dTimPumpEnd>
+			<witsml:jobType>cl</witsml:jobType>
+			<witsml:casingStrDia uom="in">16</witsml:casingStrDia>
+			<witsml:comment>bla bla bla...</witsml:comment>
+			<witsml:volReturns uom="m3">25</witsml:volReturns>
+			<witsml:eTimPresHeld>2011-02-07T14:00:00.000Z</witsml:eTimPresHeld>
+			<witsml:annFlowAfter>false</witsml:annFlowAfter>
+			<witsml:topPlug>false</witsml:topPlug>
+			<witsml:botPlug>true</witsml:botPlug>
+			<witsml:plugBumped>false</witsml:plugBumped>
+			<witsml:presBump uom="bar">200</witsml:presBump>
+			<witsml:floatFailed>false</witsml:floatFailed>
+			<witsml:reciprocated>false</witsml:reciprocated>
+			<witsml:rotated>true</witsml:rotated>
+			<witsml:cementingFluid>
+				<witsml:dTimTest>2011-02-07T12:00:00.000Z</witsml:dTimTest>
+				<witsml:mdLog uom="m">15</witsml:mdLog>
+				<witsml:typeFluid>m</witsml:typeFluid>
+				<witsml:descFluid>bla bla bla...</witsml:descFluid>
+				<witsml:ratioMixWater uom="galUS/sack94">15</witsml:ratioMixWater>
+				<witsml:density uom="sg">30</witsml:density>
+				<witsml:volPumped uom="m3">15</witsml:volPumped>
+				<witsml:pv uom="mPa">20</witsml:pv>
+				<witsml:yp uom="ft3/sack94">12</witsml:yp>
+				<witsml:eTimThickening uom="h">5</witsml:eTimThickening>
+				<witsml:pcFreeWater uom="%">20</witsml:pcFreeWater>
+				<witsml:comment>bla bla bla...</witsml:comment>
+			</witsml:cementingFluid>
+		</witsml:cementStage>
+		<witsml:fluid>
+			<witsml:type>oil based</witsml:type>
+			<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">1235.6</witsml:md>
+			<witsml:tvd uom="m">986.6</witsml:tvd>
+			<witsml:presBopRating uom="bar">77.7</witsml:presBopRating>
+			<witsml:mudClass>oil based</witsml:mudClass>
+			<witsml:density uom="g/cm3">1.85</witsml:density>
+			<witsml:pv uom="mPa.s">33</witsml:pv>
+			<witsml:yp uom="Pa">44.4</witsml:yp>
+		</witsml:fluid>
+		<witsml:fluid>
+			<witsml:type>water based</witsml:type>
+			<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">1235.6</witsml:md>
+			<witsml:tvd uom="m">986.6</witsml:tvd>
+			<witsml:presBopRating uom="bar">177.7</witsml:presBopRating>
+			<witsml:mudClass>water based</witsml:mudClass>
+			<witsml:density uom="g/cm3">1.85</witsml:density>
+			<witsml:pv uom="mPa.s">33</witsml:pv>
+			<witsml:yp uom="Pa">44.4</witsml:yp> 
+		</witsml:fluid>
+		<witsml:porePressure>
+			<witsml:readingKind>estimated</witsml:readingKind>
+			<witsml:equivalentMudWeight uom="g/cm3">23.1</witsml:equivalentMudWeight>
+			<witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">321.1</witsml:md>
+			<witsml:tvd uom="m">123.4</witsml:tvd>
+		</witsml:porePressure>
+		<witsml:porePressure>
+			<witsml:readingKind>measured</witsml:readingKind>
+			<witsml:equivalentMudWeight uom="g/cm3">23.5</witsml:equivalentMudWeight>
+			<witsml:dTim>2001-12-31T22:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">9321.1</witsml:md>
+			<witsml:tvd uom="m">9123.4232</witsml:tvd>
+		</witsml:porePressure>
+		<witsml:extendedReport dTim="2006-06-07T06:00:00.000Z">Bla bla bla</witsml:extendedReport>
+		<witsml:surveyStation>
+			<witsml:dTim>2001-12-31T22:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">123.4</witsml:md>
+			<witsml:tvd uom="m">123.4</witsml:tvd>
+			<witsml:incl uom="dega">66.6</witsml:incl>
+			<witsml:azi uom="dega">55.5</witsml:azi>
+		</witsml:surveyStation>
+		<witsml:activity>
+			<witsml:dTimStart>2001-12-31T22:00:00.000Z</witsml:dTimStart>
+			<witsml:dTimEnd>2001-12-31T23:00:00.000Z</witsml:dTimEnd>
+			<witsml:md uom="m">123.4</witsml:md>
+			<witsml:tvd uom="m">100.0</witsml:tvd>
+			<witsml:phase>fixed</witsml:phase>
+			<witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode>
+			<witsml:mdHoleStart uom="m">123</witsml:mdHoleStart>
+			<witsml:mdHoleEnd uom="m">123.4</witsml:mdHoleEnd>
+			<witsml:state>ok</witsml:state>
+			<witsml:stateDetailActivity>kick</witsml:stateDetailActivity>
+			<witsml:comments>Bla bla bla</witsml:comments>
+		</witsml:activity>
+		<witsml:activity>
+			<witsml:dTimStart>2001-12-31T02:00:00.000Z</witsml:dTimStart>
+			<witsml:dTimEnd>2001-12-31T06:00:00.000Z</witsml:dTimEnd>
+			<witsml:md uom="m">123.4</witsml:md>
+			<witsml:tvd uom="m">100.0</witsml:tvd>
+			<witsml:phase>snub</witsml:phase>
+			<witsml:proprietaryCode>moving -- transit</witsml:proprietaryCode>
+			<witsml:mdHoleStart uom="m">123</witsml:mdHoleStart>
+			<witsml:mdHoleEnd uom="m">123.4</witsml:mdHoleEnd>
+			<witsml:state>fail</witsml:state>
+			<witsml:stateDetailActivity>injury</witsml:stateDetailActivity>
+			<witsml:comments>Bla bla bla</witsml:comments>
+		</witsml:activity>
+		<witsml:logInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:runNumber>1</witsml:runNumber>
+			<witsml:serviceCompany>Small Service Inc</witsml:serviceCompany>
+			<witsml:mdTop uom="m">4567.6</witsml:mdTop>
+			<witsml:mdBottom uom="m">4668.9</witsml:mdBottom>
+			<witsml:tvdTop uom="m">333.3</witsml:tvdTop>
+			<witsml:tvdBottom uom="m">444.4</witsml:tvdBottom>
+			<witsml:tool>Hammer</witsml:tool>
+			<witsml:tempBHCT uom="degC">85.6</witsml:tempBHCT>
+			<witsml:mdTempTool uom="m">6666.6</witsml:mdTempTool>
+			<witsml:tvdTempTool uom="m">6666.5</witsml:tvdTempTool>
+		</witsml:logInfo>
+		<witsml:logInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:runNumber>1</witsml:runNumber>
+			<witsml:serviceCompany>Small Service Inc</witsml:serviceCompany>
+			<witsml:mdTop uom="m">4567.6</witsml:mdTop>
+			<witsml:mdBottom uom="m">4668.9</witsml:mdBottom>
+			<witsml:tvdTop uom="m">333.3</witsml:tvdTop>
+			<witsml:tvdBottom uom="m">444.4</witsml:tvdBottom>
+			<witsml:tool>Hammer</witsml:tool>
+			<witsml:tempBHST uom="degC">85.6</witsml:tempBHST>
+			<witsml:eTimStatic uom="h">2.3</witsml:eTimStatic>    	
+			<witsml:mdTempTool uom="m">6666.6</witsml:mdTempTool>
+			<witsml:tvdTempTool uom="m">6666.5</witsml:tvdTempTool>
+		</witsml:logInfo>
+		<witsml:coreInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:coreNumber>1</witsml:coreNumber>
+			<witsml:mdTop uom="m">1234</witsml:mdTop>
+			<witsml:mdBottom uom="m">1234</witsml:mdBottom>
+			<witsml:tvdTop uom="m">1233</witsml:tvdTop>
+			<witsml:tvdBottom uom="m">1233</witsml:tvdBottom>
+			<witsml:lenRecovered uom="m">123</witsml:lenRecovered>
+			<witsml:recoverPc uom="%">89.9</witsml:recoverPc>
+			<witsml:lenBarrel uom="m">33.3</witsml:lenBarrel>
+			<witsml:innerBarrelType>aluminum</witsml:innerBarrelType>
+			<witsml:coreDescription>bla bla bla</witsml:coreDescription>
+		</witsml:coreInfo>
+		<witsml:wellTestInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:testType>production test</witsml:testType>
+			<witsml:testNumber>1</witsml:testNumber>
+			<witsml:mdTop uom="m">1234.5</witsml:mdTop>
+			<witsml:mdBottom uom="m">2345.6</witsml:mdBottom>
+			<witsml:tvdTop uom="m">1234.5</witsml:tvdTop>
+			<witsml:tvdBottom uom="m">2345.5</witsml:tvdBottom>
+			<witsml:chokeOrificeSize uom="mm">32.1</witsml:chokeOrificeSize>
+			<witsml:densityOil uom="g/cm3">0.86</witsml:densityOil>
+			<witsml:densityWater uom="g/cm3">1.03</witsml:densityWater>
+			<witsml:densityGas uom="g/cm3">0.06</witsml:densityGas>
+			<witsml:flowRateOil uom="m3/d">77.7</witsml:flowRateOil>
+			<witsml:flowRateWater uom="m3/d">7.7</witsml:flowRateWater>
+			<witsml:flowRateGas uom="M(m3)/d">88.8</witsml:flowRateGas>
+			<witsml:presShutIn uom="MPa">44.4</witsml:presShutIn>
+			<witsml:presFlowing uom="MPa">33.3</witsml:presFlowing>
+			<witsml:presBottom uom="MPa">22.2</witsml:presBottom>
+			<witsml:gasOilRatio uom="m3/m3">23</witsml:gasOilRatio>
+			<witsml:waterOilRatio uom="m3/m3">0.33</witsml:waterOilRatio>
+			<witsml:chloride uom="ppm">22.2</witsml:chloride>
+			<witsml:carbonDioxide uom="ppm">11.1</witsml:carbonDioxide>
+			<witsml:hydrogenSulfide uom="ppm">7.3</witsml:hydrogenSulfide>
+			<witsml:volOilTotal uom="m3">9999</witsml:volOilTotal>
+			<witsml:volGasTotal uom="M(m3)">666</witsml:volGasTotal>
+			<witsml:volWaterTotal uom="m3">55</witsml:volWaterTotal>
+			<witsml:volOilStored uom="m3">1365</witsml:volOilStored>
+		</witsml:wellTestInfo>
+		<witsml:formTestInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">1234.5</witsml:md>
+			<witsml:tvd uom="m">1234.5</witsml:tvd>
+			<witsml:presPore uom="MPa">66.5</witsml:presPore>
+			<witsml:goodSeal>true</witsml:goodSeal>
+			<witsml:mdSample uom="m">1224.3</witsml:mdSample>
+			<witsml:dominateComponent>oil</witsml:dominateComponent>
+			<witsml:densityHC uom="g/cm3">0.33</witsml:densityHC>
+			<witsml:volumeSample uom="dm3">11</witsml:volumeSample>
+			<witsml:description>Yada yada yada</witsml:description>
+		</witsml:formTestInfo>
+		<witsml:lithShowInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:mdTop uom="m">1234.5</witsml:mdTop>
+			<witsml:mdBottom uom="m">1234.5</witsml:mdBottom>
+			<witsml:tvdTop uom="m">1234.5</witsml:tvdTop>
+			<witsml:tvdBottom uom="m">1234.5</witsml:tvdBottom>
+			<witsml:show>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape. </witsml:show>
+			<witsml:lithology>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).</witsml:lithology>
+		</witsml:lithShowInfo>
+		<witsml:equipFailureInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:md uom="m">1234.5</witsml:md>
+			<witsml:equipClass>drill floor -- drilling control</witsml:equipClass>
+			<witsml:eTimMissProduction uom="min">180</witsml:eTimMissProduction>
+			<witsml:dTimRepair>2002-01-31T02:00:00.000Z</witsml:dTimRepair>
+			<witsml:description>Bla bla bla</witsml:description>
+		</witsml:equipFailureInfo>
+		<witsml:controlIncidentInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:mdInflow uom="m">1234.5</witsml:mdInflow>
+			<witsml:tvdInflow uom="m">1234</witsml:tvdInflow>
+			<witsml:phase>wire line</witsml:phase>
+			<witsml:proprietaryCode>moving -- transit</witsml:proprietaryCode>
+			<witsml:eTimLost uom="min">16</witsml:eTimLost>
+			<witsml:dTimRegained>2001-12-31T02:16:00.000Z</witsml:dTimRegained>
+			<witsml:diaBit uom="in">21</witsml:diaBit>
+			<witsml:mdBit uom="m">123</witsml:mdBit>
+			<witsml:wtMud uom="g/cm3">1.23</witsml:wtMud>
+			<witsml:porePressure uom="g/cm3">1.12</witsml:porePressure>
+			<witsml:diaCsgLast uom="in">33</witsml:diaCsgLast>
+			<witsml:mdCsgLast uom="m">123</witsml:mdCsgLast>
+			<witsml:volMudGained uom="m3">112</witsml:volMudGained>
+			<witsml:presShutInCasing uom="bar">44</witsml:presShutInCasing>
+			<witsml:presShutInDrill uom="bar">33</witsml:presShutInDrill>
+			<witsml:incidentType>oil kick</witsml:incidentType>
+			<witsml:killingType>lubricate and bleed</witsml:killingType>
+			<witsml:formation>jura</witsml:formation>
+			<witsml:tempBottom uom="degC">258</witsml:tempBottom>
+			<witsml:presMaxChoke uom="bar">66.3</witsml:presMaxChoke>
+			<witsml:description>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).</witsml:description>
-    </witsml:controlIncidentInfo>
-    <witsml:controlIncidentInfo>
-    	<witsml:dTim>2008-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:mdInflow uom="m">1234.5</witsml:mdInflow>
-    	<witsml:tvdInflow uom="m">1234</witsml:tvdInflow>
-    	<witsml:phase>wire line</witsml:phase>
-    	<witsml:proprietaryCode>moving -- transit</witsml:proprietaryCode>
-    	<witsml:eTimLost uom="min">16</witsml:eTimLost>
-    	<witsml:dTimRegained>2001-12-31T02:16:00.000Z</witsml:dTimRegained>
-    	<witsml:diaBit uom="in">21</witsml:diaBit>
-    	<witsml:mdBit uom="m">123</witsml:mdBit>
-    	<witsml:wtMud uom="g/cm3">1.23</witsml:wtMud>
-    	<witsml:porePressure uom="g/cm3">1.12</witsml:porePressure>
-    	<witsml:diaCsgLast uom="in">33</witsml:diaCsgLast>
-    	<witsml:mdCsgLast uom="m">123</witsml:mdCsgLast>
-    	<witsml:volMudGained uom="m3">112</witsml:volMudGained>
-    	<witsml:presShutInCasing uom="bar">44</witsml:presShutInCasing>
-    	<witsml:presShutInDrill uom="bar">33</witsml:presShutInDrill>
-    	<witsml:incidentType>oil kick</witsml:incidentType>
-    	<witsml:killingType>lubricate and bleed</witsml:killingType>
-    	<witsml:formation>jura</witsml:formation>
-    	<witsml:tempBottom uom="degC">258</witsml:tempBottom>
-    	<witsml:presMaxChoke uom="bar">66.3</witsml:presMaxChoke>
-    	<witsml:description>Browser support: IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape.
+		</witsml:controlIncidentInfo>
+		<witsml:controlIncidentInfo>
+			<witsml:dTim>2008-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:mdInflow uom="m">1234.5</witsml:mdInflow>
+			<witsml:tvdInflow uom="m">1234</witsml:tvdInflow>
+			<witsml:phase>wire line</witsml:phase>
+			<witsml:proprietaryCode>moving -- transit</witsml:proprietaryCode>
+			<witsml:eTimLost uom="min">16</witsml:eTimLost>
+			<witsml:dTimRegained>2001-12-31T02:16:00.000Z</witsml:dTimRegained>
+			<witsml:diaBit uom="in">21</witsml:diaBit>
+			<witsml:mdBit uom="m">123</witsml:mdBit>
+			<witsml:wtMud uom="g/cm3">1.23</witsml:wtMud>
+			<witsml:porePressure uom="g/cm3">1.12</witsml:porePressure>
+			<witsml:diaCsgLast uom="in">33</witsml:diaCsgLast>
+			<witsml:mdCsgLast uom="m">123</witsml:mdCsgLast>
+			<witsml:volMudGained uom="m3">112</witsml:volMudGained>
+			<witsml:presShutInCasing uom="bar">44</witsml:presShutInCasing>
+			<witsml:presShutInDrill uom="bar">33</witsml:presShutInDrill>
+			<witsml:incidentType>oil kick</witsml:incidentType>
+			<witsml:killingType>lubricate and bleed</witsml:killingType>
+			<witsml:formation>jura</witsml:formation>
+			<witsml:tempBottom uom="degC">258</witsml:tempBottom>
+			<witsml:presMaxChoke uom="bar">66.3</witsml:presMaxChoke>
+			<witsml:description>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).</witsml:description>
-    </witsml:controlIncidentInfo>
-    <witsml:stratInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:mdTop uom="m">1234.5</witsml:mdTop>
-    	<witsml:tvdTop uom="m">1234</witsml:tvdTop>
-    	<witsml:description>bla bla bla</witsml:description>
-    </witsml:stratInfo>
-    <witsml:perfInfo>
-    	<witsml:dTimOpen>2001-12-31T02:00:00.000Z</witsml:dTimOpen>
-    	<witsml:dTimClose>2001-12-31T18:00:00.000Z</witsml:dTimClose>
-    	<witsml:mdTop uom="m">1033</witsml:mdTop>
-    	<witsml:mdBottom uom="m">1234</witsml:mdBottom>
-    	<witsml:tvdTop uom="m">999</witsml:tvdTop>
-    	<witsml:tvdBottom uom="m">1100</witsml:tvdBottom>
-    </witsml:perfInfo>
-    <witsml:gasReadingInfo>
-    	<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
-    	<witsml:readingType>shut down gas</witsml:readingType>
-    	<witsml:mdTop uom="m">1234</witsml:mdTop>
-    	<witsml:mdBottom uom="m">1256</witsml:mdBottom>
-    	<witsml:tvdTop uom="m">999</witsml:tvdTop>
-    	<witsml:tvdBottom uom="m">1120</witsml:tvdBottom>
-    	<witsml:gasHigh uom="%">77.7</witsml:gasHigh>
-    	<witsml:gasLow uom="%">44.4</witsml:gasLow>
-    	<witsml:meth uom="ppm">55</witsml:meth>
-    	<witsml:eth uom="ppm">55</witsml:eth>
-    	<witsml:prop uom="ppm">55</witsml:prop>
-    	<witsml:ibut uom="ppm">55</witsml:ibut>
-    	<witsml:nbut uom="ppm">55</witsml:nbut>
-    	<witsml:ipent uom="ppm">55</witsml:ipent>
-    </witsml:gasReadingInfo>
-  </witsml:drillReport>
+		</witsml:controlIncidentInfo>
+		<witsml:stratInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:mdTop uom="m">1234.5</witsml:mdTop>
+			<witsml:tvdTop uom="m">1234</witsml:tvdTop>
+			<witsml:description>bla bla bla</witsml:description>
+		</witsml:stratInfo>
+		<witsml:perfInfo>
+			<witsml:dTimOpen>2001-12-31T02:00:00.000Z</witsml:dTimOpen>
+			<witsml:dTimClose>2001-12-31T18:00:00.000Z</witsml:dTimClose>
+			<witsml:mdTop uom="m">1033</witsml:mdTop>
+			<witsml:mdBottom uom="m">1234</witsml:mdBottom>
+			<witsml:tvdTop uom="m">999</witsml:tvdTop>
+			<witsml:tvdBottom uom="m">1100</witsml:tvdBottom>
+		</witsml:perfInfo>
+		<witsml:gasReadingInfo>
+			<witsml:dTim>2001-12-31T02:00:00.000Z</witsml:dTim>
+			<witsml:readingType>shut down gas</witsml:readingType>
+			<witsml:mdTop uom="m">1234</witsml:mdTop>
+			<witsml:mdBottom uom="m">1256</witsml:mdBottom>
+			<witsml:tvdTop uom="m">999</witsml:tvdTop>
+			<witsml:tvdBottom uom="m">1120</witsml:tvdBottom>
+			<witsml:gasHigh uom="%">77.7</witsml:gasHigh>
+			<witsml:gasLow uom="%">44.4</witsml:gasLow>
+			<witsml:meth uom="ppm">55</witsml:meth>
+			<witsml:eth uom="ppm">55</witsml:eth>
+			<witsml:prop uom="ppm">55</witsml:prop>
+			<witsml:ibut uom="ppm">55</witsml:ibut>
+			<witsml:nbut uom="ppm">55</witsml:nbut>
+			<witsml:ipent uom="ppm">55</witsml:ipent>
+		</witsml:gasReadingInfo>
+	</witsml:drillReport>
 </witsml:drillReports>
 
Index: /projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation_2011_02_07.xsl
===================================================================
--- /projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation_2011_02_07.xsl (revision 131)
+++ /projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation_2011_02_07.xsl (revision 135)
@@ -20,7 +20,7 @@
 								<table id="table1" width="100%">
 									<tr>
-										<td width="40%" align="left" class="ReportHeader">Summary report Wellbore: <xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
-										</td>
-										<td width="60%" align="right" class="ReportHeader">End time: <xsl:value-of select="substring(witsml:dTimEnd, 0,17)"/>
+										<td width="45%" align="left" class="ReportHeader">Summary report Wellbore: <xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+										</td>
+										<td width="55%" align="right" class="ReportHeader">End time: <xsl:value-of select="substring(witsml:dTimEnd, 0,17)"/>
 										</td>
 									</tr>
@@ -400,39 +400,26 @@
 										<tr>
 											<td align="center" width="50" valign="top">
+												<a target="_blank" href="{$url_diaBit}">Bit size <xsl:value-of select="witsml:bitRecord/witsml:diaBit/@uom"/>
+												</a>
+											</td>
+											<td align="center" width="50" valign="top">
 												<a target="_blank" href="{$url_numBit}">Run No</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$url_diaBit}">Bit size <xsl:value-of select="witsml:bitRecord/witsml:diaBit/@uom"/>
-												</a>
-											</td>
-											<td align="left" width="170" valign="top">
-												<a target="_blank" href="{$url_manufacturer}">Manufacturer</a>
 											</td>
 											<td align="center" width="80" valign="top">
 												<a target="_blank" href="{$url_codeMfg}">Model</a>
 											</td>
-											<td align="center" width="80" valign="top">
-												<a target="_blank" href="{$urlRDS}">Serial NO.</a>
-											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">TFA <xsl:value-of select="witsml:bitRecord/witsml:tfa/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Hours drilled<br />
+													<xsl:value-of select="witsml:bitRun/witsml:eTimOpBit/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Time start</a>
+												<a target="_blank" href="{$urlRDS}">MD start<br />
+													<xsl:value-of select="witsml:bitRun/witsml:mdHoleStart/@uom"/>
+												</a>
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Time end</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Hours drilled <xsl:value-of select="witsml:bitRecord/witsml:hrsDrilled/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">MD start <xsl:value-of select="witsml:bitRecord/witsml:mdHoleStart/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">MD end <xsl:value-of select="witsml:bitRecord/witsml:mdHoleEnd/@uom"/>
+												<a target="_blank" href="{$urlRDS}">MD end<br />
+													<xsl:value-of select="witsml:bitRun/witsml:mdHoleStop/@uom"/>
 												</a>
 											</td>
@@ -441,57 +428,31 @@
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max WOB <xsl:value-of select="witsml:bitRecord/witsml:maxWob/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Hole made (run)<br />
+													<xsl:value-of select="witsml:bitRun/witsml:mdHoleMadeRun/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max RPM <xsl:value-of select="witsml:bitRecord/witsml:maxRpm/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Hours drilled (run)<br />
+													<xsl:value-of select="witsml:bitRun/witsml:hrsDrilledRun/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max circ rate <xsl:value-of select="witsml:bitRecord/witsml:maxCircRate/@uom"/>
+												<a target="_blank" href="{$urlRDS}">ROP<br />
+													<xsl:value-of select="witsml:bitRun/witsml:ropAv/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max SSP <xsl:value-of select="witsml:bitRecord/witsml:maxSsp/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Total hole made<br />
+													<xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Hole made (run) <xsl:value-of select="witsml:bitRecord/witsml:mdHoleMadeRun/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Total hours drilled<br />
+													<xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Hours drilled (run) <xsl:value-of select="witsml:bitRecord/witsml:hrsDrilledRun/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">ROP <xsl:value-of select="witsml:bitRecord/witsml:rop/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max total WOB <xsl:value-of select="witsml:bitRecord/witsml:maxTotWob/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max total RPM <xsl:value-of select="witsml:bitRecord/witsml:maxTotRpm/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max total circ rate <xsl:value-of select="witsml:bitRecord/witsml:maxTotCircRate/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Max total SSP <xsl:value-of select="witsml:bitRecord/witsml:maxTotSsp/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Total hole made <xsl:value-of select="witsml:bitRecord/witsml:mdTotHoleMade/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Total hours drilled <xsl:value-of select="witsml:bitRecord/witsml:totHrsDrilled/@uom"/>
-												</a>
-											</td>
-											<td align="center" width="50" valign="top">
-												<a target="_blank" href="{$urlRDS}">Total ROP <xsl:value-of select="witsml:bitRecord/witsml:totHrsDrilled/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Total ROP<br />
+													<xsl:value-of select="witsml:bitRun/witsml:ropMx/@uom"/>
 												</a>
 											</td>
@@ -500,35 +461,20 @@
 											<tr class="light">
 												<td align="center">
+													<xsl:value-of select="witsml:diaBit"/>
+												</td>
+												<td align="center">
 													<xsl:value-of select="witsml:numBit"/>
 												</td>
 												<td align="center">
-													<xsl:value-of select="witsml:diaBit"/>
-												</td>
-												<td width="170">
-													<xsl:value-of select="witsml:manufacturer"/>
-												</td>
-												<td align="center">
 													<xsl:value-of select="witsml:codeMfg"/>
 												</td>
 												<td align="center">
-													<xsl:value-of select="witsml:serialNo"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:tfa"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="substring(witsml:dTimIn, 0, 17)"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="substring(witsml:dTimOut, 0, 17)"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:hrsDrilled"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:mdHoleStart"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:mdHoleEnd"/>
+													<xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:bitRun/witsml:mdHoleStart"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:bitRun/witsml:mdHoleStop"/>
 												</td>
 												<td align="center">
@@ -536,44 +482,20 @@
 												</td>
 												<td align="center">
-													<xsl:value-of select="witsml:maxWob"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:maxRpm"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:maxCircRate"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:maxSpp"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:mdHoleMadeRun"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:hrsDrilledRun"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:rop"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:maxTotWob"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:maxTotRpm"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:maxTotCircRate"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:maxTotSpp"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:mdTotHoleMade"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:totHrsDrilled"/>
-												</td>
-												<td align="center">
-													<xsl:value-of select="witsml:totRop"/>
+													<xsl:value-of select="witsml:bitRun/witsml:mdHoleMadeRun"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:bitRun/witsml:hrsDrilledRun"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:bitRun/witsml:ropAv"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:bitRun/witsml:ropMx"/>
 												</td>
 											</tr>
@@ -621,13 +543,13 @@
 										</td>
 										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Nominal outside diameter <xsl:value-of select="witsml:pipe/witsml:OD/@uom"/>
+											<a target="_blank" href="{$urlRDS}">Nominal outside diameter <xsl:value-of select="witsml:casing_liner_tubing/witsml:OD/@uom"/>
 											</a>
 										</td>
 										<td align="center" width="100" valign="top">
-											<a target="_blank" href="{$urlRDS}">Nominal inside diameter <xsl:value-of select="witsml:pipe/witsml:ID/@uom"/>
+											<a target="_blank" href="{$urlRDS}">Nominal inside diameter <xsl:value-of select="witsml:casing_liner_tubing/witsml:ID/@uom"/>
 											</a>
 										</td>
 										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Nominal Weight <xsl:value-of select="witsml:pipe/witsml:weight/@uom"/>
+											<a target="_blank" href="{$urlRDS}">Nominal Weight <xsl:value-of select="witsml:casing_liner_tubing/witsml:weight/@uom"/>
 											</a>
 										</td>
@@ -639,17 +561,17 @@
 										</td>
 										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Length <xsl:value-of select="witsml:pipe/witsml:length/@uom"/>
+											<a target="_blank" href="{$urlRDS}">Length <xsl:value-of select="witsml:casing_liner_tubing/witsml:length/@uom"/>
 											</a>
 										</td>
 										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Top/Hangar MD <xsl:value-of select="witsml:pipe/witsml:MDTopHangar/@uom"/>
+											<a target="_blank" href="{$urlRDS}">Top/Hangar MD <xsl:value-of select="witsml:casing_liner_tubing/witsml:MDTopHangar/@uom"/>
 											</a>
 										</td>
 										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Bottom/Shoe MD <xsl:value-of select="witsml:pipe/witsml:MDBottomShoe/@uom"/>
+											<a target="_blank" href="{$urlRDS}">Bottom/Shoe MD <xsl:value-of select="witsml:casing_liner_tubing/witsml:MDBottomShoe/@uom"/>
 											</a>
 										</td>
 									</tr>
-									<xsl:for-each select="witsml:cs_stimTubular">
+									<xsl:for-each select="witsml:casing_liner_tubing">
 										<tr class="light">
 											<td align="center">
@@ -659,13 +581,13 @@
 											</td>
 											<td align="center">
-												<xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/>
-												<xsl:variable name="casingTypes" select="witsml:casingType" />
+												<xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='StimStageType']/xsd:restriction"/>
+												<xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind" />
 												<xsl:value-of select="$element_casing//xsd:enumeration[@value=$casingTypes]"/>
 											</td>
 											<td align="center">
-												<xsl:value-of select="substring-after(substring(witsml:dTimRun, 0, 17), 'T')"/>
+												<xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/>
 											</td>
 											<td align="center">
-												<xsl:value-of select="witsml:description"/>
+												<xsl:value-of select="witsml:casing_liner_tubing_run/witsml:description"/>
 											</td>
 											<td align="center">
@@ -701,74 +623,74 @@
 						<!-- witsml:cement -->
 						<!--<xsl:if test="count(witsml:cement) > 0">-->
-						<tr height="5px">
-							<td/>
-						</tr>
-						<tr>
-							<td>
-								<hr/>
-							</td>
-						</tr>
-						<tr>
-							<td class="SectionHead">Cement information</td>
-						</tr>
-						<tr>
-							<td>
-								<table id="table2">
-									<xsl:variable name="element_cement" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cement']/xsd:sequence"/>
-									<!--<xsl:variable name="url_readingKind"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/></xsl:variable>
+						<xsl:for-each select="witsml:cementStage">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Cement information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_cement" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cement']/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>-->
-									<tr>
-										<td align="center" valign="top">
-											<a target="_blank" href="{$urlRDS}">Start Time</a>
-										</td>
-										<td align="center" valign="top">
-											<a target="_blank" href="{$urlRDS}">End Time</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Job Type</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Casing string diameter</a>
-										</td>
-										<td align="center" width="100" valign="top">
-											<a target="_blank" href="{$urlRDS}">Comments</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Top plug used</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Bottom plug used</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Plug failed to bump</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Plug bump pressure <xsl:value-of select="witsml:cs_cementStage/witsml:presBump/@uom"/>
-											</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Float failed</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Pressure release time</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Full returns</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">cement volume returns <xsl:value-of select="witsml:cs_cementStage/witsml:volReturns/@uom"/>
-											</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Reciprocated</a>
-										</td>
-										<td align="center" width="60" valign="top">
-											<a target="_blank" href="{$urlRDS}">Rotated</a>
-										</td>
-									</tr>
-									<xsl:for-each select="witsml:cs_cementStage">
+										<tr>
+											<td align="center" valign="top">
+												<a target="_blank" href="{$urlRDS}">Start Time</a>
+											</td>
+											<td align="center" valign="top">
+												<a target="_blank" href="{$urlRDS}">End Time</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Job Type</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Casing string diameter</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$urlRDS}">Comments</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Top plug used</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Bottom plug used</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Plug failed to bump</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Plug bump pressure <xsl:value-of select="witsml:cementStage/witsml:presBump/@uom"/>
+												</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Float failed</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Pressure release time</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Full returns</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">cement volume returns <xsl:value-of select="witsml:cementStage/witsml:volReturns/@uom"/>
+												</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Reciprocated</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$urlRDS}">Rotated</a>
+											</td>
+										</tr>
 										<tr class="light">
 											<td align="center">
@@ -820,11 +742,10 @@
 											</td>
 										</tr>
-									</xsl:for-each>
-								</table>
-							</td>
-						</tr>
-						<!--</xsl:if>-->
-						<!--  witsml:fluid -->
-						<xsl:if test="count(witsml:fluid) &gt; 0">
+									</table>
+								</td>
+							</tr>
+							<!--</xsl:if>-->
+							<!--  witsml:cementingFluid -->
+							<!--<xsl:if test="count(witsml:cementingFluid) &gt; 0">-->
 							<tr height="5px">
 								<td/>
@@ -832,5 +753,4 @@
 							<tr>
 								<td>
-									<hr/>
 								</td>
 							</tr>
@@ -838,32 +758,32 @@
 								<td class="SectionHead">Cement Fluid Details</td>
 							</tr>
+							<xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cementingFluid']/xsd:sequence"/>
+							<xsl:variable name="url_dTimFluid">
+								<xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+							</xsl:variable>
+							<xsl:variable name="url_mdFluid">
+								<xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/>
+							</xsl:variable>
+							<xsl:variable name="url_mudClass">
+								<xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/>
+							</xsl:variable>
+							<xsl:variable name="url_density">
+								<xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/>
+							</xsl:variable>
+							<xsl:variable name="url_pv">
+								<xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/>
+							</xsl:variable>
+							<xsl:variable name="url_yp">
+								<xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/>
+							</xsl:variable>
 							<tr>
 								<td>
 									<table id="table2">
-										<xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_cementingFluid']/xsd:sequence"/>
-										<xsl:variable name="url_dTim">
-											<xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
-										</xsl:variable>
-										<xsl:variable name="url_md">
-											<xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/>
-										</xsl:variable>
-										<xsl:variable name="url_mudClass">
-											<xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/>
-										</xsl:variable>
-										<xsl:variable name="url_density">
-											<xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/>
-										</xsl:variable>
-										<xsl:variable name="url_pv">
-											<xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/>
-										</xsl:variable>
-										<xsl:variable name="url_yp">
-											<xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/>
-										</xsl:variable>
 										<tr>
-											<td align="left" valign="top">
-												<a target="_blank" href="{$url_dTim}">Sample Time</a>
+											<td align="left"  width="60" valign="top">
+												<a target="_blank" href="{$url_dTimFluid}">Sample Time</a>
 											</td>
 											<td align="center" width="60" valign="top">
-												<a target="_blank" href="{$url_md}">MD At Logging <xsl:value-of select="witsml:cs_cementingFluid/witsml:mdLog/@uom" />
+												<a target="_blank" href="{$url_mdFluid}">MD At Logging <xsl:value-of select="witsml:cementingFluid/witsml:mdLog/@uom" />
 												</a>
 											</td>
@@ -875,29 +795,29 @@
 											</td>
 											<td align="center" width="100" valign="top">
-												<a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:cs_cementingFluid/witsml:volPumped/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="100" valign="top">
-												<a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:cs_cementingFluid/witsml:density/@uom"/>
+												<a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="120" valign="top">
-												<a target="_blank" href="{$url_pv}">Fluid Viscosity <xsl:value-of select="witsml:cs_cementingFluid/witsml:pv/@uom"/>
+												<a target="_blank" href="{$url_pv}">Fluid Viscosity <xsl:value-of select="witsml:cementingFluid/witsml:pv/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="80" valign="top">
-												<a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:cs_cementingFluid/witsml:yp/@uom"/>
+												<a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="80" valign="top">
-												<a target="_blank" href="{$urlRDS}">Mix Water Ratio <xsl:value-of select="witsml:cs_cementingFluid/witsml:ratioMixWater/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Mix Water Ratio <xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="80" valign="top">
-												<a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:cs_cementingFluid/witsml:pcFreeWater/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/>
 												</a>
 											</td>
 											<td align="center" width="80" valign="top">
-												<a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:cs_cementingFluid/witsml:eTimThickening/@uom"/>
+												<a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/>
 												</a>
 											</td>
@@ -905,7 +825,7 @@
 												<a target="_blank" href="{$urlRDS}">Comments</a>
 											</td>
-											<td/>
+
 										</tr>
-										<xsl:for-each select="witsml:cs_cementingFluid">
+										<xsl:for-each select="witsml:cementingFluid">
 											<tr class="light">
 												<td>
@@ -947,5 +867,4 @@
 													<xsl:value-of select="witsml:comment"/>
 												</td>
-												<td/>
 											</tr>
 										</xsl:for-each>
@@ -953,5 +872,6 @@
 								</td>
 							</tr>
-						</xsl:if>
+						</xsl:for-each>
+						<!-- </xsl:if> -->
 						<!-- END Added/changed 18jan2011 -->
 						<!--  porePressure -->
