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 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd (revision 130)
@@ -0,0 +1,7098 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsd:schema xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:abs="http://www.energistics.org/schemas/abstract" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.witsml.org/schemas/1series">
+	<!--                                                         -->
+	<xsd:import namespace="http://www.energistics.org/schemas/abstract" schemaLocation="sub_abstractSubstitutionGroup.xsd"/>
+	<!-- 
+	<xsd:import namespace="http://www.opengis.net/gml/3.2"
+		schemaLocation="http://schemas.opengis.net/gml/3.2.1/coordinateReferenceSystems.xsd"/>
+		 -->
+	<!--                                                         -->
+	<!-- Energistics License Agreement                                                  -->
+	<!-- This file is distributed under the Energistics License Agreement at            -->
+	<!-- http://www.posc.org/about/license.shtml.                                       -->
+	<!-- Use of this file constitutes agreement with the Energistics License Agreement. -->
+	<!--                                                         -->
+	<xsd:annotation>
+		<xsd:documentation>WITSML - Daily Drillling Report - Norwegian Profile</xsd:documentation>
+	</xsd:annotation>
+	<!--UNUSED: Deleted type attgrp_objectUid. Contents copied where needed.-->
+	<!--UNUSED: Deleted type attgrp_uid. Contents copied where needed.-->
+
+	<!-- ADDED 07/02-2011 -->
+	<!-- Header -->
+	<xsd:complexType name="header">
+		<xsd:annotation>
+			<xsd:documentation>Information about this report.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>
+					<xsd:element name="periodOfOperation" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Period of operation.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="reportNo" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Sequence number of daily drilling report.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="tightWell" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Indicates if a well is tight or not.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="hpht" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Indicates if a wellbore is classified as HPHT (High Pressure - High Temperature) or not.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="avgPresBH" type="witsml:pressureMeasurePsig" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Averagae bottomhole pressure (psig).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="expTempBH" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>A bottomhole temperature that is the expected bottomhole temperature (c).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="rigType" type="witsml:rigTypes" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>A daily drilling report class that classifies rig types.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="msl" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Mean sea level (m).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<!-- Rig types -->
+	<xsd:simpleType name="rigTypes">
+		<xsd:annotation>
+			<xsd:documentation>The classification of rig types.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="f" data="Fixed Rig">
+				<xsd:annotation>
+					<xsd:documentation>Fixed rig</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>Movable rig</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- END ADDED 07/02-2011 -->
+
+	<xsd:complexType name="cs_activity">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Operations Activity Component Schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511259">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTimStart.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time that activities started.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511304">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTimEnd.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time that activities were completed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element duration.-->
+			<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+				<xsd:annotation>
+					<xsd:documentation>The measured depth to the drilling operation.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373394891">
+				<xsd:annotation>
+					<xsd:documentation>True Vertical Depth to the drilling operation.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="phase" type="witsml:PhaseType" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://projects.dnv.com/reference_data/RD4Browser/default.aspx?RDLDesignation=TCDRS SUPERIOR CLASS">
+				<!--PROFILE: Changed type from witsml:kindString to witsml:PhaseType for element phase.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element phase.-->
+				<xsd:annotation>
+					<xsd:documentation>Phase (large activity classification) e.g. Drill Surface Hole.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-111, Change=Changed-type-from:str16</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element activityCode.-->
+			<xsd:element name="proprietaryCode" type="witsml:ActivityCodeNPD" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409">
+				<!--PROFILE: Changed type from witsml:nameStruct to witsml:ActivityCodeNPD for element proprietaryCode.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element proprietaryCode.-->
+				<!--PROFILE: Changed maxOccurs from unbounded to 1 for element proprietaryCode.-->
+				<xsd:annotation>
+					<xsd:documentation>A proprietary code used to define rig activity. The name of the proprietary system should be defined in the namingSystem
+						attribute.</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: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>
+			<!-- END Added 07/02 - 2011 -->
+
+			<!--PROFILE: Deleted element detailActivity.-->
+			<!--PROFILE: Deleted element typeActivityClass.-->
+			<!--PROFILE: Deleted element mdHoleStart.-->
+			<!--PROFILE: Deleted element tvdHoleStart.-->
+			<!--PROFILE: Deleted element mdHoleEnd.-->
+			<!--PROFILE: Deleted element tvdHoleEnd.-->
+			<!--PROFILE: Deleted element mdBitStart.-->
+			<!--PROFILE: Deleted element mdBitEnd.-->
+			<xsd:element name="state" type="witsml:MainActivityEvaluation" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841049">
+				<!--PROFILE: Changed type from witsml:str32 to witsml:MainActivityEvaluation for element state.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element state.-->
+				<xsd:annotation>
+					<xsd:documentation>Finish, interrupted, failed, etc.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="stateDetailActivity" type="witsml:StateDetailActivity" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841184">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element stateDetailActivity.-->
+				<xsd:annotation>
+					<xsd:documentation>The outcome of the detailed activity.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element operator.-->
+			<!--PROFILE: Deleted element tubular.-->
+			<!--PROFILE: Deleted element optimum.-->
+			<!--PROFILE: Deleted element productive.-->
+			<!--PROFILE: Deleted element itemState.-->
+			<xsd:element name="comments" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17723327">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element comments.-->
+				<xsd:annotation>
+					<xsd:documentation>Comments and Remarks.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_alias">
+		<xsd:annotation>
+			<xsd:documentation>A common way for handling names of objects. An identifier type must include a Name. It may also include a NamingSystem, which gives meaning to the
+				name.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A human contextual name of an item. This should (hopefully) be unique within the context of the naming system.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="namingSystem" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The naming system under which the item is defined. Knowledge of the naming system may allow the hame to be parsed for embeded
+						information.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_axisDefinition.-->
+	<!--UNUSED: Deleted type cs_bend.-->
+	<xsd:complexType name="cs_bitRecord">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Bit Record Component Schema.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<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.-->
+				<xsd:annotation>
+					<xsd:documentation>Bit number and rerun number e.g. "4.1" for the first rerun of bit 4.</xsd:documentation>
+				</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 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: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">
+				<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>
+			<!-- END Added 07/02 - 2011 -->
+			<!--PROFILE: Deleted element codeIADC.-->
+			<!--PROFILE: Deleted element condInitInner.-->
+			<!--PROFILE: Deleted element condInitOuter.-->
+			<!--PROFILE: Deleted element condInitDull.-->
+			<!--PROFILE: Deleted element condInitLocation.-->
+			<!--PROFILE: Deleted element condInitBearing.-->
+			<!--PROFILE: Deleted element condInitGauge.-->
+			<!--PROFILE: Deleted element condInitOther.-->
+			<!--PROFILE: Deleted element condInitReason.-->
+			<!--PROFILE: Deleted element condFinalInner.-->
+			<!--PROFILE: Deleted element condFinalOuter.-->
+			<!--PROFILE: Deleted element condFinalDull.-->
+			<!--PROFILE: Deleted element condFinalLocation.-->
+			<!--PROFILE: Deleted element condFinalBearing.-->
+			<!--PROFILE: Deleted element condFinalGauge.-->
+			<!--PROFILE: Deleted element condFinalOther.-->
+			<!--PROFILE: Deleted element condFinalReason.-->
+			<!--PROFILE: Deleted element drive.-->
+			<!--PROFILE: Deleted element bitClass.-->
+			<!--PROFILE: Deleted element customData.-->
+			<!--PROFILE: Deleted element extensionAny.-->
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+
+	<!-- Added 07/02 - 2011 -->
+	<!-- Cement job -->
+	<xsd:complexType name="cs_cementStage">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Cement Stage Component Schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<!-- Profile: Deleted element numStage -->
+			<!-- Profile: Deleted element typeStage -->
+			<!-- Profile: Deleted element dTimMixStart -->
+			<xsd:element name="dTimPumpStart" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Datetime at start of pumping cement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimPumpEnd" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Datetime at end of pumping cement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="jobType" type="witsml:cementJobTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Job types (eg. Casing and liner, Cement squeeze, Cement plug).</xsd:documentation>
+					<!-- Missing: Added element jobType -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="casingStrDia" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Casing string diameter of the casing cement (in).</xsd:documentation>
+					<!-- Missing: Added element casingStrDia -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A comment for a cement job.</xsd:documentation>
+					<!-- Missing: Added element comment -->
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element dTimDisplaceStart -->
+			<!-- Profile: Deleted element mdTop -->
+			<!-- Profile: Deleted element mdBottom -->
+			<!-- Profile: Deleted element volExcess -->
+			<!-- Profile: Deleted element flowrateDisplaceAv -->
+			<!-- Profile: Deleted element flowrateDisplaceMx -->
+			<!-- Profile: Deleted element presDisplace -->
+			<xsd:element name="volReturns" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Volume of returns.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element eTimMudCirculation -->
+			<!-- Profile: Deleted element flowrateMudCirc -->
+			<!-- Profile: Deleted element presMudCirc -->
+			<!-- Profile: Deleted element flowrateEnd -->
+			<!-- Profile: Deleted element cementingFluid -->
+			<!-- Profile: Deleted element afterFlowAnn -->
+			<!-- Profile: Deleted element squeezeObj -->
+			<!-- Profile: Deleted element squeezeObtained -->
+			<!-- Profile: Deleted element mdString -->
+			<!-- Profile: Deleted element mdTool -->
+			<!-- Profile: Deleted element mdCoilTbg -->
+			<!-- Profile: Deleted element volCsgIn -->
+			<!-- Profile: Deleted element volCsgOut -->
+			<!-- Profile: Deleted element tailPipeUsed -->
+			<!-- Profile: Deleted element diaTailPipe -->
+			<!-- Profile: Deleted element tailPipePerf -->
+			<!-- Profile: Deleted element presTbgStart -->
+			<!-- Profile: Deleted element presTbgEnd -->
+			<!-- Profile: Deleted element presCsgStart -->
+			<!-- Profile: Deleted element presCsgEnd -->
+			<!-- Profile: Deleted element presBackPressure -->
+			<!-- Profile: Deleted element presCoilTbgStart -->
+			<!-- Profile: Deleted element presCoilTbgEnd -->
+			<!-- Profile: Deleted element presBreakDown -->
+			<!-- Profile: Deleted element flowrateBreakDown -->
+			<!-- Profile: Deleted element presSqueezeAv -->
+			<!-- Profile: Deleted element presSqueezeEnd -->
+			<!-- Profile: Deleted element presSqueezeHeld -->
+			<!-- Profile: Deleted element presSqueeze -->
+			<xsd:element name="eTimPresHeld" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Time pressure held.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element flowrateSqueezeAv -->
+			<!-- Profile: Deleted element flowrateSqueezeMx -->
+			<!-- Profile: Deleted element flowratePumpStart -->
+			<!-- Profile: Deleted element flowratePumpEnd -->
+			<!-- Profile: Deleted element pillBelowPlug -->
+			<!-- Profile: Deleted element plugCatcher -->
+			<!-- Profile: Deleted element mdCircOut -->
+			<!-- Profile: Deleted element volCircPrior -->
+			<!-- Profile: Deleted element typeOriginalMud -->
+			<!-- Profile: Deleted element wtMud -->
+			<!-- Profile: Deleted element visFunnelMud -->
+			<!-- Profile: Deleted element pvMud -->
+			<!-- Profile: Deleted element ypMud -->
+			<!-- Profile: Deleted element gel10Sec -->
+			<!-- Profile: Deleted element gel10Min -->
+			<!-- Profile: Deleted element tempBHCT -->
+			<!-- Profile: Deleted element tempBHST -->
+			<!-- Profile: Deleted element volExcessMethod -->
+			<!-- Profile: Deleted element mixMethod -->
+			<!-- Profile: Deleted element densMeasBy -->
+			<xsd:element name="annFlowAfter" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid returns. Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="topPlug" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Top plug used? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="botPlug" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Bottom plug used. Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element botPlugNumber -->
+			<xsd:element name="plugBumped" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Plug bumped? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element presPriorBump -->
+			<xsd:element name="presBump" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Pressure plug bumped.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="floatFailed" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Float Failed? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+					<!-- Missing: Added element floatFailed -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="reciprocated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Pipe being reciprocated. values are "true"(1) and "false"(0).</xsd:documentation>
+					<!-- Missing: Added element reciprocated -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="rotated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Casing string being rotated. Values are "true(1) and "false"(0).</xsd:documentation>
+					<!-- Missing: Added element rotated -->
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element presHeld -->
+			<!-- Profile: Deleted element floatHeld -->
+			<!-- Profile: Deleted element volMudLost -->
+			<!-- Profile: Deleted element fluidDisplace -->
+			<!-- Profile: Deleted element densDisplaceFluid -->
+			<!-- Profile: Deleted element volDisplaceFluid -->
+			<!-- Profile: Deleted element extensionNameValue -->
+		</xsd:sequence>
+		<!-- Unused: Deleted element attgrp_uid -->
+	</xsd:complexType>
+
+	<!-- Cement job types -->
+	<xsd:simpleType name="cementJobTypes">
+		<xsd:annotation>
+			<xsd:documentation>The Classification of cement jobs</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="cl">
+				<xsd:annotation>
+					<xsd:documentation>Casing and liner</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="cs">
+				<xsd:annotation>
+					<xsd:documentation>Cement squeeze</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="cp">
+				<xsd:annotation>
+					<xsd:documentation>Cement plug</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+
+	<!-- Cementing fluid -->
+	<xsd:complexType name="cs_cementingFluid">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Cementing Fluid Component Schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<xsd:element name="dTimTest" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Date and time the test i taken.</xsd:documentation>
+					<!-- Missing: Added element dTimTest -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdLog" type="witsml:measuredDepthCoord " minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at logging time.</xsd:documentation>
+					<!-- Missing: Added element mdLog -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="typeFluid" type="witsml:fluidTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid type: Mud, Wash, Spacer, Slurry.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element fluidIndex -->
+			<xsd:element name="descFluid" type="witsml:shortDescriptionString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid description.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element purpose -->
+			<!-- Profile: Deleted element classSlurryDryBlend -->
+			<!-- Profile: Deleted element mdFluidTop -->
+			<!-- Profile: Deleted element mdFluidBottom -->
+			<!-- Profile: Deleted element sourceWater -->
+			<!-- Profile: Deleted element volWater -->
+			<!-- Profile: Deleted element volCement -->
+			<xsd:element name="ratioMixWater" type="witsml:specificVolumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Mix Water Ratio.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element volFluid -->
+			<!-- Profile: Deleted element cementPumpSchedule -->
+			<!-- Profile: Deleted element excessPc -->
+			<!-- Profile: Deleted element volYield -->
+			<xsd:element name="density" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid density.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element solidVolumeFraction -->
+			<xsd:element name="volPumped" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Volume Pumped.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element volOther -->
+			<!-- Profile: Deleted element fluidRheologicalModel -->
+			<!-- Profile: Deleted element vis -->
+			<xsd:element name="pv" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid Viscosity (mPa.s).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="yp" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element n -->
+			<!-- Profile: Deleted element k -->
+			<!-- Profile: Deleted element gel10SecReading -->
+			<!-- Profile: Deleted element gel10SecStrength -->
+			<!-- Profile: Deleted element gel1MinReading -->
+			<!-- Profile: Deleted element gel1MinStrength -->
+			<!-- Profile: Deleted element gel10MinReading -->
+			<!-- Profile: Deleted element gel10MinStrength -->
+			<!-- Profile: Deleted element typeBaseFluid -->
+			<!-- Profile: Deleted element densBaseFluid -->
+			<!-- Profile: Deleted element dryBlendName -->
+			<!-- Profile: Deleted element dryBlendDescription -->
+			<!-- Profile: Deleted element massDryBlend -->
+			<!-- Profile: Deleted element densDryBlend -->
+			<!-- Profile: Deleted element massSackDryBlend -->
+			<!-- Profile: Deleted element cementAdditive -->
+			<!-- Profile: Deleted element foamUsed -->
+			<!-- Profile: Deleted element typeGasFoam -->
+			<!-- Profile: Deleted element volGasFoam -->
+			<!-- Profile: Deleted element ratioConstGasMethodAv -->
+			<!-- Profile: Deleted element densConstGasMethod -->
+			<!-- Profile: Deleted element ratioConstGasMethodStart -->
+			<!-- Profile: Deleted element ratioConstGasMethodEnd -->
+			<!-- Profile: Deleted element densConstGasFoam -->
+			<xsd:element name="eTimThickening" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Test thickening time.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element tempThickening -->
+			<!-- Profile: Deleted element presTestThickening -->
+			<!-- Profile: Deleted element consTestThickening -->
+			<xsd:element name="pcFreeWater" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Test free water na: = mL/250ML.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element tempFreeWater -->
+			<!-- Profile: Deleted element volTestFluidLoss -->
+			<!-- Profile: Deleted element tempFluidLoss -->
+			<!-- Profile: Deleted element presTestFluidLoss -->
+			<!-- Profile: Deleted element timeFluidLoss -->
+			<!-- Profile: Deleted element volAPIFluidLoss -->
+			<!-- Profile: Deleted element eTimComprStren1 -->
+			<!-- Profile: Deleted element eTimComprStren2 -->
+			<!-- Profile: Deleted element presComprStren1 -->
+			<!-- Profile: Deleted element presComprStren2 -->
+			<!-- Profile: Deleted element tempComprStren1 -->
+			<!-- Profile: Deleted element tempComprStren2 -->
+			<!-- Profile: Deleted element densAtPres -->
+			<!-- Profile: Deleted element volReserved -->
+			<!-- Profile: Deleted element volTotSlurry -->
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>comments.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<!-- Fluid types -->
+	<xsd:simpleType name="fluidTypes">
+		<xsd:annotation>
+			<xsd:documentation>The Classification of cement fluids</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>Mud</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="w">
+				<xsd:annotation>
+					<xsd:documentation>Wash</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sp">
+				<xsd:annotation>
+					<xsd:documentation>Spacer</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sl">
+				<xsd:annotation>
+					<xsd:documentation>Slurry</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- END Added 07/02 - 2011 -->
+
+
+
+	<!--UNUSED: Deleted type cs_blockCurveInfo.-->
+	<!--UNUSED: Deleted type cs_blockInfo.-->
+	<!--UNUSED: Deleted type cs_bop.-->
+	<!--UNUSED: Deleted type cs_bopComponent.-->
+	<!--UNUSED: Deleted type cs_cementAdditive.-->
+	<!--UNUSED: Deleted type cs_cementingFluid.-->
+	<!--UNUSED: Deleted type cs_cementPumpSchedule.-->
+	<!--UNUSED: Deleted type cs_cementStage.-->
+	<!--UNUSED: Deleted type cs_cementTest.-->
+	<!--UNUSED: Deleted type cs_centrifuge.-->
+	<!--UNUSED: Deleted type cs_changeHistory.-->
+	<!--UNUSED: Deleted type cs_channel.-->
+	<!--UNUSED: Deleted type cs_channelDefinition.-->
+	<!--UNUSED: Deleted type cs_chromatograph.-->
+	<!--UNUSED: Deleted type cs_commonData.-->
+	<!--UNUSED: Deleted type cs_connection.-->
+	<!--UNUSED: Deleted type cs_customData.-->
+	<!--UNUSED: Deleted type cs_dayCost.-->
+	<!--UNUSED: Deleted type cs_degasser.-->
+	<!--UNUSED: Deleted type cs_depthRegCalibrationPoint.-->
+	<!--UNUSED: Deleted type cs_depthRegImage.-->
+	<!--UNUSED: Deleted type cs_depthRegLogRect.-->
+	<!--UNUSED: Deleted type cs_depthRegLogSection.-->
+	<!--UNUSED: Deleted type cs_depthRegParameter.-->
+	<!--UNUSED: Deleted type cs_depthRegPoint.-->
+	<!--UNUSED: Deleted type cs_depthRegRectangular.-->
+	<!--UNUSED: Deleted type cs_depthRegTrack.-->
+	<xsd:complexType name="cs_documentAudit">
+		<xsd:annotation>
+			<xsd:documentation>The audit records what happened to the data, to produce the data that is in this file. It consists of one or more events.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:auditType</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="event" type="witsml:cs_documentEvent" minOccurs="1" maxOccurs="unbounded">
+				<xsd:annotation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Event</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="cs_documentEvent">
+		<xsd:annotation>
+			<xsd:documentation>An event type captures the basic information about an event that has affected the data.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:eventType</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="eventDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The date on which the event took place.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:EventDate</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="eventType" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The kind of event event.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="responsibleParty" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The party responsible for the event.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:ResponsibleParty</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A free form comment that can further define the event that occurred.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_documentFileCreation">
+		<xsd:annotation>
+			<xsd:documentation>A block of information about the creation of the XML file. This is different than the creation of the data that is included within the
+				file.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:fileCreationType</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="fileCreationDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The date and time that the file was created.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreationDate</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="softwareName" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>If appropriate, the software that created the file. This is a free form string, and may include whatever information is deemed
+						relevant.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:SoftwareName</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="fileCreator" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The person or business associate that created the file.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreator</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Any comment that would be useful to further explain the creation of this instance document.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="cs_documentInfo">
+		<xsd:annotation>
+			<xsd:documentation>A schema to capture a set of data that is relevant for many exchange documents. It includes information about the file that was created, and high-level
+				information about the data that is being exchanged within the file.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="documentName" type="witsml:nameStruct" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>An identifier for the document. This is intended to be unique within the context of the NamingSystem.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentName</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="documentAlias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
+				<xsd:annotation>
+					<xsd:documentation>Zero or more alternate names for the document. These names do not need to be unique within the naming system.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentAlias</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="documentDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The date of the creation of the document. This is not the same as the date that the file was created. For this date, the document is considered
+						to be the set of information associated with this document information. For example, the document may be a seismic binset. This represents the date that the binset
+						was created. The FileCreation information would capture the date that the XML file was created to send or exchange the binset.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentDate</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="documentClass" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
+				<xsd:annotation>
+					<xsd:documentation>A document class. Examples of classes would be a metadata classification or a set of keywords.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="fileCreationInformation" type="witsml:cs_documentFileCreation" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The information about the creation of the exchange file. This is not about the creation of the data within the file, but the creation of the file
+						itself.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreationInformation</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="securityInformation" type="witsml:cs_documentSecurityInfo" minOccurs="0" maxOccurs="5">
+				<xsd:annotation>
+					<xsd:documentation>Information about the security to be applied to this file. More than one classification can be given.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:SecurityInformation</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="disclaimer" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A free-form string that allows a disclaimer to accompany the information.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Disclaimer</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="auditTrail" type="witsml:cs_documentAudit" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A collection of events that can document the history of the data.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:AuditTrail</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="owner" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The owner of the data.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Owner</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>An optional comment about the document.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="cs_documentSecurityInfo">
+		<xsd:annotation>
+			<xsd:documentation>Information about the security classification of the document. This is intended as a documentation of the security so that the file will not
+				inadvertently be sent to someone who is not allowed access to the data. This block also carries a date that the security classification expires. For example, a well log
+				is confidential for a period of time, and then becomes open. All security classes are characterized by their classification systems.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:securityInfoType</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="class" type="witsml:kindString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The security class in which this document is classified. Examples would be confidential, partner confidential, tight. The meaning of the class is
+						determined by the System in which it is defined.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Class</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="securitySystem" type="witsml:kindString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The security classification system. This gives context to the meaning of the Class value.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:System</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="endDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The date on which this security class is no longer applicable.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:EndDate</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A general comment to further define the security class.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_drillingParams.-->
+	<xsd:complexType name="cs_drillReportControlIncidentInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790447">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time of the well control incident.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdInflow" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790597">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdInflow.-->
+				<xsd:annotation>
+					<xsd:documentation>The measured depth to the well inflow entry point.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdInflow" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790027">
+				<xsd:annotation>
+					<xsd:documentation>The true vertical depth to the well inflow entery point.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="phase" type="witsml:PhaseType" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17841274">
+				<!--PROFILE: Changed type from witsml:str16 to witsml:PhaseType for element phase.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element phase.-->
+				<xsd:annotation>
+					<xsd:documentation>Phase (large activity classification) e.g. Drill Surface Hole.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element activityCode.-->
+			<xsd:element name="proprietaryCode" type="witsml:ActivityCodeNPD" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409">
+				<!--PROFILE: Changed type from witsml:nameStruct to witsml:ActivityCodeNPD for element proprietaryCode.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element proprietaryCode.-->
+				<!--PROFILE: Changed maxOccurs from unbounded to 1 for element proprietaryCode.-->
+				<xsd:annotation>
+					<xsd:documentation>A proprietary code used to define rig activity. The name of the proprietary system should be defined in the namingSystem
+						attribute.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element detailActivity.-->
+			<xsd:element name="eTimLost" type="witsml:timeMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17888195">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element eTimLost.-->
+				<xsd:annotation>
+					<xsd:documentation>The amount of time lost because of the well control incident. Commonly specified in hours.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimRegained" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789592">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTimRegained.-->
+				<xsd:annotation>
+					<xsd:documentation>The date and time at which control of the well is regained.</xsd:documentation>
+				</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/RDS17789667">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaBit.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element diaBit.-->
+				<xsd:annotation>
+					<xsd:documentation>The drill bit nominal outside diameter at time of well control incident.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBit" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789832">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdBit.-->
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of bit at the time of the well control incident.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="wtMud" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789232">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element wtMud.-->
+				<xsd:annotation>
+					<xsd:documentation>The density of the drilling fluid.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="porePressure" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307">
+				<xsd:annotation>
+					<xsd:documentation>The equivalent mud weight value of the pore pressure reading.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaCsgLast.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element diaCsgLast.-->
+				<xsd:annotation>
+					<xsd:documentation>Diameter of the last installed casing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdCsgLast.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth of last casing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="volMudGained" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789472">
+				<!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volMudGained.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element volMudGained.-->
+				<xsd:annotation>
+					<xsd:documentation>The gained volume of drilling fluid due to well kick.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presShutInCasing" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789037">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presShutInCasing.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presShutInCasing.-->
+				<xsd:annotation>
+					<xsd:documentation>The shut in casing pressure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presShutInDrill" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887970">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presShutInDrill.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presShutInDrill.-->
+				<xsd:annotation>
+					<xsd:documentation>The actual pressure in the drill pipe when the rams are closed around it.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="incidentType" type="witsml:WellControlIncidentType" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788857">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element incidentType.-->
+				<xsd:annotation>
+					<xsd:documentation>The type of well control incident.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="killingType" type="witsml:WellKillingProcedureType" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789157">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element killingType.-->
+				<xsd:annotation>
+					<xsd:documentation>The type of well control incident.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="formation" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332">
+				<!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element formation.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element formation.-->
+				<xsd:annotation>
+					<xsd:documentation>The lithological description of a geological formation at the incident depth.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tempBottom" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS16631877">
+				<!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBottom.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element tempBottom.-->
+				<xsd:annotation>
+					<xsd:documentation>the temperature at the bottom of the wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presMaxChoke" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788482">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presMaxChoke.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presMaxChoke.-->
+				<xsd:annotation>
+					<xsd:documentation>The maximum pressure that the choke valve can be exposed to.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788557">
+				<!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+				<xsd:annotation>
+					<xsd:documentation>A description of the well control incident.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportCoreInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693740">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time that the core was completed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="coreNumber" type="witsml:nameString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694745">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element coreNumber.-->
+				<xsd:annotation>
+					<xsd:documentation>Core identification number.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694790">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the top of the cored interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694340">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the bottom of the cored interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832507">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the top of the cored interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832972">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the bottom of the cored interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="lenRecovered" type="witsml:lengthMeasureMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694505">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMetre for element lenRecovered.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element lenRecovered.-->
+				<xsd:annotation>
+					<xsd:documentation>Length of core recovered.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="recoverPc" type="witsml:volumePerVolumeMeasurePercent" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694625">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element recoverPc.-->
+				<xsd:annotation>
+					<xsd:documentation>The relative amount of core recovered.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="lenBarrel" type="witsml:lengthMeasureMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694145">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMetre for element lenBarrel.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element lenBarrel.-->
+				<xsd:annotation>
+					<xsd:documentation>Length of core barrel.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="innerBarrelType" type="witsml:InnerBarrelType" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832597">
+				<xsd:annotation>
+					<xsd:documentation>Core inner barrel type.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="coreDescription" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693860">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element coreDescription.-->
+				<xsd:annotation>
+					<xsd:documentation>General core description.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportEquipFailureInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772599">
+				<xsd:annotation>
+					<xsd:documentation>Date and time that the equipment failed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772749">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+				<xsd:annotation>
+					<xsd:documentation>The measured depth to the operation end point due to failure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373406121">
+				<xsd:annotation>
+					<xsd:documentation>The true vertical depth to the operation end point due to failure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="equipClass" type="witsml:EquipmentCodeNPD" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17771429">
+				<!--PROFILE: Changed type from witsml:kindString to witsml:EquipmentCodeNPD for element equipClass.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element equipClass.-->
+				<xsd:annotation>
+					<xsd:documentation>The classification of the equipment that failed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="eTimMissProduction" type="witsml:timeMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17773139">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element eTimMissProduction.-->
+				<xsd:annotation>
+					<xsd:documentation>The missed production time due to equipment failure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimRepair" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772914">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTimRepair.-->
+				<xsd:annotation>
+					<xsd:documentation>The date and time at which the production equipment was repaired and ready for production.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772869">
+				<!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+				<xsd:annotation>
+					<xsd:documentation>A description that gives a information about the equipment failure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportFormTestInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704510">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time that the wireline formation test was completed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856531">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth of the wireline formation test.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704585">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth of the wireline formation test.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presPore" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17608469">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presPore.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presPore.-->
+				<xsd:annotation>
+					<xsd:documentation>The formation pore pressure. The pressure of fluids within the pores of a reservoir, usually hydrostatic pressure, or the pressure exerted by a
+						column of water from the formation's depth to sea level.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="goodSeal" type="witsml:logicalBoolean" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704780">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element goodSeal.-->
+				<xsd:annotation>
+					<xsd:documentation>True ("true" or "1") indicates that there was a good seal for the wireline formation test. False ("false" or "0") or not given indicates
+						otherwise.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdSample" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704900">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdSample.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth where the fluid sample was taken.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dominateComponent" type="witsml:DominateCopmponentTypeNPD" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704210">
+				<!--PROFILE: Changed type from witsml:kindString to witsml:DominateCopmponentTypeNPD for element dominateComponent.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dominateComponent.-->
+				<xsd:annotation>
+					<xsd:documentation>The dominate component in the fluid sample.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="densityHC" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373424931">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element densityHC.-->
+				<xsd:annotation>
+					<xsd:documentation>The density of hydrocarbon component of the fluid sample.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="volumeSample" type="witsml:volumeMeasureCubicDeciMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704405">
+				<!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicDeciMetre for element volumeSample.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element volumeSample.-->
+				<xsd:annotation>
+					<xsd:documentation>The volume of the fluid sample.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704120">
+				<!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+				<xsd:annotation>
+					<xsd:documentation>A description that describes the wireline formation test in more detail.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportGasReadingInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879697">
+				<xsd:annotation>
+					<xsd:documentation>Date and time of the gas reading.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="readingType" type="witsml:GasPeakType" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893235">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element readingType.-->
+				<xsd:annotation>
+					<xsd:documentation>Type of gas reading.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892935">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the top of the interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893070">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the bottom of the test interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892575">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the top of the interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892710">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the bottom of the interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="gasHigh" type="witsml:volumePerVolumeMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892170">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element gasHigh.-->
+				<xsd:annotation>
+					<xsd:documentation>The highest gas reading.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="gasLow" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892260">
+				<xsd:annotation>
+					<xsd:documentation>The lowest gas reading.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="meth" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892350">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element meth.-->
+				<xsd:annotation>
+					<xsd:documentation>Methane (C1) concentration.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="eth" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892485">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element eth.-->
+				<xsd:annotation>
+					<xsd:documentation>Ethane (C2) concentration.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="prop" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17891900">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element prop.-->
+				<xsd:annotation>
+					<xsd:documentation>Propane (C3) concentration.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ibut" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374341731">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element ibut.-->
+				<xsd:annotation>
+					<xsd:documentation>iso-Butane (iC4) concentration.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="nbut" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374350471">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element nbut.-->
+				<xsd:annotation>
+					<xsd:documentation>nor-Butane (nC4) concentration.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ipent" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374357751">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element ipent.-->
+				<xsd:annotation>
+					<xsd:documentation>iso-Pentane (iC5) concentration.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportLithShowInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364008">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time that the well test was completed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17713095">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the top of the lithology interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712870">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the bottom of the lithology interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the top of the lithology interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the bottom of the lithology interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="show" type="witsml:commentString" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS375160921">
+				<!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element show.-->
+				<xsd:annotation>
+					<xsd:documentation>A textual description of any shows in the interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="lithology" type="witsml:commentString" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712795">
+				<!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element lithology.-->
+				<xsd:annotation>
+					<xsd:documentation>A description that gives a geological/lithological description/evaluation of the interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportLogInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691078">
+				<xsd:annotation>
+					<xsd:documentation>The date and time that the log was completed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="runNumber" type="witsml:str16" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692038">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element runNumber.-->
+				<xsd:annotation>
+					<xsd:documentation>Log run number. For measurement while drilling, this should be the bottom hole assembly number.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="serviceCompany" type="witsml:nameString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691993">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element serviceCompany.-->
+				<xsd:annotation>
+					<xsd:documentation>Name of contractor who provided the service.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691558">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the top of the logged interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691393">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the bottom of the logged interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the top of the logged interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the bottom of the logged interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tool" type="witsml:descriptionString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692083">
+				<!--PROFILE: Changed type from witsml:kindString to witsml:descriptionString for element tool.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element tool.-->
+				<xsd:annotation>
+					<xsd:documentation>A description of the logging tool.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:choice>
+				<xsd:element name="tempBHCT" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691153">
+					<!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBHCT.-->
+					<xsd:annotation>
+						<xsd:documentation>Bottom hole circulating temperature.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:sequence>
+					<xsd:element name="tempBHST" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836159">
+						<!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBHST.-->
+						<xsd:annotation>
+							<xsd:documentation>Bottom hole temperature static.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="eTimStatic" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691303">
+						<!--PROFILE: Changed type from witsml:timeMeasure to witsml:timeMeasureHour for element eTimStatic.-->
+						<xsd:annotation>
+							<xsd:documentation>Ellapsed time since circulation stopped.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:choice>
+			<xsd:element name="mdTempTool" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836564">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTempTool.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth to the temperature measurement tool.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTempTool" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836024">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth to the temperature measurement tool.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportPerfInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTimOpen" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797330">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTimOpen.-->
+				<xsd:annotation>
+					<xsd:documentation>The date and time at which the well perforation interval is opened.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimClose" type="witsml:timestamp" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797405">
+				<xsd:annotation>
+					<xsd:documentation>The date and time at which the well perforation interval is closed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797480">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the top of the perforation interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796970">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the bottom of the perforation interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854791">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the top of the perforation interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855226">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the bottom of the perforation interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportPorePressure">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="readingKind" type="witsml:ReadingKind" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373368811">
+				<xsd:annotation>
+					<xsd:documentation>Was the reading measured or estimated</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="equivalentMudWeight" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307">
+				<xsd:annotation>
+					<xsd:documentation>The equivalent mud weight value of the pore pressure reading.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683945">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time at the reading was made.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684935">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+				<xsd:annotation>
+					<xsd:documentation>The measured depth where the readings were recorded.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17847750">
+				<xsd:annotation>
+					<xsd:documentation>The true vertical depth where the readings were recorded.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportStatusInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644855">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>the date and time that for which the well status is reported.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644930">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+				<xsd:annotation>
+					<xsd:documentation>Wellbore measured depth at the end of the report period.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851070">
+				<xsd:annotation>
+					<xsd:documentation>Wellbore true vertical depth at the end of the report.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdPlugTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659110">
+				<xsd:annotation>
+					<xsd:documentation>The measured plug back depth.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="diaHole" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644585">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaHole.-->
+				<xsd:annotation>
+					<xsd:documentation>Hole nominal inside diameter.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdDiaHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659230">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth to the start of the current hole diameter.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="diaPilot" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659350">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaPilot.-->
+				<xsd:annotation>
+					<xsd:documentation>Pilot hole nominal inside diameter at reporting time.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdDiaPilotPlan" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851160">
+				<xsd:annotation>
+					<xsd:documentation>The planned measured depth of the pilot hole.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdDiaPilotPlan" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660205">
+				<xsd:annotation>
+					<xsd:documentation>The planned true vertical depth of the pilot hole.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="typeWellbore" type="witsml:WellboreType" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660325">
+				<xsd:annotation>
+					<xsd:documentation>Type of wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660400">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth to the kickoff point of the wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850980">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth to the kickoff point of the wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element parentWellbore.-->
+			<xsd:element name="strengthForm" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659800">
+				<xsd:annotation>
+					<xsd:documentation>The measured formation strength. This should be the final measurement before the end of the report period.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdStrengthForm" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660055">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of the formation strength measuement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdStrengthForm" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850755">
+				<xsd:annotation>
+					<xsd:documentation>The true vertical depth of the formation strength measuement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaCsgLast.-->
+				<xsd:annotation>
+					<xsd:documentation>Diameter of last casing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth of last casing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdCsgLast" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850890">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth of last casing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presTestType" type="witsml:PresTestType" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658975">
+				<xsd:annotation>
+					<xsd:documentation>The type of pressure test that was run during this reporting period.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdPlanned" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850395">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth of plan for this day number (report period).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="distDrill" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850485">
+				<xsd:annotation>
+					<xsd:documentation>Distance drilled during this reporting period. This should be measured along the centerline of the wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="elevKelly" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850575">
+				<xsd:annotation>
+					<xsd:documentation>Elevation of the rotary kelly bushing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="sum24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658390">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element sum24Hr.-->
+				<xsd:annotation>
+					<xsd:documentation>A summary that sumarizes the activities performed and the status of the ongoing activities from the reporting period.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="forecast24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658465">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element forecast24Hr.-->
+				<xsd:annotation>
+					<xsd:documentation>A summary that sumarizes the planned activities the next reporting period.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ropCurrent" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850095">
+				<!--PROFILE: Changed type from witsml:velocityMeasure to witsml:velocityMeasureMetresPerHour for element ropCurrent.-->
+				<xsd:annotation>
+					<xsd:documentation>Rate of penetration at the end of the reporting period.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element rig.-->
+			<!--PROFILE: Deleted element eTimStart.-->
+			<!--PROFILE: Deleted element eTimSpud.-->
+			<!--PROFILE: Deleted element eTimLoc.-->
+			<!--PROFILE: Deleted element eTimDrill.-->
+			<!--PROFILE: Deleted element ropAv.-->
+			<!--PROFILE: Deleted element supervisor.-->
+			<!--PROFILE: Deleted element engineer.-->
+			<!--PROFILE: Deleted element geologist.-->
+			<!--PROFILE: Deleted element eTimDrillRot.-->
+			<!--PROFILE: Deleted element eTimDrillSlid.-->
+			<!--PROFILE: Deleted element eTimCirc.-->
+			<!--PROFILE: Deleted element eTimReam.-->
+			<!--PROFILE: Deleted element eTimHold.-->
+			<!--PROFILE: Deleted element eTimSteering.-->
+			<!--PROFILE: Deleted element distDrillRot.-->
+			<!--PROFILE: Deleted element distDrillSlid.-->
+			<!--PROFILE: Deleted element distReam.-->
+			<!--PROFILE: Deleted element distHold.-->
+			<!--PROFILE: Deleted element distSteering.-->
+			<!--PROFILE: Deleted element numPob.-->
+			<!--PROFILE: Deleted element numContract.-->
+			<!--PROFILE: Deleted element numOperator.-->
+			<!--PROFILE: Deleted element numService.-->
+			<!--PROFILE: Deleted element numAFE.-->
+			<!--PROFILE: Deleted element costDay.-->
+			<!--PROFILE: Deleted element costDayMud.-->
+			<!--PROFILE: Deleted element conditionHole.-->
+			<!--PROFILE: Deleted element tvdLot.-->
+			<!--PROFILE: Deleted element presLotEmw.-->
+			<!--PROFILE: Deleted element presKickTol.-->
+			<!--PROFILE: Deleted element volKickTol.-->
+			<!--PROFILE: Deleted element maasp.-->
+			<!--PROFILE: Deleted element tubular.-->
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportStratInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795795">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time at which a preliminary zonation is established.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795870">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the top of the formation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796065">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the top of the formation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332">
+				<!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+				<xsd:annotation>
+					<xsd:documentation>A lithological description of the geological formation at the given depth.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportSurveyStation">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Trajectory Station Component Schema</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687877">
+				<xsd:annotation>
+					<xsd:documentation>The date at which the directional survey took place.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688642">
+				<xsd:annotation>
+					<xsd:documentation>Measured depth of measurement from the drill datum.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688102">
+				<xsd:annotation>
+					<xsd:documentation>Vertical depth of the measurements.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="incl" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687922">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element incl.-->
+				<xsd:annotation>
+					<xsd:documentation>Hole inclination, measured from vertical.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="azi" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688267">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element azi.-->
+				<xsd:annotation>
+					<xsd:documentation>Hole azimuth. Corrected to wells azimuth reference.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element vertSect.-->
+			<!--PROFILE: Deleted element dls.-->
+			<!--PROFILE: Deleted element location.-->
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportWellboreInfo">
+		<xsd:annotation>
+			<xsd:documentation>General information about a well bore for a drill operations report.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTimSpud" type="witsml:timestamp" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818479">
+				<xsd:annotation>
+					<xsd:documentation>Date and time at which the well was spudded. This is when the well drilling equipment begin to bore into the earth's surface for the purpose of
+						drilling a well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimPreSpud" type="witsml:timestamp" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818434">
+				<xsd:annotation>
+					<xsd:documentation>Date and time at which the well was predrilled. This is when the well drilling equipment begin to bore into the earth's surface for the purpose
+						of drilling a well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dateDrillComplete" type="witsml:date" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818524">
+				<xsd:annotation>
+					<xsd:documentation>The date when the drilling activity is completed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="operator" type="witsml:nameString" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818569">
+				<xsd:annotation>
+					<xsd:documentation>The name of the drilling Operator company.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="drillContractor" type="witsml:nameString" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818614">
+				<xsd:annotation>
+					<xsd:documentation>The name of the drilling Contractor company.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="rigAlias" type="witsml:cs_alias" minOccurs="0" maxOccurs="2" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17645305">
+				<!--PROFILE: Changed maxOccurs from unbounded to 2 for element rigAlias.-->
+				<xsd:annotation>
+					<xsd:documentation>A name of the fixed or movable facility being used to drill the wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="cs_drillReportWellTestInfo">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699490">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>Date and time that the well test was completed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="testType" type="witsml:WellTestType" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701590">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element testType.-->
+				<xsd:annotation>
+					<xsd:documentation>The type of well test.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="testNumber" type="witsml:positiveCount" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701335">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element testNumber.-->
+				<xsd:annotation>
+					<xsd:documentation>The number of the well test.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701290">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the top of the test interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701380">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+				<xsd:annotation>
+					<xsd:documentation>Measured depth at the bottom of the test interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328363958">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the top of the test interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328363900">
+				<xsd:annotation>
+					<xsd:documentation>True vertical depth at the bottom of the test interval.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="chokeOrificeSize" type="witsml:lengthMeasureMilliMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701110">
+				<!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMilliMetre for element chokeOrificeSize.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element chokeOrificeSize.-->
+				<xsd:annotation>
+					<xsd:documentation>The diameter of the choke opening.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="densityOil" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700690">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element densityOil.-->
+				<xsd:annotation>
+					<xsd:documentation>The density of the produced oil.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="densityWater" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS16430300">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element densityWater.-->
+				<xsd:annotation>
+					<xsd:documentation>The density of the produced water.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="densityGas" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17881266">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element densityGas.-->
+				<xsd:annotation>
+					<xsd:documentation>The density of the produced gas.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="flowRateOil" type="witsml:volumeFlowRateMeasureCubicMetresPerDay" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700915">
+				<!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureCubicMetresPerDay for element flowRateOil.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateOil.-->
+				<xsd:annotation>
+					<xsd:documentation>The maximum rate at which oil was produced.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="flowRateWater" type="witsml:volumeFlowRateMeasureCubicMetresPerDay" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700765">
+				<!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureCubicMetresPerDay for element flowRateWater.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateWater.-->
+				<xsd:annotation>
+					<xsd:documentation>The maximum rate at which water was produced.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="flowRateGas" type="witsml:volumeFlowRateMeasureMillionCubicMetresPerDay" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700480">
+				<!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureMillionCubicMetresPerDay for element flowRateGas.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateGas.-->
+				<xsd:annotation>
+					<xsd:documentation>The maximum rate at which gas was produced.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presShutIn" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700360">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presShutIn.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presShutIn.-->
+				<xsd:annotation>
+					<xsd:documentation>The final shut in pressure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presFlowing" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700645">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presFlowing.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presFlowing.-->
+				<xsd:annotation>
+					<xsd:documentation>The final flowing pressure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presBottom" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700075">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presBottom.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presBottom.-->
+				<xsd:annotation>
+					<xsd:documentation>The final bottom hole pressure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="gasOilRatio" type="witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700000">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre for element gasOilRatio.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element gasOilRatio.-->
+				<xsd:annotation>
+					<xsd:documentation>The ratio of the volume of gas to the volume of oil.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="waterOilRatio" type="witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700240">
+				<!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre for element waterOilRatio.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element waterOilRatio.-->
+				<xsd:annotation>
+					<xsd:documentation>The relative amount of water per amount of oil.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="chloride" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699730">
+				<!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element chloride.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element chloride.-->
+				<xsd:annotation>
+					<xsd:documentation>The relative amount of chloride in the produced water.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="carbonDioxide" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699610">
+				<!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element carbonDioxide.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element carbonDioxide.-->
+				<xsd:annotation>
+					<xsd:documentation>The relative amount of CO2 gas.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="hydrogenSulfide" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699880">
+				<!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element hydrogenSulfide.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element hydrogenSulfide.-->
+				<xsd:annotation>
+					<xsd:documentation>The relative amount of H2S gas.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="volOilTotal" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699280">
+				<!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volOilTotal.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element volOilTotal.-->
+				<xsd:annotation>
+					<xsd:documentation>The total amount of oil produced. This includes oil that was disposed of (e.g., burned).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="volGasTotal" type="witsml:volumeMeasureMillionCubicMetres" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699400">
+				<!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureMillionCubicMetres for element volGasTotal.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element volGasTotal.-->
+				<xsd:annotation>
+					<xsd:documentation>The total amount of gas produced. This includes gas that was disposed of (e.g., burned).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="volWaterTotal" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699565">
+				<!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volWaterTotal.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element volWaterTotal.-->
+				<xsd:annotation>
+					<xsd:documentation>The total amount of water produced. This includes water that was disposed of.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="volOilStored" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://projects.dnv.com/reference_data/RD4Browser/default.aspx?RDLDesignation=TOTAL OIL VOLUME STORED FROM WELL TEST - M3">
+				<!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volOilStored.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element volOilStored.-->
+				<xsd:annotation>
+					<xsd:documentation>The total amount of produced oil that was stored.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_extensionAny.-->
+	<!--UNUSED: Deleted type cs_extensionNameValue.-->
+
+	<!-- Added 07/02 - 2011 -->
+	<!-- Tubular information -->
+	<xsd:complexType name="cs_stimTubular">
+		<xsd:annotation>
+			<xsd:documentation>In a production enhancement job, this item constitutes the data for a tubular in the hole.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.1, By-issue=W-CR-010, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<xsd:element name="type" type="witsml:tubularTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The type of tubular (e.g., casing, tubing, liner, packer, open hole, other).</xsd:documentation>
+				</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>
+					<xsd:documentation>The inside diameter of the tubular used.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="od" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The outside diameter of the tubular used.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="weight" type="witsml:massPerLengthMeasurePoundsMassPerFoot" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The weight per length of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="grade" type="witsml:grade_CHECK" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Nominal grade.</xsd:documentation>
+					<!-- Missing: Added element grade -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="connection" type="witsml:connection_CHECK" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Nominal connection.</xsd:documentation>
+					<!-- Missing: Added element connection -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="length" type="witsml:lengthMeasureMetre" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Length measured along string.</xsd:documentation>
+					<!-- Missing: Added element length -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of the top of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of the bottom of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: deleted element tvdTop -->
+			<!-- Profile: deleted element tvdBottom -->
+			<!-- Profile: deleted element volumeFactor -->
+			<!-- Profile: deleted element extensionNameValue -->
+		</xsd:sequence>
+		<!-- Unused: deleted element attgrp_uid -->
+	</xsd:complexType>
+
+	<!-- Tubular types -->
+	<xsd:simpleType name="tubularTypes">
+		<xsd:annotation>
+			<xsd:documentation>The type of pipes, used to determant which type of pipe this post is about.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="c">
+				<xsd:annotation>
+					<xsd:documentation>Casing</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="l">
+				<xsd:annotation>
+					<xsd:documentation>Liner</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="t">
+				<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>
+		</xsd:restriction>
+	</xsd:simpleType>
+
+	<!-- Casing type -->
+	<xsd:simpleType name="casingTypes">
+		<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:annotation>
+					<xsd:documentation>Top</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="i">
+				<xsd:annotation>
+					<xsd:documentation>Intermediate</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="p">
+				<xsd:annotation>
+					<xsd:documentation>Production</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- END Added 07/02 - 2011 -->
+
+	<xsd:complexType name="cs_fluid">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - fluids component schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="type" type="witsml:str32" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684695">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element type.-->
+				<xsd:annotation>
+					<xsd:documentation>Description for the type of fluid.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Fix-typo</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element locationSample.-->
+			<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683990">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+				<xsd:annotation>
+					<xsd:documentation>The time when fluid readings were recorded.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839324">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+				<xsd:annotation>
+					<xsd:documentation>The measured depth where the fluid readings were recorded.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Fix-typo</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839024">
+				<xsd:annotation>
+					<xsd:documentation>The true vertical depth where the fluid readings were recorded.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="presBopRating" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17686740">
+				<!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presBopRating.-->
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element presBopRating.-->
+				<xsd:annotation>
+					<xsd:documentation>Maximum pressure rating of the blow out preventer.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mudClass" type="witsml:MudClass" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684065">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element mudClass.-->
+				<xsd:annotation>
+					<xsd:documentation>The class of the drilling fluid.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="density" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659935">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element density.-->
+				<xsd:annotation>
+					<xsd:documentation>Fluid density.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element visFunnel.-->
+			<!--PROFILE: Deleted element tempVis.-->
+			<xsd:element name="pv" type="witsml:dynamicViscosityMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684275">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element pv.-->
+				<xsd:annotation>
+					<xsd:documentation>Plastic viscosity.</xsd:documentation>
+				</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">
+				<!--PROFILE: Changed minOccurs from 0 to 1 for element yp.-->
+				<xsd:annotation>
+					<xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element gel10Sec.-->
+			<!--PROFILE: Deleted element gel10Min.-->
+			<!--PROFILE: Deleted element gel30Min.-->
+			<!--PROFILE: Deleted element filterCakeLtlp.-->
+			<!--PROFILE: Deleted element filtrateLtlp.-->
+			<!--PROFILE: Deleted element tempHthp.-->
+			<!--PROFILE: Deleted element presHthp.-->
+			<!--PROFILE: Deleted element filtrateHthp.-->
+			<!--PROFILE: Deleted element filterCakeHthp.-->
+			<!--PROFILE: Deleted element solidsPc.-->
+			<!--PROFILE: Deleted element waterPc.-->
+			<!--PROFILE: Deleted element oilPc.-->
+			<!--PROFILE: Deleted element sandPc.-->
+			<!--PROFILE: Deleted element solidsLowGravPc.-->
+			<!--PROFILE: Deleted element solidsCalcPc.-->
+			<!--PROFILE: Deleted element baritePc.-->
+			<!--PROFILE: Deleted element lcm.-->
+			<!--PROFILE: Deleted element mbt.-->
+			<!--PROFILE: Deleted element ph.-->
+			<!--PROFILE: Deleted element tempPh.-->
+			<!--PROFILE: Deleted element pm.-->
+			<!--PROFILE: Deleted element pmFiltrate.-->
+			<!--PROFILE: Deleted element mf.-->
+			<!--PROFILE: Deleted element alkalinityP1.-->
+			<!--PROFILE: Deleted element alkalinityP2.-->
+			<!--PROFILE: Deleted element chloride.-->
+			<!--PROFILE: Deleted element calcium.-->
+			<!--PROFILE: Deleted element magnesium.-->
+			<!--PROFILE: Deleted element potassium.-->
+			<!--PROFILE: Deleted element rheometer.-->
+			<!--PROFILE: Deleted element brinePc.-->
+			<!--PROFILE: Deleted element lime.-->
+			<!--PROFILE: Deleted element electStab.-->
+			<!--PROFILE: Deleted element calciumChloride.-->
+			<!--PROFILE: Deleted element company.-->
+			<!--PROFILE: Deleted element engineer.-->
+			<!--PROFILE: Deleted element asg.-->
+			<!--PROFILE: Deleted element solidsHiGravPc.-->
+			<!--PROFILE: Deleted element polymer.-->
+			<!--PROFILE: Deleted element polyType.-->
+			<!--PROFILE: Deleted element solCorPc.-->
+			<!--PROFILE: Deleted element oilCtg.-->
+			<!--PROFILE: Deleted element hardnessCa.-->
+			<!--PROFILE: Deleted element sulfide.-->
+			<!--PROFILE: Deleted element comments.-->
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_geodeticModel">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Geodetic Model Component Schema. All elements except nameCRS have been deprecated. Either use a well known name of a CRS or use the wellCRS
+				reference to a gmlCoordinateReferenceSystem.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="nameCRS" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The name of the coordinate reference system in a particular naming system. An optional short name (code) can also be specified. Specifying a well
+						known system is highly desired. An example would be to specify a name of 'ED50' with a code of '4230' in the 'EPSG' naming system. Note that specifying a name in
+						the EPSG naming system is asserting that the parameters in the EPSG database are appropriate for this CRS. This is also true for any other naming system. If in
+						doubt, contact your local geodesist.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="geodeticDatumCode" type="witsml:GeodeticDatum" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Geodetic datum code. This defines a system in the Geoshare naming system and should probably not be used with
+						CRSName.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="xTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="yTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="zTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="xRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="yRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="zRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="scaleFactor" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid scale factor.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ellipsoidCode" type="witsml:Ellipsoid" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid code (spheroid) defining geographic or planar coordinates. Implied if geodeticDatumCode is specified (and is not user
+						defined).</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ellipsoidSemiMajorAxis" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid semi-major axis size. Implied if geodeticDatumCode or ellipsoidCode specified.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ellipsoidInverseFlattening" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid inverse flattening value (ie. 1/x). Implied if geodeticDatumCode or ellipsoidCode specified.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_geologyInterval.-->
+	<!--UNUSED: Deleted type cs_groupDefinition.-->
+	<!--UNUSED: Deleted type cs_holeOpener.-->
+	<!--UNUSED: Deleted type cs_hse.-->
+	<!--UNUSED: Deleted type cs_hydrocyclone.-->
+	<!--UNUSED: Deleted type cs_incident.-->
+	<!--UNUSED: Deleted type cs_interval.-->
+	<!--UNUSED: Deleted type cs_inventory.-->
+	<!--UNUSED: Deleted type cs_jar.-->
+	<!--UNUSED: Deleted type cs_lithology.-->
+	<xsd:complexType name="cs_localCRS">
+		<xsd:sequence>
+			<xsd:choice minOccurs="0" maxOccurs="1">
+				<xsd:element name="usesWellAsOrigin" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>True ("true" or "1") indicates that the well surface point is the origin of this CRS. False ("false" or "0") or not given indicates
+							otherwise.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="origin" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>A pointer to the well reference point that is the origin of this CRS.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="originDescription" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>A textual description of the origin.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+			</xsd:choice>
+			<xsd:element name="yAxisAzimuth" type="witsml:yAxisAzimuth" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The angle of the Y axis from North (as described in attribute northDirection). Defaults to zero. Positive clockwise.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="magneticDeclination" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The angle between magnetic north and true north. The angle is measured positive clockwise from true north to magnetic north. This value SHOULD be
+						given if the yAxisAzimuth is measured from the magnetic north direction.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="gridConvergence" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The angle between true north and the northing axis or the projection grid being used. The angle is measured at the point in question, and is
+						measured from true north to grid north, positive clockwise.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="yAxisDescription" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A free-form description of the Y axis. Examples would be 'parallel to the west side of the platform', or 'along the main entry
+						road'.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="xRotationCounterClockwise" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>True ("true" or "1") indicates that the X axis is rotated counter-clockwise from the Y axis when viewed from above the earth looking down. False
+						("false" or "0") or not given indicates a clockwise rotation. Generally the X axis is rotated clockwise.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="cs_location">
+		<xsd:annotation>
+			<xsd:documentation>WITSML Location Component Schema This is a location that is expressed in terms of 2D coordinates. In order that the location be understood, the
+				coordinate reference system (CRS) must be known. The survey location is given by a pair of tagged values. The pairs may be: (1) latitude/longitude, (2) easting/northing,
+				(3) westing/southing, (4) projectedX/projectedY, or (5) localX/localY. The appropriate pair must be chosen for the data.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="wellCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer to the wellCRS that defines the CRS for the coordinates. While optional, it is strongly recommended that this be
+						specified.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:choice minOccurs="0" maxOccurs="1">
+				<xsd:sequence minOccurs="0" maxOccurs="1">
+					<xsd:element name="latitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The latitude with north being positive.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="longitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The longitude with east being positive.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+				<xsd:sequence minOccurs="0" maxOccurs="1">
+					<xsd:element name="easting" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The projected coordinate with east being positive. This is the most common type of projected coordinates. UTM coordinates are expressed in
+								Easting and Northing.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="northing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The projected coordinate with north being positive. This is the most common type of projected coordinates. UTM coordinates are expressed in
+								Easting and Northing.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+				<xsd:sequence minOccurs="0" maxOccurs="1">
+					<xsd:element name="westing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The projected coordinate with west being positive. The positive directions are reversed from the usual Easting and Northing values. These
+								values are generally located in the southern hemisphere, most notably in South Africa and Australia.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="southing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The projected coordinate with south being positive. The positive directions are reversed from the usual Easting and Northing values. These
+								values are generally located in the southern hemisphere, most notably in South Africa and Australia.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+				<xsd:sequence minOccurs="0" maxOccurs="1">
+					<xsd:element name="projectedX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The projected X coordinate with the positive direction unknown. ProjectedX and ProjectedY are used when it is not known what the meaning of
+								the coordinates is. If the meaning is known, the Easting/Northing or Westing/Southing should be used. Use of this pair implies a lack of knowledge on the part
+								of the sender.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="projectedY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The projected Y coordinate with the positive direction unknown. ProjectedX and ProjectedY are used when it is not known what the meaning of
+								the coordinates is. If the meaning is known, the Easting/Northing or Westing/Southing should be used. Use of this pair implies a lack of knowledge on the part
+								of the sender.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+				<xsd:sequence minOccurs="0" maxOccurs="1">
+					<xsd:element name="localX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The local (engineering) X coordinate. The CRS will define the orientation of the axis.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="localY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The local (engineering) Y coordinate. The CRS will define the orientation of the axis.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:choice>
+			<xsd:element name="original" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Flag indicating (if "true" or "1") that this pair of values was the original data given for the location. If the pair of values was calculated
+						from an original pair of values, this flag should be "false" (or "0"), or not present.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A Comment, generally given to help the reader interpret the coordinates if the CRS and the chosen pair do not make them
+						clear.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_logCurveInfo.-->
+	<!--UNUSED: Deleted type cs_logData.-->
+	<!--UNUSED: Deleted type cs_motor.-->
+	<!--UNUSED: Deleted type cs_mudGas.-->
+	<!--UNUSED: Deleted type cs_mudLogParameter.-->
+	<!--UNUSED: Deleted type cs_mudLosses.-->
+	<!--UNUSED: Deleted type cs_mudVolume.-->
+	<!--UNUSED: Deleted type cs_mwdTool.-->
+	<!--UNUSED: Deleted type cs_nameTag.-->
+	<!--UNUSED: Deleted type cs_nozzle.-->
+	<!--UNUSED: Deleted type cs_personnel.-->
+	<!--UNUSED: Deleted type cs_pit.-->
+	<!--UNUSED: Deleted type cs_pitVolume.-->
+	<xsd:complexType name="cs_projectionx">
+		<xsd:annotation>
+			<xsd:documentation>WITSML Element Types All elements except nameCRS have been deprecated. Either use a well known name of a CRS or use the wellCRS reference to a
+				gmlCoordinateReferenceSystem.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="nameCRS" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The name of the coordinate reference system in a particular naming system. An optional short name (code) can also be specified. Specifying a well
+						known system is highly desired. An example would be to specify a name of 'WGS 84 / UTM zone 10N' with a code of '32610' in the 'EPSG' naming system. Note that
+						specifying a name in the EPSG naming system is asserting that the parameters in the EPSG database are appropriate for this CRS. This is also true for any other
+						naming system. If in doubt, contact your local geodesist.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="projectionCode" type="witsml:Projection" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. A code to identify the type of projection.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="projectedFrom" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. A pointer to the wellCRS that represents the geographic system from which this system was projected.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="stdParallel1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Latitude of first standard parallel.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="stdParallel2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Latitude of second standard parallel, if used.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="centralMeridian" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Longitude of the Y axis of the resulting map.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="originLatitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Latitude at which the X axis intersects the central meridian.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="originLongitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Longitude of the central meridian.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="latitude1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Latitude of the first point if the two-point specification of the central line is used.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="longitude1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Longitude of the first point if the two-point specification of the central line is used.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="latitude2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Latitude of the second point if the two-point specification of the central line is used.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="longitude2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Longitude of the second point if the two-point specification of the central line is used.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="latitudeForScale" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Latitude of a point for which the scale factor is specified exactly. Default to origin.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="longitudeForScale" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Longitude of a point for which the scale factor is specified exactly. Default to origin.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="trueScaleLatitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Latitude at which the scale on the map is exact. If none is provided, scale is assumed to be exact at the
+						equator.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="spheroidRadius" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Spheroid radius.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="scaleFactor" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Ellipsoid scale factor.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="methodVariant" type="witsml:ProjectionVariantsObliqueMercator" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Projection method variant - establishes minor variations of the projection. Geoshare proposal.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="perspectiveHeight" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Height above the surface origin location from which the perspective is taken.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="zone" type="witsml:geodeticZoneString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Zone for the type of projection. Zones have values from 1 to 60 with a required direction of "N" (North) or "S" (South). For example,
+						"21N".</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="NADType" type="witsml:NADTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. North American Datum type.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="falseEasting" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Artificial value added to the X axis.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="falseNorthing" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Artificial value added to the Y axis.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="bearing" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Bearing angle of the great circle with respect to north at the central point.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="hemisphere" type="witsml:Hemispheres" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Is the projection in the northern hemisphere or the southern hemisphere.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="description" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Description of item and details.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="parameter" type="witsml:indexedObject" minOccurs="0" maxOccurs="unbounded">
+				<xsd:annotation>
+					<xsd:documentation>DEPRECATED. Parameter describing the user-defined projection.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_publicLandSurveySystem.-->
+	<!--UNUSED: Deleted type cs_pump.-->
+	<!--UNUSED: Deleted type cs_pumpOp.-->
+	<!--UNUSED: Deleted type cs_qualifier.-->
+	<!--UNUSED: Deleted type cs_realtimeHeader.-->
+	<!--UNUSED: Deleted type cs_record.-->
+	<!--UNUSED: Deleted type cs_referencePoint.-->
+	<!--UNUSED: Deleted type cs_refWellboreTrajectory.-->
+	<!--UNUSED: Deleted type cs_refWellboreTrajectoryStation.-->
+	<xsd:complexType name="cs_refWellWellbore">
+		<xsd:annotation>
+			<xsd:documentation>Data that represents a foreign key to a wellbore. The wellbore may be defined within the context of another well.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="wellboreReference" type="witsml:refNameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer the wellbore with which there is a relationship.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="wellParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer to the well that contains the wellboreReference. This is not needed unless the referenced wellbore is outside the context of a common
+						parent well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="cs_refWellWellboreRig">
+		<xsd:annotation>
+			<xsd:documentation>A reference to a rig within a wellbore. The wellbore may be defined within the context of another well. This value represents a foreign key from one
+				node to another.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="rigReference" type="witsml:refNameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer to the rig with which there is a relationship.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="wellboreParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer to the wellbore that contains the rigReference. This is not needed unless the referenced rig is outside the context of a common parent
+						wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="wellParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer to the well that contains the wellboreParent. This is not needed unless the referenced wellbore is outside the context of a common
+						parent well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_rheometer.-->
+	<!--UNUSED: Deleted type cs_rigResponse.-->
+	<!--UNUSED: Deleted type cs_rotarySteerableTool.-->
+	<!--UNUSED: Deleted type cs_scr.-->
+	<!--UNUSED: Deleted type cs_sensor.-->
+	<!--UNUSED: Deleted type cs_shaker.-->
+	<!--UNUSED: Deleted type cs_shakerOp.-->
+	<!--UNUSED: Deleted type cs_shakerScreen.-->
+	<!--UNUSED: Deleted type cs_show.-->
+	<!--UNUSED: Deleted type cs_stabilizer.-->
+	<!--UNUSED: Deleted type cs_standardGeodeticCRS.-->
+	<!--UNUSED: Deleted type cs_standardProjectedCRS.-->
+	<!--UNUSED: Deleted type cs_standardVerticalCRS.-->
+	<!--UNUSED: Deleted type cs_stnTrajCorUsed.-->
+	<!--UNUSED: Deleted type cs_stnTrajMatrixCov.-->
+	<!--UNUSED: Deleted type cs_stnTrajRawData.-->
+	<!--UNUSED: Deleted type cs_stnTrajValid.-->
+	<!--UNUSED: Deleted type cs_supportCraft.-->
+	<!--UNUSED: Deleted type cs_surfaceEquipment.-->
+	<!--UNUSED: Deleted type cs_surveySection.-->
+	<!--UNUSED: Deleted type cs_swcSample.-->
+	<!--UNUSED: Deleted type cs_targetSection.-->
+	<!--UNUSED: Deleted type cs_trajectoryStation.-->
+	<!--UNUSED: Deleted type cs_tubularComponent.-->
+	<!--UNUSED: Deleted type cs_wbGeometry.-->
+	<!--UNUSED: Deleted type cs_wbGeometrySection.-->
+	<!--UNUSED: Deleted type cs_weather.-->
+	<xsd:complexType name="cs_wellAlias">
+		<xsd:annotation>
+			<xsd:documentation>A common way for handling names of objects. An identifier type must include a Name. It may also include a NamingSystem, which gives meaning to the
+				name.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A human contextual name of a well. This should (hopefully) be unique within the context of the naming system.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="namingSystem" type="witsml:WellNamingSystem" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The naming system under which the well is defined. Knowledge of the naming system may allow the hame to be parsed for embeded
+						information.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_wellCRS">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Well Coordinate Reference System Component Schema. Note that this is intended for use with two dimensional coordinates. That does not prevent
+				the use of a three dimensional CRS. It just means that only two coordinates will be specified in that 3D system. The veritcal coordinates are specified separately and,
+				for 3D systems, one of the linked wellDatums should represent the vertical datum of that 3D system so that the height in the 3d system can be
+				determined.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Human recognizable context for the system. For a geodetic system this is commonly the name of the datum.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:choice minOccurs="0" maxOccurs="1">
+				<xsd:element name="mapProjection" type="witsml:cs_projectionx" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>Map projection system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe a
+							CRS.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="geographic" type="witsml:cs_geodeticModel" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>Geographic system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe a
+							CRS.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="mapProjectionCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>A reference to the coordinateReferenceSystems object representing the Map projection system.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="geodeticCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>A reference to the coordinateReferenceSystems object representing the Geodetic (i.e., Geocentric or Geographic) system.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="localCRS" type="witsml:cs_localCRS" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>Local (engineering) system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe
+							a CRS.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:element>
+			</xsd:choice>
+			<xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A textual description of the system.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="cs_wellDatum">
+		<xsd:annotation>
+			<xsd:documentation>Defines the vertical datums associated with elevation, vertical depth and measured depth coordinates within the context of a well.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="name" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The human understandable contextual name of the reference datum.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="code" type="witsml:ElevCodeEnum" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The code value that represents the type of reference datum. This may represent a point on a device (e.g., kelly bushing) or it may represent a
+						vertical reference datum (e.g., mean sea level).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:choice>
+				<xsd:annotation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+				<xsd:element name="datumName" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>The name of the vertical reference datum in a particular naming system. This should only be specified if the above 'code' represents some
+							variation of sea level. An optional short name (code) can also be specified. Specifying a well known datum is highly desired if the above code is a variant of
+							sea level because sea level varies over time and space. An example would be to specify a name of 'Caspian Sea' with a code of '5106' in the 'EPSG' naming
+							system.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="datumCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>A reference to the coordinateReferenceSystem object representing the vertical reference datum (i.e., this wellDatum). This should only be
+							specified if the above 'code' represents some variation of sea level.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:element>
+			</xsd:choice>
+			<xsd:element name="kind" type="witsml:kindString" minOccurs="0" maxOccurs="unbounded">
+				<xsd:annotation>
+					<xsd:documentation>Since various activities may use different points as measurement datums, it is useful to characterize the point based on its usage. A well
+						reference datum may have more than one such characterization. For example, it may be the datum used by the driller and logger for measuring their depths. Example
+						usage values would be 'permanent','driller', 'logger' 'WRP' (well reference point) and 'SRP' (site reference point).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="wellbore" type="witsml:cs_refWellWellbore" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer to the wellbore that contains the reference datum. This should be specified if a measured depth is given.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="rig" type="witsml:cs_refWellWellboreRig" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A pointer to the rig that contains the device used as a reference datum. The rig may be associated with a wellbore in another well (e.g., pattern
+						drilling using a rig on a track).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="elevation" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The gravity based elevation coordinate of this reference datum as measured from another datum. Positive moving upward from the elevation datum.
+						An elevation should be given unless this is a vertical reference datum (e.g., sea level).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="measuredDepth" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth coordinate of this reference datum as measured from another datum. The measured depth datum should either be the same as the
+						elevation datum or it should be relatable to the elevation datum through other datums. Positive moving toward the bottomhole from the measured depth datum. This
+						should be given when a local reference is "downhole", such as a kickoff point or ocean bottom template, and the borehole may not be vertical. If a Depth is given
+						then an Elevation should also be given.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="horizontalLocation" type="witsml:cs_location" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The horizontal location of the point being used as a well datum. This may be used when the point is not directly above or below the well point
+						location. For example, a well being drilled from a platform may have its location at the entrance into the sea floor, while the well datum may be located on the
+						drilling rig. Or the well datum may be a kickoff point, that is not directly under the well surface point.</xsd:documentation>
+					<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A contextual description of the well reference datum.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!--PROFILE: Deleted element extensionNameValue.-->
+		</xsd:sequence>
+		<xsd:attribute name="defaultMeasuredDepth" type="witsml:logicalBoolean" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>True indicates that this is the default reference datum for measured depth coordinates. False or not given indicates that this is not the default
+					reference datum. Measured depth coordinates that do not specify a datum reference should be assumed to be measured relative to this default reference datum. Only one
+					reference datum may be designated as the default measured depth datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+		<xsd:attribute name="defaultVerticalDepth" type="witsml:logicalBoolean" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>True indicates that this is the default reference datum for vertical depth coordinates. False or not given indicates that this is not the default
+					reference datum. Vertical depth coordinates that do not specify a datum reference should be assumed to be measured relative to the default reference datum. Only one
+					reference datum may be designated as the default vertical depth datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+		<xsd:attribute name="defaultElevation" type="witsml:logicalBoolean" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>True indicates that this is the default reference datum for elevation coordinates. False or not given indicates that this is not the default
+					reference datum. Elevation coordinates that do not specify a datum reference should be assumed to be measured relative to the default reference datum. Only one
+					reference datum may be designated as the default elevation datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+					assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+					required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type cs_wellLogCurveInfo.-->
+	<!--UNUSED: Deleted type cs_wellLogData.-->
+	<!--UNUSED: Deleted type data.-->
+	<!--UNUSED: Deleted type grp_attachment. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_bhaRun. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_cementJob. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_changeLog. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_convCore. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_coordinateReferenceSystem. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_drillReport. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_fluidsReport. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_formationMarker. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_log. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_message. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_mudLog. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_opsReport. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_realtime. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_rig. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_risk. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_sidewallCore. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_surveyProgram. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_target. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_trajectory. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_trajectoryStation. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_tubular. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_wbGeometry. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_well. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_wellbore. Contents copied where needed.-->
+	<!--UNUSED: Deleted type grp_wellLog. Contents copied where needed.-->
+	<!--UNUSED: Deleted global element attachments.-->
+	<!--UNUSED: Deleted type obj_attachments.-->
+	<!--UNUSED: Deleted type obj_attachment.-->
+	<!--UNUSED: Deleted global element bhaRuns.-->
+	<!--UNUSED: Deleted type obj_bhaRuns.-->
+	<!--UNUSED: Deleted type obj_bhaRun.-->
+	<!--UNUSED: Deleted global element cementJobs.-->
+	<!--UNUSED: Deleted type obj_cementJobs.-->
+	<!--UNUSED: Deleted type obj_cementJob.-->
+	<!--UNUSED: Deleted global element changeLogs.-->
+	<!--UNUSED: Deleted type obj_changeLogs.-->
+	<!--UNUSED: Deleted type obj_changeLog.-->
+	<!--UNUSED: Deleted global element convCores.-->
+	<!--UNUSED: Deleted type obj_convCores.-->
+	<!--UNUSED: Deleted type obj_convCore.-->
+	<!--UNUSED: Deleted global element coordinateReferenceSystems.-->
+	<!--UNUSED: Deleted type obj_coordinateReferenceSystems.-->
+	<!--UNUSED: Deleted type obj_coordinateReferenceSystem.-->
+	<xsd:element name="drillReports" type="witsml:obj_drillReports" substitutionGroup="abs:abstractDataObject">
+		<xsd:annotation>
+			<xsd:documentation>The WITSML API mandated plural root element which allows multiple singular objects to be sent. The plural name is formed by adding an "s" to the
+				singular name.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+	</xsd:element>
+	<xsd:complexType name="obj_drillReports">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>
+					<xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Information about the XML message instance.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="drillReport" type="witsml:obj_drillReport" minOccurs="1" maxOccurs="unbounded">
+						<xsd:annotation>
+							<xsd:documentation>A single drilling report.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+				<xsd:attribute name="version" type="witsml:schemaVersionString" use="required">
+					<xsd:annotation>
+						<xsd:documentation>Data object schema version. The fourth level must match the version of the schema constraints (enumerations and XML loader files) that are
+							assumed by the document instance.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:complexType name="obj_drillReport">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="nameWell" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Human recognizable context for the well that contains the wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="nameWellbore" type="witsml:nameString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17607299">
+				<xsd:annotation>
+					<xsd:documentation>Human recognizable context for the wellbore that contains the drilling report.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Human recognizable context for the drilling report.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:sequence>
+				<xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364025">
+					<xsd:annotation>
+						<xsd:documentation>Date and time of the start of the reporting period.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364044">
+					<xsd:annotation>
+						<xsd:documentation>Date and time end of the reporting period. Report periods are commonly 24 hour periods.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="versionKind" type="witsml:OpsReportVersion" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17817431">
+					<!--PROFILE: Changed minOccurs from 0 to 1 for element versionKind.-->
+					<xsd:annotation>
+						<xsd:documentation>The kind of report version. For example, a preliminary version.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="createDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364064">
+					<!--PROFILE: Changed minOccurs from 0 to 1 for element createDate.-->
+					<xsd:annotation>
+						<xsd:documentation>The date and time of the report creation. A later timestamp indicates a newer version. In order to update values in a report a full updated
+							copy of the original report should be submitted.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="wellAlias" type="witsml:cs_wellAlias" minOccurs="1" maxOccurs="1">
+					<!--PROFILE: Changed minOccurs from 0 to 1 for element wellAlias.-->
+					<xsd:annotation>
+						<xsd:documentation>An alternative name of the well (in a naming system). The above well name should be included in the list of aliases so that its origin can be
+							known.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="wellboreAlias" type="witsml:cs_wellAlias" minOccurs="2" maxOccurs="2">
+					<!--PROFILE: Changed minOccurs from 0 to 2 for element wellboreAlias.-->
+					<!--PROFILE: Changed maxOccurs from unbounded to 2 for element wellboreAlias.-->
+					<xsd:annotation>
+						<xsd:documentation>An alternative name of the wellbore (in a naming system). The above well name should be included in the list of aliases so that its origin can
+							be known.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="wellDatum" type="witsml:cs_wellDatum" minOccurs="0" maxOccurs="unbounded">
+					<xsd:annotation>
+						<xsd:documentation>Defines a vertical datum used for measured depths, vertical depths or elevations. This must be specified if one of the aforementioned
+							coordinate values are included in the report. This only applies to this report and is generally a copy of the same information from the well
+							object.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="wellCRS" type="witsml:cs_wellCRS" minOccurs="0" maxOccurs="unbounded">
+					<xsd:annotation>
+						<xsd:documentation>Defines a coordinate reference system used by coordinates within this report. This must be specified if coordinate values are included in the
+							report (i.e., in a survey station location). This only applies to this report and is generally a copy of the same information from the well
+							object.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="wellboreInfo" type="witsml:cs_drillReportWellboreInfo" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799789">
+					<xsd:annotation>
+						<xsd:documentation>General information about a wellbore. The well is represented by the original wellbore.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="statusInfo" type="witsml:cs_drillReportStatusInfo" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799868">
+					<!--PROFILE: Changed maxOccurs from unbounded to 1 for element statusInfo.-->
+					<xsd:annotation>
+						<xsd:documentation>General status information.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="bitRecord" type="witsml:cs_bitRecord" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831397">
+					<xsd:annotation>
+						<xsd:documentation>Information about a bit.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="fluid" type="witsml:cs_fluid" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839459">
+					<xsd:annotation>
+						<xsd:documentation>One fluid record.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="porePressure" type="witsml:cs_drillReportPorePressure" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799947">
+					<xsd:annotation>
+						<xsd:documentation>Information about the pore pressure.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="extendedReport" type="witsml:timestampedCommentString" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687235">
+					<!--PROFILE: Changed type from witsml:timestampedDescriptionString to witsml:timestampedCommentString for element extendedReport.-->
+					<xsd:annotation>
+						<xsd:documentation>A description of what happened from the end of report to an alternative time before the end of the next report. This is intended to allow a
+							preliminary description of what happened from the end of the report (commonly midnight) until the time of submission of a preliminary report (commonly 6:00 in
+							the morning).</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="surveyStation" type="witsml:cs_drillReportSurveyStation" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854338">
+					<xsd:annotation>
+						<xsd:documentation>A survey station recorded during the report interval.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="activity" type="witsml:cs_activity" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17800080">
+					<xsd:annotation>
+						<xsd:documentation>Activity breakdown, multiple for many activities.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="logInfo" type="witsml:cs_drillReportLogInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836969">
+					<xsd:annotation>
+						<xsd:documentation>General information about a log.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="coreInfo" type="witsml:cs_drillReportCoreInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17833062">
+					<xsd:annotation>
+						<xsd:documentation>General information about a core.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="wellTestInfo" type="witsml:cs_drillReportWellTestInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17881131">
+					<xsd:annotation>
+						<xsd:documentation>General information about a production well test.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="formTestInfo" type="witsml:cs_drillReportFormTestInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856636">
+					<xsd:annotation>
+						<xsd:documentation>General information about a wireline formation test.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="lithShowInfo" type="witsml:cs_drillReportLithShowInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17858011">
+					<xsd:annotation>
+						<xsd:documentation>General information about the lithology and shows in an interval.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="equipFailureInfo" type="witsml:cs_drillReportEquipFailureInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17834522">
+					<xsd:annotation>
+						<xsd:documentation>General information about equipment failure.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="controlIncidentInfo" type="witsml:cs_drillReportControlIncidentInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887880">
+					<xsd:annotation>
+						<xsd:documentation>General information about a well control incident.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="stratInfo" type="witsml:cs_drillReportStratInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373305601">
+					<xsd:annotation>
+						<xsd:documentation>General information about a well control incident.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="perfInfo" type="witsml:cs_drillReportPerfInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855316">
+					<xsd:annotation>
+						<xsd:documentation>General information about a well control incident.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+				<xsd:element name="gasReadingInfo" type="witsml:cs_drillReportGasReadingInfo" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879652">
+					<xsd:annotation>
+						<xsd:documentation>General information about a gas reading.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+			</xsd:sequence>
+			<!--PROFILE: Deleted element commonData.-->
+			<!--PROFILE: Deleted element customData.-->
+		</xsd:sequence>
+		<xsd:attribute name="uidWell" type="witsml:uidParentString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>Unique identifier for the well. This uniquely represents the well referenced by the (possibly non-unique) nameWell.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+		<xsd:attribute name="uidWellbore" type="witsml:uidParentString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>Unique identifier for the wellbore. This uniquely represents the wellbore referenced by the (possibly non-unique) nameWellbore.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+		<xsd:attribute name="uid" type="witsml:uidString" use="optional">
+			<xsd:annotation>
+				<xsd:documentation>The unique identifier of an object. This should not be used for child nodes within an object. For an independent object, the value may be globally
+					unique. For a dependent object, the value must be unique (for the same object type) within the context of the parent object. There should be no assumption as to the
+					semantic content of this attribute. The purpose of this type is to facilitate modifying the optionality in derived schemas.</xsd:documentation>
+			</xsd:annotation>
+		</xsd:attribute>
+	</xsd:complexType>
+	<!--UNUSED: Deleted global element fluidsReports.-->
+	<!--UNUSED: Deleted type obj_fluidsReports.-->
+	<!--UNUSED: Deleted type obj_fluidsReport.-->
+	<!--UNUSED: Deleted global element formationMarkers.-->
+	<!--UNUSED: Deleted type obj_formationMarkers.-->
+	<!--UNUSED: Deleted type obj_formationMarker.-->
+	<!--UNUSED: Deleted global element logs.-->
+	<!--UNUSED: Deleted type obj_logs.-->
+	<!--UNUSED: Deleted type obj_log.-->
+	<!--UNUSED: Deleted global element messages.-->
+	<!--UNUSED: Deleted type obj_messages.-->
+	<!--UNUSED: Deleted type obj_message.-->
+	<!--UNUSED: Deleted global element mudLogs.-->
+	<!--UNUSED: Deleted type obj_mudLogs.-->
+	<!--UNUSED: Deleted type obj_mudLog.-->
+	<!--UNUSED: Deleted global element opsReports.-->
+	<!--UNUSED: Deleted type obj_opsReports.-->
+	<!--UNUSED: Deleted type obj_opsReport.-->
+	<!--UNUSED: Deleted global element realtimes.-->
+	<!--UNUSED: Deleted type obj_realtimes.-->
+	<!--UNUSED: Deleted type obj_realtime.-->
+	<!--UNUSED: Deleted global element rigs.-->
+	<!--UNUSED: Deleted type obj_rigs.-->
+	<!--UNUSED: Deleted type obj_rig.-->
+	<!--UNUSED: Deleted global element risks.-->
+	<!--UNUSED: Deleted type obj_risks.-->
+	<!--UNUSED: Deleted type obj_risk.-->
+	<!--UNUSED: Deleted global element sidewallCores.-->
+	<!--UNUSED: Deleted type obj_sidewallCores.-->
+	<!--UNUSED: Deleted type obj_sidewallCore.-->
+	<!--UNUSED: Deleted global element surveyPrograms.-->
+	<!--UNUSED: Deleted type obj_surveyPrograms.-->
+	<!--UNUSED: Deleted type obj_surveyProgram.-->
+	<!--UNUSED: Deleted global element targets.-->
+	<!--UNUSED: Deleted type obj_targets.-->
+	<!--UNUSED: Deleted type obj_target.-->
+	<!--UNUSED: Deleted global element trajectorys.-->
+	<!--UNUSED: Deleted type obj_trajectorys.-->
+	<!--UNUSED: Deleted type obj_trajectory.-->
+	<!--UNUSED: Deleted global element trajectoryStations.-->
+	<!--UNUSED: Deleted type obj_trajectoryStations.-->
+	<!--UNUSED: Deleted type obj_trajectoryStation.-->
+	<!--UNUSED: Deleted global element tubulars.-->
+	<!--UNUSED: Deleted type obj_tubulars.-->
+	<!--UNUSED: Deleted type obj_tubular.-->
+	<!--UNUSED: Deleted global element wbGeometrys.-->
+	<!--UNUSED: Deleted type obj_wbGeometrys.-->
+	<!--UNUSED: Deleted type obj_wbGeometry.-->
+	<!--UNUSED: Deleted global element wells.-->
+	<!--UNUSED: Deleted type obj_wells.-->
+	<!--UNUSED: Deleted type obj_well.-->
+	<!--UNUSED: Deleted global element wellbores.-->
+	<!--UNUSED: Deleted type obj_wellbores.-->
+	<!--UNUSED: Deleted type obj_wellbore.-->
+	<!--UNUSED: Deleted global element wellLogs.-->
+	<!--UNUSED: Deleted type obj_wellLogs.-->
+	<!--UNUSED: Deleted type obj_wellLog.-->
+	<xsd:simpleType name="abstractBoolean">
+		<xsd:annotation>
+			<xsd:documentation>This type disallows an "empty" boolean value. This type should not be used directly except to derive another type. All boolean types should be derived
+				from this type rather than using xsd:boolen.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="xsd:boolean">
+			<xsd:pattern value=".+"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractDateTime">
+		<xsd:annotation>
+			<xsd:documentation>This type disallows an "empty" dateTime value. This type should not be used directly except to derive another type. All dateTime types should be
+				derived from this type rather than using xsd:dateTime.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="xsd:dateTime">
+			<xsd:pattern value=".+"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractDate">
+		<xsd:annotation>
+			<xsd:documentation>This type disallows an "empty" date value. This type should not be used directly except to derive another type. All dateTime types should be derived
+				from this type rather than using xsd:dateTime.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="xsd:date">
+			<xsd:pattern value=".+"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractDouble">
+		<xsd:annotation>
+			<xsd:documentation>This type disallows an "empty" double value. This type should not be used directly except to derive another type.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="xsd:double">
+			<xsd:pattern value=".+"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractShort">
+		<xsd:annotation>
+			<xsd:documentation>This type disallows an "empty" short value. This type should not be used directly except to derive another type.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="xsd:short">
+			<xsd:pattern value=".+"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type abstractInt.-->
+	<xsd:simpleType name="abstractString">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all strings. This abstract type allows the control over whitespace for all strings to be defined at a high level.
+				This type should not be used directly except to derive another type.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="xsd:string">
+			<xsd:whiteSpace value="collapse">
+				<xsd:annotation>
+					<xsd:documentation>Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and
+						trailing spaces.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:whiteSpace>
+			<xsd:minLength value="1">
+				<xsd:annotation>
+					<xsd:documentation>The empty string is not allowed. This constraint conbined with the whiteSpace collapse constraint means that a blank value is not
+						allowed.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:minLength>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="abstractMeasure" abstract="true">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all quantities that have a value with a unit of measure. The unit of measure is in the uom attribute of the
+				subtypes. This type allows all quantities to be profiled to be a 'float' instead of a 'double'.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractDouble"/>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="abstractMaximumLengthString">
+		<xsd:annotation>
+			<xsd:documentation>This defines the maximum acceptable length of a string that can be stored in a data base.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="4000">
+				<xsd:annotation>
+					<xsd:documentation>This value should be the smallest "maximum size of a variable length character type" in commonly used DBMSs. This is the maximum size of a
+						VARCHAR2 in Oracle 8.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:maxLength>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type abstractUncollapsedString.-->
+	<xsd:simpleType name="abstractPositiveCount">
+		<xsd:annotation>
+			<xsd:documentation>A positive integer (one based count or index) with a maximum value of 32767 (2-bytes).</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractShort">
+			<xsd:minInclusive value="1">
+				<xsd:annotation>
+					<xsd:documentation>This value cannot be negative or zero.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:minInclusive>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type abstractTimeZone.-->
+	<xsd:simpleType name="abstractNameString">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all user assigned human recognizable contextual name types. There should be no assumption that (interoperable)
+				semantic information will be extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced
+				by an enumeration.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="64"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractUidString">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all locally unique identifiers. The value is not intended to convey any semantic content (e.g., it may be computer
+				generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in
+				multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server). Spaces are not allowed.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="64"/>
+			<xsd:pattern value="[^ ]*"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractCommentString">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all comments or remarks intended for human consumption. There should be no assumption that semantics can be
+				extracted from the field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be
+				interoperable).</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractMaximumLengthString"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractDescriptionString">
+		<xsd:annotation>
+			<xsd:documentation>A textual description of something.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="256"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractString32">
+		<xsd:annotation>
+			<xsd:documentation>A 32 character string.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=Bug, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="32"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractTypeEnum">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all enumerated "types". This abstract type allows the maximum length of a type enumeration to be centrally defined.
+				This type should not be used directly except to derive another type. It should also be used for uncontrolled strings which are candidates to become enumerations at a
+				future date.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="40"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="abstractUomEnum">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all "units of measure". This abstract type allows the maximum length of a UOM enumeration to be centrally defined.
+				This type is abstract in the sense that it should not be used directly except to derive another type.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="24"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type ActivityClassType.-->
+	<!--UNUSED: Deleted type ActivityCode.-->
+	<!--UNUSED: Deleted type ArrayElementDataType.-->
+	<xsd:simpleType name="AziRef">
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="magnetic north">
+				<xsd:annotation>
+					<xsd:documentation>The north direction as defined by the magnetic north pole at the time of the measurement. The magnetic north pole is the direction that a magnet
+						will point to when freely rotating.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="grid north">
+				<xsd:annotation>
+					<xsd:documentation>The north direction is defined by the coordinate grid in the projection coordinate system.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="true north">
+				<xsd:annotation>
+					<xsd:documentation>The north direction as defined by the true north pole. The true north pole is an average of the actual measured north axis, which is the axis of
+						rotation of the earth.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type BearingType.-->
+	<!--UNUSED: Deleted type BitDullCode.-->
+	<!--UNUSED: Deleted type BitReasonPulled.-->
+	<!--UNUSED: Deleted type BitType.-->
+	<!--UNUSED: Deleted type BhaStatus.-->
+	<!--UNUSED: Deleted type BladeShapeType.-->
+	<!--UNUSED: Deleted type BladeType.-->
+	<!--UNUSED: Deleted type BopType.-->
+	<!--UNUSED: Deleted type BoxPinConfig.-->
+	<!--UNUSED: Deleted type CalibrationPointRole.-->
+	<!--UNUSED: Deleted type CementJobType.-->
+	<!--UNUSED: Deleted type ChangeInfoType.-->
+	<!--UNUSED: Deleted type ConnectionPosition.-->
+	<!--UNUSED: Deleted type DeflectionMethod.-->
+	<!--UNUSED: Deleted type DerrickType.-->
+	<!--UNUSED: Deleted type DrawWorksType.-->
+	<!--UNUSED: Deleted type DriveType.-->
+	<!--UNUSED: Deleted type EastOrWest.-->
+	<xsd:simpleType name="ElevCodeEnum">
+		<xsd:annotation>
+			<xsd:documentation>The type of local or permanent reference datum for vertical gravity based (i.e., elevation and vertical depth) and measured depth coordinates within
+				the context of a well. This list includes local points (e.g., kelly bushing) used as a datum and vertical reference datums (e.g., mean sea level).</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="CF">
+				<xsd:annotation>
+					<xsd:documentation>casing flange: A flange affixed to the top of the casing string used to attach production equipment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CV">
+				<xsd:annotation>
+					<xsd:documentation>crown valve</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="DF">
+				<xsd:annotation>
+					<xsd:documentation>derrick floor</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="GL">
+				<xsd:annotation>
+					<xsd:documentation>ground level</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="KB">
+				<xsd:annotation>
+					<xsd:documentation>kelly bushing</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="RB">
+				<xsd:annotation>
+					<xsd:documentation>rotary bushing</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="RT">
+				<xsd:annotation>
+					<xsd:documentation>rotary table</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="SF">
+				<xsd:annotation>
+					<xsd:documentation>sea floor</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="LAT">
+				<xsd:annotation>
+					<xsd:documentation>Lowest Astronomical Tide. The lowest tide level over the duration of the National Tidal Datum Epoch (19 years).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="SL">
+				<xsd:annotation>
+					<xsd:documentation>Mean Sea Level - A tidal datum. The arithmetic mean of hourly heights observed over the National Tidal Datum Epoch (19
+						years).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="MHHW">
+				<xsd:annotation>
+					<xsd:documentation>Mean Higher High Water - A tidal datum. The average of the higher high water height of each tidal day observed over the National Tidal Datum
+						Epoch (19 years).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="MHW">
+				<xsd:annotation>
+					<xsd:documentation>Mean High Water - A tidal datum. The average of all the high water heights observed over the National Tidal Datum Epoch (19
+						years).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="MLLW">
+				<xsd:annotation>
+					<xsd:documentation>Mean Lower Low Water - A tidal datum. The average of the lower low water height of each tidal day observed over the National Tidal Datum Epoch
+						(19 years ).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="MLW">
+				<xsd:annotation>
+					<xsd:documentation>Mean Low Water - A tidal datum. The average of all the low water heights observed over the National Tidal Datum Epoch (19
+						years).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="MTL">
+				<xsd:annotation>
+					<xsd:documentation>Mean Tide Level - A tidal datum. The arithmetic mean of mean high water and mean low water. Same as half-tide level.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="KO">
+				<xsd:annotation>
+					<xsd:documentation>kickoff point</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="Ellipsoid">
+		<xsd:annotation>
+			<xsd:documentation>These values represent the type of ellipsoid (spheroid) defining geographic or planar coordinates.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="AGD66">
+				<xsd:annotation>
+					<xsd:documentation>Australian Old</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="AIRY_MOD">
+				<xsd:annotation>
+					<xsd:documentation>Modified Airy</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="AIRY30">
+				<xsd:annotation>
+					<xsd:documentation>Airy 1830</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="AIRY49">
+				<xsd:annotation>
+					<xsd:documentation>Airy 1849</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="AUST_NAT">
+				<xsd:annotation>
+					<xsd:documentation>Australian National Same as KAU63 and SA69</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="BESL-DHD">
+				<xsd:annotation>
+					<xsd:documentation>Bessel Modified</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="BESL-NGL">
+				<xsd:annotation>
+					<xsd:documentation>Bessel - NGO 1948</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="BESL-RT9">
+				<xsd:annotation>
+					<xsd:documentation>Bessel - RT90</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="BESS41">
+				<xsd:annotation>
+					<xsd:documentation>Bessel 1841</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="BESSNAM">
+				<xsd:annotation>
+					<xsd:documentation>Bessel 1841 for Namibia</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="BOGOTA">
+				<xsd:annotation>
+					<xsd:documentation>BOGOTA (International 1924)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL58">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1858</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL58-1">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1858-1</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL66">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1866</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL66-M">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1866 for Michigan</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL80">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1880</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL80-A">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1880 variation A</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL80-B">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1880 variation B</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL80-I">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1880 IGN</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL80-J">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1880 for Jamaica</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL80-M">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1880 for Merchich</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CL80-P">
+				<xsd:annotation>
+					<xsd:documentation>Clarke 1880 for Palestine</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CMPOINCH">
+				<xsd:annotation>
+					<xsd:documentation>CAMPO INCH (International 1924)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="DAN">
+				<xsd:annotation>
+					<xsd:documentation>Danish</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="DELA">
+				<xsd:annotation>
+					<xsd:documentation>DELAMBRE 1810</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="ED50">
+				<xsd:annotation>
+					<xsd:documentation>ED50 (International 1924)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EGYPT07">
+				<xsd:annotation>
+					<xsd:documentation>EGYPT07 (Helmert 1906)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVER">
+				<xsd:annotation>
+					<xsd:documentation>Everest 1830 - Indian</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVER48">
+				<xsd:annotation>
+					<xsd:documentation>Everest 1948</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVER56">
+				<xsd:annotation>
+					<xsd:documentation>Everest 1956</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVER69">
+				<xsd:annotation>
+					<xsd:documentation>Everest 1969</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVER-BR">
+				<xsd:annotation>
+					<xsd:documentation>Everest Brunei</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVERMOD">
+				<xsd:annotation>
+					<xsd:documentation>Modified Everest</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVER-P">
+				<xsd:annotation>
+					<xsd:documentation>Everest Pakistan</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVER-TM">
+				<xsd:annotation>
+					<xsd:documentation>Everest 1830 (modified) Timbalai</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="EVTM">
+				<xsd:annotation>
+					<xsd:documentation>Everest - Timbali</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="FISC60">
+				<xsd:annotation>
+					<xsd:documentation>"Fischer 1960 aka ""Mercury"""</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="FISC60MOD">
+				<xsd:annotation>
+					<xsd:documentation>Fischer 1960 Modified</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="FISC68">
+				<xsd:annotation>
+					<xsd:documentation>"Fischer 1968 aka ""Modified Mercury"""</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="FISCMOD">
+				<xsd:annotation>
+					<xsd:documentation>"Modified Fischer 1960 aka ""South Asia"""</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="GDA94">
+				<xsd:annotation>
+					<xsd:documentation>GDA94 - Australia</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="GRS67">
+				<xsd:annotation>
+					<xsd:documentation>Geodetic Reference System 1967</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="GRS80">
+				<xsd:annotation>
+					<xsd:documentation>Geodetic Reference System 1980</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="HAY09">
+				<xsd:annotation>
+					<xsd:documentation>Hayford 1909</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="HEIS">
+				<xsd:annotation>
+					<xsd:documentation>Heiskanen 1929</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="HEL06">
+				<xsd:annotation>
+					<xsd:documentation>Helmert 1906</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="HEL07">
+				<xsd:annotation>
+					<xsd:documentation>Helmert 1907</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="HOUG">
+				<xsd:annotation>
+					<xsd:documentation>Hough 1956</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="IAG-75">
+				<xsd:annotation>
+					<xsd:documentation>IAG 75</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="INDIAN75">
+				<xsd:annotation>
+					<xsd:documentation>INDIAN75 (Everest 1930)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="INDO-74">
+				<xsd:annotation>
+					<xsd:documentation>INDO74 (Indonesian 1974)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="INT24">
+				<xsd:annotation>
+					<xsd:documentation>International 1924</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="IUGG67">
+				<xsd:annotation>
+					<xsd:documentation>IUGG 1967</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="IUGG75">
+				<xsd:annotation>
+					<xsd:documentation>IUGG 1975</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="JEFF48">
+				<xsd:annotation>
+					<xsd:documentation>Jeffreys 1948</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="KAU63">
+				<xsd:annotation>
+					<xsd:documentation>Kaula 1963 Same as AUST_NAT and SA69</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="KRSV">
+				<xsd:annotation>
+					<xsd:documentation>Krassovsky</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="MERIT83">
+				<xsd:annotation>
+					<xsd:documentation>MERIT83</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NAD27">
+				<xsd:annotation>
+					<xsd:documentation>NAD27 (Clarke 1866)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NAHRAN">
+				<xsd:annotation>
+					<xsd:documentation>NAHRAN (Clarke 1880)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NEWINT67">
+				<xsd:annotation>
+					<xsd:documentation>New International 1967</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NWL-10D">
+				<xsd:annotation>
+					<xsd:documentation>NWL 10D</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NWL-9D">
+				<xsd:annotation>
+					<xsd:documentation>NWL 9D</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="OSGB36">
+				<xsd:annotation>
+					<xsd:documentation>OSGB36 (Airy 1830)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="OSU86F">
+				<xsd:annotation>
+					<xsd:documentation>OSU86F</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="OSU91A">
+				<xsd:annotation>
+					<xsd:documentation>OSU91A</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="PLESSIS-1817">
+				<xsd:annotation>
+					<xsd:documentation>Plessis 1817</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="PSAD56">
+				<xsd:annotation>
+					<xsd:documentation>PSAD56 (International 1924)</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="PTNOIRE">
+				<xsd:annotation>
+					<xsd:documentation>Pointe Noire 1948</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="SA69">
+				<xsd:annotation>
+					<xsd:documentation>South American 1969</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="SPHR">
+				<xsd:annotation>
+					<xsd:documentation>Sphere of radius 6370997</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="STRU">
+				<xsd:annotation>
+					<xsd:documentation>Struve 1860</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WALB">
+				<xsd:annotation>
+					<xsd:documentation>Walbeck</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WAR24">
+				<xsd:annotation>
+					<xsd:documentation>War Office 1924</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WGS60">
+				<xsd:annotation>
+					<xsd:documentation>World Geodetic System 1960</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WGS66">
+				<xsd:annotation>
+					<xsd:documentation>World Geodetic System 1966</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WGS72">
+				<xsd:annotation>
+					<xsd:documentation>World Geodetic System 1972</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WGS84">
+				<xsd:annotation>
+					<xsd:documentation>World Geodetic System 1984</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type ExtensionName.-->
+	<!--UNUSED: Deleted type FileNameType.-->
+	<xsd:simpleType name="GasPeakType">
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="circulating background gas">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="connection gas">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling background gas">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling gas peak">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="flow check gas">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="no readings">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="other">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="shut down gas">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="trip gas">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="GeodeticDatum">
+		<xsd:annotation>
+			<xsd:documentation>These values represent the type of geodetic datum. The source (except for "none", "unknown" and "UserDefined") of the values and the descriptions is
+				Geoshare V13.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="ADND">
+				<xsd:annotation>
+					<xsd:documentation>Adindian ellipsoid=CL80 region="Sudan, Ethiopia"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="ARC50">
+				<xsd:annotation>
+					<xsd:documentation>ARC 1950 ellipsoid=CL80B region="Southern Africa"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="AUSG">
+				<xsd:annotation>
+					<xsd:documentation>Australian ellipsoid=GRS67 region="Australia Geodetic"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CAA">
+				<xsd:annotation>
+					<xsd:documentation>Camp Area Astro ellipsoid=INT24 region=Antarctica</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CHAS">
+				<xsd:annotation>
+					<xsd:documentation>Chau Astro ellipsoid=INT24 region=Paraguay</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="CORAL">
+				<xsd:annotation>
+					<xsd:documentation>Corrego Alegre ellipsoid=INT24 region=INT24</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="ED50">
+				<xsd:annotation>
+					<xsd:documentation>European 1950 ellipsoid=INT24 region="Europe, Middle East, North Africa"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="ED87">
+				<xsd:annotation>
+					<xsd:documentation>European 1987 ellipsoid=INT24 region="Europe, Middle East, North Africa"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="ERIN65">
+				<xsd:annotation>
+					<xsd:documentation>Ireland 1965 ellipsoid=AIRY_MOD region=Ireland</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="GD49">
+				<xsd:annotation>
+					<xsd:documentation>Geodetic Datum 1949 ellipsoid=INT24 region="New Zealand"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="GHANA">
+				<xsd:annotation>
+					<xsd:documentation>Ghana ellipsoid=WAR24 region=Ghana</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="GUAM63">
+				<xsd:annotation>
+					<xsd:documentation>Guam 1963 ellipsoid=CL66 region="Marianas Islands"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="HJRS55">
+				<xsd:annotation>
+					<xsd:documentation>Hjorsey 1955 ellipsoid=INT24 region=Iceland</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="HTS">
+				<xsd:annotation>
+					<xsd:documentation>Hu-Tzu-Shan ellipsoid=INT24 region=Taiwan</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="INCH">
+				<xsd:annotation>
+					<xsd:documentation>Campo Inchauspe ellipsoid=INT24 region=Argentina</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="INDIA1">
+				<xsd:annotation>
+					<xsd:documentation>Indian 'Kalimpur' ellipsoid=EVER region=India</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="INDIA2">
+				<xsd:annotation>
+					<xsd:documentation>Indian 'Kalimpur' ellipsoid=INT24 region=India</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="INDNS74">
+				<xsd:annotation>
+					<xsd:documentation>Indonesia 1974 ellipsoid=GRS67 region=Indonesia</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="LIB64">
+				<xsd:annotation>
+					<xsd:documentation>Liberia 1964 ellipsoid=CL80 region=Liberia</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="LUZON">
+				<xsd:annotation>
+					<xsd:documentation>Luzon ellipsoid=CL66 region=Philippines</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="MRCH">
+				<xsd:annotation>
+					<xsd:documentation>Merchich ellipsoid=CL80A region=Morocco</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NAD27">
+				<xsd:annotation>
+					<xsd:documentation>North American 'Meades Ranch' ellipsoid=CL66 region="North America"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NAD83">
+				<xsd:annotation>
+					<xsd:documentation>North American Datum of 1983 ellipsoid=GRS80 region="Canada, Cuba, U.S., Caribbean"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NGRA">
+				<xsd:annotation>
+					<xsd:documentation>Nigeria ellipsoid=CL80 region=Nigeria</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="None">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NPRM">
+				<xsd:annotation>
+					<xsd:documentation>Naparima ellipsoid=INT24 region="Trinidad and Tobago"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="OSGB36">
+				<xsd:annotation>
+					<xsd:documentation>Ordnance Survey of Great Britain 1936 ellipsoid=AIRY region="Great Britain, Northern Ireland"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="POTS1">
+				<xsd:annotation>
+					<xsd:documentation>European 'Pelmert Tower, Potsdam' ellipsoid=INT24 region="Most of Eurasia, Africa"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="PULK1">
+				<xsd:annotation>
+					<xsd:documentation>Russian 'Pulkovo' ellipsoid=BESS41</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="PULK2">
+				<xsd:annotation>
+					<xsd:documentation>Russian 'Pulkovo' ellipsoid=KRSV</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="QRNQ">
+				<xsd:annotation>
+					<xsd:documentation>Qornoq ellipsoid=INT24 region=Greenland</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="SA56">
+				<xsd:annotation>
+					<xsd:documentation>Provisional South American, 1956 ellipsoid=INT24 region="Bolivia, Chile, Colombia, Ecuador, Peru, Venezuela, the Guianas"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="SRL60">
+				<xsd:annotation>
+					<xsd:documentation>Sierra Leone 1960 ellipsoid=CL80 region="Sierra Leone"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="TNRV25">
+				<xsd:annotation>
+					<xsd:documentation>Tananarive (Antananarivo) Obsv. 1925T ellipsoid=INT24 region="Malagasy Republic"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="TOKYO">
+				<xsd:annotation>
+					<xsd:documentation>Tokyo ellipsoid=BESS41 region=Japan</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="UserDefined">
+				<xsd:annotation>
+					<xsd:documentation>Datum defined elsewhere</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="VROL">
+				<xsd:annotation>
+					<xsd:documentation>Voirol ellipsoid=CL80 region="Algeria, Tunisia"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WGS72">
+				<xsd:annotation>
+					<xsd:documentation>World Geodetic System 1972 ellipsoid=WGS72</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="WGS84">
+				<xsd:annotation>
+					<xsd:documentation>World Geodetic System 1984 ellipsoid=WGS84 region="Sino-Soviet Bloc, SW Asia, Hydrographic, Aeronautical"</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="YACR">
+				<xsd:annotation>
+					<xsd:documentation>Yacare ellipsoid=INT24 region=Uruguay</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="Hemispheres">
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="northern">
+				<xsd:annotation>
+					<xsd:documentation>Northern hemisphere.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="southern">
+				<xsd:annotation>
+					<xsd:documentation>Southern hemisphere.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type HoleCasingType.-->
+	<!--UNUSED: Deleted type HoleOpenerType.-->
+	<xsd:simpleType name="InnerBarrelType">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="undifferented">
+				<xsd:annotation>
+					<xsd:documentation>A pipe that is located inside a core barrel to hold the core sample.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="aluminum">
+				<xsd:annotation>
+					<xsd:documentation>An inner core barrel made of aluminium.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="gel">
+				<xsd:annotation>
+					<xsd:documentation>An inner core barrel that that seals off the core sample using gel as the sealing material.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="fiberglass">
+				<xsd:annotation>
+					<xsd:documentation>An inner core barrel made of glass fiber reinforced plastic.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type IntervalMethod.-->
+	<!--UNUSED: Deleted type IntervalType.-->
+	<!--UNUSED: Deleted type ItemState.-->
+	<!--UNUSED: Deleted type JarType.-->
+	<!--UNUSED: Deleted type JarAction.-->
+	<!--UNUSED: Deleted type LithologySource.-->
+	<!--UNUSED: Deleted type LithologyType.-->
+	<!--UNUSED: Deleted type LogDataType.-->
+	<!--UNUSED: Deleted type LogIndexDirection.-->
+	<!--UNUSED: Deleted type LogIndexType.-->
+	<!--UNUSED: Deleted type LogRectangularType.-->
+	<!--UNUSED: Deleted type LogSectionType.-->
+	<!--UNUSED: Deleted type LogTraceOrigin.-->
+	<!--UNUSED: Deleted type LogTraceState.-->
+	<!--UNUSED: Deleted type LogTrackType.-->
+	<!--UNUSED: Deleted type MaterialType.-->
+	<!--UNUSED: Deleted type MeasureClass.-->
+	<!--UNUSED: Deleted type MeasurementType.-->
+	<!--UNUSED: Deleted type MessageDigestType.-->
+	<!--UNUSED: Deleted type MessageProbability.-->
+	<!--UNUSED: Deleted type MessageSeverity.-->
+	<!--UNUSED: Deleted type MessageType.-->
+	<!--UNUSED: Deleted type MimeType.-->
+	<xsd:simpleType name="MudClass">
+		<xsd:annotation>
+			<xsd:documentation>Defines the class of a drilling fluid.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="water based">
+				<xsd:annotation>
+					<xsd:documentation>A drilling fluid in which water is the continuous phase.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="oil based">
+				<xsd:annotation>
+					<xsd:documentation>A drilling fluid in which oil is the continuous phase.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="other">
+				<xsd:annotation>
+					<xsd:documentation>A drilling fluid in which neither water nor oil is the continous phase.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type MudLogParameterType.-->
+	<xsd:simpleType name="NADTypes">
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="NAD27">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NAD83">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type NameTagLocation.-->
+	<!--UNUSED: Deleted type NameTagNumberingScheme.-->
+	<!--UNUSED: Deleted type NameTagTechnology.-->
+	<!--UNUSED: Deleted type NorthOrSouth.-->
+	<!--UNUSED: Deleted type NozzleType.-->
+	<!--UNUSED: Deleted type ObjectGrowingState.-->
+	<xsd:simpleType name="OpsReportVersion">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="preliminary">
+				<xsd:annotation>
+					<xsd:documentation>A preliminary report that has not yet been approved by the drilling operator. This report is normally issued at the beginning of the work day
+						(e.g., 6:00 am) before</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="normal">
+				<xsd:annotation>
+					<xsd:documentation>A normal daily staus report that has been approved by the drilling operator.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="final">
+				<xsd:annotation>
+					<xsd:documentation>A report that represents the final definitive status for the well. This report is normally issued some period of time (e.g., 6 months) after the
+						completion of drilling.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type PitType.-->
+	<!--UNUSED: Deleted type PrimitiveType.-->
+	<xsd:simpleType name="Projection">
+		<xsd:annotation>
+			<xsd:documentation>These values represent the type of coordinate system projection method. The source (except for "UserDefined") of the values is Geoshare V13. For a
+				detailed description of each value, see the Geoshare documentation of the indicated "217" object at
+				http://w3.posc.org/GeoshareSIG/technical/GDM/v13.0/.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="Albers equal area">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-ALBERS</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="azimuthal equidistant">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-AZIMUTHAL</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="Cassini">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-CASSINI</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="equidistant conic">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-EQUIDISTANT</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="equirectangular">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-EQUIRECTANGULAR</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="gnomonic">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-GNOMONIC</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="Lambert azimuthal">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-LAMBERT-AZIMUTH</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="Lambert conformal conic">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-LAMBERT</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="Mercator">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-MERCATOR</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="Miller">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-MILLER</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="oblique Mercator">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-OBLIQUE-MERCATOR</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="orthographic">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-ORTHO</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="perspective">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-PERSPECTIVE</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="polar stereographic">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-POLAR-STEREO</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="polyconic">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-POLYCONIC</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sinusoidal">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-SINUSOIDAL</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="state plane">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-STATE-PLANE</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="stereographic">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-STEREO</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="transverse Mercator">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-TM</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="universal transverse Mercator">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-UTM</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="user defined">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="Van der Grinten">
+				<xsd:annotation>
+					<xsd:documentation>217-PARAMETERS-PROJECTION-VANDERGRINTEN</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="ProjectionVariantsObliqueMercator">
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="default">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="rectified">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="rectified skew">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="rectified skew center origin">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="PresTestType">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="leak off test">
+				<xsd:annotation>
+					<xsd:documentation>A leakoff test is usually conducted immediately after drilling below a new casing shoe. During the test, the well is shut in and fluid is pumped
+						into the wellbore gradually to increase the pressure that the formation experiences.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation integrity test">
+				<xsd:annotation>
+					<xsd:documentation>If the formation is not able to withstand the given pressure, the result of the test is the strength of the formation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type PrincipalMeridian.-->
+	<!--UNUSED: Deleted type PumpType.-->
+	<!--UNUSED: Deleted type PumpOpType.-->
+	<!--UNUSED: Deleted type QualifierType.-->
+	<xsd:simpleType name="ReadingKind">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="measured">
+				<xsd:annotation>
+					<xsd:documentation>The reading was measured.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="estimated">
+				<xsd:annotation>
+					<xsd:documentation>The reading was estimated.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type RealtimeData.-->
+	<!--UNUSED: Deleted type RigType.-->
+	<!--UNUSED: Deleted type RiskAffectedPersonnel.-->
+	<!--UNUSED: Deleted type RiskCategory.-->
+	<!--UNUSED: Deleted type RiskSubCategory.-->
+	<!--UNUSED: Deleted type RiskType.-->
+	<!--UNUSED: Deleted type ScrType.-->
+	<!--UNUSED: Deleted type ShowFluorescence.-->
+	<!--UNUSED: Deleted type ShowLevel.-->
+	<!--UNUSED: Deleted type ShowRating.-->
+	<!--UNUSED: Deleted type ShowSpeed.-->
+	<xsd:simpleType name="StateDetailActivity">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="injury">
+				<xsd:annotation>
+					<xsd:documentation>Personnel injury in connection with drilling and/or drilling related operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="operation failed">
+				<xsd:annotation>
+					<xsd:documentation>Operation failed to achieve objective.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="kick">
+				<xsd:annotation>
+					<xsd:documentation>Formation fluid invading the well bore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="circulation loss">
+				<xsd:annotation>
+					<xsd:documentation>Circulation lost to the formation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud loss">
+				<xsd:annotation>
+					<xsd:documentation>Circulation impossible due to plugging or failure of equipment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="stuck equipment">
+				<xsd:annotation>
+					<xsd:documentation>Equipment got stuck in the hole.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="equipment failure">
+				<xsd:annotation>
+					<xsd:documentation>Equipment failure occurred.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="equipment hang">
+				<xsd:annotation>
+					<xsd:documentation>Operations had to be aborted due to a hang of operation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="success">
+				<xsd:annotation>
+					<xsd:documentation>Operation achieved objective.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type SupportCraft.-->
+	<!--UNUSED: Deleted type SurfEquipType.-->
+	<!--UNUSED: Deleted type TargetCategory.-->
+	<!--UNUSED: Deleted type TargetScope.-->
+	<!--UNUSED: Deleted type TargetSectionScope.-->
+	<!--UNUSED: Deleted type TrajStnCalcAlgorithm.-->
+	<!--UNUSED: Deleted type TrajStationStatus.-->
+	<!--UNUSED: Deleted type TrajStationType.-->
+	<!--UNUSED: Deleted type TubularAssembly.-->
+	<!--UNUSED: Deleted type TubularComponent.-->
+	<!--UNUSED: Deleted type TypeSurveyTool.-->
+	<xsd:simpleType name="WellControlIncidentType">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="shallow gas kick">
+				<xsd:annotation>
+					<xsd:documentation>An well control incident where shallow gas is flowing incidently into a well being drilled.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="water kick">
+				<xsd:annotation>
+					<xsd:documentation>An well control incident where water is flowing incidently into a well being drilled.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="oil kick">
+				<xsd:annotation>
+					<xsd:documentation>An well control incident where crude oil is flowing incidently into a well being drilled.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="gas kick">
+				<xsd:annotation>
+					<xsd:documentation>An well control incident where gas is flowing incidently into a well being drilled.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type WellDirection.-->
+	<!--UNUSED: Deleted type WellFluid.-->
+	<xsd:simpleType name="WellKillingProcedureType">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="drillers method">
+				<xsd:annotation>
+					<xsd:documentation>A well killing procedure that is presecribing circulation the kick fluids out of the well and then circulating a higher density kill mud through
+						the kill line into the well through an adjustable choke.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="wait and weight">
+				<xsd:annotation>
+					<xsd:documentation>A well killing procedure that is presecribing circulating heavier kill mud while a constant downhole pressure is maintained by pressure relief
+						through a choke.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="bullheading">
+				<xsd:annotation>
+					<xsd:documentation>A well killing procedure that is prescribing pumping of kill weight fluid down the tubing and forcing the wellbore fluids back into the formation
+						through the perforations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="lubricate and bleed">
+				<xsd:annotation>
+					<xsd:documentation>A well killing procedure that is prescribing to pump a volume of killing fluid corresponding to half the volume of the well tubing into the well,
+						observing the well for 30 - 60 minutes and wait for the tubing head pressure to drop, then pump additional killing fluid into the well and when the wellhead
+						pressure does not exceed 200 psi above observed tubing head pressure bleed off gas from the tubing at high rate.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="forward circulation">
+				<xsd:annotation>
+					<xsd:documentation>A well killing procedure that is prescribing a drilling fluid circulation down the tubing, through a circulation device (or out the end of a work
+						string/coiled tubing) and up the annulus.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="reverse circulation">
+				<xsd:annotation>
+					<xsd:documentation>A well killing procedure that is prescribing a drilling fluid circulation down the completion annulus, workstring annulus or pipe annulus and
+						taking returns up the tubing, workstring or pipe.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="WellNamingSystem">
+		<xsd:annotation>
+			<xsd:documentation>The types of well/wellbore naming systems.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="DTI">
+				<xsd:annotation>
+					<xsd:documentation>United Kingdom Department of Trade and Industry</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="API">
+				<xsd:annotation>
+					<xsd:documentation>American Petroleum Institute well number (10,12 or 14 digits).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NPD code">
+				<xsd:annotation>
+					<xsd:documentation>Norwegian Petroleum Directorate wellbore code</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="NPD number">
+				<xsd:annotation>
+					<xsd:documentation>Norwegian Petroleum Directorate wellbore number</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="local field">
+				<xsd:annotation>
+					<xsd:documentation>A name assigned that is meaningful within the context of the field in which it is located. There are not specifications on how to form this
+						name.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="prospect">
+				<xsd:annotation>
+					<xsd:documentation>A name assigned to a prospect - a well that has not yet been drilled.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="WellTestType">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="drill stem test">
+				<xsd:annotation>
+					<xsd:documentation>A test to determine the productive capacity, pressure, permeability or extent (or a combination of these) of a hydrocarbon reservoir, with the
+						drillstring still in the hole.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="production test">
+				<xsd:annotation>
+					<xsd:documentation>A test to determine the daily rate of oil, gas, and water production from a (potential) reservoir.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type WellboreShape.-->
+	<xsd:simpleType name="WellboreType">
+		<xsd:annotation>
+			<xsd:documentation>The classification of a wellbore with respect to its parent well/wellbore.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="bypass">
+				<xsd:annotation>
+					<xsd:documentation>The original wellbore had to be abandoned before its final usage. This wellbore is being drilled as a different wellbore, but one which has the
+						same target as the one that was abandoned.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="initial">
+				<xsd:annotation>
+					<xsd:documentation>This is the first wellbore that has been drilled, or attempted, in a given well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="redrill">
+				<xsd:annotation>
+					<xsd:documentation>The wellbore is being redrilled.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="reentry">
+				<xsd:annotation>
+					<xsd:documentation>The wellbore is being reentered after a period of abandonment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="respud">
+				<xsd:annotation>
+					<xsd:documentation>The wellbore is part of an existing regulatory well. The original borehole did not reach the target depth. This borehole required the well to be
+						respudded (drilled from a different surface position).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sidetrack">
+				<xsd:annotation>
+					<xsd:documentation>The wellbore is a deviation from a given wellbore, that produces a different borehole from the others, and whose bottomhole differs from any
+						previously extisting wellbore bottomholes.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="unknown".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type WellPurpose.-->
+	<!--UNUSED: Deleted type WellStatus.-->
+	<xsd:simpleType name="date" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A julian date.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractDate"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="timestamp" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A date with a time of day and a mandatory time zone offset. This must captute the correct date-time relative to UTC. It is not necessary to use a local
+				time zone because software may convert the date-time to a different local time zone (while retaining correct date-time relative to UTC). See acquisitionTmeZone in
+				commonData for the original time zone of times in an object.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-39, Change=Modified-description</xsd:appinfo>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-39, Change=Modified-constraint</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractDateTime">
+			<xsd:pattern value=".+T.+[Z+\-].*"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type timeZone.-->
+	<!--UNUSED: Deleted type timestampedTimeZone.-->
+	<!--UNUSED: Deleted type calendarYear.-->
+	<xsd:simpleType name="logicalBoolean" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>Values of "true" (or "1") and "false" (or "0").</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractBoolean"/>
+	</xsd:simpleType>
+	<xsd:complexType name="yAxisAzimuth" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>The angle of a Y axis from North. This is a variation of planeAngleMeasure with an attribute defining the direction of north.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:PlaneAngleUom" use="required">
+					<xsd:annotation>
+						<xsd:documentation>The unit of measure of the azimuth value.</xsd:documentation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:planeAngleUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+				<xsd:attribute name="northDirection" type="witsml:AziRef" use="optional">
+					<xsd:annotation>
+						<xsd:documentation>Specifies the direction to be considered North for the y axis.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="volumePerVolumeMeasurePercent" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A volume per volume measure that is constrained to a unit of percent.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:PercentUom" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="unitlessQuantity" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A unitless quantity. This should not be confused with a dimensionless measure.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractDouble"/>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type genericMeasure.-->
+	<!--UNUSED: Deleted type ratioGenericMeasure.-->
+	<!--UNUSED: Deleted type indexCurve.-->
+	<!--UNUSED: Deleted type fileName.-->
+	<!--UNUSED: Deleted type checksum.-->
+	<!--UNUSED: Deleted type listOfString.-->
+	<xsd:simpleType name="uidString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A locally unique identifier. The value is not intended to convey any semantic content (e.g., it may be computer generated).</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-5, Change=Modified-description</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUidString"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="uidParentString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A unique identifier of an object parent. This should only be used for the uid of a parent object (i.e., a foreign key to another object). It should not
+				be used for child nodes of an object. The value is not intended to convey any semantic content (e.g., it may be computer generated). The purpose of this type is to
+				facilitate modifying the optionality of parentage uids in derived schemas.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-5, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUidString"/>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type refString.-->
+	<xsd:complexType name="refNameString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A reference to a name in another node of the xml hierachy. This value represents a foreign key from one element to another.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractNameString">
+				<!--PROFILE: Deleted attribute uidRef.-->
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type refObjectString.-->
+	<!--UNUSED: Deleted type refPositiveCount.-->
+	<xsd:simpleType name="refWellDatum" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A reference to a wellDatum in the current well. This value must match the uid value in a WellDatum. This value represents a foreign key from one
+				element to another. This is an exception to the convention that a foreign key must utilize both a human contextual name and a uid value. For messages outside the context
+				of a server then this value will commonly match the value of the name of the wellDatum (e.g., 'KB') if uids are not not used in that context. This was a compromise in
+				order to allow the coordinate structures to be simple and still be usable both within the context of a server and outside the context of a server.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUidString"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="nameString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A user assigned human recognizable contextual name of something. There should be no assumption that (interoperable) semantic information will be
+				extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an
+				enumeration.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractNameString"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="commentString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A comment or remark intended for human consumption. There should be no assumption that semantics can be extracted from this field by a computer.
+				Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractCommentString"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="descriptionString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A textual description of something.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Changed-type-from:abstractString</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractDescriptionString"/>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type shortDescriptionString.-->
+	<!--UNUSED: Deleted type timestampedDescriptionString.-->
+	<!--UNUSED: Deleted type encodedArrayString.-->
+	<!--UNUSED: Deleted type encodedValueString.-->
+	<!--UNUSED: Deleted type extensionvalue.-->
+	<xsd:simpleType name="kindString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A community assigned human recognizable name. This type of value is intended to be unique and is generally a candidate to be constrained to an
+				enumerated list.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="uomString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A unit of measure acronym from the POSC unit of measure file.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum"/>
+	</xsd:simpleType>
+	<xsd:simpleType name="schemaVersionString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>The version of the schema. The first three levels are fixed. The fourth level can vary to represent on the constraints defined in enumerations and XML
+				loader files.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="16"/>
+			<xsd:pattern value="1\.4\.0\.([0-9]|([1-9][0-9]))"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="nameStruct" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>The name of something within a naming system.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractNameString">
+				<xsd:attribute name="namingSystem" type="witsml:nameString" use="optional">
+					<xsd:annotation>
+						<xsd:documentation>The naming system within the name is (hopefully) unique.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="wellKnownNameStruct" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>The name of something within a mandatory naming system with an optional code.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractNameString">
+				<xsd:attribute name="namingSystem" type="witsml:nameString" use="required">
+					<xsd:annotation>
+						<xsd:documentation>The naming system within the name is unique.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+				<xsd:attribute name="code" type="witsml:kindString" use="optional">
+					<xsd:annotation>
+						<xsd:documentation>A unique (short) code associated with the name.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type uncollapsedString.-->
+	<!--UNUSED: Deleted type iadcBearingWearCode.-->
+	<xsd:simpleType name="geodeticZoneString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A geodetic zone with values from 1 to 60 and a required direction of "N" (North) or "S" (South). For example, "21N".</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="3"/>
+			<xsd:pattern value="([1-9]|[1-5][0-9]|60)[NS]"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="measuredDepthCoord" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A measured depth coordinate in a wellbore. Positive moving from the reference datum toward the bottomhole. All coordinates with the same datum (and
+				same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:MeasuredDepthUom" use="required">
+					<xsd:annotation>
+						<xsd:documentation>The unit of measure of the quantity value.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+				<xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+					<xsd:annotation>
+						<xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. This value is assumed to match the uid value in a
+							WellDatum. If not given then the default WellDatum must be assumed.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="wellVerticalDepthCoord" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A vertical (gravity based) depth coordinate within the context of a well. Positive moving downward from the reference datum. All coordinates with the
+				same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required">
+					<xsd:annotation>
+						<xsd:documentation>The unit of measure of the quantity value.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+				<xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+					<xsd:annotation>
+						<xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be
+							assumed.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="wellElevationCoord" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A vertical (gravity based) elevation coordinate within the context of a well. Positive moving upward from the reference datum. All coordinates with the
+				same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required">
+					<xsd:annotation>
+						<xsd:documentation>The unit of measure of the quantity value. If not given then the default unit of measure of the explicitly or implicitly given datum must be
+							assumed.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+				<xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+					<xsd:annotation>
+						<xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be
+							assumed.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type sectionNumber.-->
+	<!--UNUSED: Deleted type publicLandSurveySystemQuarterTownship.-->
+	<!--UNUSED: Deleted type publicLandSurveySystemQuarterSection.-->
+	<!--UNUSED: Deleted type footageNorthSouth.-->
+	<!--UNUSED: Deleted type footageEastWest.-->
+	<!--UNUSED: Deleted type nonNegativeCount.-->
+	<!--UNUSED: Deleted type nonNegativeBigCount.-->
+	<xsd:simpleType name="positiveCount" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A positive integer (one based count or index).</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractPositiveCount">
+			<xsd:minInclusive value="1">
+				<xsd:annotation>
+					<xsd:documentation>This value cannot be negative or zero.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:minInclusive>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type positiveBigCount.-->
+	<!--UNUSED: Deleted type integerCount.-->
+	<!--UNUSED: Deleted type beaufortScaleIntegerCode.-->
+	<!--UNUSED: Deleted type pumpActionIntegerCode.-->
+	<!--UNUSED: Deleted type iadcIntegerCode.-->
+	<!--UNUSED: Deleted type levelIntegerCode.-->
+	<!--UNUSED: Deleted type cost.-->
+	<xsd:complexType name="indexedObject" final="#all">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractTypeEnum">
+				<xsd:attribute name="index" type="witsml:positiveCount" use="required">
+					<xsd:annotation>
+						<xsd:documentation>Indexes things with the same name. That is the first one, the second one, etc.</xsd:documentation>
+					</xsd:annotation>
+				</xsd:attribute>
+				<xsd:attribute name="name" type="witsml:kindString" use="optional"/>
+				<xsd:attribute name="uom" type="witsml:uomString" use="optional"/>
+				<xsd:attribute name="description" type="witsml:descriptionString" use="optional"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type str2.-->
+	<xsd:simpleType name="str16" final="#all">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="16"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="str32" final="#all">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-44, Change=Changed-type-from:abstractString</xsd:appinfo>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString32"/>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type accelerationLinearMeasure.-->
+	<!--UNUSED: Deleted type anglePerLengthMeasure.-->
+	<!--UNUSED: Deleted type anglePerTimeMeasure.-->
+	<!--UNUSED: Deleted type areaMeasure.-->
+	<!--UNUSED: Deleted type areaPerAreaMeasure.-->
+	<xsd:complexType name="densityMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:DensityUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:densityUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type dimensionlessMeasure.-->
+	<xsd:complexType name="dynamicViscosityMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:DynamicViscosityUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:dynamicViscosityUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type electricCurrentMeasure.-->
+	<!--UNUSED: Deleted type electricPotentialMeasure.-->
+	<!--UNUSED: Deleted type equivalentPerMassMeasure.-->
+	<!--UNUSED: Deleted type forceMeasure.-->
+	<!--UNUSED: Deleted type forcePerLengthMeasure.-->
+	<!--UNUSED: Deleted type forcePerVolumeMeasure.-->
+	<!--UNUSED: Deleted type illuminanceMeasure.-->
+	<xsd:complexType name="lengthMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:LengthUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:lengthUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type lengthPerLengthMeasure.-->
+	<!--UNUSED: Deleted type magneticInductionMeasure.-->
+	<!--UNUSED: Deleted type massConcentrationMeasure.-->
+	<!--UNUSED: Deleted type massMeasure.-->
+	<!--UNUSED: Deleted type massPerLengthMeasure.-->
+	<!--UNUSED: Deleted type momentOfForceMeasure.-->
+	<!--UNUSED: Deleted type perLengthMeasure.-->
+	<xsd:complexType name="planeAngleMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:PlaneAngleUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:planeAngleUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type powerMeasure.-->
+	<xsd:complexType name="pressureMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:PressureUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:pressureUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type relativePowerMeasure.-->
+	<!--UNUSED: Deleted type specificVolumeMeasure.-->
+	<!--UNUSED: Deleted type thermodynamicTemperatureMeasure.-->
+
+	<!-- Added 07/02 - 2011 -->
+	<xsd:simpleType name="specificVolumeUomCubicFeetPer94PoundSack">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="ft3/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="specificVolumeMeasureCubicFeetPer94PoundSack">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:specificVolumeUomCubicFeetPer94PoundSack" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="specificVolumeUomUsGallonsPerSack94">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="galUS/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="specificVolumeMeasureUsGallonsPerSack94">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:specificVolumeUomUsGallonsPerSack94" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUomCubicMeterPerMin">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/min"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- END Added 07/02 - 2011 -->
+	<xsd:complexType name="timeMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:TimeUom" 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 velocityMeasure.-->
+	<!--UNUSED: Deleted type volumeMeasure.-->
+	<!--UNUSED: Deleted type volumeFlowRateMeasure.-->
+
+	<!-- Added 07/02 - 2011 -->
+	<xsd:complexType name="volumeFlowRateMeasureCubicMeterPerMin">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUomCubicMeterPerMin" use="required"/>
+			</xsd:extension>
+		</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>
+			<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:simpleType name="anglePerTimeUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="rpm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="areaMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:areaUom" 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>
+	<!-- END Added 07/02 - 2011 -->
+
+	<xsd:complexType name="volumePerVolumeMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:VolumePerVolumeUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:volumePerVolumeUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="PercentUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="%"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="MeasuredDepthUom">
+		<xsd:annotation>
+			<xsd:documentation>The units of measure that are valid for measured depths in a wellbore.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>meter</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="ft".-->
+			<!--PROFILE: Deleted enumeration value="ftUS".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="WellVerticalCoordinateUom">
+		<xsd:annotation>
+			<xsd:documentation>The units of measure that are valid for vertical gravity based coordinates (i.e., elevation or vertical depth) within the context of a
+				well.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>meter</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<!--PROFILE: Deleted enumeration value="ft".-->
+			<!--PROFILE: Deleted enumeration value="ftUS".-->
+			<!--PROFILE: Deleted enumeration value="ftBr(65)".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type AccelerationLinearUom.-->
+	<!--UNUSED: Deleted type AnglePerLengthUom.-->
+	<!--UNUSED: Deleted type AnglePerTimeUom.-->
+	<!--UNUSED: Deleted type AreaUom.-->
+	<!--UNUSED: Deleted type AreaPerAreaUom.-->
+
+	<!-- Added 07/02 - 2011 -->
+	<xsd:simpleType name="anglePerTimeUomRpm">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="rpm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="anglePerTimeMeasureRpm">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:anglePerTimeUomRpm" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+
+	<xsd:simpleType name="areaUomSquareInch">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="areaMeasureSquareInch">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:areaUomSquareInch" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!-- END Added 07/02 - 2011 -->
+
+	<xsd:simpleType name="DensityUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:densityUom</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<!--PROFILE: Deleted enumeration value="kg/m3".-->
+			<!--PROFILE: Deleted enumeration value="10Mg/m3".-->
+			<!--PROFILE: Deleted enumeration value="dAPI".-->
+			<xsd:enumeration value="g/cm3"/>
+			<!--PROFILE: Deleted enumeration value="g/dm3".-->
+			<!--PROFILE: Deleted enumeration value="g/galUK".-->
+			<!--PROFILE: Deleted enumeration value="g/galUS".-->
+			<!--PROFILE: Deleted enumeration value="g/L".-->
+			<!--PROFILE: Deleted enumeration value="g/m3".-->
+			<!--PROFILE: Deleted enumeration value="grain/ft3".-->
+			<!--PROFILE: Deleted enumeration value="grain/galUS".-->
+			<!--PROFILE: Deleted enumeration value="grain/100ft3".-->
+			<!--PROFILE: Deleted enumeration value="kg/dm3".-->
+			<!--PROFILE: Deleted enumeration value="kg/L".-->
+			<!--PROFILE: Deleted enumeration value="Mg/m3".-->
+			<!--PROFILE: Deleted enumeration value="lbm/10bbl".-->
+			<!--PROFILE: Deleted enumeration value="lbm/bbl".-->
+			<!--PROFILE: Deleted enumeration value="lbm/ft3".-->
+			<!--PROFILE: Deleted enumeration value="lbm/galUK".-->
+			<!--PROFILE: Deleted enumeration value="lbm/1000galUK".-->
+			<!--PROFILE: Deleted enumeration value="lbm/galUS".-->
+			<!--PROFILE: Deleted enumeration value="lbm/1000galUS".-->
+			<!--PROFILE: Deleted enumeration value="lbm/in3".-->
+			<!--PROFILE: Deleted enumeration value="lbm/Mbbl".-->
+			<!--PROFILE: Deleted enumeration value="mg/dm3".-->
+			<!--PROFILE: Deleted enumeration value="mg/galUS".-->
+			<!--PROFILE: Deleted enumeration value="mg/L".-->
+			<!--PROFILE: Deleted enumeration value="mg/m3".-->
+			<!--PROFILE: Deleted enumeration value="ug/cm3".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type DimensionlessUom.-->
+	<xsd:simpleType name="DynamicViscosityUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:dynamicViscosityUom</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="Pa.s"/>
+			<xsd:enumeration value="cP"/>
+			<xsd:enumeration value="P"/>
+			<xsd:enumeration value="psi.s"/>
+			<xsd:enumeration value="dyne.s/cm2"/>
+			<xsd:enumeration value="kgf.s/m2"/>
+			<xsd:enumeration value="lbf.s/ft2"/>
+			<xsd:enumeration value="lbf.s/in2"/>
+			<xsd:enumeration value="mPa.s"/>
+			<xsd:enumeration value="N.s/m2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type ElectricCurrentUom.-->
+	<!--UNUSED: Deleted type ElectricPotentialUom.-->
+	<!--UNUSED: Deleted type EquivalentPerMassUom.-->
+	<!--UNUSED: Deleted type ForceUom.-->
+	<!--UNUSED: Deleted type ForcePerLengthUom.-->
+	<!--UNUSED: Deleted type ForcePerVolumeUom.-->
+	<!--UNUSED: Deleted type IlluminanceUom.-->
+	<xsd:simpleType name="LengthUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:lengthUom</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m"/>
+			<xsd:enumeration value="angstrom"/>
+			<xsd:enumeration value="chBnA"/>
+			<xsd:enumeration value="chBnB"/>
+			<xsd:enumeration value="chCla"/>
+			<xsd:enumeration value="chSe"/>
+			<xsd:enumeration value="chUS"/>
+			<xsd:enumeration value="cm"/>
+			<xsd:enumeration value="dm"/>
+			<xsd:enumeration value="fathom"/>
+			<xsd:enumeration value="fm"/>
+			<xsd:enumeration value="ft"/>
+			<xsd:enumeration value="ftBnA"/>
+			<xsd:enumeration value="ftBnB"/>
+			<xsd:enumeration value="ftBr(65)"/>
+			<xsd:enumeration value="ftCla"/>
+			<xsd:enumeration value="ftGC"/>
+			<xsd:enumeration value="ftInd"/>
+			<xsd:enumeration value="ftInd(37)"/>
+			<xsd:enumeration value="ftInd(62)"/>
+			<xsd:enumeration value="ftInd(75)"/>
+			<xsd:enumeration value="ftMA"/>
+			<xsd:enumeration value="ftSe"/>
+			<xsd:enumeration value="ftUS"/>
+			<xsd:enumeration value="in"/>
+			<xsd:enumeration value="in/10"/>
+			<xsd:enumeration value="in/16"/>
+			<xsd:enumeration value="in/32"/>
+			<xsd:enumeration value="in/64"/>
+			<xsd:enumeration value="inUS"/>
+			<xsd:enumeration value="km"/>
+			<xsd:enumeration value="lkBnA"/>
+			<xsd:enumeration value="lkBnB"/>
+			<xsd:enumeration value="lkCla"/>
+			<xsd:enumeration value="lkSe"/>
+			<xsd:enumeration value="lkUS"/>
+			<xsd:enumeration value="mGer"/>
+			<xsd:enumeration value="mi"/>
+			<xsd:enumeration value="mil"/>
+			<xsd:enumeration value="miUS"/>
+			<xsd:enumeration value="mm"/>
+			<xsd:enumeration value="Mm"/>
+			<xsd:enumeration value="nautmi"/>
+			<xsd:enumeration value="nm"/>
+			<xsd:enumeration value="pm"/>
+			<xsd:enumeration value="um"/>
+			<xsd:enumeration value="yd"/>
+			<xsd:enumeration value="ydBnA"/>
+			<xsd:enumeration value="ydBnB"/>
+			<xsd:enumeration value="ydCla"/>
+			<xsd:enumeration value="ydIm"/>
+			<xsd:enumeration value="ydInd"/>
+			<xsd:enumeration value="ydInd(37)"/>
+			<xsd:enumeration value="ydInd(62)"/>
+			<xsd:enumeration value="ydInd(75)"/>
+			<xsd:enumeration value="ydSe"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type LengthPerLengthUom.-->
+	<!--UNUSED: Deleted type MagneticInductionUom.-->
+	<!--UNUSED: Deleted type MassConcentrationUom.-->
+	<!--UNUSED: Deleted type MassUom.-->
+	<!--UNUSED: Deleted type MassPerLengthUom.-->
+	<!--UNUSED: Deleted type MomentOfForceUom.-->
+	<!--UNUSED: Deleted type PerLengthUom.-->
+
+	<!-- Added 07/02 - 2011 -->
+	<xsd:simpleType name="massPerLengthUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="massPerLengthMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:massPerLengthUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:massPerLengthUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</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">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="lbm/ft"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="massPerLengthMeasurePoundsMassPerFoot">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:massPerLengthUomPoundsMassPerFoot" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+
+	<xsd:simpleType name="pressureUomPsig">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="psig"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="pressureMeasurePsig">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:pressureUomPsig" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+
+	<xsd:simpleType name="specificVolumeUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="ft3/sack94"/>
+			<xsd:enumeration value="galUS/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeFlowRateMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:volumeFlowRateUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/min"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- END Added 07/02 - 2011 -->
+
+	<xsd:simpleType name="PlaneAngleUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:planeAngleUom</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<!--PROFILE: Deleted enumeration value="rad".-->
+			<!--PROFILE: Deleted enumeration value="c".-->
+			<!--PROFILE: Deleted enumeration value="ccgr".-->
+			<!--PROFILE: Deleted enumeration value="cgr".-->
+			<xsd:enumeration value="dega"/>
+			<!--PROFILE: Deleted enumeration value="gon".-->
+			<!--PROFILE: Deleted enumeration value="gr".-->
+			<!--PROFILE: Deleted enumeration value="Grad".-->
+			<!--PROFILE: Deleted enumeration value="krad".-->
+			<!--PROFILE: Deleted enumeration value="mila".-->
+			<!--PROFILE: Deleted enumeration value="mina".-->
+			<!--PROFILE: Deleted enumeration value="mrad".-->
+			<!--PROFILE: Deleted enumeration value="Mrad".-->
+			<!--PROFILE: Deleted enumeration value="mseca".-->
+			<!--PROFILE: Deleted enumeration value="seca".-->
+			<!--PROFILE: Deleted enumeration value="urad".-->
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type PowerUom.-->
+	<xsd:simpleType name="PressureUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:pressureUom</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="Pa"/>
+			<xsd:enumeration value="at"/>
+			<xsd:enumeration value="atm"/>
+			<xsd:enumeration value="bar"/>
+			<xsd:enumeration value="cmH2O(4degC)"/>
+			<xsd:enumeration value="dyne/cm2"/>
+			<xsd:enumeration value="GPa"/>
+			<xsd:enumeration value="hbar"/>
+			<xsd:enumeration value="inH2O(39.2F)"/>
+			<xsd:enumeration value="inH2O(60F)"/>
+			<xsd:enumeration value="inHg(32F)"/>
+			<xsd:enumeration value="inHg(60F)"/>
+			<xsd:enumeration value="kgf/cm2"/>
+			<xsd:enumeration value="kgf/mm2"/>
+			<xsd:enumeration value="kN/m2"/>
+			<xsd:enumeration value="kPa"/>
+			<xsd:enumeration value="kpsi"/>
+			<xsd:enumeration value="lbf/ft2"/>
+			<xsd:enumeration value="lbf/100ft2"/>
+			<xsd:enumeration value="lbf/in2"/>
+			<xsd:enumeration value="mbar"/>
+			<xsd:enumeration value="mmHg(0C)"/>
+			<xsd:enumeration value="mPa"/>
+			<xsd:enumeration value="MPa"/>
+			<xsd:enumeration value="Mpsi"/>
+			<xsd:enumeration value="N/m2"/>
+			<xsd:enumeration value="N/mm2"/>
+			<xsd:enumeration value="Pa(g)"/>
+			<xsd:enumeration value="pPa"/>
+			<xsd:enumeration value="psi"/>
+			<xsd:enumeration value="psia"/>
+			<xsd:enumeration value="psig"/>
+			<xsd:enumeration value="tonfUS/ft2"/>
+			<xsd:enumeration value="tonfUS/in2"/>
+			<xsd:enumeration value="torr"/>
+			<xsd:enumeration value="ubar"/>
+			<xsd:enumeration value="umHg(0C)"/>
+			<xsd:enumeration value="uPa"/>
+			<xsd:enumeration value="upsi"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type RelativePowerUom.-->
+	<!--UNUSED: Deleted type SpecificVolumeUom.-->
+	<!--UNUSED: Deleted type ThermodynamicTemperatureUom.-->
+	<xsd:simpleType name="TimeUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:timeUom</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="s"/>
+			<xsd:enumeration value="a"/>
+			<xsd:enumeration value="cs"/>
+			<xsd:enumeration value="d"/>
+			<xsd:enumeration value="Ga"/>
+			<xsd:enumeration value="h"/>
+			<xsd:enumeration value="100s"/>
+			<xsd:enumeration value="Ma"/>
+			<xsd:enumeration value="min"/>
+			<xsd:enumeration value="ms"/>
+			<xsd:enumeration value="ms/2"/>
+			<xsd:enumeration value="ns"/>
+			<xsd:enumeration value="ps"/>
+			<xsd:enumeration value="us"/>
+			<xsd:enumeration value="wk"/>
+			<xsd:enumeration value="100ka"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--UNUSED: Deleted type VelocityUom.-->
+	<!--UNUSED: Deleted type VolumeUom.-->
+	<!--UNUSED: Deleted type VolumeFlowRateUom.-->
+	<xsd:simpleType name="VolumePerVolumeUom">
+		<xsd:annotation>
+			<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:volumePerVolumeUom</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="Euc"/>
+			<xsd:enumeration value="%"/>
+			<xsd:enumeration value="permil"/>
+			<xsd:enumeration value="ppdk"/>
+			<xsd:enumeration value="ppk"/>
+			<xsd:enumeration value="ppm"/>
+			<xsd:enumeration value="bbl/acre.ft"/>
+			<xsd:enumeration value="bbl/bbl"/>
+			<xsd:enumeration value="bbl/ft3"/>
+			<xsd:enumeration value="bbl/100bbl"/>
+			<xsd:enumeration value="bbl/k(ft3)"/>
+			<xsd:enumeration value="bbl/M(ft3)"/>
+			<xsd:enumeration value="cm3/cm3"/>
+			<xsd:enumeration value="cm3/m3"/>
+			<xsd:enumeration value="dm3/m3"/>
+			<xsd:enumeration value="ft3/bbl"/>
+			<xsd:enumeration value="ft3/ft3"/>
+			<xsd:enumeration value="galUS/kgalUS"/>
+			<xsd:enumeration value="galUK/kgalUK"/>
+			<xsd:enumeration value="galUK/ft3"/>
+			<xsd:enumeration value="galUK/Mbbl"/>
+			<xsd:enumeration value="galUS/bbl"/>
+			<xsd:enumeration value="galUS/10bbl"/>
+			<xsd:enumeration value="galUS/ft3"/>
+			<xsd:enumeration value="galUS/Mbbl"/>
+			<xsd:enumeration value="1000ft3/bbl"/>
+			<xsd:enumeration value="ksm3/sm3"/>
+			<xsd:enumeration value="L/10bbl"/>
+			<xsd:enumeration value="L/m3"/>
+			<xsd:enumeration value="m3/ha.m"/>
+			<xsd:enumeration value="m3/m3"/>
+			<xsd:enumeration value="M(ft3)/acre.ft"/>
+			<xsd:enumeration value="mL/galUK"/>
+			<xsd:enumeration value="mL/galUS"/>
+			<xsd:enumeration value="mL/mL"/>
+			<xsd:enumeration value="MMbbl/acre.ft"/>
+			<xsd:enumeration value="MMscf60/stb60"/>
+			<xsd:enumeration value="Mscf60/stb60"/>
+			<xsd:enumeration value="ptUK/Mbbl"/>
+			<xsd:enumeration value="ptUS/10bbl"/>
+			<xsd:enumeration value="pu"/>
+			<xsd:enumeration value="scm15/stb60"/>
+			<xsd:enumeration value="sm3/ksm3"/>
+			<xsd:enumeration value="sm3/sm3"/>
+			<xsd:enumeration value="stb60/MMscf60"/>
+			<xsd:enumeration value="stb60/MMscm15"/>
+			<xsd:enumeration value="stb60/Mscf60"/>
+			<xsd:enumeration value="stb60/Mscm15"/>
+			<xsd:enumeration value="stb60/scm15"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="timestampedCommentString" final="#all">
+		<xsd:annotation>
+			<xsd:documentation>A timestamped textual long description.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractCommentString">
+				<xsd:attribute name="dTim" type="witsml:timestamp" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="lengthUomInch">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="lengthMeasureInch">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:lengthUomInch" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="lengthUomMilliMetre">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="mm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="lengthMeasureMilliMetre">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:lengthUomMilliMetre" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="lengthUomMetre">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="lengthMeasureMetre">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:lengthUomMetre" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="UomPartPerMillion">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="ppm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="massConcentrationMeasurePartPerMillion">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:UomPartPerMillion" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<!--UNUSED: Deleted type planeAngleUomDegreeOfAnAngle.-->
+	<xsd:simpleType name="pressureUomBar">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="bar"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="pressureMeasureBar">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:pressureUomBar" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="pressureUomMegaPascals">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="MPa"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="pressureMeasureMegaPascals">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:pressureUomMegaPascals" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="thermodynamicTemperatureUomCelsius">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="degC"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="thermodynamicTemperatureMeasureCelsius">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:thermodynamicTemperatureUomCelsius" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="timeUomHour">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="h"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="timeMeasureHour">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:timeUomHour" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="velocityUomMetresPerHour">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m/h"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="velocityMeasureMetresPerHour">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:velocityUomMetresPerHour" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUomCubicMetresPerDay">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/d"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeFlowRateMeasureCubicMetresPerDay">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUomCubicMetresPerDay" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUomMillionCubicMetresPerDay">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="M(m3)/d"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeFlowRateMeasureMillionCubicMetresPerDay">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUomMillionCubicMetresPerDay" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeUomCubicDeciMetre">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="dm3"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeMeasureCubicDeciMetre">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeUomCubicDeciMetre" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumePerVolumeUomCubicMetresPerCubicMetre">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/m3"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumePerVolumeMeasureCubicMetresPerCubicMetre">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumePerVolumeUomCubicMetresPerCubicMetre" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="volumePerVolumeMeasurePartPerMillion">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:UomPartPerMillion" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeUomCubicMetre">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeMeasureCubicMetre">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeUomCubicMetre" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeMeasureUomMillionCubicMetres">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="M(m3)"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeMeasureMillionCubicMetres">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeMeasureUomMillionCubicMetres" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="PhaseType">
+		<xsd:annotation>
+			<xsd:documentation>A CDRS operation class that is a class of drilling activities involving the use of new drilling equipment and techniqes.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="16"/>
+			<xsd:enumeration value="fixed" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731817">
+				<xsd:annotation>
+					<xsd:documentation>To do drilling, completion, well-intervention or workover by use of traditional types of drilling equipment and techniques, like permanetly
+						installed and fixed rig and equipment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="snub" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731892">
+				<xsd:annotation>
+					<xsd:documentation>A snubbing activity performed by use of equipment not permanently installed on the platform as defined by cdrs</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="coil" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731742">
+				<xsd:annotation>
+					<xsd:documentation>To do by the use of a coiled tubing string and associated equipment for well-intervention, drilling or workover.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731577">
+				<xsd:annotation>
+					<xsd:documentation>A wire line activity using single-strand or multi-strand wire or cable for logging or intervention in oil or gas wellsas defined by
+						cdrs</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="bop test" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731697">
+				<xsd:annotation>
+					<xsd:documentation>To test the BOP and other well control equipment and systems and related activities as defined by cdrs.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="MainActivityEvaluation">
+		<xsd:annotation>
+			<xsd:documentation>A cdrs operation class that is a class defined to be a main operation activity according to the activity outcome, i.e. indicating whether the activity
+				is accepted or failed.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractString">
+			<xsd:maxLength value="32"/>
+			<xsd:enumeration value="ok" sawsdl:modelReference="http://193.212.132.108:8080/rdl_servlet/rdl_servlet?class/RDS17723567">
+				<xsd:annotation>
+					<xsd:documentation>To accept an operation which means to approve that the results of an operation fulfills the requirements set.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="fail" sawsdl:modelReference="http://193.212.132.108:8080/rdl_servlet/rdl_servlet?class/RDS17723642">
+				<xsd:annotation>
+					<xsd:documentation>To fail an operation which means not to achieve the goals of the operation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="DominateCopmponentTypeNPD">
+		<xsd:annotation>
+			<xsd:documentation>The dominate component in the fluid sample.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="oil">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="gas">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="water">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="condensate">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="filtrate">
+				<xsd:annotation>
+					<xsd:documentation/>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="ActivityCodeNPD">
+		<xsd:annotation>
+			<xsd:documentation>A daily drilling report operation class that is a class defined to be sub operation in the daily drilling report.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractNameString">
+			<xsd:enumeration value="drilling -- drive" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730227">
+				<xsd:annotation>
+					<xsd:documentation>An activity implying jetting or driving of a conductor pipe.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- drill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730302">
+				<xsd:annotation>
+					<xsd:documentation>To drill by rotating a drill bit on bottom of a wellbore.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- hole open" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730407">
+				<xsd:annotation>
+					<xsd:documentation>To drill with the objective of enlarging a pilot hole by rotating a larger drill bit or a hole opener.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- underream" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729972">
+				<xsd:annotation>
+					<xsd:documentation>To drill with the objective of enlarging a pilot hole by rotating a underreamer.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- trip" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730047">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to tripping out and tripping into the bore hole during regular drilling.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- casing" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729927">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to making up and run casing assembly until cementing operation commence.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- bop/wellhead equipment" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729807">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to install/run and remove/pull test guide bases, BOP's, risers, wear bushings and other wellhead equipment including testing
+						on the surface.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- pressure detection" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729882">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to all types of gas checks, flow checks, wireline formation testing (FIT) or packer tests to determine or confirm pore
+						pressure, short trips and circulating bottoms up to confirm sufficient mud weight for trip margin</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- circulating conditioning" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDSRDS17729627">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to routine circulating and conditioning, to raise mud weight based on positive indications of abnormal
+						pressure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- ream" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729702">
+				<xsd:annotation>
+					<xsd:documentation>To drill with the objective of correcting a key seat, a dog leg or enlarging a wellbore or section of a wellbore by rotating a larger drill bit
+						or a hole opener.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- survey" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729447">
+				<xsd:annotation>
+					<xsd:documentation>To run routine directional surveys during drilling, including any required circulation and/or trip associated with the survey</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- bop activities" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729522">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to BOP and hang off drills, review of kick procedures, testing of BOP's after installation on the wellhead, open hole pressure
+						integrity tests.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729402">
+				<xsd:annotation>
+					<xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during drilling operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729252">
+				<xsd:annotation>
+					<xsd:documentation>To wait on cement (WOC), and all other drilling related waiting.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729327">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to preparation and riging up/down snubbing and coil tubing equipment, including pressure testing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drilling -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729177">
+				<xsd:annotation>
+					<xsd:documentation>Uncategorised drilling related activities.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="moving -- transit" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730797">
+				<xsd:annotation>
+					<xsd:documentation>To move a rig between two locations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="moving -- anchor" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730452">
+				<xsd:annotation>
+					<xsd:documentation>An activity implying to run and retrieve anchors, adjusting initial anchor tensions and testing anchors.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="moving -- skid" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730527">
+				<xsd:annotation>
+					<xsd:documentation>To skid a rig or derrick from one well to another or from slot to slot if on a fixed installation, without dismantling the
+						structure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="moving -- jack" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730647">
+				<xsd:annotation>
+					<xsd:documentation>To jack a jack-up rig up (lift) or down (lower).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="moving -- position" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730152">
+				<xsd:annotation>
+					<xsd:documentation>To position a drilling rig</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- trip" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728952">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to tripping out and tripping into the bore hole during formation evaluation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- circulating conditioning" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729027">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to well conditioning prior to, during and after all formation evaluation operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- core" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729102">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to core cutting and handling, and servicing the core barrel.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- log" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728772">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to wireline logging surveys, velocity surveys, sidewall core, thermo, caliper etc, including riging up and
+						down.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- rft/fit" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728727">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to core testing of well formation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- circulation samples" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728847">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to circulating to recover samples.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- drill stem test" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728577">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to drill stem tests, DST, including perforating, flow testing, shut in/build up periods, squeezing, wireline work, sampling
+						and any abandonment work specifically required by the drill stem test.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- production test" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728457">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to production testing, including perforating, flow testing, shut in/build up periods, squeezing, wireline work, sampling and
+						any abandonment work specifically required by the production test.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728532">
+				<xsd:annotation>
+					<xsd:documentation>To wait in relation to formation evaluation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728652">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to riging snubbing and coil tubing equipment up and down related to formation evaluation, including related pressure
+						testing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="formation evaluation -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728247">
+				<xsd:annotation>
+					<xsd:documentation>Uncategorised activities related to formation evaluation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- bop/wellhead equipment" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728322">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to running/installing/testing/removing/retrieving BOPs, risers, spools, wellhead plugs and valves, X-mas trees
+						etc</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728202">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to rigging up/down and testing of wire line equipment (wl riser, wl BOP, lubricator etc.) plus the actual
+						running/landing/testing/pulling of wire line tools in connection with completion of a well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- circulating conditioning" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728082">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of
+						well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- perforate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728157">
+				<xsd:annotation>
+					<xsd:documentation>Activities related running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line
+						equipment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- stimulate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727827">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to installation/testing/removal of equipment/surface lines for fracturing and/or acidizing purposes during completion plus the
+						actual carrying out of operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- flow" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727932">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to initial flow/clean up/flow test/build up of well after perforating/stimulating/temporary artificial lift during
+						completion.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- sand control" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728007">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to sand control during well completion.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- test scsssv" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727647">
+				<xsd:annotation>
+					<xsd:documentation>To test SCSSSV during completion independently from the SCSSSV running procedure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- completion string" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726552">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to making up/testing/running/landing/pulling of the completion string /tailpipe and/or production tubing, including setting
+						and testing of production packer(s) run in conjunction with the string.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727602">
+				<xsd:annotation>
+					<xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during completion operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727407">
+				<xsd:annotation>
+					<xsd:documentation>To wait as part of or induced by completion operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727482">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down related to completion, including pressure
+						testing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- hydraulic workover">
+				<xsd:annotation>
+					<xsd:documentation>Covers the servicing of a well that is/is not under pressure, i.e. rigging up/down and testing of the workover unit plus the actual
+						running/pulling of pipe/tubing. Includes snubbing and coiled tubing operations</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="completion -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727557">
+				<xsd:annotation>
+					<xsd:documentation>Uncategorised activities related to well completion.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- bop/wellhead equipment" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727227">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to running/installing/testing/removing/retrieving BOPs, risers, spools, wellhead plugs and valves, X-mas trees
+						etc</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727302">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to rigging up/down and testing of wire line equipment (wl riser, wl BOP, lubricator etc.) plus the actual
+						running/landing/testing/pulling of wire line tools in connection with completion of a well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- circulating conditioning" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727047">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of
+						well.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- perforate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727122">
+				<xsd:annotation>
+					<xsd:documentation>Activities related running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line
+						equipment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- stimulate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726957">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to installation/testing/removal of equipment/surface lines for fracturing and/or acidizing purposes during completion plus the
+						actual carrying out of operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- flow" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726807">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to initial flow/clean up/flow test/build up of well after perforating/stimulating/temporary artificial lift during
+						completion.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- sand control" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726882">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to sand control during well completion.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- test scsssv" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727002">
+				<xsd:annotation>
+					<xsd:documentation>To test SCSSSV during completion independently from the SCSSSV running procedure.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- completion string" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726552">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to making up/testing/running/landing/pulling of the completion string /tailpipe and/or production tubing, including setting
+						and testing of production packer(s) run in conjunction with the string.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726627">
+				<xsd:annotation>
+					<xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during completion operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726702">
+				<xsd:annotation>
+					<xsd:documentation>To wait as part of or induced by completion operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726297">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down related to completion, including pressure
+						testing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- hydraulic workover">
+				<xsd:annotation>
+					<xsd:documentation>Covers the servicing of a well that is/is not under pressure, i.e. rigging up/down and testing of the workover unit plus the actual
+						running/pulling of pipe/tubing. Includes snubbing and coiled tubing operations</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="workover -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726372">
+				<xsd:annotation>
+					<xsd:documentation>Uncategorised activities related to well completion.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- trip" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726447">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to tripping out and tripping into the bore hole during plug and abandon operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- circulating conditioning" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726222">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of well in connection with
+						plugging and abandonment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- perforate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726027">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line equipment in
+						connection with plugging and abandonment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- cement plug" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726102">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to pumping cement and setting abandonment plugs, including time to reverse out cement and to test the
+						plugs.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- mechanical plug" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726177">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to running, setting and testing mechanical plugs.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- squeeze" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725952">
+				<xsd:annotation>
+					<xsd:documentation>The careful application of pump pressure to force a cement slurry into the formation around the casing shoe or annulus.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- cut" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725757">
+				<xsd:annotation>
+					<xsd:documentation>To cut a casing in the wellbore</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- equipment recovery" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725832">
+				<xsd:annotation>
+					<xsd:documentation>To recover casing, tools, conductor housings, subsea wellheads, BOP, guide bases, etc.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725907">
+				<xsd:annotation>
+					<xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during operations for plugging and
+						abandonment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725472">
+				<xsd:annotation>
+					<xsd:documentation>To wait as part of or induced by plugging and abandonment operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725547">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down in connection with plugging and abandonment, including
+						pressure testing.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="plug abandon -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725622">
+				<xsd:annotation>
+					<xsd:documentation>Uncategorised activities related to well plugging and abandonment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- maintain" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725427">
+				<xsd:annotation>
+					<xsd:documentation>To maintain the drilling rig and its associated equipment, e.g. cutting and slipping of the drill line, including all maintenance work in
+						connection with casing and wellhead, drill string, completion string, formation evaluation equipment and surface/subsea BOP equipment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- repair" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725307">
+				<xsd:annotation>
+					<xsd:documentation>To repair the drilling rig and its associated equipment including third party equipment, and all repair work in connection with casing and
+						wellhead, drill string, completion string, formation evaluation equipment and surface/subsea BOP equipment.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- fish" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725382">
+				<xsd:annotation>
+					<xsd:documentation>To retrive anything lost or left in the wellbore</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- well control" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725127">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to control and removal of formation fluids which have entered the well bore, including circulating the formation fluids,
+						changing mud weight to control the influx, mixing or conditioning drilling fluids, and hole conditioning required because of the fluid entry. Includes all trips
+						required to regain control of the well, as well as all steps to terminate the well if required.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- lost circulation" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725202">
+				<xsd:annotation>
+					<xsd:documentation>To regain circulation, including mixing and spotting of plugs, trips, squeezes and waiting related to the lost circulation
+						operation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- sidetrack" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724902">
+				<xsd:annotation>
+					<xsd:documentation>Interruption of drilling operation to prepare and carry out sidetrack operation.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724977">
+				<xsd:annotation>
+					<xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during an interruption of the
+						drilling.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- waiting on weather" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725052">
+				<xsd:annotation>
+					<xsd:documentation>To wait due to inappropriate weather conditions for resuming drilling operations.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724557">
+				<xsd:annotation>
+					<xsd:documentation>To wait</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724632">
+				<xsd:annotation>
+					<xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down including pressure testing, in connection with
+						drilling interruption.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="interruption -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724707">
+				<xsd:annotation>
+					<xsd:documentation>Uncategorised activities related to drilling interruption.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="EquipmentCodeNPD">
+		<xsd:restriction base="witsml:abstractNameString">
+			<xsd:enumeration value="drill floor -- drilling control" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771504">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined as drilling control equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drill floor -- draw works" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771579">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined as drilling drawworks equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drill floor -- rotary table" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771654">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined as rotary table equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drill floor -- tensioning syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771024">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined as tensioning system equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drill floor -- hp air syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771099">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined as high pressure air system equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drill floor -- wirelines" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS375963941">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined as wireline equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drill floor -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771174">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other drillfloor equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="hosting equ -- derrick structure" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771249">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be derrick structure equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="hosting equ -- crown block" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771324">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined as crown block equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="hosting equ -- travelling block" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770649">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be travelling block equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="hosting equ -- heave compensator" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770724">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be heave compensator equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="hosting equ -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770799">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other hoisting equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="hosting equ -- top drive" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770874">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a classdefined to be top drive equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="pipe handling equ syst -- vertical pipe handling equ syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770979">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be vertical pipe handling equipment/system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="pipe handling equ syst -- drill floor tube handl syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770274">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be drillfloor tube handling equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="pipe handling equ syst -- power packs" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770349">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be drilling power pack equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="pipe handling equ syst -- slips and spiders" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770424">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class that is defined to be slips and speider equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="pipe handling equ syst -- elevator" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770499">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be pipe elevator system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="pipe handling equ syst -- manual tong" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770604">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be manual tong equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="pipe handling equ syst -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776079">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other pipe handling equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- bulk storage transfer" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776154">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be mud bulk storage and transfer equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- bulk air system" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776259">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be bulk air equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- mud additive syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776334">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be mud additive equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- mud mixing storage" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776409">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be mud mixing and storage equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- mud supply" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775959">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be mud supply equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- mud solids control" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775764">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be mud solids control equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- drill water syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775839">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be drilling water equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- hp equipment" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775914">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be high pressure mud equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="mud and bulk syst -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776034">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other mud and bulk equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="well control equ syst -- bop stack" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775404">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be bop stack equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="well control equ syst -- bop control syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775479">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be blow out preventer control system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="well control equ syst -- shallow gas stack" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775584">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be shallow gas stack equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="well control equ syst -- diverter" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775659">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be diverter equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="well control equ syst -- riser syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775254">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be riser system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="well control equ syst -- choke/kill syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775059">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be choke and kill system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="well control equ syst -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775134">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other well control equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- drillpipes" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775209">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be drillpipe equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- drillcollars" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775329">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be drill colar equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- subs and lift plugs" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774909">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be sub and lift plug equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- stabilizer" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774714">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be stabilizer equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- downhole drilling tools" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774789">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be downhole drilling tool equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- fishing tools" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774864">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be fishing tool equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- misc drillstring equ" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774984">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be miscellaneous drillstring equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="drillstring downhole -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774354">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other drillstring and downhole equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="service equ -- cementing unit" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774429">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be cementing unit equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="service equ -- well testing equ" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774504">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be well testing equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="service equ -- mud logging equ" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774609">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be mud logging equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="service equ -- electr logging equ" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774234">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be electrical logging equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="service equ -- special service equ" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774039">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be special service equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="service equ -- wellhead tubular equ" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774114">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be wellhead and tubular equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="service equ -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774189">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other service equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="material handling syst -- deck cranes" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774309">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be deck crane equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="material handling syst -- overhead cranes" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773604">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be overhead crane equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="material handling syst -- monorail syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773679">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be monorail equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="material handling syst -- bop transport syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773754">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be Blow Out Preventer transport equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="material handling syst -- utility winchs" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773859">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be utility winch equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="material handling syst -- anchor syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773934">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be anchor system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="material handling syst -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773484">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other material handling equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="miscellaneous equ syst -- wellhead subsea run test" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773334">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be wellhead and subsea run and test equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="miscellaneous equ syst -- subsea inspection syst" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773409">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be subsea inspection system equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="miscellaneous equ syst -- acoustic position ref" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773529">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be acoustic position reference equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="miscellaneous equ syst -- misc instr and auxil equ" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773229">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be miscellaneous instrument and auxiliary equipment on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="miscellaneous equ syst -- hydr pneum power packs" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17772989">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be hydraulic or pneumatic power pack system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="miscellaneous equ syst -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773064">
+				<xsd:annotation>
+					<xsd:documentation>A CDRS equipment class that is a class defined to be other miscellaneous system on a drilling rig.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation.xsl
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation.xsl (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation.xsl (revision 130)
@@ -0,0 +1,2813 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
+	<xsl:import href="./difference/date.difference.xsl"/>
+	<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
+	<!--  import the schema enables sawsdl:modelReference lookup -->
+	<xsd:import namespace="http://www.witsml.org/schemas/1series" schemaLocation="WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd"/>
+	<!--  A global variable for the Drill Report schema file name. Required for URL lookup of element definitions in RDL -->
+	<xsl:variable name="ddrSchema" select="'WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd'"/>
+	<xsl:template match="/">
+		<html>
+			<head>
+				<link href="css_ddrHtmlReport.css" type="text/css" rel="stylesheet"/>
+			</head>
+			<body>
+				<xsl:variable name="urlRDS" select="'http://www.posccaesar.org'"/>
+				<xsl:for-each select="witsml:drillReports/witsml:drillReport">
+					<table width="1000" cellspacing="1" cellpadding="1">
+						<tr class="light">
+							<td>
+								<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>
+									</tr>
+								</table>
+							</td>
+						</tr>
+						<tr height="5px">
+							<td>
+								<hr size="4px" color="black"/>
+							</td>
+						</tr>
+						<tr class="light">
+							<xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/>
+							<xsl:variable name="element_header" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='header']/xsd:sequence"/>
+							<td>
+								<table id="table1">
+									<!-- Added/changed 18jan2011 -->
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Report Number:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="$element_header//xsd:element[@name='reportNo']"/>
+										</td>
+										<td class="ColHead"><a target="_blank" href="{$urlRDS}">Period:</a>:</td>
+										<td colspan="5"><xsl:value-of select="substring(witsml:dTimStart, 0,17)"/> - <xsl:value-of select="substring(witsml:dTimEnd, 0,17)"/>
+										</td>
+									</tr>
+									<!-- END Added 18jan2011 -->
+									<tr class="light">
+										<xsl:variable name="url_wellboreAlias">
+											<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='wellboreInfo']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Wellbore:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+										</td>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Wellbore Id:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/>
+										</td>
+										<td colspan="2"/>
+									</tr>
+									<tr class="light">
+										<xsl:variable name="url_versionKind">
+											<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_createDate">
+											<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<td class="dark">
+											<a href="{$url_versionKind}" target="_blank">Status:</a>
+										</td>
+										<td>
+											<xsl:value-of select="witsml:versionKind"/>
+										</td>
+										<td class="dark">
+											<a href="{$url_createDate}" target="_blank">Created Date:</a>
+										</td>
+										<td colspan="3">
+											<xsl:value-of select="substring(witsml:createDate, 0,20)"/>
+										</td>
+									</tr>
+									<!-- Added 18jan2011 -->
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">High Pressure - High Temperature:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="$element_header//xsd:element[@name='hpht']"/>
+										</td>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Tight well:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="$element_header//xsd:element[@name='tightWell']"/>
+										</td>
+									</tr>
+									<!-- END Added 18jan2011 -->
+									<!-- Added 26jan2011 -->
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Pressure:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="$element_header//xsd:element[@name='avgPresBH']"/>
+										</td>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Temperature:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="$element_header//xsd:element[@name='expTempBH']"/>
+										</td>
+									</tr>
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Mean Sea Level:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="$element_header//xsd:element[@name='msl']"/>
+										</td>
+									</tr>
+									<!-- END Added 26jan2011 -->
+									<tr height="5px">
+										<td colspan="6"/>
+									</tr>
+									<xsl:apply-templates select="witsml:wellboreInfo"/>
+									<!-- Well Status Info -->
+									<xsl:apply-templates select="witsml:statusInfo"/>
+								</table>
+							</td>
+						</tr>
+						<tr height="5px">
+							<td/>
+						</tr>
+						<tr>
+							<td>
+								<HR/>
+							</td>
+						</tr>
+						<tr>
+							<td class="SectionHead">Summary of Activities (24 Hours)</td>
+						</tr>
+						<tr>
+							<td class="light">
+								<xsl:value-of select="witsml:statusInfo/witsml:sum24Hr"/>
+							</td>
+						</tr>
+						<tr height="5px">
+							<td/>
+						</tr>
+						<tr>
+							<td>
+								<HR/>
+							</td>
+						</tr>
+						<tr>
+							<td class="SectionHead">Summary of Planned Activities (Next 24 Hours)</td>
+						</tr>
+						<tr>
+							<td class="light">
+								<xsl:value-of select="witsml:statusInfo/witsml:forecast24Hr"/>
+							</td>
+						</tr>
+						<!-- Operation Mode -->
+						<xsl:if test="count(witsml:activity) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<HR/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Operation</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/>
+										<xsl:variable name="url_dTimStart">
+											<xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimEnd">
+											<xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_proprietaryCode">
+											<xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_state">
+											<xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_comments">
+											<xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="50" align="left" valign="top">
+												<a href="{$url_dTimStart}" target="_blank">Start Time</a>
+											</td>
+											<td width="50" align="left" valign="top">
+												<a href="{$url_dTimEnd}" target="_blank">End Time</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">Start Depth mMD</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">End Depth mMD</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">Depth mMD</a>
+											</td>
+											<td width="120" align="left" valign="top">
+												<a href="{$url_proprietaryCode}" target="_blank">Main Oper Class</a>
+											</td>
+											<td width="80" align="left" valign="top">
+												<a href="{$url_state}" target="_blank">Main Oper Eval Class</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_comments}" target="_blank">
+													<b>Remark</b>
+												</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:activity">
+											<tr class="light">
+												<td valign="top">
+													<xsl:value-of select="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:MDStart"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:MDEnd"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:proprietaryCode"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:state"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:comments"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:activity" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  equipFailureInfo  -->
+						<xsl:if test="count(witsml:equipFailureInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Equipment Failure Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_equipClass">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_eTimMissProduction">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimRepair">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_description">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="80" align="left" valign="top">
+												<a href="{$url_dTim}" target="_blank">Start</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">Depth mMD</a>
+											</td>
+											<td width="120" align="left" valign="top">
+												<a href="{$url_equipClass}" target="_blank">Sub Equip Syst Class</a>
+											</td>
+											<td width="80" align="center" valign="top" class="ColHead">
+												<a href="{$url_eTimMissProduction}" target="_blank" valign="top">Operation Downtime</a>
+												<br/>
+												<xsl:value-of select="witsml:equipFailureInfo/witsml:eTimMissProduction/@uom"/>
+											</td>
+											<!--<td width="60" align="center" valign="top">
+											<table id="two" width="100%">
+												<tr>
+													<td align="center"><a href="{$url_eTimMissProduction}" target="_blank" valign="top">Operation Downtime</a></td>
+												</tr>
+												<tr>
+													<td align="center" class="ColHead"><xsl:value-of select="witsml:equipFailureInfo/witsml:eTimMissProduction/@uom"/></td>
+												</tr>
+											</table>
+										</td>-->
+											<td width="100" align="left" valign="top">
+												<a href="{$url_dTimRepair}" target="_blank">Equipment Repaired</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_description}" target="_blank">Equip Failure Description</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:equipFailureInfo">
+											<tr class="light">
+												<td valign="top">
+													<xsl:value-of select="substring(witsml:dTim, 0, 17)"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:equipClass"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:eTimMissProduction"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="substring(witsml:dTimRepair, 0 ,17)"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:description"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Added/Changed 26jan2011 -->
+						<!--  Bit Record -->
+						<xsl:if test="count(witsml:bitRecord) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Bit record</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/>
+										<xsl:variable name="url_numBit">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_diaBit">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_codeMfg">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_manufacturer">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<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>
+											</td>
+											<td align="center" width="50" valign="top">
+												<a target="_blank" href="{$urlRDS}">Time start</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>
+											</td>
+											<td align="center" width="50" valign="top">
+												<a target="_blank" href="{$urlRDS}">Dull grade</a>
+											</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>
+											</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>
+											</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>
+											</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>
+											</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>
+											</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>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:bitRecord">
+											<tr class="light">
+												<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="witsml:dTimIn"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:dTimOut"/>
+												</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"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:dullGrade"/>
+												</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"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Added/Changed 26jan2011 -->
+						<!-- Added/changed 18jan2011 -->
+						<!--  witsml:pipe -->
+						<!--<xsl:if test="count(witsml:pipe) > 0">-->
+						<tr height="5px">
+							<td/>
+						</tr>
+						<tr>
+							<td>
+								<hr/>
+							</td>
+						</tr>
+						<tr>
+							<td class="SectionHead">Pipe information</td>
+						</tr>
+						<tr>
+							<td>
+								<table id="table2">
+									<xsl:variable name="element_pipe" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='pipe']/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}">Type of pipe</a>
+										</td>
+										<td align="center" valign="top">
+											<a target="_blank" href="{$urlRDS}">Casing type</a>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Run time</a>
+										</td>
+										<td align="center" width="100" valign="top">
+											<a target="_blank" href="{$urlRDS}">Description</a>
+										</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>
+										</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>
+										</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>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Nominal Grade</a>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Nominal Connection</a>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Length <xsl:value-of select="witsml:pipe/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>
+										</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>
+										</td>
+									</tr>
+									<xsl:for-each select="witsml:pipe">
+										<tr class="light">
+											<td align="center">
+												<xsl:value-of select="witsml:typeOfPipe"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="casingType"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="substring-after(substring(witsml:dTimRun, 0, 17), 'T')"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:description"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:OD"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:ID"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:weight"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:grade"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:connection"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:length"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:MDTopHangar"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:MDBottomShoe"/>
+											</td>
+										</tr>
+									</xsl:for-each>
+								</table>
+							</td>
+						</tr>
+						<!--</xsl:if>-->
+						<!-- 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: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:cement/witsml:volPumped/@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:cement/witsml:volPumped/@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:cement">
+										<tr class="light">
+											<td align="center">
+												<xsl:value-of select="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:jobType"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:casingStringDiameter"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:topPlugUsed"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:bottomPlugUsed"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:plugFailedToBump"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:plugBumpPressure"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:floatFailed"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:dTimPressureRelease"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:fullReturns"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:cementVolumeReturns"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:reciprocated"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:rotated"/>
+											</td>
+										</tr>
+									</xsl:for-each>
+								</table>
+							</td>
+						</tr>
+						<!--</xsl:if>-->
+						<!--  witsml:fluid -->
+						<xsl:if test="count(witsml:fluid) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Cement Fluid Details</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_fluid']/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>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_md}">Depth At Logging mMD</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$url_mudClass}">Fuild Type</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$url_mudClass}">Fuild Description</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:fluid/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:fluid/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:fluid/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:fluid/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:fluid/witsml:mixWaterRatio/@uom"/>
+												</a>
+											</td>
+											<td align="center" width="80" valign="top">
+												<a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:fluid/witsml:freeWater/@uom"/>
+												</a>
+											</td>
+											<td align="center" width="80" valign="top">
+												<a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:fluid/witsml:thickTime/@uom"/>
+												</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$urlRDS}">Comments</a>
+											</td>
+											<td/>
+										</tr>
+										<xsl:for-each select="witsml:fluid">
+											<tr class="light">
+												<td>
+													<xsl:value-of select="substring(witsml:dTim, 0, 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mudClass"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:fluidDescription"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:volPumped"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:density"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:pv"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:yp"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mixWaterRatio"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:freeWater"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:thickTime"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:comments"/>
+												</td>
+												<td/>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Added/changed 18jan2011 -->
+						<!--  porePressure -->
+						<xsl:if test="count(witsml:porePressure) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Pore Pressure</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
+										<xsl:variable name="url_readingKind">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_equivalentMudWeight">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvd">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="center" valign="top">
+												<a target="_blank" href="{$url_readingKind}">Reading</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_equivalentMudWeight}" target="_blank">Equ Mud Weight</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td align="center" valign="top">
+												<a target="_blank" href="{$url_dTim}">Time</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_md}">Depth mMD</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_tvd}">Depth mTVD</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:porePressure">
+											<tr class="light">
+												<td align="center">
+													<xsl:value-of select="witsml:readingKind"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:equivalentMudWeight"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="substring(witsml:dTim, 0 , 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvd"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  surveyStation -->
+						<xsl:if test="count(witsml:surveyStation) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Survey Station</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvd">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_incl">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_azi">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="left" width="60" valign="top">
+												<a target="_blank" href="{$url_md}">Depth mMD</a>
+											</td>
+											<td align="left" width="60" valign="top">
+												<a target="_blank" href="{$url_tvd}">Depth mTVD</a>
+											</td>
+											<td align="left" width="70" valign="top">
+												<a target="_blank" href="{$url_incl}">Inclination deg</a>
+											</td>
+											<td align="left" width="60" valign="top">
+												<a target="_blank" href="{$url_azi}">Azimuth deg</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:surveyStation">
+											<tr class="light">
+												<td>
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:tvd"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:incl"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:azi"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  logInfo -->
+						<xsl:if test="count(witsml:logInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Log Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
+										<xsl:variable name="url_serviceCompany">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_runNumber">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tool">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tempBHCT">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tempBHST">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td colspan="2" align="left">
+												<a target="_blank" href="{$url_serviceCompany}">Logging company:</a>
+											</td>
+											<td colspan="6">
+												<xsl:value-of select="witsml:serviceCompany"/>
+											</td>
+										</tr>
+										<tr>
+											<td align="center" width="30" valign="top">
+												<a target="_blank" href="{$url_runNumber}">Run No</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_mdTop}">Depth Top mMD</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$url_tool}">Tool</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<table id="two">
+													<tr>
+														<td align="center">
+															<a href="{$url_tempBHCT}" target="_blank">BHCT</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:logInfo/witsml:tempBHCT/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td align="center" width="60" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tempBHST}" target="_blank">BHST</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:logInfo/witsml:tempBHST/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<!-- 
+											<td align="center" width="80">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$urlRDS}" target="_blank">Ellapsed time since circulation stopped</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead"><xsl:value-of select="witsml:logInfo/witsml:eTimStatic/@uom" /></td>
+													</tr>
+												</table> 
+											</td>
+											<td align="center" width="100">
+												<table <table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$urlRDS}" target="_blank">Depth to the temperature measurement tool</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">(mMD</td>
+													</tr>
+												</table> 
+											</td>
+											 -->
+										</tr>
+										<xsl:for-each select="witsml:logInfo">
+											<tr class="light">
+												<td align="center">
+													<xsl:value-of select="witsml:runNumber"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tool"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tempBHCT"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tempBHST"/>
+												</td>
+												<!-- 
+												<td align="center">
+													<xsl:value-of select="witsml:eTimStatic" />
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTempTool" />
+												</td>
+												 -->
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Changed 19jan2011 -->
+						<!--  coreInfo -->
+						<xsl:if test="count(witsml:coreInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Core Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
+										<xsl:variable name="url_coreNumber">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_lenRecovered">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_recoverPc">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_lenBarrel">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_innerBarrelType">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_coreDescription">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="40" align="center" valign="top">
+												<a target="_blank" href="{$url_coreNumber}">Core No</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a target="_blank" href="{$url_mdTop}">Depth Top mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a>
+											</td>
+											<td width="60" align="center" valign="top" class="ColHead"><a href="{$url_lenRecovered}" target="_blank">Core length</a><br/>m</td>
+											<!--<td width="60" align="center" valign="top">
+												<table id="two">
+													<tr>
+														<td align="center"><a href="{$url_lenRecovered}" target="_blank">Core length</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">m</td>
+													</tr>
+												</table> 
+											</td>-->
+											<td width="60" align="center" valign="top" class="ColHead"><a href="{$url_lenRecovered}" target="_blank">Recover core</a><br/>%</td>
+											<!--<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$url_recoverPc}" target="_blank">Recover core</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">%</td>
+													</tr>
+												</table> 
+											</td>-->
+											<td width="60" align="center" valign="top" class="ColHead"><a href="{$url_lenRecovered}" target="_blank">Core barrel length</a><br/>m</td>
+											<!--<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$url_lenBarrel}" target="_blank">Core barrel length</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">m</td>
+													</tr>
+												</table> 
+											</td>-->
+											<td width="80" align="center" valign="top">
+												<a target="_blank" href="{$url_innerBarrelType}">Inner barrel type</a>
+											</td>
+											<td align="left" valign="top">
+												<a target="_blank" href="{$url_coreDescription}">Description</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:coreInfo">
+											<tr class="light">
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:coreNumber"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:lenRecovered"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:recoverPc"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:lenBarrel"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:innerBarrelType"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:coreDescription"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Changed 19jan2011 -->
+						<!--  wellTestInfo -->
+						<xsl:if test="count(witsml:wellTestInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Well Test Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_testNumber">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_testType">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_chokeOrificeSize">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_densityOil">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_flowRateOil">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_flowRateGas">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_flowRateWater">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presShutIn">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presFlowing">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presBottom">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_gasOilRatio">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_waterOilRatio">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_chloride">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_carbonDioxide">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_hydrogenSulfide">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="left" valign="top">
+												<a href="{$url_dTim}" target="_blank">Time</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_testNumber}" target="_blank">Test No.</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_testType}" target="_blank">Type</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_mdTop}" target="_blank">Depth Top mMD</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_mdBottom}" target="_blank">Depth Bottom mMD</a>
+											</td>
+											<!-- 
+											<td align="left"><a href="{$urlRDS}" target="_blank">TVD to Top</a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">TVD to Bottom</a></td>
+											 -->
+											<td align="left" valign="top">
+												<a href="{$url_chokeOrificeSize}" target="_blank">Choke Orifice Size<br/>
+													<xsl:value-of select="witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
+												</a>
+											</td>
+											<!--<td align="left" valign="top">
+												<table id="two">
+													<tr><td><a href="{$url_chokeOrificeSize}" target="_blank">Choke Orifice Size</a></td></tr>
+													<tr><td><a href="{$url_chokeOrificeSize}" target="_blank"><xsl:value-of select="witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/></a></td></tr>
+												</table>
+											</td>-->
+											<td align="left" valign="top">
+												<a href="{$url_densityOil}" target="_blank">Density Crude Oil <xsl:value-of select="witsml:wellTestInfo/witsml:densityOil/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_flowRateOil}" target="_blank">Oil Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_flowRateGas}" target="_blank">Gas Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_flowRateWater}" target="_blank">Water Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_presShutIn}" target="_blank">Shut in Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presShutIn/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_presFlowing}" target="_blank">Flow Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presFlowing/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_presBottom}" target="_blank">Bottom Hole Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presBottom/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_gasOilRatio}" target="_blank">Gas Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_waterOilRatio}" target="_blank">Water Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_chloride}" target="_blank">Chloride Content <xsl:value-of select="witsml:wellTestInfo/witsml:chloride/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_carbonDioxide}" target="_blank">CO2 Content <xsl:value-of select="witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_hydrogenSulfide}" target="_blank">H2S Content <xsl:value-of select="witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
+												</a>
+											</td>
+											<!-- 
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volOilTotal/@uom"/></a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Gas Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volGasTotal/@uom"/></a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Water Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volWaterTotal/@uom"/></a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Stored <xsl:value-of select="witsml:wellTestInfo/witsml:volOilStored/@uom"/></a></td>
+											 -->
+										</tr>
+										<xsl:for-each select="witsml:wellTestInfo">
+											<tr class="light">
+												<td>
+													<xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:testNumber"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:testType"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<!-- 
+												<td><xsl:value-of select="witsml:tvdTop"/> <xsl:value-of select="witsml:tvdTop/@uom"/></td>
+												<td><xsl:value-of select="witsml:tvdBottom"/> <xsl:value-of select="witsml:tvdBottom/@uom"/></td>
+												 -->
+												<td>
+													<xsl:value-of select="witsml:chokeOrificeSize"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:densityOil"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:flowRateOil"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:flowRateGas"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:flowRateWater"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:presShutIn"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:presFlowing"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:presBottom"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:gasOilRatio"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:waterOilRatio"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:chloride"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:carbonDioxide"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:hydrogenSulfide"/>
+												</td>
+												<!-- 
+												<td><xsl:value-of select="witsml:volOilTotal"/></td>
+												<td><xsl:value-of select="witsml:volGasTotal"/></td>
+												<td><xsl:value-of select="witsml:volWaterTotal"/></td>
+												<td><xsl:value-of select="witsml:volOilStored"/></td>
+												 -->
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:wellTestInfo" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  Foramtion Test Info -->
+						<xsl:if test="count(witsml:formTestInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Formation Test</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presPore">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_goodSealm">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdSample">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dominateComponent">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_densityHC">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_volumeSample">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_description">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_md}" target="_blank">Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_presPore}" target="_blank">Formation Pore Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:formTestInfo/witsml:presPore/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_goodSealm}" target="_blank">Good Seal Ind</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdSample}" target="_blank">Depth to Sample Point</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_dominateComponent}" target="_blank">Dominate Fluid Component</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_densityHC}" target="_blank">HC Component Density</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:formTestInfo/witsml:densityHC/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_volumeSample}" target="_blank">Sample Volume</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:formTestInfo/witsml:volumeSample/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_description}" target="_blank">Description</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:formTestInfo">
+											<tr class="light">
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:presPore"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:goodSeal"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdSample"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:dominateComponent"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:densityHC"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:volumeSample"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:description"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:formTestInfo" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  stratInfo  -->
+						<xsl:if test="count(witsml:stratInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Stratigraphic Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_description">
+											<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_mdTop}" target="_blank">Depth to Top of Formation mMD</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_tvdTop}" target="_blank">Depth to Top of Formation mTVD</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_description}" target="_blank">
+													<b>Formation Name</b>
+												</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:stratInfo">
+											<tr class="light">
+												<td valign="top">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:description"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Changed 18jan2011 -->
+						<!--  lithShowInfo -->
+						<xsl:if test="count(witsml:lithShowInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Lithology Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdBottom">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_show">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_lithology">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_mdTop}" target="_blank">Start Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_mdBottom}" target="_blank">End Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_mdBottom}" target="_blank">Difference in Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_tvdTop}" target="_blank">Start Depth mTVD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_tvdBottom}" target="_blank">End Depth mTVD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_tvdBottom}" target="_blank">Difference in Depth mTVD</a>
+											</td>
+											<td width="300" align="left" valign="top">
+												<a href="{$url_show}" target="_blank">Shows Description</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_lithology}" target="_blank">
+													<b>Lithology Description</b>
+												</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:lithShowInfo">
+											<tr class="light">
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdBottom - witsml:mdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:tvdBottom"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:tvdBottom - witsml:tvdTop"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:show"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:lithology"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:lithShowInfo" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Changed 18jan2011 -->
+						<!--  controlIncidentInfo  -->
+						<xsl:for-each select="witsml:controlIncidentInfo">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Well Control Incident</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdInflow">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdInflow">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_eTimLost">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimRegained">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBit">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_wtMud">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_porePressure">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdCsgLast">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_volMudGained">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presShutInCasing">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presShutInDrill">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_incidentType">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_killingType">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_formation">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tempBottom">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_dTim}" target="_blank">Date</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<table width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdInflow}" target="_blank">Depth of Well</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="left" valign="top">
+												<table id="two">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdInflow}" target="_blank">Depth of Well</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="left" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_eTimLost}" target="_blank">Lost Time</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:eTimLost/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_dTimRegained}" target="_blank">Time for Well Control Regain</a>
+											</td>
+											<!-- 
+													<td width="60" align="left" valign="top"><a href="{$url_controlIncidentInfo}" target="_blank">Drill Bit Dia <xsl:value-of select="witsml:controlIncidentInfo/witsml:diaBit/@uom"/></a></td>
+													 -->
+											<td width="60" align="left" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdBit}" target="_blank">Depth at Bit</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_wtMud}" target="_blank">Drilling Fluid Density</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:wtMud/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_porePressure}" target="_blank">Pore Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:porePressure/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<!-- 
+													<td width="80" align="left"><a href="{$url_controlIncidentInfo}" target="_blank">Dia of Last Casing <xsl:value-of select="witsml:controlIncidentInfo/witsml:diaCsgLast/@uom"/></a></td>
+													 -->
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdCsgLast}" target="_blank">Depth to Casing</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_volMudGained}" target="_blank">Gained Vol of Fluid</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:volMudGained/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_presShutInCasing}" target="_blank">Shut in Casing Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInCasing/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_presShutInDrill}" target="_blank">Shut in Drill Pipe Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInDrill/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<a href="{$url_incidentType}" target="_blank">Incident Class</a>
+											</td>
+											<td width="100" align="center" valign="top">
+												<a href="{$url_killingType}" target="_blank">Killing Procd</a>
+											</td>
+											<td width="100" align="center" valign="top">
+												<a href="{$url_formation}" target="_blank">Formation</a>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tempBottom}" target="_blank">BHT</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:tempBottom/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<!-- <td width="80" align="left"><a href="{$url_controlIncidentInfo}" target="_blank">Max Choke Valve Pressure <xsl:value-of select="witsml:controlIncidentInfo/witsml:presMaxChoke/@uom"/></a></td> -->
+										</tr>
+										<!--  End header -->
+										<tr class="light">
+											<td valign="top" align="center">
+												<xsl:value-of select="substring-before(witsml:dTim, 'T')"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:mdInflow"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:tvdInflow"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:eTimLost"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
+											</td>
+											<!-- <td valign="top"><xsl:value-of select="witsml:diaBit"/></td>  -->
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:mdBit"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:wtMud"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:porePressure"/>
+											</td>
+											<!-- <td valign="top"><xsl:value-of select="witsml:diaCsgLast"/></td>  -->
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:mdCsgLast"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:volMudGained"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:presShutInCasing"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:presShutInDrill"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:incidentType"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:killingType"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:formation"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:tempBottom"/>
+											</td>
+											<!-- <td valign="top"><xsl:value-of select="witsml:presMaxChoke"/></td>  -->
+										</tr>
+										<tr>
+											<td/>
+											<td colspan="15">
+												<xsl:value-of select="witsml:description"/>
+											</td>
+										</tr>
+									</table>
+								</td>
+							</tr>
+						</xsl:for-each>
+						<!-- Changed 19jan2011 -->
+						<!-- perfInfo  -->
+						<xsl:if test="count(witsml:perfInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Perforation Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTimOpen">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimClose">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdBottom">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="110" align="center" valign="top">
+												<a href="{$url_dTimOpen}" target="_blank">Time of Opening Well Perf</a>
+											</td>
+											<td width="110" align="center" valign="top">
+												<a href="{$url_dTimClose}" target="_blank">Time of Closing Well Perf</a>
+											</td>
+											<td width="110" align="center" valign="top">
+												<a href="{$urlRDS}" target="_blank">Duration Well Perf</a>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdTop}" target="_blank">Top of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdBottom}" target="_blank">Bottom of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdTop}" target="_blank">Top of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdBottom}" target="_blank">Bottom of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:perfInfo">
+											<tr class="light">
+												<xsl:variable name="duration">
+													<xsl:call-template name="date:difference">
+														<xsl:with-param name="start" select="substring(witsml:dTimOpen, 0, 20)"/>
+														<xsl:with-param name="end" select="substring(witsml:dTimClose, 0, 20)"/>
+													</xsl:call-template>
+												</xsl:variable>
+												<td align="center">
+													<xsl:value-of select="substring(witsml:dTimOpen, 0, 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="substring(witsml:dTimClose, 0, 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="substring-after($duration, 'PT')"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdBottom"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Changed 19jan2011 -->
+						<!--  gasReadingInfo -->
+						<xsl:if test="count(witsml:gasReadingInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Gas Reading Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_readingType">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdBottom">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_gasHigh">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_gasLow">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_meth">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_eth">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_prop">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_ibut">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_ipent">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="center" valign="top">
+												<a href="{$url_dTim}" target="_blank">Time</a>
+											</td>
+											<td align="center" valign="top">
+												<a href="{$url_readingType}" target="_blank">Class</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdTop}" target="_blank">Depth to Top</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdBottom}" target="_blank">Depth to Bottom</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdTop}" target="_blank">Depth to Top</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdBottom}" target="_blank">Depth to Bottom</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_gasHigh}" target="_blank">Highest Gas</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_gasLow}" target="_blank">Lowest Gas</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:gasLow/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_meth}" target="_blank">C1</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:meth/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_eth}" target="_blank">C2</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:eth/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_prop}" target="_blank">C3</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center">
+															<a href="{$url_prop}" target="_blank">
+																<xsl:value-of select="witsml:gasReadingInfo/witsml:prop/@uom"/>
+															</a>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_ibut}" target="_blank">IC4</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:ibut/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_ipent}" target="_blank">IC5</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:ipent/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:gasReadingInfo">
+											<tr class="light">
+												<td align="center">
+													<xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:readingType"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:gasHigh"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:gasLow"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:meth"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:eth"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:prop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:ibut"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:ipent"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+					</table>
+				</xsl:for-each>
+			</body>
+		</html>
+	</xsl:template>
+	<xsl:template match="witsml:wellboreInfo">
+		<xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/>
+		<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
+		<xsl:variable name="url_operator">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_drillContractor">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_rigAlias">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<!-- xsl:variable name="url_namingSystem"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='namingSystem']/@sawsdl:modelReference"/></xsl:variable -->
+		<xsl:variable name="url_dTimSpud">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_dateDrillComplete">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_elevKelly">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<tr class="light">
+			<td class="ColHead">
+				<a target="_blank" href="{$url_operator}">Operator:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:operator"/>
+			</td>
+			<td class="ColHead">
+				<a target="_blank" href="{$url_drillContractor}">Drilling contractor:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="witsml:drillContractor"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="ColHead">
+				<a href="{$url_rigAlias}" target="_blank">Rig Name:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD Name']/witsml:name"/>
+			</td>
+			<td class="ColHead">
+				<a href="{$url_rigAlias}" target="_blank">NPD Rig Id:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+			</td>
+			<td class="ColHead">
+				<a href="{$url_elevKelly}" target="_blank">Elevation <xsl:value-of select="../witsml:statusInfo/witsml:elevKelly/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="../witsml:statusInfo/witsml:elevKelly"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="ColHead">
+				<a target="_blank" href="{$url_dTimSpud}">Spud Date:</a>
+			</td>
+			<td>
+				<xsl:value-of select="substring-before(witsml:dTimSpud, 'T')"/>
+			</td>
+			<!-- 
+			<td class="ColHead"><a target="_blank" href="{url_dTimPreSpud}">Pre Spud Time:</a></td>
+			<td><xsl:value-of select="substring-before(witsml:dTimPreSpud, 'T')" /></td>
+			 -->
+			<td class="ColHead">
+				<a target="_blank" href="{$url_dateDrillComplete}">Date Well Complete:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="substring-before(witsml:dateDrillComplete, 'T')"/>
+			</td>
+		</tr>
+	</xsl:template>
+	<xsl:template match="witsml:statusInfo">
+		<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
+		<xsl:variable name="url_typeWellbore">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdKickoff">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvdKickoff">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdPlugTop">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_md">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvd">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_distDrill">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_ropCurrent">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_diaHole">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_presTestType">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_strengthForm">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdStrengthForm">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvdStrengthForm">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_diaCsgLast">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdCsgLast">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvdCsgLast">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<!-- wellbore type and kick off -->
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_typeWellbore}">Wellbore type:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:typeWellbore"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_mdKickoff}">Depth at Kick Off mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdKickoff"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_tvdKickoff}">Depth at Kick Off mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvdKickoff"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_md}">Depth mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:md"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_tvd}">Depth mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvd"/>
+			</td>
+			<td>
+				<a target="_blank" href="{$url_mdPlugTop}">Plug Back Depth mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdPlugTop"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_distDrill}">Dist Drilled <xsl:value-of select="witsml:distDrill/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:distDrill"/>
+			</td>
+			<!-- 
+			<td class="dark"><a target="_blank" href="{$urlRDS}">Depth planned mMD:</a></td>
+			<td><xsl:value-of select="witsml:mdPlanned" /></td>
+			 -->
+			<td class="dark">
+				<a target="_blank" href="{$url_ropCurrent}">Penetration Rate <xsl:value-of select="witsml:ropCurrent/@uom"/>:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="witsml:ropCurrent"/>
+			</td>
+		</tr>
+		<!-- hole dia -->
+		<tr class="light">
+			<td width="160">
+				<a target="_blank" href="{$url_diaHole}">Hole Dia <xsl:value-of select="witsml:diaHole/@uom"/>:</a>
+			</td>
+			<td width="140">
+				<xsl:value-of select="witsml:diaHole"/>
+			</td>
+			<td>
+				<a target="_blank" href="{$url_presTestType}">Pressure Test Type:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="witsml:presTestType"/>
+			</td>
+		</tr>
+		<!-- formation strength and  pressure test -->
+		<tr class="light">
+			<td width="160">
+				<a target="_blank" href="{$url_strengthForm}">Formation Strength <xsl:value-of select="witsml:strengthForm/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:strengthForm"/>
+			</td>
+			<td width="215">
+				<a target="_blank" href="{$url_mdStrengthForm}">Depth At Formation Strength mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdStrengthForm"/>
+			</td>
+			<td>
+				<a target="_blank" href="{$url_tvdStrengthForm}">Depth At Formation Strength mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvdStrengthForm"/>
+			</td>
+		</tr>
+		<!-- casing -->
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_diaCsgLast}">Dia Last Casing <xsl:value-of select="witsml:diaCsgLast/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:diaCsgLast"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_mdCsgLast}">Depth At Last Casing mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdCsgLast"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_tvdCsgLast}">Depth At Last Casing mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvdCsgLast"/>
+			</td>
+		</tr>
+	</xsl:template>
+</xsl:stylesheet>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_style5.xml
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_style5.xml (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_style5.xml (revision 130)
@@ -0,0 +1,335 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="ddr_HTMLReport_transformation.xsl"?>
+<witsml:drillReports 
+	version="1.4.0.0" 
+	xsi:schemaLocation="http://www.witsml.org/schemas/1series WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd" 
+	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:wellDatum>
+    	<witsml:name>Sea Level</witsml:name>
+    	<witsml:code>SL</witsml:code>
+    </witsml:wellDatum>
+    <!-- 
+    <witsml:wellCRS>
+    	<witsml:name>ED50</witsml:name>
+    	<witsml:geographic>
+    		<witsml:geodeticDatumCode>ED50</witsml:geodeticDatumCode>
+    	</witsml:geographic>
+    </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: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:bitRecord>
+    <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: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: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.
+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:drillReports>
+
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/css_ddrHtmlReport.css
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/css_ddrHtmlReport.css (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/css_ddrHtmlReport.css (revision 130)
@@ -0,0 +1,33 @@
+h3 {font-family: times}
+p {font-family: courier; font-size: 50%}
+p.sansserif {font-family: sans-serif }
+
+hr {size: 2px; color: #000000 }
+ 
+.ColHead, A { font-family: Arial Black; font-size:11px; text-decoration:none; color: #000000;}
+
+.SectionHead { font-family: Arial Black; font-size:14px; text-decoration:none; }
+
+.ReportHeader{ font-family: Arial Black; font-size:16px; text-decoration:none; }
+
+
+.light, BODY { font-family: Arial; font-size:11px; font-weight:normal; font-style:normal; }
+HR { size: 3px; }
+
+
+.TableClass { border-spacing: 5pt 5pt; }
+
+#table2 td {
+border: 2px; valign: top;
+}
+
+Table.two {
+border-spacing: 0px 0px
+}
+
+Table.table2 {
+border-spacing: 0px 0px
+} 
+
+
+
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml (revision 130)
@@ -0,0 +1,419 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="ddr_HTMLReport_transformation_2011_02_07.xsl"?>
+<witsml:drillReports 
+	version="1.4.0.0" 
+	xsi:schemaLocation="http://www.witsml.org/schemas/1series WITSML_drillReport_profiled_schema_2011_01_29.xsd" 
+	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:msl uom="m">15</witsml:msl>
+  </witsml:header>
+  
+    <witsml:wellDatum>
+    	<witsml:name>Sea Level</witsml:name>
+    	<witsml:code>SL</witsml:code>
+    </witsml:wellDatum>
+    <!-- 
+    <witsml:wellCRS>
+    	<witsml:name>ED50</witsml:name>
+    	<witsml:geographic>
+    		<witsml:geodeticDatumCode>ED50</witsml:geodeticDatumCode>
+    	</witsml:geographic>
+    </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: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.
+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.
+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:drillReports>
+
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.function.xsl
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.function.xsl (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.function.xsl (revision 130)
@@ -0,0 +1,264 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:date="http://exslt.org/dates-and-times"
+                xmlns:func="http://exslt.org/functions"
+                extension-element-prefixes="date func">
+
+<date:month-lengths>
+   <date:month>31</date:month>
+   <date:month>28</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+</date:month-lengths>
+
+<func:function name="date:difference">
+   <xsl:param name="start" />
+   <xsl:param name="end" />
+
+   <xsl:variable name="start-neg" select="starts-with($start, '-')" />
+   <xsl:variable name="start-no-neg">
+      <xsl:choose>
+         <xsl:when test="$start-neg or starts-with($start, '+')">
+            <xsl:value-of select="substring($start, 2)" />
+         </xsl:when>
+         <xsl:otherwise>
+            <xsl:value-of select="$start" />
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="start-no-neg-length" select="string-length($start-no-neg)" />
+   <xsl:variable name="start-timezone">
+      <xsl:choose>
+         <xsl:when test="substring($start-no-neg, $start-no-neg-length) = 'Z'">Z</xsl:when>
+         <xsl:otherwise>
+            <xsl:variable name="tz" select="substring($start-no-neg, $start-no-neg-length - 5)" />
+            <xsl:if test="(substring($tz, 1, 1) = '-' or 
+                           substring($tz, 1, 1) = '+') and
+                          substring($tz, 4, 1) = ':'">
+               <xsl:value-of select="$tz" />
+            </xsl:if>
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="end-neg" select="starts-with($end, '-')" />
+   <xsl:variable name="end-no-neg">
+      <xsl:choose>
+         <xsl:when test="$end-neg or starts-with($end, '+')">
+            <xsl:value-of select="substring($end, 2)" />
+         </xsl:when>
+         <xsl:otherwise>
+            <xsl:value-of select="$end" />
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="end-no-neg-length" select="string-length($end-no-neg)" />
+   <xsl:variable name="end-timezone">
+      <xsl:choose>
+         <xsl:when test="substring($end-no-neg, $end-no-neg-length) = 'Z'">Z</xsl:when>
+         <xsl:otherwise>
+            <xsl:variable name="tz" select="substring($end-no-neg, $end-no-neg-length - 5)" />
+            <xsl:if test="(substring($tz, 1, 1) = '-' or 
+                           substring($tz, 1, 1) = '+') and
+                          substring($tz, 4, 1) = ':'">
+               <xsl:value-of select="$tz" />
+            </xsl:if>
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+
+   <xsl:variable name="difference">
+      <xsl:if test="(not(string($start-timezone)) or
+                     $start-timezone = 'Z' or 
+                     (substring($start-timezone, 2, 2) &lt;= 23 and
+                      substring($start-timezone, 5, 2) &lt;= 59)) and
+                    (not(string($end-timezone)) or
+                     $end-timezone = 'Z' or 
+                     (substring($end-timezone, 2, 2) &lt;= 23 and
+                      substring($end-timezone, 5, 2) &lt;= 59))">
+         <xsl:variable name="start-dt" select="substring($start-no-neg, 1, $start-no-neg-length - string-length($start-timezone))" />
+         <xsl:variable name="start-dt-length" select="string-length($start-dt)" />
+         <xsl:variable name="end-dt" select="substring($end-no-neg, 1, $end-no-neg-length - string-length($end-timezone))" />
+         <xsl:variable name="end-dt-length" select="string-length($end-dt)" />
+
+         <xsl:variable name="start-year" select="substring($start-dt, 1, 4) * (($start-neg * -2) + 1)" />
+         <xsl:variable name="end-year" select="substring($end-dt, 1, 4) * (($end-neg * -2) + 1)" />
+         <xsl:variable name="diff-year" select="$end-year - $start-year" />
+         <xsl:choose>
+            <xsl:when test="not(number($start-year) and number($end-year))" />
+            <xsl:when test="$start-dt-length = 4 or $end-dt-length = 4">
+               <xsl:choose>
+                  <xsl:when test="$diff-year &lt; 0">-P<xsl:value-of select="$diff-year * -1" />Y</xsl:when>
+                  <xsl:otherwise>P<xsl:value-of select="$diff-year" />Y</xsl:otherwise>
+               </xsl:choose>
+            </xsl:when>
+            <xsl:when test="substring($start-dt, 5, 1) = '-' and 
+                            substring($end-dt, 5, 1) = '-'">
+               <xsl:variable name="start-month" select="substring($start-dt, 6, 2)" />
+               <xsl:variable name="end-month" select="substring($end-dt, 6, 2)" />
+               <xsl:variable name="diff-month" select="$end-month - $start-month" />
+               <xsl:choose>
+                  <xsl:when test="not($start-month &lt;= 12 and $end-month &lt;= 12)" />
+                  <xsl:when test="$start-dt-length = 7 or $end-dt-length = 7">
+                     <xsl:variable name="months" select="$diff-month + ($diff-year * 12)" />
+                     <xsl:variable name="abs-months" select="$months * ((($months >= 0) * 2) - 1)" />
+                     <xsl:variable name="y" select="floor($abs-months div 12)" />
+                     <xsl:variable name="m" select="$abs-months mod 12" />
+                     <xsl:if test="$months &lt; 0">-</xsl:if>
+                     <xsl:text>P</xsl:text>
+                     <xsl:if test="$y"><xsl:value-of select="$y" />Y</xsl:if>
+                     <xsl:if test="$m"><xsl:value-of select="$m" />M</xsl:if>
+                  </xsl:when>
+                  <xsl:when test="substring($start-dt, 8, 1) = '-' and
+                                  substring($end-dt, 8, 1) = '-'">
+                     <xsl:variable name="start-day" select="substring($start-dt, 9, 2)" />
+                     <xsl:variable name="end-day" select="substring($end-dt, 9, 2)" />
+                     <xsl:if test="$start-day &lt;= 31 and $end-day &lt;= 31">
+                        <xsl:variable name="month-lengths" select="document('')/*/date:month-lengths/date:month" />
+                        <xsl:variable name="start-y-1" select="$start-year - 1" />
+                        <xsl:variable name="start-leaps" 
+                                      select="floor($start-y-1 div 4) -
+                                              floor($start-y-1 div 100) +
+                                              floor($start-y-1 div 400)" />
+                        <xsl:variable name="start-leap" select="(not($start-year mod 4) and $start-year mod 100) or not($start-year mod 400)" />
+                        <xsl:variable name="start-month-days" 
+                                      select="sum($month-lengths[position() &lt; $start-month])" />
+                        <xsl:variable name="start-days">
+                           <xsl:variable name="days" 
+                                         select="($start-year * 365) + $start-leaps +
+                                                 $start-month-days + $start-day" />
+                           <xsl:choose>
+                              <xsl:when test="$start-leap">
+                                 <xsl:value-of select="$days + 1" />
+                              </xsl:when>
+                              <xsl:otherwise>
+                                 <xsl:value-of select="$days" />
+                              </xsl:otherwise>
+                           </xsl:choose>
+                        </xsl:variable>
+                        <xsl:variable name="end-y-1" select="$end-year - 1" />
+                        <xsl:variable name="end-leaps" 
+                                      select="floor($end-y-1 div 4) -
+                                              floor($end-y-1 div 100) +
+                                              floor($end-y-1 div 400)" />
+                        <xsl:variable name="end-leap" select="(not($end-year mod 4) and $end-year mod 100) or not($end-year mod 400)" />
+                        <xsl:variable name="end-month-days" 
+                                      select="sum($month-lengths[position() &lt; $end-month])" />
+                        <xsl:variable name="end-days">
+                           <xsl:variable name="days" 
+                                         select="($end-year * 365) + $end-leaps +
+                                                 $end-month-days + $end-day" />
+                           <xsl:choose>
+                              <xsl:when test="$end-leap">
+                                 <xsl:value-of select="$days + 1" />
+                              </xsl:when>
+                              <xsl:otherwise>
+                                 <xsl:value-of select="$days" />
+                              </xsl:otherwise>
+                           </xsl:choose>
+                        </xsl:variable>
+                        <xsl:variable name="diff-days" select="$end-days - $start-days" />
+                        <xsl:choose>
+                           <xsl:when test="$start-dt-length = 10 or $end-dt-length = 10">
+                              <xsl:choose>
+                                 <xsl:when test="$diff-days &lt; 0">-P<xsl:value-of select="$diff-days * -1" />D</xsl:when>
+                                 <xsl:otherwise>P<xsl:value-of select="$diff-days" />D</xsl:otherwise>
+                              </xsl:choose>
+                           </xsl:when>
+                           <xsl:when test="substring($start-dt, 11, 1) = 'T' and
+                                           substring($end-dt, 11, 1) = 'T' and
+                                           substring($start-dt, 14, 1) = ':' and
+                                           substring($start-dt, 17, 1) = ':' and
+                                           substring($end-dt, 14, 1) = ':' and
+                                           substring($end-dt, 17, 1) = ':'">
+                              <xsl:variable name="start-hour" select="substring($start-dt, 12, 2)" />
+                              <xsl:variable name="start-min" select="substring($start-dt, 15, 2)" />
+                              <xsl:variable name="start-sec" select="substring($start-dt, 18)" />
+                              <xsl:variable name="end-hour" select="substring($end-dt, 12, 2)" />
+                              <xsl:variable name="end-min" select="substring($end-dt, 15, 2)" />
+                              <xsl:variable name="end-sec" select="substring($end-dt, 18)" />
+                              <xsl:if test="$start-hour &lt;= 23 and $end-hour &lt;= 23 and
+                                            $start-min &lt;= 59 and $end-min &lt;= 59 and
+                                            $start-sec &lt;= 60 and $end-sec &lt;= 60">
+                                 <xsl:variable name="min-s" select="60" />
+                                 <xsl:variable name="hour-s" select="60 * 60" />
+                                 <xsl:variable name="day-s" select="60 * 60 * 24" />
+
+                                 <xsl:variable name="start-tz-adj">
+                                    <xsl:variable name="tz" 
+                                                  select="(substring($start-timezone, 2, 2) * $hour-s) + 
+                                                          (substring($start-timezone, 5, 2) * $min-s)" />
+                                    <xsl:choose>
+                                       <xsl:when test="starts-with($start-timezone, '-')">
+                                          <xsl:value-of select="$tz" />
+                                       </xsl:when>
+                                       <xsl:when test="starts-with($start-timezone, '+')">
+                                          <xsl:value-of select="$tz * -1" />
+                                       </xsl:when>
+                                       <xsl:otherwise>0</xsl:otherwise>
+                                    </xsl:choose>
+                                 </xsl:variable>
+                                 <xsl:variable name="end-tz-adj">
+                                    <xsl:variable name="tz" 
+                                                  select="(substring($end-timezone, 2, 2) * $hour-s) + 
+                                                          (substring($end-timezone, 5, 2) * $min-s)" />
+                                    <xsl:choose>
+                                       <xsl:when test="starts-with($end-timezone, '-')">
+                                          <xsl:value-of select="$tz" />
+                                       </xsl:when>
+                                       <xsl:when test="starts-with($end-timezone, '+')">
+                                          <xsl:value-of select="$tz * -1" />
+                                       </xsl:when>
+                                       <xsl:otherwise>0</xsl:otherwise>
+                                    </xsl:choose>
+                                 </xsl:variable>
+
+                                 <xsl:variable name="start-secs" select="$start-sec + ($start-min * $min-s) + ($start-hour * $hour-s) + ($start-days * $day-s) + $start-tz-adj" />
+                                 <xsl:variable name="end-secs" select="$end-sec + ($end-min * $min-s) + ($end-hour * $hour-s) + ($end-days * $day-s) + $end-tz-adj" />
+                                 <xsl:variable name="diff-secs" select="$end-secs - $start-secs" />
+                                 <xsl:variable name="s" select="$diff-secs * ((($diff-secs &lt; 0) * -2) + 1)" />
+                                 <xsl:variable name="days" select="floor($s div $day-s)" />
+                                 <xsl:variable name="hours" select="floor(($s - ($days * $day-s)) div $hour-s)" />
+                                 <xsl:variable name="mins" select="floor(($s - ($days * $day-s) - ($hours * $hour-s)) div $min-s)" />
+                                 <xsl:variable name="secs" select="$s - ($days * $day-s) - ($hours * $hour-s) - ($mins * $min-s)" />
+                                 <xsl:if test="$diff-secs &lt; 0">-</xsl:if>
+                                 <xsl:text>P</xsl:text>
+                                 <xsl:if test="$days">
+                                    <xsl:value-of select="$days" />
+                                    <xsl:text>D</xsl:text>
+                                 </xsl:if>
+                                 <xsl:if test="$hours or $mins or $secs">T</xsl:if>
+                                 <xsl:if test="$hours">
+                                    <xsl:value-of select="$hours" />
+                                    <xsl:text>H</xsl:text>
+                                 </xsl:if>
+                                 <xsl:if test="$mins">
+                                    <xsl:value-of select="$mins" />
+                                    <xsl:text>M</xsl:text>
+                                 </xsl:if>
+                                 <xsl:if test="$secs">
+                                    <xsl:value-of select="$secs" />
+                                    <xsl:text>S</xsl:text>
+                                 </xsl:if>
+                              </xsl:if>
+                           </xsl:when>
+                        </xsl:choose>
+                     </xsl:if>
+                  </xsl:when>
+               </xsl:choose>
+            </xsl:when>
+         </xsl:choose>
+      </xsl:if>
+   </xsl:variable>
+   <func:result select="$difference" />   
+</func:function>
+
+</xsl:stylesheet>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/base.css
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/base.css (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/base.css (revision 130)
@@ -0,0 +1,408 @@
+/* box model */
+
+BODY {
+	margin: 1em;
+	}
+
+H1 {
+	padding: 0.3em 0.5em 0.3em 0.5em;
+	margin: 0em;
+	}
+
+H2 {
+	padding: 0.2em 1em 0.2em 0.8em;
+	margin: 1em 0em 0em 0em;
+	}
+
+H3 {
+	padding: 0.1em 1em 0.2em 0.8em;
+	margin: 0em;
+	}
+
+H4 {
+	padding: 0em;
+	margin: 0.5em 1em;
+	}
+
+H5 {
+	padding: 0em;
+	margin: 0em 1em;
+	}
+
+P, TABLE {
+	margin: 0.5em 1em;
+	}
+
+UL, OL {
+	margin: 0.5em 2em;
+	}
+
+UL UL, UL OL, OL UL, OL OL {
+	margin: 0.5em 0em;
+	}
+
+TD.implementations UL {
+	margin: 0.5em 0em;
+	}
+
+TD.implementations LI {
+	margin: 0em 2em;
+	}
+
+LI {
+	margin: 0.5em 2em;
+	list-style-type: disc;
+	}
+
+LI P {
+	margin: 0em;
+	}
+
+DL {
+	margin: 0.5em 2em 1em 2em;
+	}
+
+DT {
+	margin: 1em;
+	clear: both;
+	}
+
+DD {
+	margin: -0.5em 0em -0.5em 2em;
+	}
+
+DD UL, DD OL {
+	margin-left: 0em;
+	}
+
+BLOCKQUOTE {
+	margin-left: 3em;
+	}
+
+IMG {
+	position: relative;
+	}
+
+TABLE {
+	width: 100%;
+	margin: 0em;
+	}
+
+PRE {
+	padding: 0.5em 3em 0.5em 3em;
+	margin: 0em;
+	}
+
+#content TD PRE {
+	padding: 0em;
+	}
+
+PRE.copyright {
+	padding: 0em;
+	margin: 0em;
+	}
+
+.issue {
+	padding: 0em 3em;
+	margin: 0em;
+	}
+
+#menu {
+	width: 20%;
+	padding: 0em;
+	}
+
+P.level1, P.level2, P.level3, P.level4 {
+	padding: 0em 1em;
+	margin: 0em;
+	}
+
+P.level1 {
+	margin: 0em 0em 3px 0em;
+	}
+
+P.level2 {
+	margin: 0em 0em 1px 0em;
+	}
+
+P.level3 {
+	margin-left: 1em;
+	}
+
+P.level4 {
+	margin-left: 2em;
+	}
+
+#content TH, #content TD {
+	margin: 0em;
+	padding: 0em 0.5em;
+	}
+
+#navigation, #content, #colophon P {
+	margin-top: 2px;
+	}
+
+TD.implementations {
+	width: 25%;
+	}
+
+/* fonts */
+BODY, TR {
+	font-family: 'Trebuchet MS', Arial, sans-serif;
+	}
+
+H1, H2, H3, H4, H5, H6 {
+	font-family: 'Trebuchet MS', Arial, sans-serif;
+	}
+
+H1 {
+	font-size: 173%;
+	font-weight: bold;
+	}
+
+H2 {
+	font-size: 120%;
+	font-weight: bold;
+	}
+
+H3 {
+	font-size: 120%;
+	font-weight: bold;
+	}
+
+H4 {
+	font-size: 100%;
+	font-weight: bold;
+	}
+
+H5 {
+	font-size: 100%
+	font-weight: normal;
+	font-style: italic;
+	}
+
+#navigation TD {
+	font-weight: bold;
+	}
+
+DT {
+	font-weight: bold;
+	}
+
+PRE, CODE {
+	font-size: 100%;
+	}
+
+A:link, A:visited, A:active, A:hover {
+	font-weight: bold;
+	}
+
+A.offsite:link, A.offsite:visited, A.offsite:active, A.offsite:hover {
+	font-weight: normal;
+	}
+
+#menu P.level1, P.level1 A:link, P.level1 A:visited, P.level1 A:hover {
+	font-weight: bold;
+	}
+
+#menu P.level2, P.level2 A:link, P.level2 A:visited {
+	font-weight: normal;
+	}
+
+#menu P.level3, P.level3 A:link, P.level3 A:visited {
+	font-weight: normal;
+	}
+
+#menu P.level3, #menu P.level4 {
+    font-size: 83%;
+	}
+
+#menu P.level4, P.level4 A:link, P.level4 A:visited {
+	font-weight: normal;
+	font-style: italic;
+	}
+
+.note {
+	font-family: 'Trebuchet MS', Arial, sans-serif;
+	font-size: 100%;
+	font-style: italic;
+	}
+
+#colophon {
+	font-size: 69%;
+	}
+
+/* colours */
+BODY {
+	background: white;
+	color: black;
+	border: 0px none white;
+	}
+
+/* this is to make Navigator fill the entire line */
+H1, #content {
+	border: 1px solid white;
+	width: 100%;
+	}
+
+H1, H1 A:link, H1 A:visited, H1 A:active, H1 A:hover {
+    background: #401;
+	color: white;
+	}
+
+H2 {
+	border-top: 5px solid white;
+	width: 100%;
+	}
+
+H2, H2 A:link, H2 A:visited, H2 A:active, H2 A:hover {
+	background: #041;
+	color: white;
+	}
+
+
+H3 {
+	border-top: 3px solid white;
+	width: 100%;
+	}
+
+H3, H3 A:link, H3 A:visited, H3 A:active, H3 A:hover {
+	color: #041;
+	background: #EFE;
+	}
+
+#content TABLE {
+	border-collapse: collapse;
+	}
+
+#content TH {
+	background: #041;
+	color: white;
+	}
+
+#content TD {
+	background: #EFE;
+	color: black;
+    border: 1px solid #041;
+	}
+
+#content, #navigation {
+	background: #EFE;
+	color: black;
+	}
+
+HR {
+	color: #041;
+	background: #041;
+	}
+
+IMG, A:link IMG, A:visited IMG, A:hover IMG, A:active IMG {
+	border: 0px none white;
+	background: transparent;
+	}
+
+A:link, A:visited, A:active, A:hover {
+	color: #052;
+	background: transparent;
+	border: 0px none white;
+	}
+
+.note {
+	color: #333;
+	}
+
+.note A:link, .note A:visited, .note A:hover {
+    background: transparent;
+	color: #041;
+	}
+
+.error {
+	color: #C00;
+	}
+
+#colophon {
+	color: #333;
+	background: #FEE;
+	}
+
+#colophon A:link, #colophon A:visited, #colophon A:hover {
+	color: #401;
+	background: transparent;
+	}
+
+TD.implementations {
+	border-left: 1px solid #041;
+	}
+
+#menu {
+	background: #EEF;
+	color: #014;
+	}
+
+#menu P.level1, P.level1 A:link, P.level1 A:visited, P.level1 A:active P.level1 A:hover {
+	background: #014;
+	color: white;
+	}
+
+#menu P.level2, P.level2 A:link, P.level2 A:visited, P.level2 A:active P.level2 A:hover, 
+#menu P.level3, P.level3 A:link, P.level3 A:visited, P.level3 A:active P.level3 A:hover, 
+#menu P.level4, P.level4 A:link, P.level4 A:visited, P.level4 A:active P.level4 A:hover {
+	background: #EEF;
+	color: #014;
+	}
+
+
+P.level2 A:hover, P.level3 A:hover, P.level4 A:hover {
+	text-decoration: underline;
+	}
+
+
+/* text */
+OL OL LI {
+	list-style: lower-alpha;
+	}
+
+TH {
+	text-align: left;
+	}
+
+TD {
+	vertical-align: top;
+	}
+
+#content TH, #content TD {
+	text-align: center;
+	}
+
+#content TH.rowhead, #content TD.rowhead {
+	text-align: left;
+	}
+
+H1 {
+	text-transform: uppercase;
+	}
+
+H2 {
+	text-transform: uppercase;
+	}
+
+H4 {
+	text-transform: lowercase;
+	}
+
+#menu {
+	text-transform: lowercase;
+	}
+
+#navigation TD {
+	text-transform: uppercase;
+	text-align: center;
+	}
+
+A.offsite {
+    text-decoration: underline;
+	}
+
+A, A.function, A.element {
+	text-decoration: none;
+	}
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.template.xsl
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.template.xsl (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.template.xsl (revision 130)
@@ -0,0 +1,263 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:date="http://exslt.org/dates-and-times"
+                extension-element-prefixes="date">
+
+<date:month-lengths>
+   <date:month>31</date:month>
+   <date:month>28</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+</date:month-lengths>
+
+<xsl:template name="date:difference">
+   <xsl:param name="start" />
+   <xsl:param name="end" />
+
+   <xsl:variable name="start-neg" select="starts-with($start, '-')" />
+   <xsl:variable name="start-no-neg">
+      <xsl:choose>
+         <xsl:when test="$start-neg or starts-with($start, '+')">
+            <xsl:value-of select="substring($start, 2)" />
+         </xsl:when>
+         <xsl:otherwise>
+            <xsl:value-of select="$start" />
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="start-no-neg-length" select="string-length($start-no-neg)" />
+   <xsl:variable name="start-timezone">
+      <xsl:choose>
+         <xsl:when test="substring($start-no-neg, $start-no-neg-length) = 'Z'">Z</xsl:when>
+         <xsl:otherwise>
+            <xsl:variable name="tz" select="substring($start-no-neg, $start-no-neg-length - 5)" />
+            <xsl:if test="(substring($tz, 1, 1) = '-' or 
+                           substring($tz, 1, 1) = '+') and
+                          substring($tz, 4, 1) = ':'">
+               <xsl:value-of select="$tz" />
+            </xsl:if>
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="end-neg" select="starts-with($end, '-')" />
+   <xsl:variable name="end-no-neg">
+      <xsl:choose>
+         <xsl:when test="$end-neg or starts-with($end, '+')">
+            <xsl:value-of select="substring($end, 2)" />
+         </xsl:when>
+         <xsl:otherwise>
+            <xsl:value-of select="$end" />
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="end-no-neg-length" select="string-length($end-no-neg)" />
+   <xsl:variable name="end-timezone">
+      <xsl:choose>
+         <xsl:when test="substring($end-no-neg, $end-no-neg-length) = 'Z'">Z</xsl:when>
+         <xsl:otherwise>
+            <xsl:variable name="tz" select="substring($end-no-neg, $end-no-neg-length - 5)" />
+            <xsl:if test="(substring($tz, 1, 1) = '-' or 
+                           substring($tz, 1, 1) = '+') and
+                          substring($tz, 4, 1) = ':'">
+               <xsl:value-of select="$tz" />
+            </xsl:if>
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+
+   <xsl:variable name="difference">
+      <xsl:if test="(not(string($start-timezone)) or
+                     $start-timezone = 'Z' or 
+                     (substring($start-timezone, 2, 2) &lt;= 23 and
+                      substring($start-timezone, 5, 2) &lt;= 59)) and
+                    (not(string($end-timezone)) or
+                     $end-timezone = 'Z' or 
+                     (substring($end-timezone, 2, 2) &lt;= 23 and
+                      substring($end-timezone, 5, 2) &lt;= 59))">
+         <xsl:variable name="start-dt" select="substring($start-no-neg, 1, $start-no-neg-length - string-length($start-timezone))" />
+         <xsl:variable name="start-dt-length" select="string-length($start-dt)" />
+         <xsl:variable name="end-dt" select="substring($end-no-neg, 1, $end-no-neg-length - string-length($end-timezone))" />
+         <xsl:variable name="end-dt-length" select="string-length($end-dt)" />
+
+         <xsl:variable name="start-year" select="substring($start-dt, 1, 4) * (($start-neg * -2) + 1)" />
+         <xsl:variable name="end-year" select="substring($end-dt, 1, 4) * (($end-neg * -2) + 1)" />
+         <xsl:variable name="diff-year" select="$end-year - $start-year" />
+         <xsl:choose>
+            <xsl:when test="not(number($start-year) and number($end-year))" />
+            <xsl:when test="$start-dt-length = 4 or $end-dt-length = 4">
+               <xsl:choose>
+                  <xsl:when test="$diff-year &lt; 0">-P<xsl:value-of select="$diff-year * -1" />Y</xsl:when>
+                  <xsl:otherwise>P<xsl:value-of select="$diff-year" />Y</xsl:otherwise>
+               </xsl:choose>
+            </xsl:when>
+            <xsl:when test="substring($start-dt, 5, 1) = '-' and 
+                            substring($end-dt, 5, 1) = '-'">
+               <xsl:variable name="start-month" select="substring($start-dt, 6, 2)" />
+               <xsl:variable name="end-month" select="substring($end-dt, 6, 2)" />
+               <xsl:variable name="diff-month" select="$end-month - $start-month" />
+               <xsl:choose>
+                  <xsl:when test="not($start-month &lt;= 12 and $end-month &lt;= 12)" />
+                  <xsl:when test="$start-dt-length = 7 or $end-dt-length = 7">
+                     <xsl:variable name="months" select="$diff-month + ($diff-year * 12)" />
+                     <xsl:variable name="abs-months" select="$months * ((($months >= 0) * 2) - 1)" />
+                     <xsl:variable name="y" select="floor($abs-months div 12)" />
+                     <xsl:variable name="m" select="$abs-months mod 12" />
+                     <xsl:if test="$months &lt; 0">-</xsl:if>
+                     <xsl:text>P</xsl:text>
+                     <xsl:if test="$y"><xsl:value-of select="$y" />Y</xsl:if>
+                     <xsl:if test="$m"><xsl:value-of select="$m" />M</xsl:if>
+                  </xsl:when>
+                  <xsl:when test="substring($start-dt, 8, 1) = '-' and
+                                  substring($end-dt, 8, 1) = '-'">
+                     <xsl:variable name="start-day" select="substring($start-dt, 9, 2)" />
+                     <xsl:variable name="end-day" select="substring($end-dt, 9, 2)" />
+                     <xsl:if test="$start-day &lt;= 31 and $end-day &lt;= 31">
+                        <xsl:variable name="month-lengths" select="document('')/*/date:month-lengths/date:month" />
+                        <xsl:variable name="start-y-1" select="$start-year - 1" />
+                        <xsl:variable name="start-leaps" 
+                                      select="floor($start-y-1 div 4) -
+                                              floor($start-y-1 div 100) +
+                                              floor($start-y-1 div 400)" />
+                        <xsl:variable name="start-leap" select="(not($start-year mod 4) and $start-year mod 100) or not($start-year mod 400)" />
+                        <xsl:variable name="start-month-days" 
+                                      select="sum($month-lengths[position() &lt; $start-month])" />
+                        <xsl:variable name="start-days">
+                           <xsl:variable name="days" 
+                                         select="($start-year * 365) + $start-leaps +
+                                                 $start-month-days + $start-day" />
+                           <xsl:choose>
+                              <xsl:when test="$start-leap">
+                                 <xsl:value-of select="$days + 1" />
+                              </xsl:when>
+                              <xsl:otherwise>
+                                 <xsl:value-of select="$days" />
+                              </xsl:otherwise>
+                           </xsl:choose>
+                        </xsl:variable>
+                        <xsl:variable name="end-y-1" select="$end-year - 1" />
+                        <xsl:variable name="end-leaps" 
+                                      select="floor($end-y-1 div 4) -
+                                              floor($end-y-1 div 100) +
+                                              floor($end-y-1 div 400)" />
+                        <xsl:variable name="end-leap" select="(not($end-year mod 4) and $end-year mod 100) or not($end-year mod 400)" />
+                        <xsl:variable name="end-month-days" 
+                                      select="sum($month-lengths[position() &lt; $end-month])" />
+                        <xsl:variable name="end-days">
+                           <xsl:variable name="days" 
+                                         select="($end-year * 365) + $end-leaps +
+                                                 $end-month-days + $end-day" />
+                           <xsl:choose>
+                              <xsl:when test="$end-leap">
+                                 <xsl:value-of select="$days + 1" />
+                              </xsl:when>
+                              <xsl:otherwise>
+                                 <xsl:value-of select="$days" />
+                              </xsl:otherwise>
+                           </xsl:choose>
+                        </xsl:variable>
+                        <xsl:variable name="diff-days" select="$end-days - $start-days" />
+                        <xsl:choose>
+                           <xsl:when test="$start-dt-length = 10 or $end-dt-length = 10">
+                              <xsl:choose>
+                                 <xsl:when test="$diff-days &lt; 0">-P<xsl:value-of select="$diff-days * -1" />D</xsl:when>
+                                 <xsl:otherwise>P<xsl:value-of select="$diff-days" />D</xsl:otherwise>
+                              </xsl:choose>
+                           </xsl:when>
+                           <xsl:when test="substring($start-dt, 11, 1) = 'T' and
+                                           substring($end-dt, 11, 1) = 'T' and
+                                           substring($start-dt, 14, 1) = ':' and
+                                           substring($start-dt, 17, 1) = ':' and
+                                           substring($end-dt, 14, 1) = ':' and
+                                           substring($end-dt, 17, 1) = ':'">
+                              <xsl:variable name="start-hour" select="substring($start-dt, 12, 2)" />
+                              <xsl:variable name="start-min" select="substring($start-dt, 15, 2)" />
+                              <xsl:variable name="start-sec" select="substring($start-dt, 18)" />
+                              <xsl:variable name="end-hour" select="substring($end-dt, 12, 2)" />
+                              <xsl:variable name="end-min" select="substring($end-dt, 15, 2)" />
+                              <xsl:variable name="end-sec" select="substring($end-dt, 18)" />
+                              <xsl:if test="$start-hour &lt;= 23 and $end-hour &lt;= 23 and
+                                            $start-min &lt;= 59 and $end-min &lt;= 59 and
+                                            $start-sec &lt;= 60 and $end-sec &lt;= 60">
+                                 <xsl:variable name="min-s" select="60" />
+                                 <xsl:variable name="hour-s" select="60 * 60" />
+                                 <xsl:variable name="day-s" select="60 * 60 * 24" />
+
+                                 <xsl:variable name="start-tz-adj">
+                                    <xsl:variable name="tz" 
+                                                  select="(substring($start-timezone, 2, 2) * $hour-s) + 
+                                                          (substring($start-timezone, 5, 2) * $min-s)" />
+                                    <xsl:choose>
+                                       <xsl:when test="starts-with($start-timezone, '-')">
+                                          <xsl:value-of select="$tz" />
+                                       </xsl:when>
+                                       <xsl:when test="starts-with($start-timezone, '+')">
+                                          <xsl:value-of select="$tz * -1" />
+                                       </xsl:when>
+                                       <xsl:otherwise>0</xsl:otherwise>
+                                    </xsl:choose>
+                                 </xsl:variable>
+                                 <xsl:variable name="end-tz-adj">
+                                    <xsl:variable name="tz" 
+                                                  select="(substring($end-timezone, 2, 2) * $hour-s) + 
+                                                          (substring($end-timezone, 5, 2) * $min-s)" />
+                                    <xsl:choose>
+                                       <xsl:when test="starts-with($end-timezone, '-')">
+                                          <xsl:value-of select="$tz" />
+                                       </xsl:when>
+                                       <xsl:when test="starts-with($end-timezone, '+')">
+                                          <xsl:value-of select="$tz * -1" />
+                                       </xsl:when>
+                                       <xsl:otherwise>0</xsl:otherwise>
+                                    </xsl:choose>
+                                 </xsl:variable>
+
+                                 <xsl:variable name="start-secs" select="$start-sec + ($start-min * $min-s) + ($start-hour * $hour-s) + ($start-days * $day-s) + $start-tz-adj" />
+                                 <xsl:variable name="end-secs" select="$end-sec + ($end-min * $min-s) + ($end-hour * $hour-s) + ($end-days * $day-s) + $end-tz-adj" />
+                                 <xsl:variable name="diff-secs" select="$end-secs - $start-secs" />
+                                 <xsl:variable name="s" select="$diff-secs * ((($diff-secs &lt; 0) * -2) + 1)" />
+                                 <xsl:variable name="days" select="floor($s div $day-s)" />
+                                 <xsl:variable name="hours" select="floor(($s - ($days * $day-s)) div $hour-s)" />
+                                 <xsl:variable name="mins" select="floor(($s - ($days * $day-s) - ($hours * $hour-s)) div $min-s)" />
+                                 <xsl:variable name="secs" select="$s - ($days * $day-s) - ($hours * $hour-s) - ($mins * $min-s)" />
+                                 <xsl:if test="$diff-secs &lt; 0">-</xsl:if>
+                                 <xsl:text>P</xsl:text>
+                                 <xsl:if test="$days">
+                                    <xsl:value-of select="$days" />
+                                    <xsl:text>D</xsl:text>
+                                 </xsl:if>
+                                 <xsl:if test="$hours or $mins or $secs">T</xsl:if>
+                                 <xsl:if test="$hours">
+                                    <xsl:value-of select="$hours" />
+                                    <xsl:text>H</xsl:text>
+                                 </xsl:if>
+                                 <xsl:if test="$mins">
+                                    <xsl:value-of select="$mins" />
+                                    <xsl:text>M</xsl:text>
+                                 </xsl:if>
+                                 <xsl:if test="$secs">
+                                    <xsl:value-of select="$secs" />
+                                    <xsl:text>S</xsl:text>
+                                 </xsl:if>
+                              </xsl:if>
+                           </xsl:when>
+                        </xsl:choose>
+                     </xsl:if>
+                  </xsl:when>
+               </xsl:choose>
+            </xsl:when>
+         </xsl:choose>
+      </xsl:if>
+   </xsl:variable>
+   <xsl:value-of select="$difference" />   
+</xsl:template>
+
+</xsl:stylesheet>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.xml
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.xml (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.xml (revision 130)
@@ -0,0 +1,211 @@
+<?xml version="1.0"?>
+<exslt:function xmlns:exslt="http://exslt.org/documentation" 
+               version="1" module="date" status="implemented">
+
+<exslt:name>difference</exslt:name>
+
+<rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                 xmlns:dc="http://purl.org/dc/elements/1.1/"
+                 ID="date:difference">
+   <dc:subject>EXSLT</dc:subject>
+   <dc:subject>date</dc:subject>
+   <dc:subject>difference</dc:subject>
+   <exslt:revision>
+      <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                       xmlns:dc="http://purl.org/dc/elements/1.1/"
+                       ID="date:difference.1">
+         <exslt:version>1</exslt:version>
+         <dc:creator email="mail@jenitennison.com" 
+                     url="http://www.jenitennison.com/">
+            Jeni Tennison
+         </dc:creator>
+         <dc:date>2001-05-12</dc:date>
+         <dc:description xmlns="http://www.w3.org/1999/xhtml">
+            Returns the difference between two dates as a duration.
+         </dc:description>
+      </rdf:Description>
+   </exslt:revision>
+   <exslt:revision>
+      <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                       xmlns:dc="http://purl.org/dc/elements/1.1/"
+                       ID="date:difference.1.1">
+         <exslt:version>1.1</exslt:version>
+         <dc:creator email="mail@jenitennison.com" 
+                     url="http://www.jenitennison.com/">
+            Jeni Tennison
+         </dc:creator>
+         <dc:date>2001-06-11</dc:date>
+         <dc:description xmlns="http://www.w3.org/1999/xhtml">
+            Added implementations in Javascript, XSLT and EXSLT - Functions.
+         </dc:description>
+      </rdf:Description>
+   </exslt:revision>
+   <exslt:revision>
+      <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                       xmlns:dc="http://purl.org/dc/elements/1.1/"
+                       ID="date:difference.1.2">
+         <exslt:version>1.2</exslt:version>
+         <dc:creator email="mail@jenitennison.com" 
+                     url="http://www.jenitennison.com/">
+            Jeni Tennison
+         </dc:creator>
+         <dc:date>2001-06-16</dc:date>
+         <dc:description xmlns="http://www.w3.org/1999/xhtml">
+            <ul>
+               <li>Updated Javascript implementation.</li>
+               <li>Added Microsoft-specific stylesheet.</li>
+            </ul>
+         </dc:description>
+      </rdf:Description>
+   </exslt:revision>
+   <exslt:revision>
+      <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                       xmlns:dc="http://purl.org/dc/elements/1.1/"
+                       ID="date:difference.1.3">
+         <exslt:version>1.3</exslt:version>
+         <dc:creator email="craig.stewart@nottingham.ac.uk" 
+                     url="">Craig Stewart</dc:creator>
+         <dc:date>2002-08-21</dc:date>
+         <dc:description xmlns="http://www.w3.org/1999/xhtml">Added 4XSLT and libxslt implementation to the list.</dc:description>
+      </rdf:Description>
+   </exslt:revision>
+   <exslt:revision>
+      <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                       xmlns:dc="http://purl.org/dc/elements/1.1/"
+                       ID="date:difference.1.4">
+         <exslt:version>1.4</exslt:version>
+         <dc:creator email="craig.stewart@nottingham.ac.uk" 
+                     url="">Craig Stewart</dc:creator>
+         <dc:date>2002-11-12</dc:date>
+         <dc:description xmlns="http://www.w3.org/1999/xhtml">Updated 4XSLT version to 0.12.0a3.</dc:description>
+      </rdf:Description>
+   </exslt:revision>
+</rdf:Description>
+
+<exslt:doc xmlns:html="http://www.w3.org/1999/xhtml"
+           xmlns="">
+   <html:div xmlns="http://www.w3.org/1999/xhtml">
+      <p>
+         The <code>date:difference</code> function returns the duration between the first date and the second date.  If the first date occurs before the second date, then the result is a positive duration; if it occurs after the second date, the result is a negative duration.
+      </p>
+      <p>
+         The two dates must both be right-truncated date/time strings in one of the formats defined in [<a href="http://www.w3.org/TR/xmlschema-2/" class="offsite">XML Schema Part 2: Datatypes</a>].  The date/time with the most specific format (i.e. the least truncation) is converted into the same format as the date with the most specific format (i.e. the most truncation).  The permitted formats are as follows, from most specific to least specific:
+      </p>
+      <ul>
+         <li>
+            <a href="http://www.w3.org/TR/xmlschema-2/#dateTime" class="offsite"><code>xs:dateTime</code></a> (<code><var>CCYY</var>-<var>MM</var>-<var>DD</var>T<var>hh</var>:<var>mm</var>:<var>ss</var></code>)
+         </li>
+         <li>
+            <a href="http://www.w3.org/TR/xmlschema-2/#date" class="offsite"><code>xs:date</code></a> (<code><var>CCYY</var>-<var>MM</var>-<var>DD</var></code>)
+         </li>
+         <li>
+            <a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth" class="offsite"><code>xs:gYearMonth</code></a> (<code><var>CCYY</var>-<var>MM</var></code>)
+         </li>
+         <li>
+            <a href="http://www.w3.org/TR/xmlschema-2/#gYear" class="offsite"><code>xs:gYear</code></a> (<code><var>CCYY</var></code>)
+         </li>
+      </ul>
+      <p>
+         If either of the arguments is not in one of these formats, <code>date:difference</code> returns the empty string (<code>''</code>).
+      </p>
+      <p>
+         The difference between the date/times is returned as a string in the format defined for <code>xs:duration</code> in [<a href="http://www.w3.org/TR/xmlschema-2/#duration" class="offsite">3.2.6 duration</a>] of [<a href="http://www.w3.org/TR/xmlschema-2/" class="offsite">XML Schema Part 2: Datatypes</a>].
+      </p>
+      <p>
+         If the date/time string with the least specific format is in either <code>xs:gYearMonth</code> or <code>xs:gYear</code> format, then the number of days, hours, minutes and seconds in the duration string must be equal to zero.  (The format of the string will be <code>P<var>n</var>Y<var>n</var>M</code>.)  The number of months specified in the duration must be less than 12.
+      </p>
+      <p>
+         Otherwise, the number of years and months in the duration string must be equal to zero.  (The format of the string will be <code>P<var>n</var>DT<var>n</var>H<var>n</var>M<var>n</var>S</code>.)  The number of seconds specified in the duration string must be less than 60; the number of minutes must be less than 60; the number of hours must be less than 24.
+      </p>
+   </html:div>
+</exslt:doc>
+
+<exslt:definition xmlns:xs="http://www.w3.org/2001/XMLSchema">
+   <exslt:return type="string" />
+   <exslt:arg name="start" type="string" 
+              optional="no" />
+   <exslt:arg name="end" type="string" 
+              optional="no" />
+</exslt:definition>
+
+<exslt:implementations>
+   <exslt:vendor-implementation
+           version="1"
+           vendor="4XSLT, from 4Suite."
+           vendor-url="http://4Suite.org"
+           vendor-version="0.12.0a3" />
+   <exslt:vendor-implementation
+           version="1"
+           vendor="libxslt from Daniel Veillard et al."
+           vendor-url="http://xmlsoft.org/XSLT/"
+           vendor-version="1.0.19" />
+   <exslt:implementation src="date.difference.function.xsl" language="exslt:exslt" 
+                         version="1" />
+   <exslt:implementation src="date.difference.template.xsl" language="exslt:xslt" 
+                         version="1" />
+   <exslt:implementation src="date.js" language="exslt:javascript" 
+                         version="1">
+      <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                       xmlns:dc="http://purl.org/dc/elements/1.1/"
+                       ID="date:difference.js">
+         <dc:subject>EXSLT</dc:subject>
+         <dc:subject>date</dc:subject>
+         <dc:subject>difference</dc:subject>
+         <dc:subject>Javascript</dc:subject>
+         <exslt:revision>
+            <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                             xmlns:dc="http://purl.org/dc/elements/1.1/"
+                             ID="date:difference.js.1">
+               <exslt:version>1</exslt:version>
+               <dc:creator xmlns:vcf="http://www.ietf.org/internet-drafts/draft-dawson-vcard-xml-dtd-03.txt" rdf:parseType="Resource">
+                  <vcf:fn>Chris Bayes</vcf:fn>
+                  <vcf:email>chris@bayes.co.uk</vcf:email>
+                  <vcf:url>http://www.bayes.co.uk</vcf:url>
+               </dc:creator>
+               <dc:date>2001-06-11</dc:date>
+            </rdf:Description>
+         </exslt:revision>
+         <exslt:revision>
+            <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                             xmlns:dc="http://purl.org/dc/elements/1.1/"
+                             ID="date:difference.js.2">
+               <exslt:version>2</exslt:version>
+               <dc:creator xmlns:vcf="http://www.ietf.org/internet-drafts/draft-dawson-vcard-xml-dtd-03.txt" rdf:parseType="Resource">
+                  <vcf:fn>Chris Bayes</vcf:fn>
+                  <vcf:email>chris@bayes.co.uk</vcf:email>
+                  <vcf:url>http://www.bayes.co.uk</vcf:url>
+               </dc:creator>
+               <dc:date>2001-06-16</dc:date>
+            </rdf:Description>
+         </exslt:revision>
+      </rdf:Description>
+   </exslt:implementation>
+   <exslt:implementation src="date.msxsl.xsl" language="exslt:msxsl"
+                         version="1">
+      <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                       xmlns:dc="http://purl.org/dc/elements/1.1/"
+                       ID="date:difference.msxsl">
+         <dc:subject>EXSLT</dc:subject>
+         <dc:subject>date</dc:subject>
+         <dc:subject>difference</dc:subject>
+         <dc:subject>MSXML</dc:subject>
+         <exslt:revision>
+            <rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                             xmlns:dc="http://purl.org/dc/elements/1.1/"
+                             ID="date:difference.msxsl.1">
+               <exslt:version>1</exslt:version>
+               <dc:creator xmlns:vcf="http://www.ietf.org/internet-drafts/draft-dawson-vcard-xml-dtd-03.txt" rdf:parseType="Resource">
+                  <vcf:fn>Chris Bayes</vcf:fn>
+                  <vcf:email>chris@bayes.co.uk</vcf:email>
+                  <vcf:url>http://www.bayes.co.uk</vcf:url>
+               </dc:creator>
+               <dc:date>2001-06-16</dc:date>
+            </rdf:Description>
+         </exslt:revision>
+      </rdf:Description>
+   </exslt:implementation>
+</exslt:implementations>
+
+<exslt:use-cases />
+
+</exslt:function>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.msxsl.xsl
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.msxsl.xsl (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.msxsl.xsl (revision 130)
@@ -0,0 +1,1270 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:date="http://exslt.org/dates-and-times"
+                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+                extension-element-prefixes="date msxsl">
+
+<msxsl:script language="Javascript" implements-prefix="date">
+<![CDATA[
+/**
+<doc:module date="2001-06-12">
+   <doc:module>exslt:date-time</doc:module>
+   <doc:name>dates</doc:name>
+   <doc:version>2.0</doc:version>
+   <doc:language>exslt:javascript</doc:language>
+   <doc:meta>
+      <doc:author email="chris@bayes.co.uk" url="http://www.bayes.co.uk">Chris Bayes</doc:author>
+      <doc:summary>Implementation of EXSLT - Dates (http://www.exslt.org/date)</doc:summary>
+      <doc:todo>_validDuration is not 100%</doc:todo>
+      <doc:todo>All timezone code.</doc:todo>
+   </doc:meta>
+</doc:module>
+**/
+var gsSuppliedFormat = "";
+var gsLang = "en";
+var gaLang = new Array();
+// en 
+gaLang["en"] = new Array();
+gaLang["en"]["months"] = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
+gaLang["en"]["shortMonths"] = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
+gaLang["en"]["days"] = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
+gaLang["en"]["shortDays"] = new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
+
+
+var gaDayNames = new Array();
+gaDayNames["sunday"] = 0;gaDayNames["monday"] = 1;gaDayNames["tuesday"] = 2;gaDayNames["wednesday"] = 3;gaDayNames["thursday"] = 4;gaDayNames["friday"] = 5;gaDayNames["saturday"] = 6;
+var gaMonthCnt = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
+var gaMonthCntL = new Array(31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
+function _isLeap(y){return ( ((y%4==0)&(y%100!=0))|(y%400==0) );}
+function _dayOfWeek(y,d){return ( ((y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+d)%7);}
+function _dayInYear(y,m,d){return (m==0?d:eval( (_isLeap(y)?gaMonthCntL.slice(0,m).join("+"):gaMonthCnt.slice(0,m).join("+")) )+(d*1) );}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>add</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="duration" type="string" default="''" optional="no"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function add(){//
+	var d1,d2;
+	if (((d1 = _validDate(arguments[0], "xs:dateTime")) ||
+		 (d1 = _validDate(arguments[0], "xs:date")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYearMonth")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYear"))
+		) && 
+		(d2 = _validDuration(arguments[1])))
+		return _formatDate(d2.addDate(d1), gsSuppliedFormat);
+	return '';
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>addDuration</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="duration" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="duration" type="string" default="''" optional="no"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function addDuration(duration1, duration2){
+	if ((d1 = _validDuration(duration1)) && (d2 = _validDuration(duration2))){
+		var d1mnth = d1.years *12 + d1.months;
+		var d1secs = d1.days*86400 + d1.hours*3600 + d1.minutes*60 + (d1.seconds+'.'+d1.fraction)*1;
+		var d2mnth = d2.years *12 + d2.months;
+		var d2secs = d2.days*86400 + d2.hours*3600 + d2.minutes*60 + (d2.seconds+'.'+d2.fraction)*1;
+		var mnthdiff = (d1.pm+d1mnth)*1 + (d2.pm+d2mnth)*1;
+		var secsdiff = (d1.pm+d1secs)*1 + (d2.pm+d2secs)*1;
+		if ((mnthdiff < 0 && secsdiff > 0) || (mnthdiff > 0 && secsdiff < 0))
+			return '';
+		var secs = secsdiff % 60;
+		var pm = (mnthdiff<0||secsdiff<0?'-':'');
+		mnthdiff = Math.abs(mnthdiff);
+		secsdiff = Math.abs(secsdiff);
+		return _formatDuration(new Duration(pm, 0, mnthdiff, Math.floor(secsdiff/86400), Math.floor((secsdiff%86400)/3600), Math.floor((secsdiff%3600)/60), Math.floor(secs), Math.floor(secs%1)));
+	}
+	return '';
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>date</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function date(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _formatDate(oDate, "xs:date");
+		else
+			return '';
+	}else
+		return _formatDate(new Date(), "xs:date");
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dateTime</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args />
+</doc:function>
+**/
+function dateTime(){//must be UTC/Z
+	if (arguments.length > 0)
+		dateTime_invalidArgument.error;
+	var oDate = new Date();
+	return _formatDate(oDate, "xs:dateTime");
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayAbbreviation</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayAbbreviation(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:date"))
+		   )
+			return _dayAbbreviation(oDate.getDay(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _dayAbbreviation(new Date().getDay(), arguments[1], arguments[2]);
+}
+function _dayAbbreviation(num, dfName, ctx){
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='days' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='day' and namespace-uri()='http://exslt.org/dates-and-times']/@abbr");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else{ //we could try local
+		return gaLang[gsLang]["shortDays"][num*1];
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayInMonth</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayInMonth(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay")) ||
+			(oDate = _validDate(arguments[0], "xs:gDay"))
+		    )
+			return oDate.getDate();
+		else
+			return Number.NaN
+	}else
+		return new Date().getDate();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayInWeek</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayInWeek(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:date"))
+		   )
+			return _dayInWeek(oDate, arguments[1], arguments[2]);
+		else
+			return Number.NaN;
+	}else
+		return _dayInWeek(new Date(), arguments[1], arguments[2]);
+}
+function _dayInWeek(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+	}
+	return (oDate.getDay()-fdow<0?oDate.getDay()-fdow+7:oDate.getDay()-fdow)+1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayInYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayInYear(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate());
+		else
+			return Number.NaN;
+	}else{
+		var oDate = new Date()
+		return _dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate());
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayName</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayName(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:date"))
+		   )
+			return _dayName(oDate.getDay(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _dayName(new Date().getDay(), arguments[1], arguments[2]);
+}
+function _dayName(num, dfName, ctx){
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='days' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='day' and namespace-uri()='http://exslt.org/dates-and-times']/text()");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else
+		return gaLang[gsLang]["days"][num*1];
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayOfWeekInMonth</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayOfWeekInMonth(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _dayOfWeekInMonth(oDate, arguments[1], arguments[2]);
+		else
+			return Number.NaN;
+	}else
+		return _dayOfWeekInMonth(new Date(), arguments[1], arguments[2]);	
+}
+function _dayOfWeekInMonth(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+	}
+	if (fdow > (oDate.getDay()-1))
+		return Math.floor((oDate.getDate())/7)+1;
+	else
+		return Math.floor((oDate.getDate())/7) + 1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>difference</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function difference(){
+	if (((d1 = _validDate(arguments[0], "xs:dateTime")) ||
+		 (d1 = _validDate(arguments[0], "xs:date")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYearMonth")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYear"))
+		) &&
+		((d2 = _validDate(arguments[1], "xs:dateTime")) ||
+		 (d2 = _validDate(arguments[1], "xs:date")) ||
+		 (d2 = _validDate(arguments[1], "xs:gYearMonth")) ||
+		 (d2 = _validDate(arguments[1], "xs:gYear"))
+		 )
+		){// truncation
+		var diffMil = d2.valueOf() - d1.valueOf();
+		return _formatDuration(diffMil);
+	}
+	return Number.NaN;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>duration</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="seconds" type="number" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function duration(){
+	var oDate;
+	if (arguments.length > 0){
+		var nN = new Number(arguments[0]);
+		if (isNaN(nN))
+			return '';
+		else
+			return _formatDuration(arguments[0] * 1000);
+	}else
+		return _formatDuration(seconds() * 1000);
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>formatDate</doc:name>
+	<doc:version>1.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="format" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="context" type="document" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function formatDate(date, format, dateF, ctx){
+	var oDate;
+	var re;
+	var retString = "";
+	if ((oDate = _validDate(date, "xs:dateTime")) ||
+		(oDate = _validDate(date, "xs:date")) ||
+		(oDate = _validDate(date, "xs:time")) ||
+		(oDate = _validDate(date, "xs:gYearMonth")) ||
+		(oDate = _validDate(date, "xs:gYear")) ||
+		(oDate = _validDate(date, "xs:gMonthDay")) ||
+		(oDate = _validDate(date, "xs:gMonth")) ||
+		(oDate = _validDate(date, "xs:gDay"))
+		){
+		for (var i=0; i < format.length;){
+			var s = i;
+			switch(format.substr(i, 1)){
+				case "G"://        era designator          (Text)              AD
+					while (format.substr(i, 1)=="G"){i++;}
+					if (oDate.getFullYear() < 0){
+						retString += "BC";
+					}else{
+						retString += "AD";
+					}
+					break;
+				case "y"://        year                    (Number)            1996
+					while (format.substr(i, 1)=="y"){i++;}
+					if (i-s > 2){
+						retString += oDate.getFullYear();
+					}else{
+						retString += oDate.getFullYear().toString().substring(4-(i-s));
+					}
+					break;
+				case "M"://        month in year           (Text &amp; Number)     July &amp; 07
+					while (format.substr(i, 1)=="M"){i++;}
+					if (i-s <= 2){
+						retString += pad(oDate.getMonth()+1);
+					}else{
+						retString += _monthName(oDate.getMonth(), dateF, ctx);
+					}
+					break;
+				case "d"://        day in month            (Number)            10
+					while (format.substr(i, 1)=="d"){i++;}
+					retString += pad(oDate.getDate());
+					break;
+				case "h"://        hour in am/pm (1~12)    (Number)            12
+					while (format.substr(i, 1)=="h"){i++;}
+					if (oDate.getHours() > 12){
+						retString += pad(oDate.getHours()-12);
+					}else{
+						retString += pad(oDate.getHours());
+					}
+					break;
+				case "H"://        hour in day (0~23)      (Number)            0
+					while (format.substr(i, 1)=="H"){i++;}
+					retString += oDate.getHours();
+					break;
+				case "m"://        minute in hour          (Number)            30
+					while (format.substr(i, 1)=="m"){i++;}
+					retString += pad(oDate.getMinutes());
+					break;
+				case "s"://        second in minute        (Number)            55
+					while (format.substr(i, 1)=="s"){i++;}
+					retString += pad(oDate.getSeconds());
+					break;
+				case "S"://        millisecond             (Number)            978
+					while (format.substr(i, 1)=="S"){i++;}
+					retString += oDate.getMilliseconds();
+					break;
+				case "E"://        day in week             (Text)              Tuesday
+					while (format.substr(i, 1)=="E"){i++;}
+					retString += dayInWeek(oDate, dateF, ctx);
+					break;
+				case "D"://        day in year             (Number)            189
+					while (format.substr(i, 1)=="D"){i++;}
+					retString += _dayInYear(oDate.getFullYear(), oDate.getMonths(), oDate.getDate());
+					break;
+				case "F"://        day of week in month    (Number)            2 (2nd Wed in July)
+					while (format.substr(i, 1)=="F"){i++;}
+					retString += dayOfWeekInMonth(oDate, dateF, ctx);
+					break;
+				case "w"://        week in year            (Number)            27
+					while (format.substr(i, 1)=="w"){i++;}
+					retString += weekInYear(oDate, dateF, ctx);
+					break;
+				case "W"://        week in month           (Number)            2
+					while (format.substr(i, 1)=="W"){i++;}
+					retString += weekInMonth(oDate, dateF, ctx);
+					break;
+				case "a"://        am/pm marker            (Text)              PM
+					while (format.substr(i, 1)=="a"){i++;}
+					if (oDate.getHours() > 12 ){
+						retString += "PM"
+					}else{
+						retString += "AM"
+					}
+					break;
+				case "k"://        hour in day (1~24)      (Number)            24
+					while (format.substr(i, 1)=="k"){i++;}
+					retString += oDate.getHours();
+					break;
+				case "K"://        hour in am/pm (0~11)    (Number)            0
+					while (format.substr(i, 1)=="K"){i++;}
+					if (oDate.getHours() > 12){
+						retString += oDate.getHours()-12;
+					}else{
+						retString += oDate.getHours();
+					}
+					break;
+				case "z"://        time zone               (Text)              Pacific Standard Time
+				
+				
+				
+					while (format.substr(i, 1)=="z"){i++;}
+					var tzo = oDate.getTimezoneOffset();
+					retString += (tzo < 0?"-":"+") + pad(Math.abs(tzo / 60)) + ":" + pad(tzo % 60);
+ 					break;
+ 				case "'"://        escape for text         (Delimiter)
+ 					if (format.substr(i+1, 1) == "'"){
+ 						i++;
+ 						while (format.substr(i, 1)=="'"){i++;}
+ 						retString += "'";
+ 					}else{
+ 						i++;
+ 						while (format.substr(i, 1)!="'" && i <= format.length){retString += format.substr(i++, 1);}
+ 						if (i >= format.length)return '';
+ 						i++;
+ 					}
+ 					break;
+				default:
+					retString += format.substr(i, 1);
+					i++;
+					break;
+			}
+		}
+	}
+	return retString;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>hourInDay</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function hourInDay(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:time"))
+		   )
+			return oDate.getHours();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getHours();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>leapYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="boolean" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function leapYear(){
+	if (arguments.length > 0 && arguments[0] != ''){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+		    )
+			return (_isLeap(oDate.getFullYear())?true:false);
+		else
+			return Number.NaN;
+	}else
+		return (_isLeap(new Date().getFullYear())?true:false);
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>minuteInHour</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function minuteInHour(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:time"))
+		   )
+			return oDate.getMinutes();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getMinutes();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>monthAbbreviation</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function monthAbbreviation(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay"))
+		    )
+			return _monthAbbreviation(oDate.getMonth(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _monthAbbreviation(new Date().getMonth(), arguments[1], arguments[2]);
+}
+function _monthAbbreviation(num, dfName, ctx){//
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='months' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='month' and namespace-uri()='http://exslt.org/dates-and-times']/@abbr");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else{ //we could try local
+		return gaLang[gsLang]["shortMonths"][num*1];
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>monthInYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function monthInYear(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+		    )
+			return oDate.getMonth()+1;
+		else
+			return Number.NaN;
+	}else
+		return new Date().getMonth()+1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>monthName</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function monthName(){//
+	if (arguments.length > 0){// && arguments[0] != ''
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay"))
+		    )
+			return _monthName(oDate.getMonth(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _monthName(new Date().getMonth(), arguments[1],  arguments[2]);
+}
+function _monthName(num, dfName, ctx){//
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='months' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='month' and namespace-uri()='http://exslt.org/dates-and-times']/text()");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else
+		return gaLang[gsLang]["months"][num*1];
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>parseDate</doc:name>
+	<doc:version>1.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="input-format" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="document" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function parseDate(date, inFormat, dfName, ctx){//0001
+	var oDate;
+	if (inFormat == ""){
+		if ((oDate = _validDate(date, "xs:dateTime")) ||
+			(oDate = _validDate(date, "xs:date")) ||
+			(oDate = _validDate(date, "xs:time")) ||
+			(oDate = _validDate(date, "xs:gYearMonth")) ||
+			(oDate = _validDate(date, "xs:gYear")) ||
+			(oDate = _validDate(date, "xs:gMonthDay")) ||
+			(oDate = _validDate(date, "xs:gMonth")) ||
+			(oDate = _validDate(date, "xs:gDay"))
+			){
+			return _formatDate(oDate, "xs:dateTime");
+		}
+	}else{
+		if (oDate = _validDate(date, inFormat))
+      return _formatDate(oDate, dfName);
+		else
+			return '';
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>secondInMinute</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function secondInMinute(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:time"))
+		   )
+			return oDate.getSeconds();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getSeconds();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>seconds</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function seconds(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+			)
+			return oDate.valueOf()/1000;
+		else 
+			if (oDate = _validDuration(arguments[0]))
+				return oDate.Seconds();
+			else
+				return Number.NaN;
+	}else
+		return Math.floor(new Date().valueOf()/1000);//current local date/time
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>sum</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="durations" type="node-set" default="''" optional="no"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function sum(ctx){
+	var sDate = "P0S";
+	if (typeof(ctx) == "object"){
+		if (ctx.length){
+			for (var i=0; i < ctx.length; i++){
+				ctxN  = ctx.item(i);
+				if (ctxN.nodeType == 1){
+					if (!(sDate = addDuration(sDate, _wander(ctxN))))
+						return '';
+				}
+				if (ctxN.nodeType == 2){
+					if (!(sDate = addDuration(sDate, ctxN.nodeValue)))
+						return '';
+				}
+			}
+		}else{
+			if (!(sDate = addDuration(sDate, ctx.nodeValue)))
+					return '';
+		}
+	}else{
+		return '';
+	}
+	return sDate;
+}
+function   _wander(ctx){
+	var sDate = "P0S";
+	for (var i=0; i < ctx.childNodes.length; i++){
+		ctxN = ctx.childNodes[i];
+		switch(ctxN.nodeType){
+			case 1:
+				if (!(sDate = addDuration(sDate, _wander(ctxN))))
+						return '';
+				break;
+			case 3:
+				if (!(sDate = addDuration(sDate, ctxN.nodeValue)))
+						return '';
+				break;
+			default:
+				break;
+		}
+	}
+	return sDate;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>time</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function time(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime"))||
+			(oDate = _validDate(arguments[0], "xs:time"))
+		)
+			return _formatDate(oDate, "xs:time");
+		else
+			return '';
+	}else
+		return _formatDate(new Date(), "xs:time");
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>weekInMonth</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function weekInMonth(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _weekInMonth(oDate, arguments[1], arguments[2]);
+		else
+			return Number.NaN;
+	}else
+		return _weekInMonth(new Date(), arguments[1], arguments[2]);	
+}
+function _weekInMonth(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+	}
+	var f = new Date(oDate);
+	f.setDate(1)
+	var fd = f.getDay()-1;
+	var dt = oDate.getDate() + fd - fdow;
+	return Math.floor((dt)/7)+1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>weekInYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function weekInYear(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _weekInYear(oDate, arguments[1], arguments[2]);
+	}else 
+		return _weekInYear(new Date());
+	return '';
+}
+function _weekInYear(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+		return Math.ceil(_dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate()+(7-fdow)) / 7);
+	}else
+		return Math.ceil(_dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate()) / 7);
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>year</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function year(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+		    )
+			return oDate.getFullYear();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getFullYear();
+}
+/**
+Private functions.
+**/
+function _validDate(date, format){
+	var parts;
+	var oDate = new Date(-62135596800000); // Mon Jan 1 00:00:00 UTC 1
+	switch(format){
+		case "xs:dateTime": //(CCYY-MM-DDThh:mm:ss)
+			var re = new RegExp("^([0-9]{4})-([0-9]{2})-([0-9]{2})(T([0-9]{2})(:([0-9]{2})(:([0-9]{2}))?)?)?(Z)?([\+\-][0-9]{2}:[0-9]{2})?$");
+			if (parts=re.exec(date)){
+				if (parts[10] == "Z"){
+					oDate.setFullYear(parts[1], parts[2]-1, parts[3]);
+					oDate.setHours(parts[5], parts[7], parts[9]);
+					oDate.setMinutes(oDate.getMinutes()-oDate.getTimezoneOffset());
+					gsSuppliedFormat = "xs:dateTime";
+					return oDate;
+				}else{
+					oDate.setFullYear(parts[1], parts[2]-1, parts[3]);
+					oDate.setHours(parts[5], parts[7], parts[9]);
+					gsSuppliedFormat = "xs:dateTime";
+					return oDate;
+				}
+			}
+			break;
+		case "xs:date": //(CCYY-MM-DD) 
+			var re = new RegExp("^([0-9]{4})-([0-9]{2})-([0-9]{2})$");
+			if (parts=re.exec(date)){
+				oDate.setFullYear(parts[1], parts[2]-1, parts[3]);
+				gsSuppliedFormat = "xs:date";
+				return oDate;
+			}
+			break;
+		case "xs:time": //(hh:mm:ss)
+			var re = new RegExp("^([0-9]{2})(:([0-9]{2})(:([0-9]{2}))?)?(Z)?$");
+			if (parts=re.exec(date)){
+				if (parts[9] == "Z"){
+					oDate.setHours(parts[1], parts[3], parts[5]);
+					oDate.setMinutes(oDate.getMinutes()-oDate.getTimezoneOffset());
+					gsSuppliedFormat = "xs:time";
+					return oDate;
+				}else{
+					oDate.setHours(parts[1], parts[3], parts[5]);
+					gsSuppliedFormat = "xs:time";
+					return oDate;
+				}
+			}
+			break;
+		case "xs:gYearMonth": //(CCYY-MM)
+			var re = new RegExp("^([0-9]{4})-([0-9]{2})$");
+			if (parts=re.exec(date)){
+				oDate.setFullYear(parts[1], parts[2]-1);
+				gsSuppliedFormat = "xs:gYearMonth";
+				return oDate;
+			}
+			break;
+		case "xs:gYear": //(CCYY)
+			var re = new RegExp("^([0-9]{4})$");
+			if (parts=re.exec(date)){
+				oDate.setFullYear(parts[1]);
+				gsSuppliedFormat = "xs:gYear";
+				return oDate;
+			}
+			break;
+		case "xs:gMonthDay": //(^--MM-DD)
+			var re = new RegExp("--([0-9]{2})-([0-9]{2})");
+			if (parts=re.exec(date)){
+				oDate.setMonth(parts[1]-1, parts[2]);
+				gsSuppliedFormat = "xs:gMonthDay";
+				return oDate;
+			}
+			break;
+		case "xs:gMonth": //(--MM--)
+			var re = new RegExp("^--([0-9]{2})--$");
+			if (parts=re.exec(date)){
+				oDate.setMonth(parts[1]-1);
+				gsSuppliedFormat = "xs:gMonth";
+				return oDate;
+			}
+			break;
+		case "xs:gDay": //(---DD)
+			var re = new RegExp("^---([0-9]{2})$");
+			if (parts=re.exec(date)){
+				oDate.setDate(parts[1]);
+				gsSuppliedFormat = "xs:gDay";
+				return oDate;
+			}
+			break;
+		default:
+			// format string 
+			var Z = "";
+			for (var i=0,j=0; i < format.length & oDate.toString() != "NaN";){
+				var s = j;
+				switch(format.substr(i, 1)){
+					case "G"://        era designator          (Text)              AD
+						while (format.substr(i, 1)=="G"){i++;j++;}
+						j++;
+						if (date.substr(s,j-s) == "BC" || date.substr(s,j-s) == "bc"){
+							oDate.setFullYear(-oDate.getFullYear);
+						}
+						break;
+					case "y"://        year                    (Number)            1996
+						while (format.substr(i, 1)=="y"){i++;j++;}
+						oDate.setYear(date.substr(s,j-s));
+						break;
+					case "M"://        month in year           (Text &amp; Number)     July &amp; 07
+						while (format.substr(i, 1)=="M"){i++;j++;}
+						if (i-s <= 2){
+							oDate.setMonth(date.substr(s,j-s)-1);
+						}else{
+							oDate.setMonth(_monthNumber(date.substr(s,j-s)));
+						}
+						break;
+					case "d"://        day in month            (Number)            10
+						while (format.substr(i, 1)=="d"){i++;j++;}
+						oDate.setDate(date.substr(s,j-s));
+						break;
+					case "h"://        hour in am/pm (1~12)    (Number)            12
+						while (format.substr(i, 1)=="h"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "H"://        hour in day (0~23)      (Number)            0
+						while (format.substr(i, 1)=="H"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "m"://        minute in hour          (Number)            30
+						while (format.substr(i, 1)=="m"){i++;j++;}
+						oDate.setMinutes(date.substr(s,j-s));
+						break;
+					case "s"://        second in minute        (Number)            55
+						while (format.substr(i, 1)=="s"){i++;j++;}
+						oDate.setSeconds(date.substr(s,j-s));
+						break;
+					case "S"://        millisecond             (Number)            978
+						while (format.substr(i, 1)=="S"){i++;j++;}
+						oDate.setMilliseconds(date.substr(s,j-s));
+						break;
+					case "E"://        day in week             (Text)              Tuesday
+						while (format.substr(i, 1)=="E"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "D"://        day in year             (Number)            189
+						while (format.substr(i, 1)=="D"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "F"://        day of week in month    (Number)            2 (2nd Wed in July)
+						while (format.substr(i, 1)=="F"){i++;j++;}
+						break;
+					case "w"://        week in year            (Number)            27
+						while (format.substr(i, 1)=="w"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "W"://        week in month           (Number)            2
+						while (format.substr(i, 1)=="W"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "a"://        am/pm marker            (Text)              PM
+						while (format.substr(i, 1)=="a"){i++;j++;}
+						j++;
+						if (date.substr(s,j-s) == "PM" || date.substr(s,j-s) == "pm")
+							oDate.setHours(oDate.getHours()+12);
+						break;
+					case "k"://        hour in day (1~24)      (Number)            24
+						while (format.substr(i, 1)=="k"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "K"://        hour in am/pm (0~11)    (Number)            0
+						while (format.substr(i, 1)=="K"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "z"://        time zone               (Text)              Pacific Standard Time
+						while (format.substr(i, 1)=="z"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						//oDate.setMinutes(oDate.getMinutes() - oDate.getTimezoneOffset());
+						Z = date.substr(s,j-s);
+ 						break;
+ 					case "'"://        escape for text         (Delimiter)
+ 						if (format.substr(i+1, 1) == "'"){
+ 							i+=2;
+ 						}else{
+ 							i++;
+ 							while (format.substr(i, 1)!="'"){i++;j++;}
+ 							i++;
+ 						}
+ 						break;
+					default:
+						if (format.substr(i, 1) != date.substr(j, 1)){
+							return false;
+						}
+						i++;j++;
+						break;
+				}
+			}
+			if (j < date.length)
+				return false;
+			if (oDate.toString() != "NaN"){
+				if (Z != ""){
+					var re = new RegExp("([\+\-][0-9]{2})?:([0-9]{2})?");
+					if (parts=re.exec(Z)){
+						// check GMT/BST
+						var tzo = parts[1]*60 + parts[2];
+						//if (tzo != new Date().getTimezoneOffset()){
+						//	oDate.setMinutes(oDate.getMinutes() - (oDate.getTimezoneOffset() - tzo))
+						//}
+					}
+				}
+				gsSuppliedFormat = "custom";
+				return oDate;
+			}
+			break;
+	}
+	return false;
+}
+function _formatDate(oDate, format){
+	if (oDate == Number.NaN)return Number.NaN;
+	switch(format){
+		case "xs:dateTime": //(CCYY-MM-DDThh:mm:ss)
+			var tzo = oDate.getTimezoneOffset(); 
+			return oDate.getFullYear() + "-" + pad(oDate.getMonth()+1) + "-" + pad(oDate.getDate()) + "T" +
+				   pad(oDate.getHours()) + ":" + pad(oDate.getMinutes()) + ":" + pad(oDate.getSeconds()) + (tzo < 0?"-":"+") + pad(Math.abs(tzo/60)) + ":" + pad(tzo % 60);
+			break;
+		case "xs:date": //(CCYY-MM-DD) 
+			return oDate.getFullYear() + "-" + pad(oDate.getMonth()+1) + "-" + pad(oDate.getDate());
+			break;
+		case "xs:time": //(hh:mm:ss)
+			var tzo = oDate.getTimezoneOffset(); 
+			return pad(oDate.getHours()) + ":" + pad(oDate.getMinutes()) + ":" + pad(oDate.getSeconds()) + (tzo < 0?"-":"+") + pad(Math.abs(tzo/60)) + ":" + pad(tzo % 60);
+			break;
+		case "xs:gYearMonth": //(CCYY-MM)
+			return oDate.getFullYear() + "-" + pad(oDate.getMonth()+1);
+			break;
+		case "xs:gYear": //(CCYY)
+			return oDate.getFullYear();
+			break;
+		case "xs:gMonthDay": //(--MM-DD)
+			return pad(oDate.getMonth() + 1) + "-" + pad(oDate.getDate());
+			break;
+		case "xs:gMonth": //(--MM--)
+			return pad(oDate.getMonth()+1);
+			break;
+		case "xs:gDay": //(---DD)
+			return pad(oDate.getDate());
+			break;
+	}
+	return false;
+}
+function pad(v){
+	return (v<10?"0"+v:v);
+}
+
+function _validDuration(d){
+        var parts;
+        var re = new RegExp("^([\-])?P(([0-9]+)Y)?(([0-9]+)M)?(([0-9]+)D)?((T)?(([0-9]+)H)?(([0-9]+)M)?((([0-9]+)(\.([0-9]+))?)S)?)?$");
+        if (parts = re.exec(d)){
+                if ((/T$/.exec(d)) || (parts[9] == "T" && parts[11]+parts[13]+parts[16]+parts[18]== ""))// ~(:+(|) duh!!!
+                        return Number.NaN;
+                return new Duration(parts[1], parts[3], parts[5], parts[7], parts[11], parts[13], parts[16], parts[18]);
+        }
+        return Number.NaN;
+}
+
+function Duration(pm, years, months, days, hours, minutes, seconds, fraction){
+	this.pm = pm;
+	this.years = years*1;
+	this.months = months*1;
+	this.days = days*1;
+	this.hours = hours*1;
+	this.minutes = minutes*1;
+	this.seconds = seconds*1;
+	this.fraction = fraction*1;
+	this.milliseconds = eval('0.'+fraction) * 100;
+	this.mask = ((this.years?1:0)<<6) + ((this.months?1:0)<<5) + ((this.days?1:0)<<4) + ((this.hours?1:0)<<3) + ((this.minutes?1:0)<<2) + ((this.seconds?1:0)<<1) + (this.milliseconds?1:0);
+	this.addDate = function(d){d.setFullYear(eval(this.pm+this.years)+d.getFullYear(),eval(this.pm+this.months)+d.getMonth(),eval(this.pm+this.days)+d.getDate());d.setHours(eval(this.pm+this.hours)+d.getHours(),eval(this.pm+this.minutes)+d.getMinutes(),eval(this.pm+this.seconds)+d.getSeconds());d.setMilliseconds(eval(this.pm+this.milliseconds));return d;}
+	this.Seconds = function(){if (this.years || this.months)return Number.NaN;return this.days*giDayMill + this.hours*giHourMill + this.minutes*giMinMill + this.seconds*giSecMill;}
+}
+var giYearMill = 31536000000;
+var giMonthMill = 2592000000;
+var giDayMill = 86400000;
+var giHourMill = 3600000;
+var giMinMill = 60000;
+var giSecMill = 1000;
+function _formatDuration(du){
+	if (typeof(du) == "object"){
+		var pm = du.pm;
+		var y = du.years;
+		var m = du.months;
+		var d = du.days;
+		var h = du.hours;
+		var n = du.minutes;
+		var s = du.seconds + du.milliseconds/1000;
+		
+		if (y+m+d+h+n+s == 0)
+			return 'P0S';
+		return pm + "P" + 
+				(y!=0?y + "Y":'') + 
+				(m!=0?m + "M":'') + 
+				(d!=0?d + "D":'') + 
+				(h+n+s!=0?"T":'') +
+				(h!=0?h + "H":'') + 
+				(n!=0?n + "M":'') + 
+				(s!=0?s + "S":'');
+	}else{
+		var pm = (du<0?'-':'');
+		du = Math.abs(du);
+		var d = Math.floor((du) / giDayMill);
+		var h = Math.floor((du % giDayMill) / giHourMill);
+		var n = Math.floor((du % giHourMill) / giMinMill);
+		var s = Math.floor((du % giMinMill) / giSecMill) + (du % giSecMill)/1000;
+		return pm + "P" + 
+				(d!=0?d + "D":'') + 
+				(h+n+s!=0?"T":'') +
+				(h!=0?h + "H":'') + 
+				(n!=0?n + "M":'') + 
+				(s!=0?s + "S":'');
+	}
+}
+]]>
+</msxsl:script>
+
+</xsl:stylesheet>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.js
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.js (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.js (revision 130)
@@ -0,0 +1,1257 @@
+/**
+<doc:module date="2001-06-12">
+   <doc:module>exslt:date-time</doc:module>
+   <doc:name>dates</doc:name>
+   <doc:version>2.0</doc:version>
+   <doc:language>exslt:javascript</doc:language>
+   <doc:meta>
+      <doc:author email="chris@bayes.co.uk" url="http://www.bayes.co.uk">Chris Bayes</doc:author>
+      <doc:summary>Implementation of EXSLT - Dates (http://www.exslt.org/date)</doc:summary>
+      <doc:todo>_validDuration is not 100%</doc:todo>
+      <doc:todo>All timezone code.</doc:todo>
+   </doc:meta>
+</doc:module>
+**/
+var gsSuppliedFormat = "";
+var gsLang = "en";
+var gaLang = new Array();
+// en 
+gaLang["en"] = new Array();
+gaLang["en"]["months"] = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
+gaLang["en"]["shortMonths"] = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
+gaLang["en"]["days"] = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
+gaLang["en"]["shortDays"] = new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
+
+
+var gaDayNames = new Array();
+gaDayNames["sunday"] = 0;gaDayNames["monday"] = 1;gaDayNames["tuesday"] = 2;gaDayNames["wednesday"] = 3;gaDayNames["thursday"] = 4;gaDayNames["friday"] = 5;gaDayNames["saturday"] = 6;
+var gaMonthCnt = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
+var gaMonthCntL = new Array(31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
+function _isLeap(y){return ( ((y%4==0)&(y%100!=0))|(y%400==0) );}
+function _dayOfWeek(y,d){return ( ((y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+d)%7);}
+function _dayInYear(y,m,d){return (m==0?d:eval( (_isLeap(y)?gaMonthCntL.slice(0,m).join("+"):gaMonthCnt.slice(0,m).join("+")) )+(d*1) );}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>add</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="duration" type="string" default="''" optional="no"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function add(){//
+	var d1,d2;
+	if (((d1 = _validDate(arguments[0], "xs:dateTime")) ||
+		 (d1 = _validDate(arguments[0], "xs:date")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYearMonth")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYear"))
+		) && 
+		(d2 = _validDuration(arguments[1])))
+		return _formatDate(d2.addDate(d1), gsSuppliedFormat);
+	return '';
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>addDuration</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="duration" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="duration" type="string" default="''" optional="no"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function addDuration(duration1, duration2){
+	if ((d1 = _validDuration(duration1)) && (d2 = _validDuration(duration2))){
+		var d1mnth = d1.years *12 + d1.months;
+		var d1secs = d1.days*86400 + d1.hours*3600 + d1.minutes*60 + (d1.seconds+'.'+d1.fraction)*1;
+		var d2mnth = d2.years *12 + d2.months;
+		var d2secs = d2.days*86400 + d2.hours*3600 + d2.minutes*60 + (d2.seconds+'.'+d2.fraction)*1;
+		var mnthdiff = (d1.pm+d1mnth)*1 + (d2.pm+d2mnth)*1;
+		var secsdiff = (d1.pm+d1secs)*1 + (d2.pm+d2secs)*1;
+		if ((mnthdiff < 0 && secsdiff > 0) || (mnthdiff > 0 && secsdiff < 0))
+			return '';
+		var secs = secsdiff % 60;
+		var pm = (mnthdiff<0||secsdiff<0?'-':'');
+		mnthdiff = Math.abs(mnthdiff);
+		secsdiff = Math.abs(secsdiff);
+		return _formatDuration(new Duration(pm, 0, mnthdiff, Math.floor(secsdiff/86400), Math.floor((secsdiff%86400)/3600), Math.floor((secsdiff%3600)/60), Math.floor(secs), Math.floor(secs%1)));
+	}
+	return '';
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>date</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function date(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _formatDate(oDate, "xs:date");
+		else
+			return '';
+	}else
+		return _formatDate(new Date(), "xs:date");
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dateTime</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args />
+</doc:function>
+**/
+function dateTime(){//must be UTC/Z
+	if (arguments.length > 0)
+		dateTime_invalidArgument.error;
+	var oDate = new Date();
+	return _formatDate(oDate, "xs:dateTime");
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayAbbreviation</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayAbbreviation(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:date"))
+		   )
+			return _dayAbbreviation(oDate.getDay(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _dayAbbreviation(new Date().getDay(), arguments[1], arguments[2]);
+}
+function _dayAbbreviation(num, dfName, ctx){
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='days' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='day' and namespace-uri()='http://exslt.org/dates-and-times']/@abbr");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else{ //we could try local
+		return gaLang[gsLang]["shortDays"][num*1];
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayInMonth</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayInMonth(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay")) ||
+			(oDate = _validDate(arguments[0], "xs:gDay"))
+		    )
+			return oDate.getDate();
+		else
+			return Number.NaN
+	}else
+		return new Date().getDate();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayInWeek</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayInWeek(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:date"))
+		   )
+			return _dayInWeek(oDate, arguments[1], arguments[2]);
+		else
+			return Number.NaN;
+	}else
+		return _dayInWeek(new Date(), arguments[1], arguments[2]);
+}
+function _dayInWeek(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+	}
+	return (oDate.getDay()-fdow<0?oDate.getDay()-fdow+7:oDate.getDay()-fdow)+1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayInYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayInYear(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate());
+		else
+			return Number.NaN;
+	}else{
+		var oDate = new Date()
+		return _dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate());
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayName</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayName(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:date"))
+		   )
+			return _dayName(oDate.getDay(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _dayName(new Date().getDay(), arguments[1], arguments[2]);
+}
+function _dayName(num, dfName, ctx){
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='days' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='day' and namespace-uri()='http://exslt.org/dates-and-times']/text()");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else
+		return gaLang[gsLang]["days"][num*1];
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>dayOfWeekInMonth</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function dayOfWeekInMonth(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _dayOfWeekInMonth(oDate, arguments[1], arguments[2]);
+		else
+			return Number.NaN;
+	}else
+		return _dayOfWeekInMonth(new Date(), arguments[1], arguments[2]);	
+}
+function _dayOfWeekInMonth(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+	}
+	if (fdow > (oDate.getDay()-1))
+		return Math.floor((oDate.getDate())/7)+1;
+	else
+		return Math.floor((oDate.getDate())/7) + 1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>difference</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function difference(){
+	if (((d1 = _validDate(arguments[0], "xs:dateTime")) ||
+		 (d1 = _validDate(arguments[0], "xs:date")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYearMonth")) ||
+		 (d1 = _validDate(arguments[0], "xs:gYear"))
+		) &&
+		((d2 = _validDate(arguments[1], "xs:dateTime")) ||
+		 (d2 = _validDate(arguments[1], "xs:date")) ||
+		 (d2 = _validDate(arguments[1], "xs:gYearMonth")) ||
+		 (d2 = _validDate(arguments[1], "xs:gYear"))
+		 )
+		){// truncation
+		var diffMil = d2.valueOf() - d1.valueOf();
+		return _formatDuration(diffMil);
+	}
+	return Number.NaN;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>duration</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="seconds" type="number" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function duration(){
+	var oDate;
+	if (arguments.length > 0){
+		var nN = new Number(arguments[0]);
+		if (isNaN(nN))
+			return '';
+		else
+			return _formatDuration(arguments[0] * 1000);
+	}else
+		return _formatDuration(seconds() * 1000);
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>formatDate</doc:name>
+	<doc:version>1.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="format" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="context" type="document" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function formatDate(date, format, dateF, ctx){
+	var oDate;
+	var re;
+	var retString = "";
+	if ((oDate = _validDate(date, "xs:dateTime")) ||
+		(oDate = _validDate(date, "xs:date")) ||
+		(oDate = _validDate(date, "xs:time")) ||
+		(oDate = _validDate(date, "xs:gYearMonth")) ||
+		(oDate = _validDate(date, "xs:gYear")) ||
+		(oDate = _validDate(date, "xs:gMonthDay")) ||
+		(oDate = _validDate(date, "xs:gMonth")) ||
+		(oDate = _validDate(date, "xs:gDay"))
+		){
+		for (var i=0; i < format.length;){
+			var s = i;
+			switch(format.substr(i, 1)){
+				case "G"://        era designator          (Text)              AD
+					while (format.substr(i, 1)=="G"){i++;}
+					if (oDate.getFullYear() < 0){
+						retString += "BC";
+					}else{
+						retString += "AD";
+					}
+					break;
+				case "y"://        year                    (Number)            1996
+					while (format.substr(i, 1)=="y"){i++;}
+					if (i-s > 2){
+						retString += oDate.getFullYear();
+					}else{
+						retString += oDate.getFullYear().toString().substring(4-(i-s));
+					}
+					break;
+				case "M"://        month in year           (Text &amp; Number)     July &amp; 07
+					while (format.substr(i, 1)=="M"){i++;}
+					if (i-s <= 2){
+						retString += pad(oDate.getMonth()+1);
+					}else{
+						retString += _monthName(oDate.getMonth(), dateF, ctx);
+					}
+					break;
+				case "d"://        day in month            (Number)            10
+					while (format.substr(i, 1)=="d"){i++;}
+					retString += pad(oDate.getDate());
+					break;
+				case "h"://        hour in am/pm (1~12)    (Number)            12
+					while (format.substr(i, 1)=="h"){i++;}
+					if (oDate.getHours() > 12){
+						retString += pad(oDate.getHours()-12);
+					}else{
+						retString += pad(oDate.getHours());
+					}
+					break;
+				case "H"://        hour in day (0~23)      (Number)            0
+					while (format.substr(i, 1)=="H"){i++;}
+					retString += oDate.getHours();
+					break;
+				case "m"://        minute in hour          (Number)            30
+					while (format.substr(i, 1)=="m"){i++;}
+					retString += pad(oDate.getMinutes());
+					break;
+				case "s"://        second in minute        (Number)            55
+					while (format.substr(i, 1)=="s"){i++;}
+					retString += pad(oDate.getSeconds());
+					break;
+				case "S"://        millisecond             (Number)            978
+					while (format.substr(i, 1)=="S"){i++;}
+					retString += oDate.getMilliseconds();
+					break;
+				case "E"://        day in week             (Text)              Tuesday
+					while (format.substr(i, 1)=="E"){i++;}
+					retString += dayInWeek(oDate, dateF, ctx);
+					break;
+				case "D"://        day in year             (Number)            189
+					while (format.substr(i, 1)=="D"){i++;}
+					retString += _dayInYear(oDate.getFullYear(), oDate.getMonths(), oDate.getDate());
+					break;
+				case "F"://        day of week in month    (Number)            2 (2nd Wed in July)
+					while (format.substr(i, 1)=="F"){i++;}
+					retString += dayOfWeekInMonth(oDate, dateF, ctx);
+					break;
+				case "w"://        week in year            (Number)            27
+					while (format.substr(i, 1)=="w"){i++;}
+					retString += weekInYear(oDate, dateF, ctx);
+					break;
+				case "W"://        week in month           (Number)            2
+					while (format.substr(i, 1)=="W"){i++;}
+					retString += weekInMonth(oDate, dateF, ctx);
+					break;
+				case "a"://        am/pm marker            (Text)              PM
+					while (format.substr(i, 1)=="a"){i++;}
+					if (oDate.getHours() > 12 ){
+						retString += "PM"
+					}else{
+						retString += "AM"
+					}
+					break;
+				case "k"://        hour in day (1~24)      (Number)            24
+					while (format.substr(i, 1)=="k"){i++;}
+					retString += oDate.getHours();
+					break;
+				case "K"://        hour in am/pm (0~11)    (Number)            0
+					while (format.substr(i, 1)=="K"){i++;}
+					if (oDate.getHours() > 12){
+						retString += oDate.getHours()-12;
+					}else{
+						retString += oDate.getHours();
+					}
+					break;
+				case "z"://        time zone               (Text)              Pacific Standard Time
+				
+				
+				
+					while (format.substr(i, 1)=="z"){i++;}
+					var tzo = oDate.getTimezoneOffset();
+					retString += (tzo < 0?"-":"+") + pad(Math.abs(tzo / 60)) + ":" + pad(tzo % 60);
+ 					break;
+ 				case "'"://        escape for text         (Delimiter)
+ 					if (format.substr(i+1, 1) == "'"){
+ 						i++;
+ 						while (format.substr(i, 1)=="'"){i++;}
+ 						retString += "'";
+ 					}else{
+ 						i++;
+ 						while (format.substr(i, 1)!="'" && i <= format.length){retString += format.substr(i++, 1);}
+ 						if (i >= format.length)return '';
+ 						i++;
+ 					}
+ 					break;
+				default:
+					retString += format.substr(i, 1);
+					i++;
+					break;
+			}
+		}
+	}
+	return retString;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>hourInDay</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function hourInDay(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:time"))
+		   )
+			return oDate.getHours();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getHours();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>leapYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="boolean" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function leapYear(){
+	if (arguments.length > 0 && arguments[0] != ''){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+		    )
+			return (_isLeap(oDate.getFullYear())?true:false);
+		else
+			return Number.NaN;
+	}else
+		return (_isLeap(new Date().getFullYear())?true:false);
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>minuteInHour</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function minuteInHour(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:time"))
+		   )
+			return oDate.getMinutes();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getMinutes();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>monthAbbreviation</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function monthAbbreviation(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay"))
+		    )
+			return _monthAbbreviation(oDate.getMonth(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _monthAbbreviation(new Date().getMonth(), arguments[1], arguments[2]);
+}
+function _monthAbbreviation(num, dfName, ctx){//
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='months' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='month' and namespace-uri()='http://exslt.org/dates-and-times']/@abbr");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else{ //we could try local
+		return gaLang[gsLang]["shortMonths"][num*1];
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>monthInYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function monthInYear(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+		    )
+			return oDate.getMonth()+1;
+		else
+			return Number.NaN;
+	}else
+		return new Date().getMonth()+1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>monthName</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function monthName(){//
+	if (arguments.length > 0){// && arguments[0] != ''
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gMonthDay"))
+		    )
+			return _monthName(oDate.getMonth(), arguments[1], arguments[2]);
+		else
+			return '';
+	}else
+		return _monthName(new Date().getMonth(), arguments[1],  arguments[2]);
+}
+function _monthName(num, dfName, ctx){//
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectNodes(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/*[local-name()='months' and namespace-uri()='http://exslt.org/dates-and-times']" +
+			"/*[local-name()='month' and namespace-uri()='http://exslt.org/dates-and-times']/text()");
+		if (nodes != null)
+			return nodes[num].nodeValue;
+		else
+			return '';
+	}else
+		return gaLang[gsLang]["months"][num*1];
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>parseDate</doc:name>
+	<doc:version>1.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="input-format" type="string" default="''" optional="no"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="document" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function parseDate(date, inFormat, dfName, ctx){//0001
+	var oDate;
+	if (inFormat == ""){
+		if ((oDate = _validDate(date, "xs:dateTime")) ||
+			(oDate = _validDate(date, "xs:date")) ||
+			(oDate = _validDate(date, "xs:time")) ||
+			(oDate = _validDate(date, "xs:gYearMonth")) ||
+			(oDate = _validDate(date, "xs:gYear")) ||
+			(oDate = _validDate(date, "xs:gMonthDay")) ||
+			(oDate = _validDate(date, "xs:gMonth")) ||
+			(oDate = _validDate(date, "xs:gDay"))
+			){
+			return _formatDate(oDate, "xs:dateTime");
+		}
+	}else{
+		if (oDate = _validDate(date, inFormat))
+         return _formatDate(oDate, dfName);
+		else
+			return '';
+	}
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>secondInMinute</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function secondInMinute(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+		    (oDate = _validDate(arguments[0], "xs:time"))
+		   )
+			return oDate.getSeconds();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getSeconds();
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>seconds</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function seconds(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+			)
+			return oDate.valueOf()/1000;
+		else 
+			if (oDate = _validDuration(arguments[0]))
+				return oDate.Seconds();
+			else
+				return Number.NaN;
+	}else
+		return Math.floor(new Date().valueOf()/1000);//current local date/time
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>sum</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="durations" type="node-set" default="''" optional="no"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function sum(ctx){
+	var sDate = "P0S";
+	if (typeof(ctx) == "object"){
+		if (ctx.length){
+			for (var i=0; i < ctx.length; i++){
+				ctxN  = ctx.item(i);
+				if (ctxN.nodeType == 1){
+					if (!(sDate = addDuration(sDate, _wander(ctxN))))
+						return '';
+				}
+				if (ctxN.nodeType == 2){
+					if (!(sDate = addDuration(sDate, ctxN.nodeValue)))
+						return '';
+				}
+			}
+		}else{
+			if (!(sDate = addDuration(sDate, ctx.nodeValue)))
+					return '';
+		}
+	}else{
+		return '';
+	}
+	return sDate;
+}
+function   _wander(ctx){
+	var sDate = "P0S";
+	for (var i=0; i < ctx.childNodes.length; i++){
+		ctxN = ctx.childNodes[i];
+		switch(ctxN.nodeType){
+			case 1:
+				if (!(sDate = addDuration(sDate, _wander(ctxN))))
+						return '';
+				break;
+			case 3:
+				if (!(sDate = addDuration(sDate, ctxN.nodeValue)))
+						return '';
+				break;
+			default:
+				break;
+		}
+	}
+	return sDate;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>time</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="string" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function time(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime"))||
+			(oDate = _validDate(arguments[0], "xs:time"))
+		)
+			return _formatDate(oDate, "xs:time");
+		else
+			return '';
+	}else
+		return _formatDate(new Date(), "xs:time");
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>weekInMonth</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function weekInMonth(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _weekInMonth(oDate, arguments[1], arguments[2]);
+		else
+			return Number.NaN;
+	}else
+		return _weekInMonth(new Date(), arguments[1], arguments[2]);	
+}
+function _weekInMonth(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+	}
+	var f = new Date(oDate);
+	f.setDate(1)
+	var fd = f.getDay()-1;
+	var dt = oDate.getDate() + fd - fdow;
+	return Math.floor((dt)/7)+1;
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>weekInYear</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="date-format" type="string" default="''" optional="yes"></doc:arg>
+		<doc:arg name="context" type="context" default="null" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function weekInYear(){
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date"))
+			)
+			return _weekInYear(oDate, arguments[1], arguments[2]);
+	}else 
+		return _weekInYear(new Date());
+	return '';
+}
+function _weekInYear(oDate, dfName, ctx){
+	var fdow = 0;
+	if (ctx != null){
+		var nodes = ctx.nextNode.selectSingleNode(
+			"//*[local-name()='date-format' and namespace-uri()='http://exslt.org/dates-and-times' and @name='" + dfName +"' ]" +
+			"/@first-day-of-week");
+		if (nodes != null)
+			fdow = gaDayNames[nodes.nodeValue];
+		return Math.ceil(_dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate()+(7-fdow)) / 7);
+	}else
+		return Math.ceil(_dayInYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate()) / 7);
+}
+/**
+<doc:function date="2001-06-12">
+	<doc:name>year</doc:name>
+	<doc:version>2.0</doc:version>
+	<doc:return type="number" />
+	<doc:args>
+		<doc:arg name="date" type="string" default="''" optional="yes"></doc:arg>
+	</doc:args>
+</doc:function>
+**/
+function year(){//
+	if (arguments.length > 0){
+		var oDate;
+		if ((oDate = _validDate(arguments[0], "xs:dateTime")) ||
+			(oDate = _validDate(arguments[0], "xs:date")) ||
+			(oDate = _validDate(arguments[0], "xs:gYearMonth")) ||
+			(oDate = _validDate(arguments[0], "xs:gYear"))
+		    )
+			return oDate.getFullYear();
+		else
+			return Number.NaN;
+	}else
+		return new Date().getFullYear();
+}
+/**
+Private functions.
+**/
+function _validDate(date, format){
+	var parts;
+	var oDate = new Date(-62135596800000); // Mon Jan 1 00:00:00 UTC 1
+	switch(format){
+		case "xs:dateTime": //(CCYY-MM-DDThh:mm:ss)
+			var re = new RegExp("^([0-9]{4})-([0-9]{2})-([0-9]{2})(T([0-9]{2})(:([0-9]{2})(:([0-9]{2}))?)?)?(Z)?([\+\-][0-9]{2}:[0-9]{2})?$");
+			if (parts=re.exec(date)){
+				if (parts[10] == "Z"){
+					oDate.setFullYear(parts[1], parts[2]-1, parts[3]);
+					oDate.setHours(parts[5], parts[7], parts[9]);
+					oDate.setMinutes(oDate.getMinutes()-oDate.getTimezoneOffset());
+					gsSuppliedFormat = "xs:dateTime";
+					return oDate;
+				}else{
+					oDate.setFullYear(parts[1], parts[2]-1, parts[3]);
+					oDate.setHours(parts[5], parts[7], parts[9]);
+					gsSuppliedFormat = "xs:dateTime";
+					return oDate;
+				}
+			}
+			break;
+		case "xs:date": //(CCYY-MM-DD) 
+			var re = new RegExp("^([0-9]{4})-([0-9]{2})-([0-9]{2})$");
+			if (parts=re.exec(date)){
+				oDate.setFullYear(parts[1], parts[2]-1, parts[3]);
+				gsSuppliedFormat = "xs:date";
+				return oDate;
+			}
+			break;
+		case "xs:time": //(hh:mm:ss)
+			var re = new RegExp("^([0-9]{2})(:([0-9]{2})(:([0-9]{2}))?)?(Z)?$");
+			if (parts=re.exec(date)){
+				if (parts[9] == "Z"){
+					oDate.setHours(parts[1], parts[3], parts[5]);
+					oDate.setMinutes(oDate.getMinutes()-oDate.getTimezoneOffset());
+					gsSuppliedFormat = "xs:time";
+					return oDate;
+				}else{
+					oDate.setHours(parts[1], parts[3], parts[5]);
+					gsSuppliedFormat = "xs:time";
+					return oDate;
+				}
+			}
+			break;
+		case "xs:gYearMonth": //(CCYY-MM)
+			var re = new RegExp("^([0-9]{4})-([0-9]{2})$");
+			if (parts=re.exec(date)){
+				oDate.setFullYear(parts[1], parts[2]-1);
+				gsSuppliedFormat = "xs:gYearMonth";
+				return oDate;
+			}
+			break;
+		case "xs:gYear": //(CCYY)
+			var re = new RegExp("^([0-9]{4})$");
+			if (parts=re.exec(date)){
+				oDate.setFullYear(parts[1]);
+				gsSuppliedFormat = "xs:gYear";
+				return oDate;
+			}
+			break;
+		case "xs:gMonthDay": //(^--MM-DD)
+			var re = new RegExp("--([0-9]{2})-([0-9]{2})");
+			if (parts=re.exec(date)){
+				oDate.setMonth(parts[1]-1, parts[2]);
+				gsSuppliedFormat = "xs:gMonthDay";
+				return oDate;
+			}
+			break;
+		case "xs:gMonth": //(--MM--)
+			var re = new RegExp("^--([0-9]{2})--$");
+			if (parts=re.exec(date)){
+				oDate.setMonth(parts[1]-1);
+				gsSuppliedFormat = "xs:gMonth";
+				return oDate;
+			}
+			break;
+		case "xs:gDay": //(---DD)
+			var re = new RegExp("^---([0-9]{2})$");
+			if (parts=re.exec(date)){
+				oDate.setDate(parts[1]);
+				gsSuppliedFormat = "xs:gDay";
+				return oDate;
+			}
+			break;
+		default:
+			// format string 
+			var Z = "";
+			for (var i=0,j=0; i < format.length & oDate.toString() != "NaN";){
+				var s = j;
+				switch(format.substr(i, 1)){
+					case "G"://        era designator          (Text)              AD
+						while (format.substr(i, 1)=="G"){i++;j++;}
+						j++;
+						if (date.substr(s,j-s) == "BC" || date.substr(s,j-s) == "bc"){
+							oDate.setFullYear(-oDate.getFullYear);
+						}
+						break;
+					case "y"://        year                    (Number)            1996
+						while (format.substr(i, 1)=="y"){i++;j++;}
+						oDate.setYear(date.substr(s,j-s));
+						break;
+					case "M"://        month in year           (Text &amp; Number)     July &amp; 07
+						while (format.substr(i, 1)=="M"){i++;j++;}
+						if (i-s <= 2){
+							oDate.setMonth(date.substr(s,j-s)-1);
+						}else{
+							oDate.setMonth(_monthNumber(date.substr(s,j-s)));
+						}
+						break;
+					case "d"://        day in month            (Number)            10
+						while (format.substr(i, 1)=="d"){i++;j++;}
+						oDate.setDate(date.substr(s,j-s));
+						break;
+					case "h"://        hour in am/pm (1~12)    (Number)            12
+						while (format.substr(i, 1)=="h"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "H"://        hour in day (0~23)      (Number)            0
+						while (format.substr(i, 1)=="H"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "m"://        minute in hour          (Number)            30
+						while (format.substr(i, 1)=="m"){i++;j++;}
+						oDate.setMinutes(date.substr(s,j-s));
+						break;
+					case "s"://        second in minute        (Number)            55
+						while (format.substr(i, 1)=="s"){i++;j++;}
+						oDate.setSeconds(date.substr(s,j-s));
+						break;
+					case "S"://        millisecond             (Number)            978
+						while (format.substr(i, 1)=="S"){i++;j++;}
+						oDate.setMilliseconds(date.substr(s,j-s));
+						break;
+					case "E"://        day in week             (Text)              Tuesday
+						while (format.substr(i, 1)=="E"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "D"://        day in year             (Number)            189
+						while (format.substr(i, 1)=="D"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "F"://        day of week in month    (Number)            2 (2nd Wed in July)
+						while (format.substr(i, 1)=="F"){i++;j++;}
+						break;
+					case "w"://        week in year            (Number)            27
+						while (format.substr(i, 1)=="w"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "W"://        week in month           (Number)            2
+						while (format.substr(i, 1)=="W"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						break;
+					case "a"://        am/pm marker            (Text)              PM
+						while (format.substr(i, 1)=="a"){i++;j++;}
+						j++;
+						if (date.substr(s,j-s) == "PM" || date.substr(s,j-s) == "pm")
+							oDate.setHours(oDate.getHours()+12);
+						break;
+					case "k"://        hour in day (1~24)      (Number)            24
+						while (format.substr(i, 1)=="k"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "K"://        hour in am/pm (0~11)    (Number)            0
+						while (format.substr(i, 1)=="K"){i++;j++;}
+						oDate.setHours(date.substr(s,j-s));
+						break;
+					case "z"://        time zone               (Text)              Pacific Standard Time
+						while (format.substr(i, 1)=="z"){i++;j++;}
+						while (format.substr(i+1, 1)!=date.substr(j, 1)){j++;}
+						//oDate.setMinutes(oDate.getMinutes() - oDate.getTimezoneOffset());
+						Z = date.substr(s,j-s);
+ 						break;
+ 					case "'"://        escape for text         (Delimiter)
+ 						if (format.substr(i+1, 1) == "'"){
+ 							i+=2;
+ 						}else{
+ 							i++;
+ 							while (format.substr(i, 1)!="'"){i++;j++;}
+ 							i++;
+ 						}
+ 						break;
+					default:
+						if (format.substr(i, 1) != date.substr(j, 1)){
+							return false;
+						}
+						i++;j++;
+						break;
+				}
+			}
+			if (j < date.length)
+				return false;
+			if (oDate.toString() != "NaN"){
+				if (Z != ""){
+					var re = new RegExp("([\+\-][0-9]{2})?:([0-9]{2})?");
+					if (parts=re.exec(Z)){
+						// check GMT/BST
+						var tzo = parts[1]*60 + parts[2];
+						//if (tzo != new Date().getTimezoneOffset()){
+						//	oDate.setMinutes(oDate.getMinutes() - (oDate.getTimezoneOffset() - tzo))
+						//}
+					}
+				}
+				gsSuppliedFormat = "custom";
+				return oDate;
+			}
+			break;
+	}
+	return false;
+}
+function _formatDate(oDate, format){
+	if (oDate == Number.NaN)return Number.NaN;
+	switch(format){
+		case "xs:dateTime": //(CCYY-MM-DDThh:mm:ss)
+			var tzo = oDate.getTimezoneOffset(); 
+			return oDate.getFullYear() + "-" + pad(oDate.getMonth()+1) + "-" + pad(oDate.getDate()) + "T" +
+				   pad(oDate.getHours()) + ":" + pad(oDate.getMinutes()) + ":" + pad(oDate.getSeconds()) + (tzo < 0?"-":"+") + pad(Math.abs(tzo/60)) + ":" + pad(tzo % 60);
+			break;
+		case "xs:date": //(CCYY-MM-DD) 
+			return oDate.getFullYear() + "-" + pad(oDate.getMonth()+1) + "-" + pad(oDate.getDate());
+			break;
+		case "xs:time": //(hh:mm:ss)
+			var tzo = oDate.getTimezoneOffset(); 
+			return pad(oDate.getHours()) + ":" + pad(oDate.getMinutes()) + ":" + pad(oDate.getSeconds()) + (tzo < 0?"-":"+") + pad(Math.abs(tzo/60)) + ":" + pad(tzo % 60);
+			break;
+		case "xs:gYearMonth": //(CCYY-MM)
+			return oDate.getFullYear() + "-" + pad(oDate.getMonth()+1);
+			break;
+		case "xs:gYear": //(CCYY)
+			return oDate.getFullYear();
+			break;
+		case "xs:gMonthDay": //(--MM-DD)
+			return pad(oDate.getMonth() + 1) + "-" + pad(oDate.getDate());
+			break;
+		case "xs:gMonth": //(--MM--)
+			return pad(oDate.getMonth()+1);
+			break;
+		case "xs:gDay": //(---DD)
+			return pad(oDate.getDate());
+			break;
+	}
+	return false;
+}
+function pad(v){
+	return (v<10?"0"+v:v);
+}
+
+function _validDuration(d){
+        var parts;
+        var re = new RegExp("^([\-])?P(([0-9]+)Y)?(([0-9]+)M)?(([0-9]+)D)?((T)?(([0-9]+)H)?(([0-9]+)M)?((([0-9]+)(\.([0-9]+))?)S)?)?$");
+        if (parts = re.exec(d)){
+                if ((/T$/.exec(d)) || (parts[9] == "T" && parts[11]+parts[13]+parts[16]+parts[18]== ""))// ~(:+(|) duh!!!
+                        return Number.NaN;
+                return new Duration(parts[1], parts[3], parts[5], parts[7], parts[11], parts[13], parts[16], parts[18]);
+        }
+        return Number.NaN;
+}
+
+function Duration(pm, years, months, days, hours, minutes, seconds, fraction){
+	this.pm = pm;
+	this.years = years*1;
+	this.months = months*1;
+	this.days = days*1;
+	this.hours = hours*1;
+	this.minutes = minutes*1;
+	this.seconds = seconds*1;
+	this.fraction = fraction*1;
+	this.milliseconds = eval('0.'+fraction) * 100;
+	this.mask = ((this.years?1:0)<<6) + ((this.months?1:0)<<5) + ((this.days?1:0)<<4) + ((this.hours?1:0)<<3) + ((this.minutes?1:0)<<2) + ((this.seconds?1:0)<<1) + (this.milliseconds?1:0);
+	this.addDate = function(d){d.setFullYear(eval(this.pm+this.years)+d.getFullYear(),eval(this.pm+this.months)+d.getMonth(),eval(this.pm+this.days)+d.getDate());d.setHours(eval(this.pm+this.hours)+d.getHours(),eval(this.pm+this.minutes)+d.getMinutes(),eval(this.pm+this.seconds)+d.getSeconds());d.setMilliseconds(eval(this.pm+this.milliseconds));return d;}
+	this.Seconds = function(){if (this.years || this.months)return Number.NaN;return this.days*giDayMill + this.hours*giHourMill + this.minutes*giMinMill + this.seconds*giSecMill;}
+}
+var giYearMill = 31536000000;
+var giMonthMill = 2592000000;
+var giDayMill = 86400000;
+var giHourMill = 3600000;
+var giMinMill = 60000;
+var giSecMill = 1000;
+function _formatDuration(du){
+	if (typeof(du) == "object"){
+		var pm = du.pm;
+		var y = du.years;
+		var m = du.months;
+		var d = du.days;
+		var h = du.hours;
+		var n = du.minutes;
+		var s = du.seconds + du.milliseconds/1000;
+		
+		if (y+m+d+h+n+s == 0)
+			return 'P0S';
+		return pm + "P" + 
+				(y!=0?y + "Y":'') + 
+				(m!=0?m + "M":'') + 
+				(d!=0?d + "D":'') + 
+				(h+n+s!=0?"T":'') +
+				(h!=0?h + "H":'') + 
+				(n!=0?n + "M":'') + 
+				(s!=0?s + "S":'');
+	}else{
+		var pm = (du<0?'-':'');
+		du = Math.abs(du);
+		var d = Math.floor((du) / giDayMill);
+		var h = Math.floor((du % giDayMill) / giHourMill);
+		var n = Math.floor((du % giHourMill) / giMinMill);
+		var s = Math.floor((du % giMinMill) / giSecMill) + (du % giSecMill)/1000;
+		return pm + "P" + 
+				(d!=0?d + "D":'') + 
+				(h+n+s!=0?"T":'') +
+				(h!=0?h + "H":'') + 
+				(n!=0?n + "M":'') + 
+				(s!=0?s + "S":'');
+	}
+}
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.html
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.html (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.html (revision 130)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "/schema/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><title>EXSLT - date:difference - Implementer Page</title><link rel="stylesheet" href="base.css"/></head><body><h1 id="#title"><a href="http://www.exslt.org/">EXSLT</a> - <a href="http://www.exslt.org/date">date</a>:<a href="http://www.exslt.org/date/functions/difference">difference</a> - Implementer Page</h1><table><tr><td id="menu"><p class="level1"><a href="index.html">User Page</a></p><p class="level1"><a href="../../../howto.html">How To</a></p><p class="level1"><a href="../../../download.html">Downloads</a></p><p class="level1">Modules</p><p class="level2"><a href="../../../date/date.html">Dates and Times</a></p><p class="level3"><a href="../../functions/add/date.add.html">date:add()</a></p><p class="level3"><a href="../../functions/add-duration/date.add-duration.html">date:add-duration()</a></p><p class="level3"><a href="../../functions/date/date.date.html">date:date()</a></p><p class="level3"><a href="../../functions/date-time/date.date-time.html">date:date-time()</a></p><p class="level3"><a href="../../functions/day-abbreviation/date.day-abbreviation.html">date:day-abbreviation()</a></p><p class="level3"><a href="../../functions/day-in-month/date.day-in-month.html">date:day-in-month()</a></p><p class="level3"><a href="../../functions/day-in-week/date.day-in-week.html">date:day-in-week()</a></p><p class="level3"><a href="../../functions/day-in-year/date.day-in-year.html">date:day-in-year()</a></p><p class="level3"><a href="../../functions/day-name/date.day-name.html">date:day-name()</a></p><p class="level3"><a href="../../functions/day-of-week-in-month/date.day-of-week-in-month.html">date:day-of-week-in-month()</a></p><p class="level3"><a href="../../functions/difference/date.difference.html">date:difference()</a></p><p class="level3"><a href="../../functions/duration/date.duration.html">date:duration()</a></p><p class="level3"><a href="../../functions/format-date/date.format-date.html">date:format-date()</a></p><p class="level3"><a href="../../functions/hour-in-day/date.hour-in-day.html">date:hour-in-day()</a></p><p class="level3"><a href="../../functions/leap-year/date.leap-year.html">date:leap-year()</a></p><p class="level3"><a href="../../functions/minute-in-hour/date.minute-in-hour.html">date:minute-in-hour()</a></p><p class="level3"><a href="../../functions/month-abbreviation/date.month-abbreviation.html">date:month-abbreviation()</a></p><p class="level3"><a href="../../functions/month-in-year/date.month-in-year.html">date:month-in-year()</a></p><p class="level3"><a href="../../functions/month-name/date.month-name.html">date:month-name()</a></p><p class="level3"><a href="../../functions/parse-date/date.parse-date.html">date:parse-date()</a></p><p class="level3"><a href="../../functions/second-in-minute/date.second-in-minute.html">date:second-in-minute()</a></p><p class="level3"><a href="../../functions/seconds/date.seconds.html">date:seconds()</a></p><p class="level3"><a href="../../functions/sum/date.sum.html">date:sum()</a></p><p class="level3"><a href="../../functions/time/date.time.html">date:time()</a></p><p class="level3"><a href="../../functions/week-in-month/date.week-in-month.html">date:week-in-month()</a></p><p class="level3"><a href="../../functions/week-in-year/date.week-in-year.html">date:week-in-year()</a></p><p class="level3"><a href="../../functions/year/date.year.html">date:year()</a></p><p class="level3"><a href="../../elements/date-format/date.date-format.html">date:date-format</a></p><p class="level2"><a href="../../../dyn/dyn.html">Dynamic</a></p><p class="level2"><a href="../../../exsl/exsl.html">Common</a></p><p class="level2"><a href="../../../func/func.html">Functions</a></p><p class="level2"><a href="../../../math/math.html">Math</a></p><p class="level2"><a href="../../../random/random.html">Random</a></p><p class="level2"><a href="../../../regexp/regexp.html">Regular Expressions</a></p><p class="level2"><a href="../../../set/set.html">Sets</a></p><p class="level2"><a href="../../../str/str.html">Strings</a></p><p class="level1"><a href="../../../submissions/">Submissions</a></p><p class="level1"><a href="../../../list">Mailing List</a></p><p class="level1"><a href="../../../contact.html">Contact</a></p></td><td id="content"><p><b>Version: </b>1<br/><b>Status: </b>implemented<br/><b>User Page: </b><a href="index.html">index.html</a><br/><b>XML Definition: </b><a href="date.difference.xml">date.difference.xml</a><br/><b>Function Package: </b><a href="date.difference.zip">date.difference.zip</a></p><h4>Function Syntax</h4><pre><var>string</var> <b>date:difference</b>(<var>string</var>, <var>string</var>)</pre><h4>Template Syntax</h4><pre>&lt;xsl:call-template name="<b>date:difference</b>"&gt;
+   &lt;xsl:with-param name="start" select="<var>string</var>" /&gt;
+   &lt;xsl:with-param name="end" select="<var>string</var>" /&gt;
+&lt;/xsl:call-template&gt;</pre><div><p>
+         The <code>date:difference</code> function returns the duration between the first date and the second date.  If the first date occurs before the second date, then the result is a positive duration; if it occurs after the second date, the result is a negative duration.
+      </p><p>
+         The two dates must both be right-truncated date/time strings in one of the formats defined in [<a href="http://www.w3.org/TR/xmlschema-2/" class="offsite">XML Schema Part 2: Datatypes</a>].  The date/time with the most specific format (i.e. the least truncation) is converted into the same format as the date with the most specific format (i.e. the most truncation).  The permitted formats are as follows, from most specific to least specific:
+      </p><ul><li><a href="http://www.w3.org/TR/xmlschema-2/#dateTime" class="offsite"><code>xs:dateTime</code></a> (<code><var>CCYY</var>-<var>MM</var>-<var>DD</var>T<var>hh</var>:<var>mm</var>:<var>ss</var></code>)
+         </li><li><a href="http://www.w3.org/TR/xmlschema-2/#date" class="offsite"><code>xs:date</code></a> (<code><var>CCYY</var>-<var>MM</var>-<var>DD</var></code>)
+         </li><li><a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth" class="offsite"><code>xs:gYearMonth</code></a> (<code><var>CCYY</var>-<var>MM</var></code>)
+         </li><li><a href="http://www.w3.org/TR/xmlschema-2/#gYear" class="offsite"><code>xs:gYear</code></a> (<code><var>CCYY</var></code>)
+         </li></ul><p>
+         If either of the arguments is not in one of these formats, <code>date:difference</code> returns the empty string (<code>''</code>).
+      </p><p>
+         The difference between the date/times is returned as a string in the format defined for <code>xs:duration</code> in [<a href="http://www.w3.org/TR/xmlschema-2/#duration" class="offsite">3.2.6 duration</a>] of [<a href="http://www.w3.org/TR/xmlschema-2/" class="offsite">XML Schema Part 2: Datatypes</a>].
+      </p><p>
+         If the date/time string with the least specific format is in either <code>xs:gYearMonth</code> or <code>xs:gYear</code> format, then the number of days, hours, minutes and seconds in the duration string must be equal to zero.  (The format of the string will be <code>P<var>n</var>Y<var>n</var>M</code>.)  The number of months specified in the duration must be less than 12.
+      </p><p>
+         Otherwise, the number of years and months in the duration string must be equal to zero.  (The format of the string will be <code>P<var>n</var>DT<var>n</var>H<var>n</var>M<var>n</var>S</code>.)  The number of seconds specified in the duration string must be less than 60; the number of minutes must be less than 60; the number of hours must be less than 24.
+      </p></div><p>
+      An implementation of this extension 
+      function
+      in the EXSLT date namespace must conform to the behaviour described in this document.
+   </p><h2>Implementations</h2><p>
+            Built-in support for <code>date:difference</code> is available in the following XSLT processors:
+         </p><table><tr><th class="rowhead">Processor</th><th>Processor Version</th><th>Implemented Version</th></tr><tr><td class="rowhead"><a href="http://4Suite.org">4XSLT, from 4Suite.</a></td><td>0.12.0a3</td><td>1</td></tr><tr><td class="rowhead"><a href="http://xmlsoft.org/XSLT/">libxslt from Daniel Veillard et al.</a></td><td>1.0.19</td><td>1</td></tr></table><p>
+            The following implementations of <code>date:difference</code> are available:
+         </p><table><tr><th class="rowhead">Language</th><th>Implemented Version</th><th>Creator</th><th>Date</th><th>Download</th></tr><tr><td class="rowhead"><a href="date.difference.function.xsl.html">EXSLT Function</a></td><td>1</td><td><a href="mailto:mail@jenitennison.com">Jeni Tennison</a></td><td>2001-05-12</td><td><a href="date.difference.function.xsl">date.difference.function.xsl</a></td></tr><tr><td class="rowhead"><a href="date.difference.template.xsl.html">XSLT Template</a></td><td>1</td><td><a href="mailto:mail@jenitennison.com">Jeni Tennison</a></td><td>2001-05-12</td><td><a href="date.difference.template.xsl">date.difference.template.xsl</a></td></tr><tr><td class="rowhead"><a href="date.js.html">Javascript</a></td><td>1</td><td><a href="mailto:chris@bayes.co.uk">Chris Bayes</a></td><td>2001-06-11</td><td><a href="date.js">date.js</a></td></tr><tr><td class="rowhead"><a href="date.msxsl.xsl.html">Msxsl</a></td><td>1</td><td><a href="mailto:chris@bayes.co.uk">Chris Bayes</a></td><td>2001-06-16</td><td><a href="date.msxsl.xsl">date.msxsl.xsl</a></td></tr></table><h2>Change History</h2><p><b>Submitted: </b>2001-05-12<br/><b>Creator: </b><a href="mailto:mail@jenitennison.com">Jeni Tennison</a>(<a href="http://www.jenitennison.com/">http://www.jenitennison.com/</a>)</p><p><dc:description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:exslt="http://exslt.org/documentation">
+            Returns the difference between two dates as a duration.
+         </dc:description></p><table><tr><th class="rowhead">Version</th><th>Modified</th><th>By</th><th>Details</th></tr><tr><td class="rowhead">1.1</td><td style="width: 5em;">2001-06-11</td><td><a href="mailto:mail@jenitennison.com">Jeni Tennison</a></td><td style="text-align: left;"><p><dc:description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:exslt="http://exslt.org/documentation">
+            Added implementations in Javascript, XSLT and EXSLT - Functions.
+         </dc:description></p></td></tr><tr><td class="rowhead">1.2</td><td style="width: 5em;">2001-06-16</td><td><a href="mailto:mail@jenitennison.com">Jeni Tennison</a></td><td style="text-align: left;"><dc:description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:exslt="http://exslt.org/documentation"><ul><li>Updated Javascript implementation.</li><li>Added Microsoft-specific stylesheet.</li></ul></dc:description></td></tr><tr><td class="rowhead">1.3</td><td style="width: 5em;">2002-08-21</td><td><a href="mailto:craig.stewart@nottingham.ac.uk">Craig Stewart</a></td><td style="text-align: left;"><p><dc:description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:exslt="http://exslt.org/documentation">Added 4XSLT and libxslt implementation to the list.</dc:description></p></td></tr><tr><td class="rowhead">1.4</td><td style="width: 5em;">2002-11-12</td><td><a href="mailto:craig.stewart@nottingham.ac.uk">Craig Stewart</a></td><td style="text-align: left;"><p><dc:description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:exslt="http://exslt.org/documentation">Updated 4XSLT version to 0.12.0a3.</dc:description></p></td></tr></table></td></tr></table><div id="colophon"><p><a href="http://www.exslt.org/date/functions/difference/date.difference.html">http://www.exslt.org/date/functions/difference/date.difference.html</a> last modified 2002-11-12</p></div></body></html>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/index.html
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/index.html (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/index.html (revision 130)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "/schema/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><title>EXSLT - date:difference</title><link rel="stylesheet" href="base.css"/></head><body><h1 id="#title"><a href="http://www.exslt.org/">EXSLT</a> - <a href="http://www.exslt.org/date">date</a>:<a href="http://www.exslt.org/date/functions/difference">difference</a></h1><table><tr><td id="menu"><p class="level1"><a href="date.difference.html">Implementer Page</a></p><p class="level1"><a href="../../../howto.html">How To</a></p><p class="level1"><a href="../../../download.html">Downloads</a></p><p class="level1">Modules</p><p class="level2"><a href="../../../date/index.html">Dates and Times</a></p><p class="level3"><a href="../../functions/add/index.html">date:add()</a></p><p class="level3"><a href="../../functions/add-duration/index.html">date:add-duration()</a></p><p class="level3"><a href="../../functions/date/index.html">date:date()</a></p><p class="level3"><a href="../../functions/date-time/index.html">date:date-time()</a></p><p class="level3"><a href="../../functions/day-abbreviation/index.html">date:day-abbreviation()</a></p><p class="level3"><a href="../../functions/day-in-month/index.html">date:day-in-month()</a></p><p class="level3"><a href="../../functions/day-in-week/index.html">date:day-in-week()</a></p><p class="level3"><a href="../../functions/day-in-year/index.html">date:day-in-year()</a></p><p class="level3"><a href="../../functions/day-name/index.html">date:day-name()</a></p><p class="level3"><a href="../../functions/day-of-week-in-month/index.html">date:day-of-week-in-month()</a></p><p class="level3"><a href="../../functions/difference/index.html">date:difference()</a></p><p class="level3"><a href="../../functions/duration/index.html">date:duration()</a></p><p class="level3"><a href="../../functions/format-date/index.html">date:format-date()</a></p><p class="level3"><a href="../../functions/hour-in-day/index.html">date:hour-in-day()</a></p><p class="level3"><a href="../../functions/leap-year/index.html">date:leap-year()</a></p><p class="level3"><a href="../../functions/minute-in-hour/index.html">date:minute-in-hour()</a></p><p class="level3"><a href="../../functions/month-abbreviation/index.html">date:month-abbreviation()</a></p><p class="level3"><a href="../../functions/month-in-year/index.html">date:month-in-year()</a></p><p class="level3"><a href="../../functions/month-name/index.html">date:month-name()</a></p><p class="level3"><a href="../../functions/parse-date/index.html">date:parse-date()</a></p><p class="level3"><a href="../../functions/second-in-minute/index.html">date:second-in-minute()</a></p><p class="level3"><a href="../../functions/seconds/index.html">date:seconds()</a></p><p class="level3"><a href="../../functions/sum/index.html">date:sum()</a></p><p class="level3"><a href="../../functions/time/index.html">date:time()</a></p><p class="level3"><a href="../../functions/week-in-month/index.html">date:week-in-month()</a></p><p class="level3"><a href="../../functions/week-in-year/index.html">date:week-in-year()</a></p><p class="level3"><a href="../../functions/year/index.html">date:year()</a></p><p class="level3"><a href="../../elements/date-format/index.html">date:date-format</a></p><p class="level2"><a href="../../../dyn/index.html">Dynamic</a></p><p class="level2"><a href="../../../exsl/index.html">Common</a></p><p class="level2"><a href="../../../func/index.html">Functions</a></p><p class="level2"><a href="../../../math/index.html">Math</a></p><p class="level2"><a href="../../../random/index.html">Random</a></p><p class="level2"><a href="../../../regexp/index.html">Regular Expressions</a></p><p class="level2"><a href="../../../set/index.html">Sets</a></p><p class="level2"><a href="../../../str/index.html">Strings</a></p><p class="level1"><a href="../../../submissions/">Submissions</a></p><p class="level1"><a href="../../../list">Mailing List</a></p><p class="level1"><a href="../../../contact.html">Contact</a></p></td><td id="content"><p><b>Implementer Page: </b><a href="date.difference.html">date.difference.html</a><br/><b>Function Package: </b><a href="date.difference.zip">date.difference.zip</a></p><h4>Function Syntax</h4><pre><var>string</var> <b>date:difference</b>(<var>string</var>, <var>string</var>)</pre><h4>Template Syntax</h4><pre>&lt;xsl:call-template name="<b>date:difference</b>"&gt;
+   &lt;xsl:with-param name="start" select="<var>string</var>" /&gt;
+   &lt;xsl:with-param name="end" select="<var>string</var>" /&gt;
+&lt;/xsl:call-template&gt;</pre><div><p>
+         The <code>date:difference</code> function returns the duration between the first date and the second date.  If the first date occurs before the second date, then the result is a positive duration; if it occurs after the second date, the result is a negative duration.
+      </p><p>
+         The two dates must both be right-truncated date/time strings in one of the formats defined in [<a href="http://www.w3.org/TR/xmlschema-2/" class="offsite">XML Schema Part 2: Datatypes</a>].  The date/time with the most specific format (i.e. the least truncation) is converted into the same format as the date with the most specific format (i.e. the most truncation).  The permitted formats are as follows, from most specific to least specific:
+      </p><ul><li><a href="http://www.w3.org/TR/xmlschema-2/#dateTime" class="offsite"><code>xs:dateTime</code></a> (<code><var>CCYY</var>-<var>MM</var>-<var>DD</var>T<var>hh</var>:<var>mm</var>:<var>ss</var></code>)
+         </li><li><a href="http://www.w3.org/TR/xmlschema-2/#date" class="offsite"><code>xs:date</code></a> (<code><var>CCYY</var>-<var>MM</var>-<var>DD</var></code>)
+         </li><li><a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth" class="offsite"><code>xs:gYearMonth</code></a> (<code><var>CCYY</var>-<var>MM</var></code>)
+         </li><li><a href="http://www.w3.org/TR/xmlschema-2/#gYear" class="offsite"><code>xs:gYear</code></a> (<code><var>CCYY</var></code>)
+         </li></ul><p>
+         If either of the arguments is not in one of these formats, <code>date:difference</code> returns the empty string (<code>''</code>).
+      </p><p>
+         The difference between the date/times is returned as a string in the format defined for <code>xs:duration</code> in [<a href="http://www.w3.org/TR/xmlschema-2/#duration" class="offsite">3.2.6 duration</a>] of [<a href="http://www.w3.org/TR/xmlschema-2/" class="offsite">XML Schema Part 2: Datatypes</a>].
+      </p><p>
+         If the date/time string with the least specific format is in either <code>xs:gYearMonth</code> or <code>xs:gYear</code> format, then the number of days, hours, minutes and seconds in the duration string must be equal to zero.  (The format of the string will be <code>P<var>n</var>Y<var>n</var>M</code>.)  The number of months specified in the duration must be less than 12.
+      </p><p>
+         Otherwise, the number of years and months in the duration string must be equal to zero.  (The format of the string will be <code>P<var>n</var>DT<var>n</var>H<var>n</var>M<var>n</var>S</code>.)  The number of seconds specified in the duration string must be less than 60; the number of minutes must be less than 60; the number of hours must be less than 24.
+      </p></div><h2>Implementations</h2><p>
+                  The following XSLT processors support <code>date:difference</code>:
+               </p><ul><li><a href="http://4Suite.org">4XSLT, from 4Suite.</a> (version 0.12.0a3)</li><li><a href="http://xmlsoft.org/XSLT/">libxslt from Daniel Veillard et al.</a> (version 1.0.19)</li></ul><p>
+                  Implementations of <code>date:difference</code> are available in the following languages:
+               </p><ul><li><a href="date.difference.function.xsl">EXSLT Function</a> (by <a href="mailto:mail@jenitennison.com">Jeni Tennison</a>)</li><li><a href="date.difference.template.xsl">XSLT Template</a> (by <a href="mailto:mail@jenitennison.com">Jeni Tennison</a>)</li><li><a href="date.js">Javascript</a> (by <a href="mailto:chris@bayes.co.uk">Chris Bayes</a>)</li><li><a href="date.msxsl.xsl">Msxsl</a> (by <a href="mailto:chris@bayes.co.uk">Chris Bayes</a>)</li></ul></td></tr></table><div id="colophon"><p><a href="http://www.exslt.org/date/functions/difference/index.html">http://www.exslt.org/date/functions/difference/index.html</a> last modified 2002-11-12</p></div></body></html>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.xsl
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.xsl (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/difference/date.difference.xsl (revision 130)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.difference.function.xsl"/>
+   <import href="date.difference.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+</stylesheet>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/additions.xsd
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/additions.xsd (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/additions.xsd (revision 130)
@@ -0,0 +1,909 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsd:schema xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:abs="http://www.energistics.org/schemas/abstract" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.witsml.org/schemas/1series">
+	<xsd:import namespace="http://www.energistics.org/schemas/abstract" schemaLocation="sub_abstractSubstitutionGroup.xsd"/>
+	<xsd:annotation>
+		<xsd:documentation>Additions to - WITSML - Daily Drillling Report - Norwegian Profile</xsd:documentation>
+	</xsd:annotation>
+	<!-- This is elements that will be added to WITSML_drillReport_profiled_schema.xsd -->
+	<!-- Addition to header ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="header">
+		<xsd:annotation>
+			<xsd:documentation>Information about this report.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>
+					<xsd:element name="periodOfOperation" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Period of operation.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<!-- Exist in report
+					<xsd:element name="periodeOfReporting" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+						   <xsd:documentation>Period of reporting (concations of start and end date.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element> -->
+					<xsd:element name="reportNo" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Sequence number of daily drilling report.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="tightWell" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Indicates if a well is tight or not.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="hpht" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Indicates if a wellbore is classified as HPHT (High Pressure - High Temperature) or not.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="avgPresBH" type="witsml:pressureMeasurePsig" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Averagae bottomhole pressure (psig).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="expTempBH" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>A bottomhole temperature that is the expected bottomhole temperature (c).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="rigType" type="witsml:rigTypes" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>A daily drilling report class that classifies rig types.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="msl" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Mean sea level (m).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<!-- Rig types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="rigTypes">
+		<xsd:annotation>
+			<xsd:documentation>The classification of rig types.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="f">
+				<xsd:annotation>
+					<xsd:documentation>Fixed rig</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>Movable rig</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- added to report (calculated field)
+	<xsd:complexType name="lithology">
+		<xsd:annotation>
+			<xsd:documentation>Information about lithology.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>	
+					<xsd:element name="diffMDDirSurveyToEndLithology" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+						   <xsd:documentation>Difference between a measured depth to directional survey point and 
+						   a meassured depth at end lithology interval relative to rkb (m).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="diffTVDTopLithologyToEndLithology" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Difference between a tru vertical depth at top litholog interval and 
+							a true vertical depth at bottom lithology interval relative to rkb (m).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType> -->
+	
+	<!-- Addition to activity ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_activity">
+		<xsd:annotation>
+			<xsd:documentation>Information about activity.</xsd:documentation>
+		</xsd:annotation>
+		<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:complexType>
+	
+	<!-- Addition to Perforation EXIST IN REPORT?-->
+	<xsd:complexType name="perforation">
+		<xsd:annotation>
+			<xsd:documentation>Information about perforation.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:element name="durOpenWell" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>Duration of open well perforation interal (hrs).</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<!-- Tubular information ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_stimTubular">
+		<xsd:annotation>
+			<xsd:documentation>In a production enhancement job, this item constitutes the data for a tubular in the hole.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.1, By-issue=W-CR-010, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<xsd:element name="type" type="witsml:tubularTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The type of tubular (e.g., casing, tubing, liner, packer, open hole, other).</xsd:documentation>
+				</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="id" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The inside diameter of the tubular used.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="od" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The outside diameter of the tubular used.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="weight" type="witsml:massPerLengthMeasurePoundsMassPerFoot" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The weight per length of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="grade" type="witsml:grade_CHECK" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Nominal grade.</xsd:documentation>
+					<!-- Needed: Added element grade -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="connection" type="witsml:connection_CHECK" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Nominal connection.</xsd:documentation>
+					<!-- Needed: Added element connection -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="length" type="witsml:lengthMeasureMetre" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Length measured along string.</xsd:documentation>
+					<!-- Needed: Added element length -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of the top of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of the bottom of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: deleted element tvdTop -->
+			<!-- Profile: deleted element tvdBottom -->
+			<!-- Profile: deleted element volumeFactor -->
+			<!-- Profile: deleted element extensionNameValue -->
+		</xsd:sequence>
+		<!-- Unused: deleted element attgrp_uid -->
+	</xsd:complexType>
+	
+	<!-- Tubular types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="tubularTypes">
+		<xsd:annotation>
+			<xsd:documentation>The type of pipes, used to determant which type of pipe this post is about.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="c">
+				<xsd:annotation>
+					<xsd:documentation>Casing</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="l">
+				<xsd:annotation>
+					<xsd:documentation>Liner</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="t">
+				<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>
+		</xsd:restriction>
+	</xsd:simpleType>
+	
+	<!-- Casing type ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="casingTypes">
+		<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:annotation>
+					<xsd:documentation>Top</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="i">
+				<xsd:annotation>
+					<xsd:documentation>Intermediate</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="p">
+				<xsd:annotation>
+					<xsd:documentation>Production</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	
+	<!-- Addition to Bit data ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_bitRecord">
+		<xsd:annotation>
+			<xsd:documentation>Information about bit data</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>
+					<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">
+						<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>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<!-- Cement job ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_cementStage">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Cement Stage Component Schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<!-- Profile: Deleted element numStage -->
+			<!-- Profile: Deleted element typeStage -->
+			<!-- Profile: Deleted element dTimMixStart -->
+			<xsd:element name="dTimPumpStart" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Datetime at start of pumping cement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimPumpEnd" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Datetime at end of pumping cement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="jobType" type="witsml:cementJobTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Job types (eg. Casing and liner, Cement squeeze, Cement plug).</xsd:documentation>
+					<!-- Missing: Added element jobType -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="casingStrDia" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Casing string diameter of the casing cement (in).</xsd:documentation>
+					<!-- Missing: Added element casingStrDia -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A comment for a cement job.</xsd:documentation>
+					<!-- Missing: Added element comment -->
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element dTimDisplaceStart -->
+			<!-- Profile: Deleted element mdTop -->
+			<!-- Profile: Deleted element mdBottom -->
+			<!-- Profile: Deleted element volExcess -->
+			<!-- Profile: Deleted element flowrateDisplaceAv -->
+			<!-- Profile: Deleted element flowrateDisplaceMx -->
+			<!-- Profile: Deleted element presDisplace -->
+			<xsd:element name="volReturns" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Volume of returns.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element eTimMudCirculation -->
+			<!-- Profile: Deleted element flowrateMudCirc -->
+			<!-- Profile: Deleted element presMudCirc -->
+			<!-- Profile: Deleted element flowrateEnd -->
+			<!-- Profile: Deleted element cementingFluid -->
+			<!-- Profile: Deleted element afterFlowAnn -->
+			<!-- Profile: Deleted element squeezeObj -->
+			<!-- Profile: Deleted element squeezeObtained -->
+			<!-- Profile: Deleted element mdString -->
+			<!-- Profile: Deleted element mdTool -->
+			<!-- Profile: Deleted element mdCoilTbg -->
+			<!-- Profile: Deleted element volCsgIn -->
+			<!-- Profile: Deleted element volCsgOut -->
+			<!-- Profile: Deleted element tailPipeUsed -->
+			<!-- Profile: Deleted element diaTailPipe -->
+			<!-- Profile: Deleted element tailPipePerf -->
+			<!-- Profile: Deleted element presTbgStart -->
+			<!-- Profile: Deleted element presTbgEnd -->
+			<!-- Profile: Deleted element presCsgStart -->
+			<!-- Profile: Deleted element presCsgEnd -->
+			<!-- Profile: Deleted element presBackPressure -->
+			<!-- Profile: Deleted element presCoilTbgStart -->
+			<!-- Profile: Deleted element presCoilTbgEnd -->
+			<!-- Profile: Deleted element presBreakDown -->
+			<!-- Profile: Deleted element flowrateBreakDown -->
+			<!-- Profile: Deleted element presSqueezeAv -->
+			<!-- Profile: Deleted element presSqueezeEnd -->
+			<!-- Profile: Deleted element presSqueezeHeld -->
+			<!-- Profile: Deleted element presSqueeze -->
+			<xsd:element name="eTimPresHeld" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Time pressure held.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element flowrateSqueezeAv -->
+			<!-- Profile: Deleted element flowrateSqueezeMx -->
+			<!-- Profile: Deleted element flowratePumpStart -->
+			<!-- Profile: Deleted element flowratePumpEnd -->
+			<!-- Profile: Deleted element pillBelowPlug -->
+			<!-- Profile: Deleted element plugCatcher -->
+			<!-- Profile: Deleted element mdCircOut -->
+			<!-- Profile: Deleted element volCircPrior -->
+			<!-- Profile: Deleted element typeOriginalMud -->
+			<!-- Profile: Deleted element wtMud -->
+			<!-- Profile: Deleted element visFunnelMud -->
+			<!-- Profile: Deleted element pvMud -->
+			<!-- Profile: Deleted element ypMud -->
+			<!-- Profile: Deleted element gel10Sec -->
+			<!-- Profile: Deleted element gel10Min -->
+			<!-- Profile: Deleted element tempBHCT -->
+			<!-- Profile: Deleted element tempBHST -->
+			<!-- Profile: Deleted element volExcessMethod -->
+			<!-- Profile: Deleted element mixMethod -->
+			<!-- Profile: Deleted element densMeasBy -->
+			<xsd:element name="annFlowAfter" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid returns. Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="topPlug" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Top plug used? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="botPlug" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Bottom plug used. Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element botPlugNumber -->
+			<xsd:element name="plugBumped" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Plug bumped? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element presPriorBump -->
+			<xsd:element name="presBump" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Pressure plug bumped.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="reciprocated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Pipe being reciprocated. values are "true"(1) and "false"(0).</xsd:documentation>
+					<!-- Missing: Added element reciprocated -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="rotated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Casing string being rotated. Values are "true(1) and "false"(0).</xsd:documentation>
+					<!-- Missing: Added element rotated -->
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element presHeld -->
+			<!-- Profile: Deleted element floatHeld -->
+			<!-- Profile: Deleted element volMudLost -->
+			<!-- Profile: Deleted element fluidDisplace -->
+			<!-- Profile: Deleted element densDisplaceFluid -->
+			<!-- Profile: Deleted element volDisplaceFluid -->
+			<!-- Profile: Deleted element extensionNameValue -->
+		</xsd:sequence>
+		<!-- Unused: Deleted element attgrp_uid -->
+	</xsd:complexType>
+	
+	<!-- Cement job types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="cementJobTypes">
+		<xsd:annotation>
+			<xsd:documentation>The Classification of cement jobs</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="cl">
+				<xsd:annotation>
+					<xsd:documentation>Casing and liner</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="cs">
+				<xsd:annotation>
+					<xsd:documentation>Cement squeeze</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="cp">
+				<xsd:annotation>
+					<xsd:documentation>Cement plug</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- Addition to Cementing fluid ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_cementingFluid">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Cementing Fluid Component Schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<xsd:element name="typeFluid" type="witsml:fluidTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid type: Mud, Wash, Spacer, Slurry.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element fluidIndex -->
+			<xsd:element name="descFluid" type="witsml:shortDescriptionString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid description.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element purpose -->
+			<!-- Profile: Deleted element classSlurryDryBlend -->
+			<!-- Profile: Deleted element mdFluidTop -->
+			<!-- Profile: Deleted element mdFluidBottom -->
+			<!-- Profile: Deleted element sourceWater -->
+			<!-- Profile: Deleted element volWater -->
+			<!-- Profile: Deleted element volCement -->
+			<xsd:element name="ratioMixWater" type="witsml:specificVolumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Mix Water Ratio.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element volFluid -->
+			<!-- Profile: Deleted element cementPumpSchedule -->
+			<!-- Profile: Deleted element excessPc -->
+			<!-- Profile: Deleted element volYield -->
+			<xsd:element name="density" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid density.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element solidVolumeFraction -->
+			<xsd:element name="volPumped" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Volume Pumped.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element volOther -->
+			<!-- Profile: Deleted element fluidRheologicalModel -->
+			<!-- Profile: Deleted element vis -->
+			<xsd:element name="yp" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element n -->
+			<!-- Profile: Deleted element k -->
+			<!-- Profile: Deleted element gel10SecReading -->
+			<!-- Profile: Deleted element gel10SecStrength -->
+			<!-- Profile: Deleted element gel1MinReading -->
+			<!-- Profile: Deleted element gel1MinStrength -->
+			<!-- Profile: Deleted element gel10MinReading -->
+			<!-- Profile: Deleted element gel10MinStrength -->
+			<!-- Profile: Deleted element typeBaseFluid -->
+			<!-- Profile: Deleted element densBaseFluid -->
+			<!-- Profile: Deleted element dryBlendName -->
+			<!-- Profile: Deleted element dryBlendDescription -->
+			<!-- Profile: Deleted element massDryBlend -->
+			<!-- Profile: Deleted element densDryBlend -->
+			<!-- Profile: Deleted element massSackDryBlend -->
+			<!-- Profile: Deleted element cementAdditive -->
+			<!-- Profile: Deleted element foamUsed -->
+			<!-- Profile: Deleted element typeGasFoam -->
+			<!-- Profile: Deleted element volGasFoam -->
+			<!-- Profile: Deleted element ratioConstGasMethodAv -->
+			<!-- Profile: Deleted element densConstGasMethod -->
+			<!-- Profile: Deleted element ratioConstGasMethodStart -->
+			<!-- Profile: Deleted element ratioConstGasMethodEnd -->
+			<!-- Profile: Deleted element densConstGasFoam -->
+			<xsd:element name="eTimThickening" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Test thickening time.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element tempThickening -->
+			<!-- Profile: Deleted element presTestThickening -->
+			<!-- Profile: Deleted element consTestThickening -->
+			<xsd:element name="pcFreeWater" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Test free water na: = mL/250ML.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element tempFreeWater -->
+			<!-- Profile: Deleted element volTestFluidLoss -->
+			<!-- Profile: Deleted element tempFluidLoss -->
+			<!-- Profile: Deleted element presTestFluidLoss -->
+			<!-- Profile: Deleted element timeFluidLoss -->
+			<!-- Profile: Deleted element volAPIFluidLoss -->
+			<!-- Profile: Deleted element eTimComprStren1 -->
+			<!-- Profile: Deleted element eTimComprStren2 -->
+			<!-- Profile: Deleted element presComprStren1 -->
+			<!-- Profile: Deleted element presComprStren2 -->
+			<!-- Profile: Deleted element tempComprStren1 -->
+			<!-- Profile: Deleted element tempComprStren2 -->
+			<!-- Profile: Deleted element densAtPres -->
+			<!-- Profile: Deleted element volReserved -->
+			<!-- Profile: Deleted element volTotSlurry -->
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	<!-- Fluid types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="fluidTypes">
+		<xsd:annotation>
+			<xsd:documentation>The Classification of cement fluids</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>Mud</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="w">
+				<xsd:annotation>
+					<xsd:documentation>Wash</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sp">
+				<xsd:annotation>
+					<xsd:documentation>Spacer</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sl">
+				<xsd:annotation>
+					<xsd:documentation>Slurry</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- Addition to Measure definitions ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="anglePerTimeUomRpm">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="rpm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="anglePerTimeMeasureRpm">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:anglePerTimeUomRpm" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="areaUomSquareInch">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="areaMeasureSquareInch">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:areaUomSquareInch" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="massPerLengthUomPoundsPerFoot">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="lbm/ft"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="massPerLengthMeasurePoundsMassPerFoot">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:massPerLengthUomPoundsMassPerFoot" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="pressureUomPsig">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="psig"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="pressureMeasurePsig">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:pressureUomPsig" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="specificVolumeUomCubicFeetPer94PoundSack">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="ft3/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="specificVolumeMeasureCubicFeetPer94PoundSack">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:specificVolumeUomCubicFeetPer94PoundSack" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="specificVolumeUomUsGallonsPerSack94">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="galUS/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="specificVolumeMeasureUsGallonsPerSack94">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:specificVolumeUomUsGallonsPerSack94" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUomCubicMeterPerMin">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/min"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeFlowRateMeasureCubicMeterPerMin">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUomCubicMeterPerMin" use="required"/>
+			</xsd:extension>
+		</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:simpleType name="anglePerTimeUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="rpm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="areaMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:areaUom" 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:simpleType name="massPerLengthUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="massPerLengthMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:massPerLengthUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:massPerLengthUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="massPerLengthUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="lbm/ft"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<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:specificVolumeUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="specificVolumeUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="ft3/sack94"/>
+			<xsd:enumeration value="galUS/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeFlowRateMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:volumeFlowRateUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/min"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/readMe.txt
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/readMe.txt (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/readMe.txt (revision 130)
@@ -0,0 +1,16 @@
+RUNNING THE TRANSFORMATION
+*****************************
+Store the ddr_HTMLReport_transformation.xsl, the .css and the schema at some location. Include the processing instruction in the xml to be transformed:
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="ddr_HTMLReport_transformation.xsl"?>
+<witsml:drillReports 
+
+Open the xml file in a browser, and the content should be formated in HTML
+
+
+TECHNICAL DETAILS
+*******************
+The transformation file has reference to and imports the drill report schema. The reason for this is to enable lookup of element definitions via the RDS URL.
+
+So, the drill report schema must be imported and the schamaLocation (in the import element) has to reflect the location of the file. Furthermore, this file is used when retreiving the RDS reference. As the schema file name might changes when NPD/Ptil is issuing their new official verison, we have introduced a global variable to hold the file name. Thus, if the file name changes, updating the value (i.e. select) of the variable "ddrSchema" should be ok.
Index: projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd
===================================================================
--- projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2009-04-06_ddrPhase2.xsd (revision 130)
@@ -0,0 +1,6506 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsd:schema 
+	elementFormDefault="qualified" 
+	attributeFormDefault="unqualified" 
+	targetNamespace="http://www.witsml.org/schemas/1series" 
+	xmlns:witsml="http://www.witsml.org/schemas/1series"
+	xmlns:abs="http://www.energistics.org/schemas/abstract"  
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:gml="http://www.opengis.net/gml/3.2"
+	xmlns:sawsdl="http://www.w3.org/ns/sawsdl">
+
+	<!--                                                         -->
+	<xsd:import namespace="http://www.energistics.org/schemas/abstract"
+		     schemaLocation="sub_abstractSubstitutionGroup.xsd"/>
+	<!-- 
+	<xsd:import namespace="http://www.opengis.net/gml/3.2"
+		schemaLocation="http://schemas.opengis.net/gml/3.2.1/coordinateReferenceSystems.xsd"/>
+		 -->
+
+   <!--                                                         -->
+   <!-- Energistics License Agreement                                                  -->
+   <!-- This file is distributed under the Energistics License Agreement at            -->
+   <!-- http://www.posc.org/about/license.shtml.                                       -->
+   <!-- Use of this file constitutes agreement with the Energistics License Agreement. -->
+   <!--                                                         -->
+   <xsd:annotation>
+      <xsd:documentation>WITSML - Daily Drillling Report - Norwegian Profile</xsd:documentation>
+   </xsd:annotation>
+   <!--UNUSED: Deleted type attgrp_objectUid. Contents copied where needed.-->
+   <!--UNUSED: Deleted type attgrp_uid. Contents copied where needed.-->
+   <xsd:complexType name="cs_activity">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Operations Activity Component Schema</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511259">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimStart.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that activities started.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511304">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimEnd.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that activities were completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element duration.-->
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the drilling operation.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373394891">
+            <xsd:annotation>
+               <xsd:documentation>True Vertical Depth to the drilling operation.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="phase" type="witsml:PhaseType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://projects.dnv.com/reference_data/RD4Browser/default.aspx?RDLDesignation=TCDRS SUPERIOR CLASS">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:PhaseType for element phase.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element phase.-->
+            <xsd:annotation>
+               <xsd:documentation>Phase (large activity classification) e.g. Drill Surface Hole.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-111, Change=Changed-type-from:str16</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element activityCode.-->
+         <xsd:element name="proprietaryCode" type="witsml:ActivityCodeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409">
+            <!--PROFILE: Changed type from witsml:nameStruct to witsml:ActivityCodeNPD for element proprietaryCode.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element proprietaryCode.-->
+            <!--PROFILE: Changed maxOccurs from unbounded to 1 for element proprietaryCode.-->
+            <xsd:annotation>
+               <xsd:documentation>A proprietary code used to define rig activity. The name of the proprietary system should be defined in the namingSystem
+               attribute.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element detailActivity.-->
+         <!--PROFILE: Deleted element typeActivityClass.-->
+         <!--PROFILE: Deleted element mdHoleStart.-->
+         <!--PROFILE: Deleted element tvdHoleStart.-->
+         <!--PROFILE: Deleted element mdHoleEnd.-->
+         <!--PROFILE: Deleted element tvdHoleEnd.-->
+         <!--PROFILE: Deleted element mdBitStart.-->
+         <!--PROFILE: Deleted element mdBitEnd.-->
+         <xsd:element name="state" type="witsml:MainActivityEvaluation" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841049">
+            <!--PROFILE: Changed type from witsml:str32 to witsml:MainActivityEvaluation for element state.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element state.-->
+            <xsd:annotation>
+               <xsd:documentation>Finish, interrupted, failed, etc.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="stateDetailActivity" type="witsml:StateDetailActivity" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841184">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element stateDetailActivity.-->
+            <xsd:annotation>
+               <xsd:documentation>The outcome of the detailed activity.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element operator.-->
+         <!--PROFILE: Deleted element tubular.-->
+         <!--PROFILE: Deleted element optimum.-->
+         <!--PROFILE: Deleted element productive.-->
+         <!--PROFILE: Deleted element itemState.-->
+         <xsd:element name="comments" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17723327">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element comments.-->
+            <xsd:annotation>
+               <xsd:documentation>Comments and Remarks.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_alias">
+      <xsd:annotation>
+         <xsd:documentation>A common way for handling names of objects. An identifier type must include a Name. It may also include a NamingSystem, which gives meaning to the
+         name.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A human contextual name of an item. This should (hopefully) be unique within the context of the naming system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="namingSystem" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The naming system under which the item is defined. Knowledge of the naming system may allow the hame to be parsed for embeded
+               information.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_axisDefinition.-->
+   <!--UNUSED: Deleted type cs_bend.-->
+   <xsd:complexType name="cs_bitRecord">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Bit Record Component Schema.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <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.-->
+            <xsd:annotation>
+               <xsd:documentation>Bit number and rerun number e.g. "4.1" for the first rerun of bit 4.</xsd:documentation>
+            </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 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:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element codeIADC.-->
+         <!--PROFILE: Deleted element condInitInner.-->
+         <!--PROFILE: Deleted element condInitOuter.-->
+         <!--PROFILE: Deleted element condInitDull.-->
+         <!--PROFILE: Deleted element condInitLocation.-->
+         <!--PROFILE: Deleted element condInitBearing.-->
+         <!--PROFILE: Deleted element condInitGauge.-->
+         <!--PROFILE: Deleted element condInitOther.-->
+         <!--PROFILE: Deleted element condInitReason.-->
+         <!--PROFILE: Deleted element condFinalInner.-->
+         <!--PROFILE: Deleted element condFinalOuter.-->
+         <!--PROFILE: Deleted element condFinalDull.-->
+         <!--PROFILE: Deleted element condFinalLocation.-->
+         <!--PROFILE: Deleted element condFinalBearing.-->
+         <!--PROFILE: Deleted element condFinalGauge.-->
+         <!--PROFILE: Deleted element condFinalOther.-->
+         <!--PROFILE: Deleted element condFinalReason.-->
+         <!--PROFILE: Deleted element drive.-->
+         <!--PROFILE: Deleted element bitClass.-->
+         <!--PROFILE: Deleted element customData.-->
+         <!--PROFILE: Deleted element extensionAny.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_blockCurveInfo.-->
+   <!--UNUSED: Deleted type cs_blockInfo.-->
+   <!--UNUSED: Deleted type cs_bop.-->
+   <!--UNUSED: Deleted type cs_bopComponent.-->
+   <!--UNUSED: Deleted type cs_cementAdditive.-->
+   <!--UNUSED: Deleted type cs_cementingFluid.-->
+   <!--UNUSED: Deleted type cs_cementPumpSchedule.-->
+   <!--UNUSED: Deleted type cs_cementStage.-->
+   <!--UNUSED: Deleted type cs_cementTest.-->
+   <!--UNUSED: Deleted type cs_centrifuge.-->
+   <!--UNUSED: Deleted type cs_changeHistory.-->
+   <!--UNUSED: Deleted type cs_channel.-->
+   <!--UNUSED: Deleted type cs_channelDefinition.-->
+   <!--UNUSED: Deleted type cs_chromatograph.-->
+   <!--UNUSED: Deleted type cs_commonData.-->
+   <!--UNUSED: Deleted type cs_connection.-->
+   <!--UNUSED: Deleted type cs_customData.-->
+   <!--UNUSED: Deleted type cs_dayCost.-->
+   <!--UNUSED: Deleted type cs_degasser.-->
+   <!--UNUSED: Deleted type cs_depthRegCalibrationPoint.-->
+   <!--UNUSED: Deleted type cs_depthRegImage.-->
+   <!--UNUSED: Deleted type cs_depthRegLogRect.-->
+   <!--UNUSED: Deleted type cs_depthRegLogSection.-->
+   <!--UNUSED: Deleted type cs_depthRegParameter.-->
+   <!--UNUSED: Deleted type cs_depthRegPoint.-->
+   <!--UNUSED: Deleted type cs_depthRegRectangular.-->
+   <!--UNUSED: Deleted type cs_depthRegTrack.-->
+   <xsd:complexType name="cs_documentAudit">
+      <xsd:annotation>
+         <xsd:documentation>The audit records what happened to the data, to produce the data that is in this file. It consists of one or more events.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:auditType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="event" type="witsml:cs_documentEvent" minOccurs="1" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Event</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentEvent">
+      <xsd:annotation>
+         <xsd:documentation>An event type captures the basic information about an event that has affected the data.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:eventType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="eventDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date on which the event took place.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:EventDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="eventType" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The kind of event event.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="responsibleParty" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The party responsible for the event.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:ResponsibleParty</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A free form comment that can further define the event that occurred.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentFileCreation">
+      <xsd:annotation>
+         <xsd:documentation>A block of information about the creation of the XML file. This is different than the creation of the data that is included within the
+         file.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:fileCreationType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="fileCreationDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date and time that the file was created.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreationDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="softwareName" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>If appropriate, the software that created the file. This is a free form string, and may include whatever information is deemed
+               relevant.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:SoftwareName</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="fileCreator" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The person or business associate that created the file.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreator</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Any comment that would be useful to further explain the creation of this instance document.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentInfo">
+      <xsd:annotation>
+         <xsd:documentation>A schema to capture a set of data that is relevant for many exchange documents. It includes information about the file that was created, and high-level
+         information about the data that is being exchanged within the file.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="documentName" type="witsml:nameStruct" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>An identifier for the document. This is intended to be unique within the context of the NamingSystem.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentName</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="documentAlias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>Zero or more alternate names for the document. These names do not need to be unique within the naming system.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentAlias</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="documentDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date of the creation of the document. This is not the same as the date that the file was created. For this date, the document is considered
+               to be the set of information associated with this document information. For example, the document may be a seismic binset. This represents the date that the binset
+               was created. The FileCreation information would capture the date that the XML file was created to send or exchange the binset.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="documentClass" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>A document class. Examples of classes would be a metadata classification or a set of keywords.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="fileCreationInformation" type="witsml:cs_documentFileCreation" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The information about the creation of the exchange file. This is not about the creation of the data within the file, but the creation of the file
+               itself.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreationInformation</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="securityInformation" type="witsml:cs_documentSecurityInfo" minOccurs="0" maxOccurs="5">
+            <xsd:annotation>
+               <xsd:documentation>Information about the security to be applied to this file. More than one classification can be given.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:SecurityInformation</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="disclaimer" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A free-form string that allows a disclaimer to accompany the information.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Disclaimer</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="auditTrail" type="witsml:cs_documentAudit" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A collection of events that can document the history of the data.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:AuditTrail</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="owner" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The owner of the data.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Owner</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>An optional comment about the document.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentSecurityInfo">
+      <xsd:annotation>
+         <xsd:documentation>Information about the security classification of the document. This is intended as a documentation of the security so that the file will not
+         inadvertently be sent to someone who is not allowed access to the data. This block also carries a date that the security classification expires. For example, a well log
+         is confidential for a period of time, and then becomes open. All security classes are characterized by their classification systems.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:securityInfoType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="class" type="witsml:kindString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The security class in which this document is classified. Examples would be confidential, partner confidential, tight. The meaning of the class is
+               determined by the System in which it is defined.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Class</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="securitySystem" type="witsml:kindString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The security classification system. This gives context to the meaning of the Class value.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:System</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="endDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date on which this security class is no longer applicable.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:EndDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A general comment to further define the security class.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_drillingParams.-->
+   <xsd:complexType name="cs_drillReportControlIncidentInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790447">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time of the well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdInflow" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790597">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdInflow.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the well inflow entry point.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdInflow" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790027">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth to the well inflow entery point.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="phase" type="witsml:PhaseType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17841274">
+            <!--PROFILE: Changed type from witsml:str16 to witsml:PhaseType for element phase.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element phase.-->
+            <xsd:annotation>
+               <xsd:documentation>Phase (large activity classification) e.g. Drill Surface Hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element activityCode.-->
+         <xsd:element name="proprietaryCode" type="witsml:ActivityCodeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409">
+            <!--PROFILE: Changed type from witsml:nameStruct to witsml:ActivityCodeNPD for element proprietaryCode.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element proprietaryCode.-->
+            <!--PROFILE: Changed maxOccurs from unbounded to 1 for element proprietaryCode.-->
+            <xsd:annotation>
+               <xsd:documentation>A proprietary code used to define rig activity. The name of the proprietary system should be defined in the namingSystem
+               attribute.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element detailActivity.-->
+         <xsd:element name="eTimLost" type="witsml:timeMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17888195">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element eTimLost.-->
+            <xsd:annotation>
+               <xsd:documentation>The amount of time lost because of the well control incident. Commonly specified in hours.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimRegained" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789592">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimRegained.-->
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which control of the well is regained.</xsd:documentation>
+            </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/RDS17789667">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaBit.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element diaBit.-->
+            <xsd:annotation>
+               <xsd:documentation>The drill bit nominal outside diameter at time of well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBit" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789832">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBit.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth of bit at the time of the well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wtMud" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789232">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element wtMud.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the drilling fluid.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="porePressure" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307">
+            <xsd:annotation>
+               <xsd:documentation>The equivalent mud weight value of the pore pressure reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaCsgLast.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element diaCsgLast.-->
+            <xsd:annotation>
+               <xsd:documentation>Diameter of the last installed casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdCsgLast.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volMudGained" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789472">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volMudGained.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volMudGained.-->
+            <xsd:annotation>
+               <xsd:documentation>The gained volume of drilling fluid due to well kick.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presShutInCasing" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789037">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presShutInCasing.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presShutInCasing.-->
+            <xsd:annotation>
+               <xsd:documentation>The shut in casing pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presShutInDrill" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887970">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presShutInDrill.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presShutInDrill.-->
+            <xsd:annotation>
+               <xsd:documentation>The actual pressure in the drill pipe when the rams are closed around it.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="incidentType" type="witsml:WellControlIncidentType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788857">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element incidentType.-->
+            <xsd:annotation>
+               <xsd:documentation>The type of well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="killingType" type="witsml:WellKillingProcedureType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789157">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element killingType.-->
+            <xsd:annotation>
+               <xsd:documentation>The type of well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="formation" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element formation.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element formation.-->
+            <xsd:annotation>
+               <xsd:documentation>The lithological description of a geological formation at the incident depth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tempBottom" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS16631877">
+            <!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBottom.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element tempBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>the temperature at the bottom of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presMaxChoke" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788482">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presMaxChoke.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presMaxChoke.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum pressure that the choke valve can be exposed to.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788557">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A description of the well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportCoreInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693740">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the core was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="coreNumber" type="witsml:nameString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694745">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element coreNumber.-->
+            <xsd:annotation>
+               <xsd:documentation>Core identification number.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694790">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694340">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832507">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832972">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="lenRecovered" type="witsml:lengthMeasureMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694505">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMetre for element lenRecovered.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element lenRecovered.-->
+            <xsd:annotation>
+               <xsd:documentation>Length of core recovered.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="recoverPc" type="witsml:volumePerVolumeMeasurePercent" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694625">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element recoverPc.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of core recovered.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="lenBarrel" type="witsml:lengthMeasureMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694145">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMetre for element lenBarrel.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element lenBarrel.-->
+            <xsd:annotation>
+               <xsd:documentation>Length of core barrel.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="innerBarrelType" type="witsml:InnerBarrelType" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832597">
+            <xsd:annotation>
+               <xsd:documentation>Core inner barrel type.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="coreDescription" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693860">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element coreDescription.-->
+            <xsd:annotation>
+               <xsd:documentation>General core description.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportEquipFailureInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772599">
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the equipment failed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772749">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the operation end point due to failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373406121">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth to the operation end point due to failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="equipClass" type="witsml:EquipmentCodeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17771429">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:EquipmentCodeNPD for element equipClass.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element equipClass.-->
+            <xsd:annotation>
+               <xsd:documentation>The classification of the equipment that failed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="eTimMissProduction" type="witsml:timeMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17773139">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element eTimMissProduction.-->
+            <xsd:annotation>
+               <xsd:documentation>The missed production time due to equipment failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimRepair" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772914">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimRepair.-->
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which the production equipment was repaired and ready for production.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772869">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A description that gives a information about the equipment failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportFormTestInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704510">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the wireline formation test was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856531">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of the wireline formation test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704585">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth of the wireline formation test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presPore" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17608469">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presPore.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presPore.-->
+            <xsd:annotation>
+               <xsd:documentation>The formation pore pressure. The pressure of fluids within the pores of a reservoir, usually hydrostatic pressure, or the pressure exerted by a
+               column of water from the formation's depth to sea level.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="goodSeal" type="witsml:logicalBoolean" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704780">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element goodSeal.-->
+            <xsd:annotation>
+               <xsd:documentation>True ("true" or "1") indicates that there was a good seal for the wireline formation test. False ("false" or "0") or not given indicates
+               otherwise.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdSample" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704900">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdSample.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth where the fluid sample was taken.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dominateComponent" type="witsml:DominateCopmponentTypeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704210">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:DominateCopmponentTypeNPD for element dominateComponent.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dominateComponent.-->
+            <xsd:annotation>
+               <xsd:documentation>The dominate component in the fluid sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityHC" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373424931">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityHC.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of hydrocarbon component of the fluid sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volumeSample" type="witsml:volumeMeasureCubicDeciMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704405">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicDeciMetre for element volumeSample.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volumeSample.-->
+            <xsd:annotation>
+               <xsd:documentation>The volume of the fluid sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704120">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A description that describes the wireline formation test in more detail.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportGasReadingInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879697">
+            <xsd:annotation>
+               <xsd:documentation>Date and time of the gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="readingType" type="witsml:GasPeakType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893235">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element readingType.-->
+            <xsd:annotation>
+               <xsd:documentation>Type of gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892935">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893070">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892575">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892710">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gasHigh" type="witsml:volumePerVolumeMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892170">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element gasHigh.-->
+            <xsd:annotation>
+               <xsd:documentation>The highest gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gasLow" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892260">
+            <xsd:annotation>
+               <xsd:documentation>The lowest gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="meth" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892350">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element meth.-->
+            <xsd:annotation>
+               <xsd:documentation>Methane (C1) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="eth" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892485">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element eth.-->
+            <xsd:annotation>
+               <xsd:documentation>Ethane (C2) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="prop" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17891900">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element prop.-->
+            <xsd:annotation>
+               <xsd:documentation>Propane (C3) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ibut" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374341731">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element ibut.-->
+            <xsd:annotation>
+               <xsd:documentation>iso-Butane (iC4) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="nbut" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374350471">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element nbut.-->
+            <xsd:annotation>
+               <xsd:documentation>nor-Butane (nC4) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ipent" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374357751">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element ipent.-->
+            <xsd:annotation>
+               <xsd:documentation>iso-Pentane (iC5) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportLithShowInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364008">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the well test was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17713095">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712870">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="show" type="witsml:commentString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS375160921">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element show.-->
+            <xsd:annotation>
+               <xsd:documentation>A textual description of any shows in the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="lithology" type="witsml:commentString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712795">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element lithology.-->
+            <xsd:annotation>
+               <xsd:documentation>A description that gives a geological/lithological description/evaluation of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportLogInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691078">
+            <xsd:annotation>
+               <xsd:documentation>The date and time that the log was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="runNumber" type="witsml:str16" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692038">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element runNumber.-->
+            <xsd:annotation>
+               <xsd:documentation>Log run number. For measurement while drilling, this should be the bottom hole assembly number.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="serviceCompany" type="witsml:nameString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691993">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element serviceCompany.-->
+            <xsd:annotation>
+               <xsd:documentation>Name of contractor who provided the service.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691558">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691393">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tool" type="witsml:descriptionString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692083">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:descriptionString for element tool.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element tool.-->
+            <xsd:annotation>
+               <xsd:documentation>A description of the logging tool.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice>
+            <xsd:element name="tempBHCT" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691153">
+               <!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBHCT.-->
+               <xsd:annotation>
+                  <xsd:documentation>Bottom hole circulating temperature.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:sequence>
+               <xsd:element name="tempBHST" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1"
+               sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836159">
+                  <!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBHST.-->
+                  <xsd:annotation>
+                     <xsd:documentation>Bottom hole temperature static.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="eTimStatic" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1"
+               sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691303">
+                  <!--PROFILE: Changed type from witsml:timeMeasure to witsml:timeMeasureHour for element eTimStatic.-->
+                  <xsd:annotation>
+                     <xsd:documentation>Ellapsed time since circulation stopped.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+         </xsd:choice>
+         <xsd:element name="mdTempTool" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836564">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTempTool.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth to the temperature measurement tool.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTempTool" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836024">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth to the temperature measurement tool.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportPerfInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTimOpen" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797330">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimOpen.-->
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which the well perforation interval is opened.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimClose" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797405">
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which the well perforation interval is closed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797480">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796970">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854791">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855226">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportPorePressure">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="readingKind" type="witsml:ReadingKind" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373368811">
+            <xsd:annotation>
+               <xsd:documentation>Was the reading measured or estimated</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="equivalentMudWeight" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307">
+            <xsd:annotation>
+               <xsd:documentation>The equivalent mud weight value of the pore pressure reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683945">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time at the reading was made.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684935">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth where the readings were recorded.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17847750">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth where the readings were recorded.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportStatusInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644855">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>the date and time that for which the well status is reported.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644930">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>Wellbore measured depth at the end of the report period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851070">
+            <xsd:annotation>
+               <xsd:documentation>Wellbore true vertical depth at the end of the report.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdPlugTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659110">
+            <xsd:annotation>
+               <xsd:documentation>The measured plug back depth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaHole" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644585">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaHole.-->
+            <xsd:annotation>
+               <xsd:documentation>Hole nominal inside diameter.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdDiaHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659230">
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the start of the current hole diameter.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaPilot" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659350">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaPilot.-->
+            <xsd:annotation>
+               <xsd:documentation>Pilot hole nominal inside diameter at reporting time.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdDiaPilotPlan" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851160">
+            <xsd:annotation>
+               <xsd:documentation>The planned measured depth of the pilot hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdDiaPilotPlan" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660205">
+            <xsd:annotation>
+               <xsd:documentation>The planned true vertical depth of the pilot hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="typeWellbore" type="witsml:WellboreType" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660325">
+            <xsd:annotation>
+               <xsd:documentation>Type of wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660400">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth to the kickoff point of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850980">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth to the kickoff point of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element parentWellbore.-->
+         <xsd:element name="strengthForm" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659800">
+            <xsd:annotation>
+               <xsd:documentation>The measured formation strength. This should be the final measurement before the end of the report period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdStrengthForm" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660055">
+            <xsd:annotation>
+               <xsd:documentation>The measured depth of the formation strength measuement.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdStrengthForm" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850755">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth of the formation strength measuement.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaCsgLast.-->
+            <xsd:annotation>
+               <xsd:documentation>Diameter of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdCsgLast" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850890">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presTestType" type="witsml:PresTestType" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658975">
+            <xsd:annotation>
+               <xsd:documentation>The type of pressure test that was run during this reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdPlanned" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850395">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of plan for this day number (report period).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="distDrill" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850485">
+            <xsd:annotation>
+               <xsd:documentation>Distance drilled during this reporting period. This should be measured along the centerline of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="elevKelly" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850575">
+            <xsd:annotation>
+               <xsd:documentation>Elevation of the rotary kelly bushing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="sum24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658390">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element sum24Hr.-->
+            <xsd:annotation>
+               <xsd:documentation>A summary that sumarizes the activities performed and the status of the ongoing activities from the reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="forecast24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658465">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element forecast24Hr.-->
+            <xsd:annotation>
+               <xsd:documentation>A summary that sumarizes the planned activities the next reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ropCurrent" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850095">
+            <!--PROFILE: Changed type from witsml:velocityMeasure to witsml:velocityMeasureMetresPerHour for element ropCurrent.-->
+            <xsd:annotation>
+               <xsd:documentation>Rate of penetration at the end of the reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element rig.-->
+         <!--PROFILE: Deleted element eTimStart.-->
+         <!--PROFILE: Deleted element eTimSpud.-->
+         <!--PROFILE: Deleted element eTimLoc.-->
+         <!--PROFILE: Deleted element eTimDrill.-->
+         <!--PROFILE: Deleted element ropAv.-->
+         <!--PROFILE: Deleted element supervisor.-->
+         <!--PROFILE: Deleted element engineer.-->
+         <!--PROFILE: Deleted element geologist.-->
+         <!--PROFILE: Deleted element eTimDrillRot.-->
+         <!--PROFILE: Deleted element eTimDrillSlid.-->
+         <!--PROFILE: Deleted element eTimCirc.-->
+         <!--PROFILE: Deleted element eTimReam.-->
+         <!--PROFILE: Deleted element eTimHold.-->
+         <!--PROFILE: Deleted element eTimSteering.-->
+         <!--PROFILE: Deleted element distDrillRot.-->
+         <!--PROFILE: Deleted element distDrillSlid.-->
+         <!--PROFILE: Deleted element distReam.-->
+         <!--PROFILE: Deleted element distHold.-->
+         <!--PROFILE: Deleted element distSteering.-->
+         <!--PROFILE: Deleted element numPob.-->
+         <!--PROFILE: Deleted element numContract.-->
+         <!--PROFILE: Deleted element numOperator.-->
+         <!--PROFILE: Deleted element numService.-->
+         <!--PROFILE: Deleted element numAFE.-->
+         <!--PROFILE: Deleted element costDay.-->
+         <!--PROFILE: Deleted element costDayMud.-->
+         <!--PROFILE: Deleted element conditionHole.-->
+         <!--PROFILE: Deleted element tvdLot.-->
+         <!--PROFILE: Deleted element presLotEmw.-->
+         <!--PROFILE: Deleted element presKickTol.-->
+         <!--PROFILE: Deleted element volKickTol.-->
+         <!--PROFILE: Deleted element maasp.-->
+         <!--PROFILE: Deleted element tubular.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportStratInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795795">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time at which a preliminary zonation is established.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795870">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796065">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A lithological description of the geological formation at the given depth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportSurveyStation">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Trajectory Station Component Schema</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687877">
+            <xsd:annotation>
+               <xsd:documentation>The date at which the directional survey took place.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688642">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of measurement from the drill datum.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688102">
+            <xsd:annotation>
+               <xsd:documentation>Vertical depth of the measurements.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="incl" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687922">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element incl.-->
+            <xsd:annotation>
+               <xsd:documentation>Hole inclination, measured from vertical.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="azi" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688267">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element azi.-->
+            <xsd:annotation>
+               <xsd:documentation>Hole azimuth. Corrected to wells azimuth reference.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element vertSect.-->
+         <!--PROFILE: Deleted element dls.-->
+         <!--PROFILE: Deleted element location.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportWellboreInfo">
+      <xsd:annotation>
+         <xsd:documentation>General information about a well bore for a drill operations report.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTimSpud" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818479">
+            <xsd:annotation>
+               <xsd:documentation>Date and time at which the well was spudded. This is when the well drilling equipment begin to bore into the earth's surface for the purpose of
+               drilling a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimPreSpud" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818434">
+            <xsd:annotation>
+               <xsd:documentation>Date and time at which the well was predrilled. This is when the well drilling equipment begin to bore into the earth's surface for the purpose
+               of drilling a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dateDrillComplete" type="witsml:date" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818524">
+            <xsd:annotation>
+               <xsd:documentation>The date when the drilling activity is completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="operator" type="witsml:nameString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818569">
+            <xsd:annotation>
+               <xsd:documentation>The name of the drilling Operator company.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="drillContractor" type="witsml:nameString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818614">
+            <xsd:annotation>
+               <xsd:documentation>The name of the drilling Contractor company.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="rigAlias" type="witsml:cs_alias" minOccurs="0" maxOccurs="2"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17645305">
+            <!--PROFILE: Changed maxOccurs from unbounded to 2 for element rigAlias.-->
+            <xsd:annotation>
+               <xsd:documentation>A name of the fixed or movable facility being used to drill the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportWellTestInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699490">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the well test was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="testType" type="witsml:WellTestType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701590">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element testType.-->
+            <xsd:annotation>
+               <xsd:documentation>The type of well test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="testNumber" type="witsml:positiveCount" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701335">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element testNumber.-->
+            <xsd:annotation>
+               <xsd:documentation>The number of the well test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701290">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701380">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328363958">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328363900">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="chokeOrificeSize" type="witsml:lengthMeasureMilliMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701110">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMilliMetre for element chokeOrificeSize.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element chokeOrificeSize.-->
+            <xsd:annotation>
+               <xsd:documentation>The diameter of the choke opening.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityOil" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700690">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityOil.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the produced oil.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityWater" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS16430300">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityWater.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the produced water.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityGas" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17881266">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityGas.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the produced gas.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="flowRateOil" type="witsml:volumeFlowRateMeasureCubicMetresPerDay" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700915">
+            <!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureCubicMetresPerDay for element flowRateOil.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateOil.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum rate at which oil was produced.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="flowRateWater" type="witsml:volumeFlowRateMeasureCubicMetresPerDay" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700765">
+            <!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureCubicMetresPerDay for element flowRateWater.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateWater.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum rate at which water was produced.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="flowRateGas" type="witsml:volumeFlowRateMeasureMillionCubicMetresPerDay" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700480">
+            <!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureMillionCubicMetresPerDay for element flowRateGas.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateGas.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum rate at which gas was produced.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presShutIn" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700360">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presShutIn.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presShutIn.-->
+            <xsd:annotation>
+               <xsd:documentation>The final shut in pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presFlowing" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700645">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presFlowing.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presFlowing.-->
+            <xsd:annotation>
+               <xsd:documentation>The final flowing pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presBottom" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700075">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presBottom.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>The final bottom hole pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gasOilRatio" type="witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700000">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre for element gasOilRatio.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element gasOilRatio.-->
+            <xsd:annotation>
+               <xsd:documentation>The ratio of the volume of gas to the volume of oil.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="waterOilRatio" type="witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700240">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre for element waterOilRatio.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element waterOilRatio.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of water per amount of oil.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="chloride" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699730">
+            <!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element chloride.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element chloride.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of chloride in the produced water.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="carbonDioxide" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699610">
+            <!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element carbonDioxide.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element carbonDioxide.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of CO2 gas.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="hydrogenSulfide" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699880">
+            <!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element hydrogenSulfide.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element hydrogenSulfide.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of H2S gas.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volOilTotal" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699280">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volOilTotal.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volOilTotal.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of oil produced. This includes oil that was disposed of (e.g., burned).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volGasTotal" type="witsml:volumeMeasureMillionCubicMetres" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699400">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureMillionCubicMetres for element volGasTotal.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volGasTotal.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of gas produced. This includes gas that was disposed of (e.g., burned).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volWaterTotal" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699565">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volWaterTotal.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volWaterTotal.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of water produced. This includes water that was disposed of.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volOilStored" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://projects.dnv.com/reference_data/RD4Browser/default.aspx?RDLDesignation=TOTAL OIL VOLUME STORED FROM WELL TEST - M3">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volOilStored.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volOilStored.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of produced oil that was stored.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_extensionAny.-->
+   <!--UNUSED: Deleted type cs_extensionNameValue.-->
+   <xsd:complexType name="cs_fluid">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - fluids component schema</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="type" type="witsml:str32" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684695">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element type.-->
+            <xsd:annotation>
+               <xsd:documentation>Description for the type of fluid.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Fix-typo</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element locationSample.-->
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683990">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>The time when fluid readings were recorded.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839324">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth where the fluid readings were recorded.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Fix-typo</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839024">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth where the fluid readings were recorded.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presBopRating" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17686740">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presBopRating.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presBopRating.-->
+            <xsd:annotation>
+               <xsd:documentation>Maximum pressure rating of the blow out preventer.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mudClass" type="witsml:MudClass" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684065">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mudClass.-->
+            <xsd:annotation>
+               <xsd:documentation>The class of the drilling fluid.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="density" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659935">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element density.-->
+            <xsd:annotation>
+               <xsd:documentation>Fluid density.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element visFunnel.-->
+         <!--PROFILE: Deleted element tempVis.-->
+         <xsd:element name="pv" type="witsml:dynamicViscosityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684275">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element pv.-->
+            <xsd:annotation>
+               <xsd:documentation>Plastic viscosity.</xsd:documentation>
+            </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">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element yp.-->
+            <xsd:annotation>
+               <xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element gel10Sec.-->
+         <!--PROFILE: Deleted element gel10Min.-->
+         <!--PROFILE: Deleted element gel30Min.-->
+         <!--PROFILE: Deleted element filterCakeLtlp.-->
+         <!--PROFILE: Deleted element filtrateLtlp.-->
+         <!--PROFILE: Deleted element tempHthp.-->
+         <!--PROFILE: Deleted element presHthp.-->
+         <!--PROFILE: Deleted element filtrateHthp.-->
+         <!--PROFILE: Deleted element filterCakeHthp.-->
+         <!--PROFILE: Deleted element solidsPc.-->
+         <!--PROFILE: Deleted element waterPc.-->
+         <!--PROFILE: Deleted element oilPc.-->
+         <!--PROFILE: Deleted element sandPc.-->
+         <!--PROFILE: Deleted element solidsLowGravPc.-->
+         <!--PROFILE: Deleted element solidsCalcPc.-->
+         <!--PROFILE: Deleted element baritePc.-->
+         <!--PROFILE: Deleted element lcm.-->
+         <!--PROFILE: Deleted element mbt.-->
+         <!--PROFILE: Deleted element ph.-->
+         <!--PROFILE: Deleted element tempPh.-->
+         <!--PROFILE: Deleted element pm.-->
+         <!--PROFILE: Deleted element pmFiltrate.-->
+         <!--PROFILE: Deleted element mf.-->
+         <!--PROFILE: Deleted element alkalinityP1.-->
+         <!--PROFILE: Deleted element alkalinityP2.-->
+         <!--PROFILE: Deleted element chloride.-->
+         <!--PROFILE: Deleted element calcium.-->
+         <!--PROFILE: Deleted element magnesium.-->
+         <!--PROFILE: Deleted element potassium.-->
+         <!--PROFILE: Deleted element rheometer.-->
+         <!--PROFILE: Deleted element brinePc.-->
+         <!--PROFILE: Deleted element lime.-->
+         <!--PROFILE: Deleted element electStab.-->
+         <!--PROFILE: Deleted element calciumChloride.-->
+         <!--PROFILE: Deleted element company.-->
+         <!--PROFILE: Deleted element engineer.-->
+         <!--PROFILE: Deleted element asg.-->
+         <!--PROFILE: Deleted element solidsHiGravPc.-->
+         <!--PROFILE: Deleted element polymer.-->
+         <!--PROFILE: Deleted element polyType.-->
+         <!--PROFILE: Deleted element solCorPc.-->
+         <!--PROFILE: Deleted element oilCtg.-->
+         <!--PROFILE: Deleted element hardnessCa.-->
+         <!--PROFILE: Deleted element sulfide.-->
+         <!--PROFILE: Deleted element comments.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_geodeticModel">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Geodetic Model Component Schema. All elements except nameCRS have been deprecated. Either use a well known name of a CRS or use the wellCRS
+         reference to a gmlCoordinateReferenceSystem.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="nameCRS" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The name of the coordinate reference system in a particular naming system. An optional short name (code) can also be specified. Specifying a well
+               known system is highly desired. An example would be to specify a name of 'ED50' with a code of '4230' in the 'EPSG' naming system. Note that specifying a name in
+               the EPSG naming system is asserting that the parameters in the EPSG database are appropriate for this CRS. This is also true for any other naming system. If in
+               doubt, contact your local geodesist.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="geodeticDatumCode" type="witsml:GeodeticDatum" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Geodetic datum code. This defines a system in the Geoshare naming system and should probably not be used with
+               CRSName.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="xTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="yTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="zTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="xRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="yRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="zRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="scaleFactor" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid scale factor.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ellipsoidCode" type="witsml:Ellipsoid" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid code (spheroid) defining geographic or planar coordinates. Implied if geodeticDatumCode is specified (and is not user
+               defined).</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ellipsoidSemiMajorAxis" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid semi-major axis size. Implied if geodeticDatumCode or ellipsoidCode specified.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ellipsoidInverseFlattening" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid inverse flattening value (ie. 1/x). Implied if geodeticDatumCode or ellipsoidCode specified.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_geologyInterval.-->
+   <!--UNUSED: Deleted type cs_groupDefinition.-->
+   <!--UNUSED: Deleted type cs_holeOpener.-->
+   <!--UNUSED: Deleted type cs_hse.-->
+   <!--UNUSED: Deleted type cs_hydrocyclone.-->
+   <!--UNUSED: Deleted type cs_incident.-->
+   <!--UNUSED: Deleted type cs_interval.-->
+   <!--UNUSED: Deleted type cs_inventory.-->
+   <!--UNUSED: Deleted type cs_jar.-->
+   <!--UNUSED: Deleted type cs_lithology.-->
+   <xsd:complexType name="cs_localCRS">
+      <xsd:sequence>
+         <xsd:choice minOccurs="0" maxOccurs="1">
+            <xsd:element name="usesWellAsOrigin" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>True ("true" or "1") indicates that the well surface point is the origin of this CRS. False ("false" or "0") or not given indicates
+                  otherwise.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="origin" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the well reference point that is the origin of this CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="originDescription" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A textual description of the origin.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:choice>
+         <xsd:element name="yAxisAzimuth" type="witsml:yAxisAzimuth" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The angle of the Y axis from North (as described in attribute northDirection). Defaults to zero. Positive clockwise.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="magneticDeclination" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The angle between magnetic north and true north. The angle is measured positive clockwise from true north to magnetic north. This value SHOULD be
+               given if the yAxisAzimuth is measured from the magnetic north direction.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gridConvergence" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The angle between true north and the northing axis or the projection grid being used. The angle is measured at the point in question, and is
+               measured from true north to grid north, positive clockwise.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="yAxisDescription" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A free-form description of the Y axis. Examples would be 'parallel to the west side of the platform', or 'along the main entry
+               road'.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="xRotationCounterClockwise" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>True ("true" or "1") indicates that the X axis is rotated counter-clockwise from the Y axis when viewed from above the earth looking down. False
+               ("false" or "0") or not given indicates a clockwise rotation. Generally the X axis is rotated clockwise.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_location">
+      <xsd:annotation>
+         <xsd:documentation>WITSML Location Component Schema This is a location that is expressed in terms of 2D coordinates. In order that the location be understood, the
+         coordinate reference system (CRS) must be known. The survey location is given by a pair of tagged values. The pairs may be: (1) latitude/longitude, (2) easting/northing,
+         (3) westing/southing, (4) projectedX/projectedY, or (5) localX/localY. The appropriate pair must be chosen for the data.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="wellCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the wellCRS that defines the CRS for the coordinates. While optional, it is strongly recommended that this be
+               specified.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice minOccurs="0" maxOccurs="1">
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="latitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The latitude with north being positive.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="longitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The longitude with east being positive.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="easting" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with east being positive. This is the most common type of projected coordinates. UTM coordinates are expressed in
+                     Easting and Northing.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="northing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with north being positive. This is the most common type of projected coordinates. UTM coordinates are expressed in
+                     Easting and Northing.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="westing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with west being positive. The positive directions are reversed from the usual Easting and Northing values. These
+                     values are generally located in the southern hemisphere, most notably in South Africa and Australia.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="southing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with south being positive. The positive directions are reversed from the usual Easting and Northing values. These
+                     values are generally located in the southern hemisphere, most notably in South Africa and Australia.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="projectedX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected X coordinate with the positive direction unknown. ProjectedX and ProjectedY are used when it is not known what the meaning of
+                     the coordinates is. If the meaning is known, the Easting/Northing or Westing/Southing should be used. Use of this pair implies a lack of knowledge on the part
+                     of the sender.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="projectedY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected Y coordinate with the positive direction unknown. ProjectedX and ProjectedY are used when it is not known what the meaning of
+                     the coordinates is. If the meaning is known, the Easting/Northing or Westing/Southing should be used. Use of this pair implies a lack of knowledge on the part
+                     of the sender.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="localX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The local (engineering) X coordinate. The CRS will define the orientation of the axis.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="localY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The local (engineering) Y coordinate. The CRS will define the orientation of the axis.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+         </xsd:choice>
+         <xsd:element name="original" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Flag indicating (if "true" or "1") that this pair of values was the original data given for the location. If the pair of values was calculated
+               from an original pair of values, this flag should be "false" (or "0"), or not present.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A Comment, generally given to help the reader interpret the coordinates if the CRS and the chosen pair do not make them
+               clear.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_logCurveInfo.-->
+   <!--UNUSED: Deleted type cs_logData.-->
+   <!--UNUSED: Deleted type cs_motor.-->
+   <!--UNUSED: Deleted type cs_mudGas.-->
+   <!--UNUSED: Deleted type cs_mudLogParameter.-->
+   <!--UNUSED: Deleted type cs_mudLosses.-->
+   <!--UNUSED: Deleted type cs_mudVolume.-->
+   <!--UNUSED: Deleted type cs_mwdTool.-->
+   <!--UNUSED: Deleted type cs_nameTag.-->
+   <!--UNUSED: Deleted type cs_nozzle.-->
+   <!--UNUSED: Deleted type cs_personnel.-->
+   <!--UNUSED: Deleted type cs_pit.-->
+   <!--UNUSED: Deleted type cs_pitVolume.-->
+   <xsd:complexType name="cs_projectionx">
+      <xsd:annotation>
+         <xsd:documentation>WITSML Element Types All elements except nameCRS have been deprecated. Either use a well known name of a CRS or use the wellCRS reference to a
+         gmlCoordinateReferenceSystem.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="nameCRS" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The name of the coordinate reference system in a particular naming system. An optional short name (code) can also be specified. Specifying a well
+               known system is highly desired. An example would be to specify a name of 'WGS 84 / UTM zone 10N' with a code of '32610' in the 'EPSG' naming system. Note that
+               specifying a name in the EPSG naming system is asserting that the parameters in the EPSG database are appropriate for this CRS. This is also true for any other
+               naming system. If in doubt, contact your local geodesist.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="projectionCode" type="witsml:Projection" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. A code to identify the type of projection.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="projectedFrom" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. A pointer to the wellCRS that represents the geographic system from which this system was projected.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="stdParallel1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of first standard parallel.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="stdParallel2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of second standard parallel, if used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="centralMeridian" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the Y axis of the resulting map.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="originLatitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude at which the X axis intersects the central meridian.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="originLongitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the central meridian.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="latitude1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of the first point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="longitude1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the first point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="latitude2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of the second point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="longitude2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the second point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="latitudeForScale" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of a point for which the scale factor is specified exactly. Default to origin.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="longitudeForScale" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of a point for which the scale factor is specified exactly. Default to origin.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="trueScaleLatitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude at which the scale on the map is exact. If none is provided, scale is assumed to be exact at the
+               equator.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="spheroidRadius" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Spheroid radius.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="scaleFactor" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid scale factor.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="methodVariant" type="witsml:ProjectionVariantsObliqueMercator" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Projection method variant - establishes minor variations of the projection. Geoshare proposal.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="perspectiveHeight" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Height above the surface origin location from which the perspective is taken.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="zone" type="witsml:geodeticZoneString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Zone for the type of projection. Zones have values from 1 to 60 with a required direction of "N" (North) or "S" (South). For example,
+               "21N".</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="NADType" type="witsml:NADTypes" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. North American Datum type.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="falseEasting" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Artificial value added to the X axis.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="falseNorthing" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Artificial value added to the Y axis.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="bearing" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Bearing angle of the great circle with respect to north at the central point.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="hemisphere" type="witsml:Hemispheres" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Is the projection in the northern hemisphere or the southern hemisphere.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Description of item and details.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="parameter" type="witsml:indexedObject" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Parameter describing the user-defined projection.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_publicLandSurveySystem.-->
+   <!--UNUSED: Deleted type cs_pump.-->
+   <!--UNUSED: Deleted type cs_pumpOp.-->
+   <!--UNUSED: Deleted type cs_qualifier.-->
+   <!--UNUSED: Deleted type cs_realtimeHeader.-->
+   <!--UNUSED: Deleted type cs_record.-->
+   <!--UNUSED: Deleted type cs_referencePoint.-->
+   <!--UNUSED: Deleted type cs_refWellboreTrajectory.-->
+   <!--UNUSED: Deleted type cs_refWellboreTrajectoryStation.-->
+   <xsd:complexType name="cs_refWellWellbore">
+      <xsd:annotation>
+         <xsd:documentation>Data that represents a foreign key to a wellbore. The wellbore may be defined within the context of another well.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="wellboreReference" type="witsml:refNameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer the wellbore with which there is a relationship.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the well that contains the wellboreReference. This is not needed unless the referenced wellbore is outside the context of a common
+               parent well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_refWellWellboreRig">
+      <xsd:annotation>
+         <xsd:documentation>A reference to a rig within a wellbore. The wellbore may be defined within the context of another well. This value represents a foreign key from one
+         node to another.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="rigReference" type="witsml:refNameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the rig with which there is a relationship.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellboreParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the wellbore that contains the rigReference. This is not needed unless the referenced rig is outside the context of a common parent
+               wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the well that contains the wellboreParent. This is not needed unless the referenced wellbore is outside the context of a common
+               parent well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_rheometer.-->
+   <!--UNUSED: Deleted type cs_rigResponse.-->
+   <!--UNUSED: Deleted type cs_rotarySteerableTool.-->
+   <!--UNUSED: Deleted type cs_scr.-->
+   <!--UNUSED: Deleted type cs_sensor.-->
+   <!--UNUSED: Deleted type cs_shaker.-->
+   <!--UNUSED: Deleted type cs_shakerOp.-->
+   <!--UNUSED: Deleted type cs_shakerScreen.-->
+   <!--UNUSED: Deleted type cs_show.-->
+   <!--UNUSED: Deleted type cs_stabilizer.-->
+   <!--UNUSED: Deleted type cs_standardGeodeticCRS.-->
+   <!--UNUSED: Deleted type cs_standardProjectedCRS.-->
+   <!--UNUSED: Deleted type cs_standardVerticalCRS.-->
+   <!--UNUSED: Deleted type cs_stnTrajCorUsed.-->
+   <!--UNUSED: Deleted type cs_stnTrajMatrixCov.-->
+   <!--UNUSED: Deleted type cs_stnTrajRawData.-->
+   <!--UNUSED: Deleted type cs_stnTrajValid.-->
+   <!--UNUSED: Deleted type cs_supportCraft.-->
+   <!--UNUSED: Deleted type cs_surfaceEquipment.-->
+   <!--UNUSED: Deleted type cs_surveySection.-->
+   <!--UNUSED: Deleted type cs_swcSample.-->
+   <!--UNUSED: Deleted type cs_targetSection.-->
+   <!--UNUSED: Deleted type cs_trajectoryStation.-->
+   <!--UNUSED: Deleted type cs_tubularComponent.-->
+   <!--UNUSED: Deleted type cs_wbGeometry.-->
+   <!--UNUSED: Deleted type cs_wbGeometrySection.-->
+   <!--UNUSED: Deleted type cs_weather.-->
+   <xsd:complexType name="cs_wellAlias">
+      <xsd:annotation>
+         <xsd:documentation>A common way for handling names of objects. An identifier type must include a Name. It may also include a NamingSystem, which gives meaning to the
+         name.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A human contextual name of a well. This should (hopefully) be unique within the context of the naming system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="namingSystem" type="witsml:WellNamingSystem" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The naming system under which the well is defined. Knowledge of the naming system may allow the hame to be parsed for embeded
+               information.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_wellCRS">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Well Coordinate Reference System Component Schema. Note that this is intended for use with two dimensional coordinates. That does not prevent
+         the use of a three dimensional CRS. It just means that only two coordinates will be specified in that 3D system. The veritcal coordinates are specified separately and,
+         for 3D systems, one of the linked wellDatums should represent the vertical datum of that 3D system so that the height in the 3d system can be
+         determined.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the system. For a geodetic system this is commonly the name of the datum.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice minOccurs="0" maxOccurs="1">
+            <xsd:element name="mapProjection" type="witsml:cs_projectionx" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>Map projection system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe a
+                  CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="geographic" type="witsml:cs_geodeticModel" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>Geographic system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe a
+                  CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="mapProjectionCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A reference to the coordinateReferenceSystems object representing the Map projection system.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="geodeticCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A reference to the coordinateReferenceSystems object representing the Geodetic (i.e., Geocentric or Geographic) system.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="localCRS" type="witsml:cs_localCRS" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>Local (engineering) system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe
+                  a CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:choice>
+         <xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A textual description of the system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_wellDatum">
+      <xsd:annotation>
+         <xsd:documentation>Defines the vertical datums associated with elevation, vertical depth and measured depth coordinates within the context of a well.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The human understandable contextual name of the reference datum.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="code" type="witsml:ElevCodeEnum" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The code value that represents the type of reference datum. This may represent a point on a device (e.g., kelly bushing) or it may represent a
+               vertical reference datum (e.g., mean sea level).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice>
+            <xsd:annotation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+            <xsd:element name="datumName" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>The name of the vertical reference datum in a particular naming system. This should only be specified if the above 'code' represents some
+                  variation of sea level. An optional short name (code) can also be specified. Specifying a well known datum is highly desired if the above code is a variant of
+                  sea level because sea level varies over time and space. An example would be to specify a name of 'Caspian Sea' with a code of '5106' in the 'EPSG' naming
+                  system.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="datumCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A reference to the coordinateReferenceSystem object representing the vertical reference datum (i.e., this wellDatum). This should only be
+                  specified if the above 'code' represents some variation of sea level.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:choice>
+         <xsd:element name="kind" type="witsml:kindString" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>Since various activities may use different points as measurement datums, it is useful to characterize the point based on its usage. A well
+               reference datum may have more than one such characterization. For example, it may be the datum used by the driller and logger for measuring their depths. Example
+               usage values would be 'permanent','driller', 'logger' 'WRP' (well reference point) and 'SRP' (site reference point).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellbore" type="witsml:cs_refWellWellbore" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the wellbore that contains the reference datum. This should be specified if a measured depth is given.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="rig" type="witsml:cs_refWellWellboreRig" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the rig that contains the device used as a reference datum. The rig may be associated with a wellbore in another well (e.g., pattern
+               drilling using a rig on a track).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="elevation" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The gravity based elevation coordinate of this reference datum as measured from another datum. Positive moving upward from the elevation datum.
+               An elevation should be given unless this is a vertical reference datum (e.g., sea level).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="measuredDepth" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The measured depth coordinate of this reference datum as measured from another datum. The measured depth datum should either be the same as the
+               elevation datum or it should be relatable to the elevation datum through other datums. Positive moving toward the bottomhole from the measured depth datum. This
+               should be given when a local reference is "downhole", such as a kickoff point or ocean bottom template, and the borehole may not be vertical. If a Depth is given
+               then an Elevation should also be given.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="horizontalLocation" type="witsml:cs_location" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The horizontal location of the point being used as a well datum. This may be used when the point is not directly above or below the well point
+               location. For example, a well being drilled from a platform may have its location at the entrance into the sea floor, while the well datum may be located on the
+               drilling rig. Or the well datum may be a kickoff point, that is not directly under the well surface point.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A contextual description of the well reference datum.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="defaultMeasuredDepth" type="witsml:logicalBoolean" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>True indicates that this is the default reference datum for measured depth coordinates. False or not given indicates that this is not the default
+            reference datum. Measured depth coordinates that do not specify a datum reference should be assumed to be measured relative to this default reference datum. Only one
+            reference datum may be designated as the default measured depth datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="defaultVerticalDepth" type="witsml:logicalBoolean" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>True indicates that this is the default reference datum for vertical depth coordinates. False or not given indicates that this is not the default
+            reference datum. Vertical depth coordinates that do not specify a datum reference should be assumed to be measured relative to the default reference datum. Only one
+            reference datum may be designated as the default vertical depth datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="defaultElevation" type="witsml:logicalBoolean" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>True indicates that this is the default reference datum for elevation coordinates. False or not given indicates that this is not the default
+            reference datum. Elevation coordinates that do not specify a datum reference should be assumed to be measured relative to the default reference datum. Only one
+            reference datum may be designated as the default elevation datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_wellLogCurveInfo.-->
+   <!--UNUSED: Deleted type cs_wellLogData.-->
+   <!--UNUSED: Deleted type data.-->
+   <!--UNUSED: Deleted type grp_attachment. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_bhaRun. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_cementJob. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_changeLog. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_convCore. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_coordinateReferenceSystem. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_drillReport. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_fluidsReport. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_formationMarker. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_log. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_message. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_mudLog. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_opsReport. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_realtime. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_rig. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_risk. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_sidewallCore. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_surveyProgram. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_target. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_trajectory. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_trajectoryStation. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_tubular. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_wbGeometry. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_well. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_wellbore. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_wellLog. Contents copied where needed.-->
+   <!--UNUSED: Deleted global element attachments.-->
+   <!--UNUSED: Deleted type obj_attachments.-->
+   <!--UNUSED: Deleted type obj_attachment.-->
+   <!--UNUSED: Deleted global element bhaRuns.-->
+   <!--UNUSED: Deleted type obj_bhaRuns.-->
+   <!--UNUSED: Deleted type obj_bhaRun.-->
+   <!--UNUSED: Deleted global element cementJobs.-->
+   <!--UNUSED: Deleted type obj_cementJobs.-->
+   <!--UNUSED: Deleted type obj_cementJob.-->
+   <!--UNUSED: Deleted global element changeLogs.-->
+   <!--UNUSED: Deleted type obj_changeLogs.-->
+   <!--UNUSED: Deleted type obj_changeLog.-->
+   <!--UNUSED: Deleted global element convCores.-->
+   <!--UNUSED: Deleted type obj_convCores.-->
+   <!--UNUSED: Deleted type obj_convCore.-->
+   <!--UNUSED: Deleted global element coordinateReferenceSystems.-->
+   <!--UNUSED: Deleted type obj_coordinateReferenceSystems.-->
+   <!--UNUSED: Deleted type obj_coordinateReferenceSystem.-->
+   <xsd:element name="drillReports" type="witsml:obj_drillReports" substitutionGroup="abs:abstractDataObject">
+      <xsd:annotation>
+         <xsd:documentation>The WITSML API mandated plural root element which allows multiple singular objects to be sent. The plural name is formed by adding an "s" to the
+         singular name.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+   </xsd:element>
+   <xsd:complexType name="obj_drillReports">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="abs:abstractObject">
+            <xsd:sequence>
+               <xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>Information about the XML message instance.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="drillReport" type="witsml:obj_drillReport" minOccurs="1" maxOccurs="unbounded">
+                  <xsd:annotation>
+                     <xsd:documentation>A single drilling report.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:attribute name="version" type="witsml:schemaVersionString" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>Data object schema version. The fourth level must match the version of the schema constraints (enumerations and XML loader files) that are
+                  assumed by the document instance.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:complexContent>
+   </xsd:complexType>
+   <xsd:complexType name="obj_drillReport">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="nameWell" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the well that contains the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="nameWellbore" type="witsml:nameString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17607299">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the wellbore that contains the drilling report.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the drilling report.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:sequence>
+            <xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364025">
+               <xsd:annotation>
+                  <xsd:documentation>Date and time of the start of the reporting period.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364044">
+               <xsd:annotation>
+                  <xsd:documentation>Date and time end of the reporting period. Report periods are commonly 24 hour periods.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="versionKind" type="witsml:OpsReportVersion" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17817431">
+               <!--PROFILE: Changed minOccurs from 0 to 1 for element versionKind.-->
+               <xsd:annotation>
+                  <xsd:documentation>The kind of report version. For example, a preliminary version.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="createDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364064">
+               <!--PROFILE: Changed minOccurs from 0 to 1 for element createDate.-->
+               <xsd:annotation>
+                  <xsd:documentation>The date and time of the report creation. A later timestamp indicates a newer version. In order to update values in a report a full updated
+                  copy of the original report should be submitted.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellAlias" type="witsml:cs_wellAlias" minOccurs="1" maxOccurs="1">
+               <!--PROFILE: Changed minOccurs from 0 to 1 for element wellAlias.-->
+               <xsd:annotation>
+                  <xsd:documentation>An alternative name of the well (in a naming system). The above well name should be included in the list of aliases so that its origin can be
+                  known.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellboreAlias" type="witsml:cs_wellAlias" minOccurs="2" maxOccurs="2">
+               <!--PROFILE: Changed minOccurs from 0 to 2 for element wellboreAlias.-->
+               <!--PROFILE: Changed maxOccurs from unbounded to 2 for element wellboreAlias.-->
+               <xsd:annotation>
+                  <xsd:documentation>An alternative name of the wellbore (in a naming system). The above well name should be included in the list of aliases so that its origin can
+                  be known.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellDatum" type="witsml:cs_wellDatum" minOccurs="0" maxOccurs="unbounded">
+               <xsd:annotation>
+                  <xsd:documentation>Defines a vertical datum used for measured depths, vertical depths or elevations. This must be specified if one of the aforementioned
+                  coordinate values are included in the report. This only applies to this report and is generally a copy of the same information from the well
+                  object.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellCRS" type="witsml:cs_wellCRS" minOccurs="0" maxOccurs="unbounded">
+               <xsd:annotation>
+                  <xsd:documentation>Defines a coordinate reference system used by coordinates within this report. This must be specified if coordinate values are included in the
+                  report (i.e., in a survey station location). This only applies to this report and is generally a copy of the same information from the well
+                  object.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellboreInfo" type="witsml:cs_drillReportWellboreInfo" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799789">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a wellbore. The well is represented by the original wellbore.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="statusInfo" type="witsml:cs_drillReportStatusInfo" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799868">
+               <!--PROFILE: Changed maxOccurs from unbounded to 1 for element statusInfo.-->
+               <xsd:annotation>
+                  <xsd:documentation>General status information.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="bitRecord" type="witsml:cs_bitRecord" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831397">
+               <xsd:annotation>
+                  <xsd:documentation>Information about a bit.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="fluid" type="witsml:cs_fluid" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839459">
+               <xsd:annotation>
+                  <xsd:documentation>One fluid record.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="porePressure" type="witsml:cs_drillReportPorePressure" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799947">
+               <xsd:annotation>
+                  <xsd:documentation>Information about the pore pressure.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="extendedReport" type="witsml:timestampedCommentString" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687235">
+               <!--PROFILE: Changed type from witsml:timestampedDescriptionString to witsml:timestampedCommentString for element extendedReport.-->
+               <xsd:annotation>
+                  <xsd:documentation>A description of what happened from the end of report to an alternative time before the end of the next report. This is intended to allow a
+                  preliminary description of what happened from the end of the report (commonly midnight) until the time of submission of a preliminary report (commonly 6:00 in
+                  the morning).</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="surveyStation" type="witsml:cs_drillReportSurveyStation" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854338">
+               <xsd:annotation>
+                  <xsd:documentation>A survey station recorded during the report interval.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="activity" type="witsml:cs_activity" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17800080">
+               <xsd:annotation>
+                  <xsd:documentation>Activity breakdown, multiple for many activities.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="logInfo" type="witsml:cs_drillReportLogInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836969">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a log.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="coreInfo" type="witsml:cs_drillReportCoreInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17833062">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a core.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellTestInfo" type="witsml:cs_drillReportWellTestInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17881131">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a production well test.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="formTestInfo" type="witsml:cs_drillReportFormTestInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856636">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a wireline formation test.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="lithShowInfo" type="witsml:cs_drillReportLithShowInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17858011">
+               <xsd:annotation>
+                  <xsd:documentation>General information about the lithology and shows in an interval.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="equipFailureInfo" type="witsml:cs_drillReportEquipFailureInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17834522">
+               <xsd:annotation>
+                  <xsd:documentation>General information about equipment failure.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="controlIncidentInfo" type="witsml:cs_drillReportControlIncidentInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887880">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a well control incident.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="stratInfo" type="witsml:cs_drillReportStratInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373305601">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a well control incident.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="perfInfo" type="witsml:cs_drillReportPerfInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855316">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a well control incident.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="gasReadingInfo" type="witsml:cs_drillReportGasReadingInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879652">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a gas reading.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:sequence>
+         <!--PROFILE: Deleted element commonData.-->
+         <!--PROFILE: Deleted element customData.-->
+      </xsd:sequence>
+      <xsd:attribute name="uidWell" type="witsml:uidParentString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>Unique identifier for the well. This uniquely represents the well referenced by the (possibly non-unique) nameWell.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="uidWellbore" type="witsml:uidParentString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>Unique identifier for the wellbore. This uniquely represents the wellbore referenced by the (possibly non-unique) nameWellbore.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of an object. This should not be used for child nodes within an object. For an independent object, the value may be globally
+            unique. For a dependent object, the value must be unique (for the same object type) within the context of the parent object. There should be no assumption as to the
+            semantic content of this attribute. The purpose of this type is to facilitate modifying the optionality in derived schemas.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted global element fluidsReports.-->
+   <!--UNUSED: Deleted type obj_fluidsReports.-->
+   <!--UNUSED: Deleted type obj_fluidsReport.-->
+   <!--UNUSED: Deleted global element formationMarkers.-->
+   <!--UNUSED: Deleted type obj_formationMarkers.-->
+   <!--UNUSED: Deleted type obj_formationMarker.-->
+   <!--UNUSED: Deleted global element logs.-->
+   <!--UNUSED: Deleted type obj_logs.-->
+   <!--UNUSED: Deleted type obj_log.-->
+   <!--UNUSED: Deleted global element messages.-->
+   <!--UNUSED: Deleted type obj_messages.-->
+   <!--UNUSED: Deleted type obj_message.-->
+   <!--UNUSED: Deleted global element mudLogs.-->
+   <!--UNUSED: Deleted type obj_mudLogs.-->
+   <!--UNUSED: Deleted type obj_mudLog.-->
+   <!--UNUSED: Deleted global element opsReports.-->
+   <!--UNUSED: Deleted type obj_opsReports.-->
+   <!--UNUSED: Deleted type obj_opsReport.-->
+   <!--UNUSED: Deleted global element realtimes.-->
+   <!--UNUSED: Deleted type obj_realtimes.-->
+   <!--UNUSED: Deleted type obj_realtime.-->
+   <!--UNUSED: Deleted global element rigs.-->
+   <!--UNUSED: Deleted type obj_rigs.-->
+   <!--UNUSED: Deleted type obj_rig.-->
+   <!--UNUSED: Deleted global element risks.-->
+   <!--UNUSED: Deleted type obj_risks.-->
+   <!--UNUSED: Deleted type obj_risk.-->
+   <!--UNUSED: Deleted global element sidewallCores.-->
+   <!--UNUSED: Deleted type obj_sidewallCores.-->
+   <!--UNUSED: Deleted type obj_sidewallCore.-->
+   <!--UNUSED: Deleted global element surveyPrograms.-->
+   <!--UNUSED: Deleted type obj_surveyPrograms.-->
+   <!--UNUSED: Deleted type obj_surveyProgram.-->
+   <!--UNUSED: Deleted global element targets.-->
+   <!--UNUSED: Deleted type obj_targets.-->
+   <!--UNUSED: Deleted type obj_target.-->
+   <!--UNUSED: Deleted global element trajectorys.-->
+   <!--UNUSED: Deleted type obj_trajectorys.-->
+   <!--UNUSED: Deleted type obj_trajectory.-->
+   <!--UNUSED: Deleted global element trajectoryStations.-->
+   <!--UNUSED: Deleted type obj_trajectoryStations.-->
+   <!--UNUSED: Deleted type obj_trajectoryStation.-->
+   <!--UNUSED: Deleted global element tubulars.-->
+   <!--UNUSED: Deleted type obj_tubulars.-->
+   <!--UNUSED: Deleted type obj_tubular.-->
+   <!--UNUSED: Deleted global element wbGeometrys.-->
+   <!--UNUSED: Deleted type obj_wbGeometrys.-->
+   <!--UNUSED: Deleted type obj_wbGeometry.-->
+   <!--UNUSED: Deleted global element wells.-->
+   <!--UNUSED: Deleted type obj_wells.-->
+   <!--UNUSED: Deleted type obj_well.-->
+   <!--UNUSED: Deleted global element wellbores.-->
+   <!--UNUSED: Deleted type obj_wellbores.-->
+   <!--UNUSED: Deleted type obj_wellbore.-->
+   <!--UNUSED: Deleted global element wellLogs.-->
+   <!--UNUSED: Deleted type obj_wellLogs.-->
+   <!--UNUSED: Deleted type obj_wellLog.-->
+   <xsd:simpleType name="abstractBoolean">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" boolean value. This type should not be used directly except to derive another type. All boolean types should be derived
+         from this type rather than using xsd:boolen.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:boolean">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDateTime">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" dateTime value. This type should not be used directly except to derive another type. All dateTime types should be
+         derived from this type rather than using xsd:dateTime.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:dateTime">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDate">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" date value. This type should not be used directly except to derive another type. All dateTime types should be derived
+         from this type rather than using xsd:dateTime.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:date">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDouble">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" double value. This type should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:double">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractShort">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" short value. This type should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:short">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type abstractInt.-->
+   <xsd:simpleType name="abstractString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all strings. This abstract type allows the control over whitespace for all strings to be defined at a high level.
+         This type should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:string">
+         <xsd:whiteSpace value="collapse">
+            <xsd:annotation>
+               <xsd:documentation>Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and
+               trailing spaces.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:whiteSpace>
+         <xsd:minLength value="1">
+            <xsd:annotation>
+               <xsd:documentation>The empty string is not allowed. This constraint conbined with the whiteSpace collapse constraint means that a blank value is not
+               allowed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:minLength>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="abstractMeasure" abstract="true">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all quantities that have a value with a unit of measure. The unit of measure is in the uom attribute of the
+         subtypes. This type allows all quantities to be profiled to be a 'float' instead of a 'double'.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractDouble" />
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="abstractMaximumLengthString">
+      <xsd:annotation>
+         <xsd:documentation>This defines the maximum acceptable length of a string that can be stored in a data base.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="4000">
+            <xsd:annotation>
+               <xsd:documentation>This value should be the smallest "maximum size of a variable length character type" in commonly used DBMSs. This is the maximum size of a
+               VARCHAR2 in Oracle 8.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:maxLength>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type abstractUncollapsedString.-->
+   <xsd:simpleType name="abstractPositiveCount">
+      <xsd:annotation>
+         <xsd:documentation>A positive integer (one based count or index) with a maximum value of 32767 (2-bytes).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractShort">
+         <xsd:minInclusive value="1">
+            <xsd:annotation>
+               <xsd:documentation>This value cannot be negative or zero.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:minInclusive>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type abstractTimeZone.-->
+   <xsd:simpleType name="abstractNameString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all user assigned human recognizable contextual name types. There should be no assumption that (interoperable)
+         semantic information will be extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced
+         by an enumeration.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="64" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractUidString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all locally unique identifiers. The value is not intended to convey any semantic content (e.g., it may be computer
+         generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in
+         multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server). Spaces are not allowed.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="64" />
+         <xsd:pattern value="[^ ]*" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractCommentString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all comments or remarks intended for human consumption. There should be no assumption that semantics can be
+         extracted from the field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be
+         interoperable).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractMaximumLengthString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDescriptionString">
+      <xsd:annotation>
+         <xsd:documentation>A textual description of something.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="256" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractString32">
+      <xsd:annotation>
+         <xsd:documentation>A 32 character string.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=Bug, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="32" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractTypeEnum">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all enumerated "types". This abstract type allows the maximum length of a type enumeration to be centrally defined.
+         This type should not be used directly except to derive another type. It should also be used for uncontrolled strings which are candidates to become enumerations at a
+         future date.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="40" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractUomEnum">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all "units of measure". This abstract type allows the maximum length of a UOM enumeration to be centrally defined.
+         This type is abstract in the sense that it should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="24" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type ActivityClassType.-->
+   <!--UNUSED: Deleted type ActivityCode.-->
+   <!--UNUSED: Deleted type ArrayElementDataType.-->
+   <xsd:simpleType name="AziRef">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="magnetic north">
+            <xsd:annotation>
+               <xsd:documentation>The north direction as defined by the magnetic north pole at the time of the measurement. The magnetic north pole is the direction that a magnet
+               will point to when freely rotating.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="grid north">
+            <xsd:annotation>
+               <xsd:documentation>The north direction is defined by the coordinate grid in the projection coordinate system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="true north">
+            <xsd:annotation>
+               <xsd:documentation>The north direction as defined by the true north pole. The true north pole is an average of the actual measured north axis, which is the axis of
+               rotation of the earth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type BearingType.-->
+   <!--UNUSED: Deleted type BitDullCode.-->
+   <!--UNUSED: Deleted type BitReasonPulled.-->
+   <!--UNUSED: Deleted type BitType.-->
+   <!--UNUSED: Deleted type BhaStatus.-->
+   <!--UNUSED: Deleted type BladeShapeType.-->
+   <!--UNUSED: Deleted type BladeType.-->
+   <!--UNUSED: Deleted type BopType.-->
+   <!--UNUSED: Deleted type BoxPinConfig.-->
+   <!--UNUSED: Deleted type CalibrationPointRole.-->
+   <!--UNUSED: Deleted type CementJobType.-->
+   <!--UNUSED: Deleted type ChangeInfoType.-->
+   <!--UNUSED: Deleted type ConnectionPosition.-->
+   <!--UNUSED: Deleted type DeflectionMethod.-->
+   <!--UNUSED: Deleted type DerrickType.-->
+   <!--UNUSED: Deleted type DrawWorksType.-->
+   <!--UNUSED: Deleted type DriveType.-->
+   <!--UNUSED: Deleted type EastOrWest.-->
+   <xsd:simpleType name="ElevCodeEnum">
+      <xsd:annotation>
+         <xsd:documentation>The type of local or permanent reference datum for vertical gravity based (i.e., elevation and vertical depth) and measured depth coordinates within
+         the context of a well. This list includes local points (e.g., kelly bushing) used as a datum and vertical reference datums (e.g., mean sea level).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="CF">
+            <xsd:annotation>
+               <xsd:documentation>casing flange: A flange affixed to the top of the casing string used to attach production equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CV">
+            <xsd:annotation>
+               <xsd:documentation>crown valve</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="DF">
+            <xsd:annotation>
+               <xsd:documentation>derrick floor</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GL">
+            <xsd:annotation>
+               <xsd:documentation>ground level</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KB">
+            <xsd:annotation>
+               <xsd:documentation>kelly bushing</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="RB">
+            <xsd:annotation>
+               <xsd:documentation>rotary bushing</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="RT">
+            <xsd:annotation>
+               <xsd:documentation>rotary table</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SF">
+            <xsd:annotation>
+               <xsd:documentation>sea floor</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="LAT">
+            <xsd:annotation>
+               <xsd:documentation>Lowest Astronomical Tide. The lowest tide level over the duration of the National Tidal Datum Epoch (19 years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SL">
+            <xsd:annotation>
+               <xsd:documentation>Mean Sea Level - A tidal datum. The arithmetic mean of hourly heights observed over the National Tidal Datum Epoch (19
+               years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MHHW">
+            <xsd:annotation>
+               <xsd:documentation>Mean Higher High Water - A tidal datum. The average of the higher high water height of each tidal day observed over the National Tidal Datum
+               Epoch (19 years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MHW">
+            <xsd:annotation>
+               <xsd:documentation>Mean High Water - A tidal datum. The average of all the high water heights observed over the National Tidal Datum Epoch (19
+               years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MLLW">
+            <xsd:annotation>
+               <xsd:documentation>Mean Lower Low Water - A tidal datum. The average of the lower low water height of each tidal day observed over the National Tidal Datum Epoch
+               (19 years ).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MLW">
+            <xsd:annotation>
+               <xsd:documentation>Mean Low Water - A tidal datum. The average of all the low water heights observed over the National Tidal Datum Epoch (19
+               years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MTL">
+            <xsd:annotation>
+               <xsd:documentation>Mean Tide Level - A tidal datum. The arithmetic mean of mean high water and mean low water. Same as half-tide level.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KO">
+            <xsd:annotation>
+               <xsd:documentation>kickoff point</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="Ellipsoid">
+      <xsd:annotation>
+         <xsd:documentation>These values represent the type of ellipsoid (spheroid) defining geographic or planar coordinates.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="AGD66">
+            <xsd:annotation>
+               <xsd:documentation>Australian Old</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AIRY_MOD">
+            <xsd:annotation>
+               <xsd:documentation>Modified Airy</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AIRY30">
+            <xsd:annotation>
+               <xsd:documentation>Airy 1830</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AIRY49">
+            <xsd:annotation>
+               <xsd:documentation>Airy 1849</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AUST_NAT">
+            <xsd:annotation>
+               <xsd:documentation>Australian National Same as KAU63 and SA69</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESL-DHD">
+            <xsd:annotation>
+               <xsd:documentation>Bessel Modified</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESL-NGL">
+            <xsd:annotation>
+               <xsd:documentation>Bessel - NGO 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESL-RT9">
+            <xsd:annotation>
+               <xsd:documentation>Bessel - RT90</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESS41">
+            <xsd:annotation>
+               <xsd:documentation>Bessel 1841</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESSNAM">
+            <xsd:annotation>
+               <xsd:documentation>Bessel 1841 for Namibia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BOGOTA">
+            <xsd:annotation>
+               <xsd:documentation>BOGOTA (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL58">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1858</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL58-1">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1858-1</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL66">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1866</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL66-M">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1866 for Michigan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-A">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 variation A</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-B">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 variation B</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-I">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 IGN</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-J">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 for Jamaica</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-M">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 for Merchich</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-P">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 for Palestine</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CMPOINCH">
+            <xsd:annotation>
+               <xsd:documentation>CAMPO INCH (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="DAN">
+            <xsd:annotation>
+               <xsd:documentation>Danish</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="DELA">
+            <xsd:annotation>
+               <xsd:documentation>DELAMBRE 1810</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ED50">
+            <xsd:annotation>
+               <xsd:documentation>ED50 (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EGYPT07">
+            <xsd:annotation>
+               <xsd:documentation>EGYPT07 (Helmert 1906)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1830 - Indian</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER48">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER56">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1956</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER69">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1969</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER-BR">
+            <xsd:annotation>
+               <xsd:documentation>Everest Brunei</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVERMOD">
+            <xsd:annotation>
+               <xsd:documentation>Modified Everest</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER-P">
+            <xsd:annotation>
+               <xsd:documentation>Everest Pakistan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER-TM">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1830 (modified) Timbalai</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVTM">
+            <xsd:annotation>
+               <xsd:documentation>Everest - Timbali</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISC60">
+            <xsd:annotation>
+               <xsd:documentation>"Fischer 1960 aka ""Mercury"""</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISC60MOD">
+            <xsd:annotation>
+               <xsd:documentation>Fischer 1960 Modified</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISC68">
+            <xsd:annotation>
+               <xsd:documentation>"Fischer 1968 aka ""Modified Mercury"""</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISCMOD">
+            <xsd:annotation>
+               <xsd:documentation>"Modified Fischer 1960 aka ""South Asia"""</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GDA94">
+            <xsd:annotation>
+               <xsd:documentation>GDA94 - Australia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GRS67">
+            <xsd:annotation>
+               <xsd:documentation>Geodetic Reference System 1967</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GRS80">
+            <xsd:annotation>
+               <xsd:documentation>Geodetic Reference System 1980</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HAY09">
+            <xsd:annotation>
+               <xsd:documentation>Hayford 1909</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HEIS">
+            <xsd:annotation>
+               <xsd:documentation>Heiskanen 1929</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HEL06">
+            <xsd:annotation>
+               <xsd:documentation>Helmert 1906</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HEL07">
+            <xsd:annotation>
+               <xsd:documentation>Helmert 1907</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HOUG">
+            <xsd:annotation>
+               <xsd:documentation>Hough 1956</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="IAG-75">
+            <xsd:annotation>
+               <xsd:documentation>IAG 75</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDIAN75">
+            <xsd:annotation>
+               <xsd:documentation>INDIAN75 (Everest 1930)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDO-74">
+            <xsd:annotation>
+               <xsd:documentation>INDO74 (Indonesian 1974)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INT24">
+            <xsd:annotation>
+               <xsd:documentation>International 1924</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="IUGG67">
+            <xsd:annotation>
+               <xsd:documentation>IUGG 1967</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="IUGG75">
+            <xsd:annotation>
+               <xsd:documentation>IUGG 1975</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="JEFF48">
+            <xsd:annotation>
+               <xsd:documentation>Jeffreys 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KAU63">
+            <xsd:annotation>
+               <xsd:documentation>Kaula 1963 Same as AUST_NAT and SA69</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KRSV">
+            <xsd:annotation>
+               <xsd:documentation>Krassovsky</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MERIT83">
+            <xsd:annotation>
+               <xsd:documentation>MERIT83</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD27">
+            <xsd:annotation>
+               <xsd:documentation>NAD27 (Clarke 1866)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAHRAN">
+            <xsd:annotation>
+               <xsd:documentation>NAHRAN (Clarke 1880)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NEWINT67">
+            <xsd:annotation>
+               <xsd:documentation>New International 1967</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NWL-10D">
+            <xsd:annotation>
+               <xsd:documentation>NWL 10D</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NWL-9D">
+            <xsd:annotation>
+               <xsd:documentation>NWL 9D</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSGB36">
+            <xsd:annotation>
+               <xsd:documentation>OSGB36 (Airy 1830)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSU86F">
+            <xsd:annotation>
+               <xsd:documentation>OSU86F</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSU91A">
+            <xsd:annotation>
+               <xsd:documentation>OSU91A</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PLESSIS-1817">
+            <xsd:annotation>
+               <xsd:documentation>Plessis 1817</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PSAD56">
+            <xsd:annotation>
+               <xsd:documentation>PSAD56 (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PTNOIRE">
+            <xsd:annotation>
+               <xsd:documentation>Pointe Noire 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SA69">
+            <xsd:annotation>
+               <xsd:documentation>South American 1969</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SPHR">
+            <xsd:annotation>
+               <xsd:documentation>Sphere of radius 6370997</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="STRU">
+            <xsd:annotation>
+               <xsd:documentation>Struve 1860</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WALB">
+            <xsd:annotation>
+               <xsd:documentation>Walbeck</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WAR24">
+            <xsd:annotation>
+               <xsd:documentation>War Office 1924</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS60">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1960</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS66">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1966</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS72">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1972</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS84">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1984</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type ExtensionName.-->
+   <!--UNUSED: Deleted type FileNameType.-->
+   <xsd:simpleType name="GasPeakType">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="circulating background gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="connection gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling background gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling gas peak">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="flow check gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="no readings">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="other">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="shut down gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="trip gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="GeodeticDatum">
+      <xsd:annotation>
+         <xsd:documentation>These values represent the type of geodetic datum. The source (except for "none", "unknown" and "UserDefined") of the values and the descriptions is
+         Geoshare V13.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="ADND">
+            <xsd:annotation>
+               <xsd:documentation>Adindian ellipsoid=CL80 region="Sudan, Ethiopia"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ARC50">
+            <xsd:annotation>
+               <xsd:documentation>ARC 1950 ellipsoid=CL80B region="Southern Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AUSG">
+            <xsd:annotation>
+               <xsd:documentation>Australian ellipsoid=GRS67 region="Australia Geodetic"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CAA">
+            <xsd:annotation>
+               <xsd:documentation>Camp Area Astro ellipsoid=INT24 region=Antarctica</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CHAS">
+            <xsd:annotation>
+               <xsd:documentation>Chau Astro ellipsoid=INT24 region=Paraguay</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CORAL">
+            <xsd:annotation>
+               <xsd:documentation>Corrego Alegre ellipsoid=INT24 region=INT24</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ED50">
+            <xsd:annotation>
+               <xsd:documentation>European 1950 ellipsoid=INT24 region="Europe, Middle East, North Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ED87">
+            <xsd:annotation>
+               <xsd:documentation>European 1987 ellipsoid=INT24 region="Europe, Middle East, North Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ERIN65">
+            <xsd:annotation>
+               <xsd:documentation>Ireland 1965 ellipsoid=AIRY_MOD region=Ireland</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GD49">
+            <xsd:annotation>
+               <xsd:documentation>Geodetic Datum 1949 ellipsoid=INT24 region="New Zealand"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GHANA">
+            <xsd:annotation>
+               <xsd:documentation>Ghana ellipsoid=WAR24 region=Ghana</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GUAM63">
+            <xsd:annotation>
+               <xsd:documentation>Guam 1963 ellipsoid=CL66 region="Marianas Islands"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HJRS55">
+            <xsd:annotation>
+               <xsd:documentation>Hjorsey 1955 ellipsoid=INT24 region=Iceland</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HTS">
+            <xsd:annotation>
+               <xsd:documentation>Hu-Tzu-Shan ellipsoid=INT24 region=Taiwan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INCH">
+            <xsd:annotation>
+               <xsd:documentation>Campo Inchauspe ellipsoid=INT24 region=Argentina</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDIA1">
+            <xsd:annotation>
+               <xsd:documentation>Indian 'Kalimpur' ellipsoid=EVER region=India</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDIA2">
+            <xsd:annotation>
+               <xsd:documentation>Indian 'Kalimpur' ellipsoid=INT24 region=India</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDNS74">
+            <xsd:annotation>
+               <xsd:documentation>Indonesia 1974 ellipsoid=GRS67 region=Indonesia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="LIB64">
+            <xsd:annotation>
+               <xsd:documentation>Liberia 1964 ellipsoid=CL80 region=Liberia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="LUZON">
+            <xsd:annotation>
+               <xsd:documentation>Luzon ellipsoid=CL66 region=Philippines</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MRCH">
+            <xsd:annotation>
+               <xsd:documentation>Merchich ellipsoid=CL80A region=Morocco</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD27">
+            <xsd:annotation>
+               <xsd:documentation>North American 'Meades Ranch' ellipsoid=CL66 region="North America"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD83">
+            <xsd:annotation>
+               <xsd:documentation>North American Datum of 1983 ellipsoid=GRS80 region="Canada, Cuba, U.S., Caribbean"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NGRA">
+            <xsd:annotation>
+               <xsd:documentation>Nigeria ellipsoid=CL80 region=Nigeria</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="None">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NPRM">
+            <xsd:annotation>
+               <xsd:documentation>Naparima ellipsoid=INT24 region="Trinidad and Tobago"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSGB36">
+            <xsd:annotation>
+               <xsd:documentation>Ordnance Survey of Great Britain 1936 ellipsoid=AIRY region="Great Britain, Northern Ireland"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="POTS1">
+            <xsd:annotation>
+               <xsd:documentation>European 'Pelmert Tower, Potsdam' ellipsoid=INT24 region="Most of Eurasia, Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PULK1">
+            <xsd:annotation>
+               <xsd:documentation>Russian 'Pulkovo' ellipsoid=BESS41</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PULK2">
+            <xsd:annotation>
+               <xsd:documentation>Russian 'Pulkovo' ellipsoid=KRSV</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="QRNQ">
+            <xsd:annotation>
+               <xsd:documentation>Qornoq ellipsoid=INT24 region=Greenland</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SA56">
+            <xsd:annotation>
+               <xsd:documentation>Provisional South American, 1956 ellipsoid=INT24 region="Bolivia, Chile, Colombia, Ecuador, Peru, Venezuela, the Guianas"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SRL60">
+            <xsd:annotation>
+               <xsd:documentation>Sierra Leone 1960 ellipsoid=CL80 region="Sierra Leone"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="TNRV25">
+            <xsd:annotation>
+               <xsd:documentation>Tananarive (Antananarivo) Obsv. 1925T ellipsoid=INT24 region="Malagasy Republic"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="TOKYO">
+            <xsd:annotation>
+               <xsd:documentation>Tokyo ellipsoid=BESS41 region=Japan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="UserDefined">
+            <xsd:annotation>
+               <xsd:documentation>Datum defined elsewhere</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="VROL">
+            <xsd:annotation>
+               <xsd:documentation>Voirol ellipsoid=CL80 region="Algeria, Tunisia"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS72">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1972 ellipsoid=WGS72</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS84">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1984 ellipsoid=WGS84 region="Sino-Soviet Bloc, SW Asia, Hydrographic, Aeronautical"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="YACR">
+            <xsd:annotation>
+               <xsd:documentation>Yacare ellipsoid=INT24 region=Uruguay</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="Hemispheres">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="northern">
+            <xsd:annotation>
+               <xsd:documentation>Northern hemisphere.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="southern">
+            <xsd:annotation>
+               <xsd:documentation>Southern hemisphere.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type HoleCasingType.-->
+   <!--UNUSED: Deleted type HoleOpenerType.-->
+   <xsd:simpleType name="InnerBarrelType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="undifferented">
+            <xsd:annotation>
+               <xsd:documentation>A pipe that is located inside a core barrel to hold the core sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="aluminum">
+            <xsd:annotation>
+               <xsd:documentation>An inner core barrel made of aluminium.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gel">
+            <xsd:annotation>
+               <xsd:documentation>An inner core barrel that that seals off the core sample using gel as the sealing material.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="fiberglass">
+            <xsd:annotation>
+               <xsd:documentation>An inner core barrel made of glass fiber reinforced plastic.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type IntervalMethod.-->
+   <!--UNUSED: Deleted type IntervalType.-->
+   <!--UNUSED: Deleted type ItemState.-->
+   <!--UNUSED: Deleted type JarType.-->
+   <!--UNUSED: Deleted type JarAction.-->
+   <!--UNUSED: Deleted type LithologySource.-->
+   <!--UNUSED: Deleted type LithologyType.-->
+   <!--UNUSED: Deleted type LogDataType.-->
+   <!--UNUSED: Deleted type LogIndexDirection.-->
+   <!--UNUSED: Deleted type LogIndexType.-->
+   <!--UNUSED: Deleted type LogRectangularType.-->
+   <!--UNUSED: Deleted type LogSectionType.-->
+   <!--UNUSED: Deleted type LogTraceOrigin.-->
+   <!--UNUSED: Deleted type LogTraceState.-->
+   <!--UNUSED: Deleted type LogTrackType.-->
+   <!--UNUSED: Deleted type MaterialType.-->
+   <!--UNUSED: Deleted type MeasureClass.-->
+   <!--UNUSED: Deleted type MeasurementType.-->
+   <!--UNUSED: Deleted type MessageDigestType.-->
+   <!--UNUSED: Deleted type MessageProbability.-->
+   <!--UNUSED: Deleted type MessageSeverity.-->
+   <!--UNUSED: Deleted type MessageType.-->
+   <!--UNUSED: Deleted type MimeType.-->
+   <xsd:simpleType name="MudClass">
+      <xsd:annotation>
+         <xsd:documentation>Defines the class of a drilling fluid.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="water based">
+            <xsd:annotation>
+               <xsd:documentation>A drilling fluid in which water is the continuous phase.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="oil based">
+            <xsd:annotation>
+               <xsd:documentation>A drilling fluid in which oil is the continuous phase.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="other">
+            <xsd:annotation>
+               <xsd:documentation>A drilling fluid in which neither water nor oil is the continous phase.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type MudLogParameterType.-->
+   <xsd:simpleType name="NADTypes">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="NAD27">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD83">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type NameTagLocation.-->
+   <!--UNUSED: Deleted type NameTagNumberingScheme.-->
+   <!--UNUSED: Deleted type NameTagTechnology.-->
+   <!--UNUSED: Deleted type NorthOrSouth.-->
+   <!--UNUSED: Deleted type NozzleType.-->
+   <!--UNUSED: Deleted type ObjectGrowingState.-->
+   <xsd:simpleType name="OpsReportVersion">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="preliminary">
+            <xsd:annotation>
+               <xsd:documentation>A preliminary report that has not yet been approved by the drilling operator. This report is normally issued at the beginning of the work day
+               (e.g., 6:00 am) before</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="normal">
+            <xsd:annotation>
+               <xsd:documentation>A normal daily staus report that has been approved by the drilling operator.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="final">
+            <xsd:annotation>
+               <xsd:documentation>A report that represents the final definitive status for the well. This report is normally issued some period of time (e.g., 6 months) after the
+               completion of drilling.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type PitType.-->
+   <!--UNUSED: Deleted type PrimitiveType.-->
+   <xsd:simpleType name="Projection">
+      <xsd:annotation>
+         <xsd:documentation>These values represent the type of coordinate system projection method. The source (except for "UserDefined") of the values is Geoshare V13. For a
+         detailed description of each value, see the Geoshare documentation of the indicated "217" object at
+         http://w3.posc.org/GeoshareSIG/technical/GDM/v13.0/.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="Albers equal area">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-ALBERS</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="azimuthal equidistant">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-AZIMUTHAL</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Cassini">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-CASSINI</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equidistant conic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-EQUIDISTANT</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equirectangular">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-EQUIRECTANGULAR</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gnomonic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-GNOMONIC</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Lambert azimuthal">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-LAMBERT-AZIMUTH</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Lambert conformal conic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-LAMBERT</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-MERCATOR</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Miller">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-MILLER</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="oblique Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-OBLIQUE-MERCATOR</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="orthographic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-ORTHO</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="perspective">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-PERSPECTIVE</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="polar stereographic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-POLAR-STEREO</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="polyconic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-POLYCONIC</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="sinusoidal">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-SINUSOIDAL</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="state plane">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-STATE-PLANE</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="stereographic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-STEREO</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="transverse Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-TM</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="universal transverse Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-UTM</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="user defined">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Van der Grinten">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-VANDERGRINTEN</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="ProjectionVariantsObliqueMercator">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="default">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="rectified">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="rectified skew">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="rectified skew center origin">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="PresTestType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="leak off test">
+            <xsd:annotation>
+               <xsd:documentation>A leakoff test is usually conducted immediately after drilling below a new casing shoe. During the test, the well is shut in and fluid is pumped
+               into the wellbore gradually to increase the pressure that the formation experiences.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation integrity test">
+            <xsd:annotation>
+               <xsd:documentation>If the formation is not able to withstand the given pressure, the result of the test is the strength of the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type PrincipalMeridian.-->
+   <!--UNUSED: Deleted type PumpType.-->
+   <!--UNUSED: Deleted type PumpOpType.-->
+   <!--UNUSED: Deleted type QualifierType.-->
+   <xsd:simpleType name="ReadingKind">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="measured">
+            <xsd:annotation>
+               <xsd:documentation>The reading was measured.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="estimated">
+            <xsd:annotation>
+               <xsd:documentation>The reading was estimated.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type RealtimeData.-->
+   <!--UNUSED: Deleted type RigType.-->
+   <!--UNUSED: Deleted type RiskAffectedPersonnel.-->
+   <!--UNUSED: Deleted type RiskCategory.-->
+   <!--UNUSED: Deleted type RiskSubCategory.-->
+   <!--UNUSED: Deleted type RiskType.-->
+   <!--UNUSED: Deleted type ScrType.-->
+   <!--UNUSED: Deleted type ShowFluorescence.-->
+   <!--UNUSED: Deleted type ShowLevel.-->
+   <!--UNUSED: Deleted type ShowRating.-->
+   <!--UNUSED: Deleted type ShowSpeed.-->
+   <xsd:simpleType name="StateDetailActivity">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="injury">
+            <xsd:annotation>
+               <xsd:documentation>Personnel injury in connection with drilling and/or drilling related operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="operation failed">
+            <xsd:annotation>
+               <xsd:documentation>Operation failed to achieve objective.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="kick">
+            <xsd:annotation>
+               <xsd:documentation>Formation fluid invading the well bore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="circulation loss">
+            <xsd:annotation>
+               <xsd:documentation>Circulation lost to the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud loss">
+            <xsd:annotation>
+               <xsd:documentation>Circulation impossible due to plugging or failure of equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="stuck equipment">
+            <xsd:annotation>
+               <xsd:documentation>Equipment got stuck in the hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equipment failure">
+            <xsd:annotation>
+               <xsd:documentation>Equipment failure occurred.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equipment hang">
+            <xsd:annotation>
+               <xsd:documentation>Operations had to be aborted due to a hang of operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="success">
+            <xsd:annotation>
+               <xsd:documentation>Operation achieved objective.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type SupportCraft.-->
+   <!--UNUSED: Deleted type SurfEquipType.-->
+   <!--UNUSED: Deleted type TargetCategory.-->
+   <!--UNUSED: Deleted type TargetScope.-->
+   <!--UNUSED: Deleted type TargetSectionScope.-->
+   <!--UNUSED: Deleted type TrajStnCalcAlgorithm.-->
+   <!--UNUSED: Deleted type TrajStationStatus.-->
+   <!--UNUSED: Deleted type TrajStationType.-->
+   <!--UNUSED: Deleted type TubularAssembly.-->
+   <!--UNUSED: Deleted type TubularComponent.-->
+   <!--UNUSED: Deleted type TypeSurveyTool.-->
+   <xsd:simpleType name="WellControlIncidentType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="shallow gas kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where shallow gas is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="water kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where water is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="oil kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where crude oil is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gas kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where gas is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type WellDirection.-->
+   <!--UNUSED: Deleted type WellFluid.-->
+   <xsd:simpleType name="WellKillingProcedureType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="drillers method">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is presecribing circulation the kick fluids out of the well and then circulating a higher density kill mud through
+               the kill line into the well through an adjustable choke.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="wait and weight">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is presecribing circulating heavier kill mud while a constant downhole pressure is maintained by pressure relief
+               through a choke.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="bullheading">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing pumping of kill weight fluid down the tubing and forcing the wellbore fluids back into the formation
+               through the perforations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="lubricate and bleed">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing to pump a volume of killing fluid corresponding to half the volume of the well tubing into the well,
+               observing the well for 30 - 60 minutes and wait for the tubing head pressure to drop, then pump additional killing fluid into the well and when the wellhead
+               pressure does not exceed 200 psi above observed tubing head pressure bleed off gas from the tubing at high rate.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="forward circulation">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing a drilling fluid circulation down the tubing, through a circulation device (or out the end of a work
+               string/coiled tubing) and up the annulus.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="reverse circulation">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing a drilling fluid circulation down the completion annulus, workstring annulus or pipe annulus and
+               taking returns up the tubing, workstring or pipe.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="WellNamingSystem">
+      <xsd:annotation>
+         <xsd:documentation>The types of well/wellbore naming systems.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="DTI">
+            <xsd:annotation>
+               <xsd:documentation>United Kingdom Department of Trade and Industry</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="API">
+            <xsd:annotation>
+               <xsd:documentation>American Petroleum Institute well number (10,12 or 14 digits).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NPD code">
+            <xsd:annotation>
+               <xsd:documentation>Norwegian Petroleum Directorate wellbore code</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NPD number">
+            <xsd:annotation>
+               <xsd:documentation>Norwegian Petroleum Directorate wellbore number</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="local field">
+            <xsd:annotation>
+               <xsd:documentation>A name assigned that is meaningful within the context of the field in which it is located. There are not specifications on how to form this
+               name.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="prospect">
+            <xsd:annotation>
+               <xsd:documentation>A name assigned to a prospect - a well that has not yet been drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="WellTestType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="drill stem test">
+            <xsd:annotation>
+               <xsd:documentation>A test to determine the productive capacity, pressure, permeability or extent (or a combination of these) of a hydrocarbon reservoir, with the
+               drillstring still in the hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="production test">
+            <xsd:annotation>
+               <xsd:documentation>A test to determine the daily rate of oil, gas, and water production from a (potential) reservoir.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type WellboreShape.-->
+   <xsd:simpleType name="WellboreType">
+      <xsd:annotation>
+         <xsd:documentation>The classification of a wellbore with respect to its parent well/wellbore.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="bypass">
+            <xsd:annotation>
+               <xsd:documentation>The original wellbore had to be abandoned before its final usage. This wellbore is being drilled as a different wellbore, but one which has the
+               same target as the one that was abandoned.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="initial">
+            <xsd:annotation>
+               <xsd:documentation>This is the first wellbore that has been drilled, or attempted, in a given well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="redrill">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is being redrilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="reentry">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is being reentered after a period of abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="respud">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is part of an existing regulatory well. The original borehole did not reach the target depth. This borehole required the well to be
+               respudded (drilled from a different surface position).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="sidetrack">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is a deviation from a given wellbore, that produces a different borehole from the others, and whose bottomhole differs from any
+               previously extisting wellbore bottomholes.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type WellPurpose.-->
+   <!--UNUSED: Deleted type WellStatus.-->
+   <xsd:simpleType name="date" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A julian date.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDate" />
+   </xsd:simpleType>
+   <xsd:simpleType name="timestamp" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A date with a time of day and a mandatory time zone offset. This must captute the correct date-time relative to UTC. It is not necessary to use a local
+         time zone because software may convert the date-time to a different local time zone (while retaining correct date-time relative to UTC). See acquisitionTmeZone in
+         commonData for the original time zone of times in an object.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-39, Change=Modified-description</xsd:appinfo>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-39, Change=Modified-constraint</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDateTime">
+         <xsd:pattern value=".+T.+[Z+\-].*" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type timeZone.-->
+   <!--UNUSED: Deleted type timestampedTimeZone.-->
+   <!--UNUSED: Deleted type calendarYear.-->
+   <xsd:simpleType name="logicalBoolean" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>Values of "true" (or "1") and "false" (or "0").</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractBoolean" />
+   </xsd:simpleType>
+   <xsd:complexType name="yAxisAzimuth" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The angle of a Y axis from North. This is a variation of planeAngleMeasure with an attribute defining the direction of north.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PlaneAngleUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the azimuth value.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:planeAngleUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="northDirection" type="witsml:AziRef" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>Specifies the direction to be considered North for the y axis.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="volumePerVolumeMeasurePercent" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A volume per volume measure that is constrained to a unit of percent.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PercentUom" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="unitlessQuantity" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A unitless quantity. This should not be confused with a dimensionless measure.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDouble" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type genericMeasure.-->
+   <!--UNUSED: Deleted type ratioGenericMeasure.-->
+   <!--UNUSED: Deleted type indexCurve.-->
+   <!--UNUSED: Deleted type fileName.-->
+   <!--UNUSED: Deleted type checksum.-->
+   <!--UNUSED: Deleted type listOfString.-->
+   <xsd:simpleType name="uidString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A locally unique identifier. The value is not intended to convey any semantic content (e.g., it may be computer generated).</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-5, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUidString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="uidParentString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A unique identifier of an object parent. This should only be used for the uid of a parent object (i.e., a foreign key to another object). It should not
+         be used for child nodes of an object. The value is not intended to convey any semantic content (e.g., it may be computer generated). The purpose of this type is to
+         facilitate modifying the optionality of parentage uids in derived schemas.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-5, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUidString" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type refString.-->
+   <xsd:complexType name="refNameString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A reference to a name in another node of the xml hierachy. This value represents a foreign key from one element to another.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractNameString">
+            <!--PROFILE: Deleted attribute uidRef.-->
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type refObjectString.-->
+   <!--UNUSED: Deleted type refPositiveCount.-->
+   <xsd:simpleType name="refWellDatum" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A reference to a wellDatum in the current well. This value must match the uid value in a WellDatum. This value represents a foreign key from one
+         element to another. This is an exception to the convention that a foreign key must utilize both a human contextual name and a uid value. For messages outside the context
+         of a server then this value will commonly match the value of the name of the wellDatum (e.g., 'KB') if uids are not not used in that context. This was a compromise in
+         order to allow the coordinate structures to be simple and still be usable both within the context of a server and outside the context of a server.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUidString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="nameString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A user assigned human recognizable contextual name of something. There should be no assumption that (interoperable) semantic information will be
+         extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an
+         enumeration.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractNameString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="commentString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A comment or remark intended for human consumption. There should be no assumption that semantics can be extracted from this field by a computer.
+         Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractCommentString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="descriptionString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A textual description of something.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Changed-type-from:abstractString</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDescriptionString" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type shortDescriptionString.-->
+   <!--UNUSED: Deleted type timestampedDescriptionString.-->
+   <!--UNUSED: Deleted type encodedArrayString.-->
+   <!--UNUSED: Deleted type encodedValueString.-->
+   <!--UNUSED: Deleted type extensionvalue.-->
+   <xsd:simpleType name="kindString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A community assigned human recognizable name. This type of value is intended to be unique and is generally a candidate to be constrained to an
+         enumerated list.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum" />
+   </xsd:simpleType>
+   <xsd:simpleType name="uomString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A unit of measure acronym from the POSC unit of measure file.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum" />
+   </xsd:simpleType>
+   <xsd:simpleType name="schemaVersionString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The version of the schema. The first three levels are fixed. The fourth level can vary to represent on the constraints defined in enumerations and XML
+         loader files.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="16" />
+         <xsd:pattern value="1\.4\.0\.([0-9]|([1-9][0-9]))" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="nameStruct" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The name of something within a naming system.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractNameString">
+            <xsd:attribute name="namingSystem" type="witsml:nameString" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>The naming system within the name is (hopefully) unique.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="wellKnownNameStruct" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The name of something within a mandatory naming system with an optional code.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractNameString">
+            <xsd:attribute name="namingSystem" type="witsml:nameString" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The naming system within the name is unique.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="code" type="witsml:kindString" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A unique (short) code associated with the name.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type uncollapsedString.-->
+   <!--UNUSED: Deleted type iadcBearingWearCode.-->
+   <xsd:simpleType name="geodeticZoneString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A geodetic zone with values from 1 to 60 and a required direction of "N" (North) or "S" (South). For example, "21N".</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="3" />
+         <xsd:pattern value="([1-9]|[1-5][0-9]|60)[NS]" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="measuredDepthCoord" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A measured depth coordinate in a wellbore. Positive moving from the reference datum toward the bottomhole. All coordinates with the same datum (and
+         same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:MeasuredDepthUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the quantity value.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. This value is assumed to match the uid value in a
+                  WellDatum. If not given then the default WellDatum must be assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="wellVerticalDepthCoord" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A vertical (gravity based) depth coordinate within the context of a well. Positive moving downward from the reference datum. All coordinates with the
+         same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the quantity value.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be
+                  assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="wellElevationCoord" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A vertical (gravity based) elevation coordinate within the context of a well. Positive moving upward from the reference datum. All coordinates with the
+         same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the quantity value. If not given then the default unit of measure of the explicitly or implicitly given datum must be
+                  assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be
+                  assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type sectionNumber.-->
+   <!--UNUSED: Deleted type publicLandSurveySystemQuarterTownship.-->
+   <!--UNUSED: Deleted type publicLandSurveySystemQuarterSection.-->
+   <!--UNUSED: Deleted type footageNorthSouth.-->
+   <!--UNUSED: Deleted type footageEastWest.-->
+   <!--UNUSED: Deleted type nonNegativeCount.-->
+   <!--UNUSED: Deleted type nonNegativeBigCount.-->
+   <xsd:simpleType name="positiveCount" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A positive integer (one based count or index).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractPositiveCount">
+         <xsd:minInclusive value="1">
+            <xsd:annotation>
+               <xsd:documentation>This value cannot be negative or zero.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:minInclusive>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type positiveBigCount.-->
+   <!--UNUSED: Deleted type integerCount.-->
+   <!--UNUSED: Deleted type beaufortScaleIntegerCode.-->
+   <!--UNUSED: Deleted type pumpActionIntegerCode.-->
+   <!--UNUSED: Deleted type iadcIntegerCode.-->
+   <!--UNUSED: Deleted type levelIntegerCode.-->
+   <!--UNUSED: Deleted type cost.-->
+   <xsd:complexType name="indexedObject" final="#all">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractTypeEnum">
+            <xsd:attribute name="index" type="witsml:positiveCount" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>Indexes things with the same name. That is the first one, the second one, etc.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="name" type="witsml:kindString" use="optional" />
+            <xsd:attribute name="uom" type="witsml:uomString" use="optional" />
+            <xsd:attribute name="description" type="witsml:descriptionString" use="optional" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type str2.-->
+   <xsd:simpleType name="str16" final="#all">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="16" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="str32" final="#all">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-44, Change=Changed-type-from:abstractString</xsd:appinfo>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString32" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type accelerationLinearMeasure.-->
+   <!--UNUSED: Deleted type anglePerLengthMeasure.-->
+   <!--UNUSED: Deleted type anglePerTimeMeasure.-->
+   <!--UNUSED: Deleted type areaMeasure.-->
+   <!--UNUSED: Deleted type areaPerAreaMeasure.-->
+   <xsd:complexType name="densityMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:DensityUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:densityUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type dimensionlessMeasure.-->
+   <xsd:complexType name="dynamicViscosityMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:DynamicViscosityUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:dynamicViscosityUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type electricCurrentMeasure.-->
+   <!--UNUSED: Deleted type electricPotentialMeasure.-->
+   <!--UNUSED: Deleted type equivalentPerMassMeasure.-->
+   <!--UNUSED: Deleted type forceMeasure.-->
+   <!--UNUSED: Deleted type forcePerLengthMeasure.-->
+   <!--UNUSED: Deleted type forcePerVolumeMeasure.-->
+   <!--UNUSED: Deleted type illuminanceMeasure.-->
+   <xsd:complexType name="lengthMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:LengthUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:lengthUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type lengthPerLengthMeasure.-->
+   <!--UNUSED: Deleted type magneticInductionMeasure.-->
+   <!--UNUSED: Deleted type massConcentrationMeasure.-->
+   <!--UNUSED: Deleted type massMeasure.-->
+   <!--UNUSED: Deleted type massPerLengthMeasure.-->
+   <!--UNUSED: Deleted type momentOfForceMeasure.-->
+   <!--UNUSED: Deleted type perLengthMeasure.-->
+   <xsd:complexType name="planeAngleMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PlaneAngleUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:planeAngleUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type powerMeasure.-->
+   <xsd:complexType name="pressureMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PressureUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:pressureUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type relativePowerMeasure.-->
+   <!--UNUSED: Deleted type specificVolumeMeasure.-->
+   <!--UNUSED: Deleted type thermodynamicTemperatureMeasure.-->
+   <xsd:complexType name="timeMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:TimeUom" 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 velocityMeasure.-->
+   <!--UNUSED: Deleted type volumeMeasure.-->
+   <!--UNUSED: Deleted type volumeFlowRateMeasure.-->
+   <xsd:complexType name="volumePerVolumeMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:VolumePerVolumeUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:volumePerVolumeUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="PercentUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="%" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="MeasuredDepthUom">
+      <xsd:annotation>
+         <xsd:documentation>The units of measure that are valid for measured depths in a wellbore.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m">
+            <xsd:annotation>
+               <xsd:documentation>meter</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="ft".-->
+         <!--PROFILE: Deleted enumeration value="ftUS".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="WellVerticalCoordinateUom">
+      <xsd:annotation>
+         <xsd:documentation>The units of measure that are valid for vertical gravity based coordinates (i.e., elevation or vertical depth) within the context of a
+         well.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m">
+            <xsd:annotation>
+               <xsd:documentation>meter</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="ft".-->
+         <!--PROFILE: Deleted enumeration value="ftUS".-->
+         <!--PROFILE: Deleted enumeration value="ftBr(65)".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type AccelerationLinearUom.-->
+   <!--UNUSED: Deleted type AnglePerLengthUom.-->
+   <!--UNUSED: Deleted type AnglePerTimeUom.-->
+   <!--UNUSED: Deleted type AreaUom.-->
+   <!--UNUSED: Deleted type AreaPerAreaUom.-->
+   <xsd:simpleType name="DensityUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:densityUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <!--PROFILE: Deleted enumeration value="kg/m3".-->
+         <!--PROFILE: Deleted enumeration value="10Mg/m3".-->
+         <!--PROFILE: Deleted enumeration value="dAPI".-->
+         <xsd:enumeration value="g/cm3" />
+         <!--PROFILE: Deleted enumeration value="g/dm3".-->
+         <!--PROFILE: Deleted enumeration value="g/galUK".-->
+         <!--PROFILE: Deleted enumeration value="g/galUS".-->
+         <!--PROFILE: Deleted enumeration value="g/L".-->
+         <!--PROFILE: Deleted enumeration value="g/m3".-->
+         <!--PROFILE: Deleted enumeration value="grain/ft3".-->
+         <!--PROFILE: Deleted enumeration value="grain/galUS".-->
+         <!--PROFILE: Deleted enumeration value="grain/100ft3".-->
+         <!--PROFILE: Deleted enumeration value="kg/dm3".-->
+         <!--PROFILE: Deleted enumeration value="kg/L".-->
+         <!--PROFILE: Deleted enumeration value="Mg/m3".-->
+         <!--PROFILE: Deleted enumeration value="lbm/10bbl".-->
+         <!--PROFILE: Deleted enumeration value="lbm/bbl".-->
+         <!--PROFILE: Deleted enumeration value="lbm/ft3".-->
+         <!--PROFILE: Deleted enumeration value="lbm/galUK".-->
+         <!--PROFILE: Deleted enumeration value="lbm/1000galUK".-->
+         <!--PROFILE: Deleted enumeration value="lbm/galUS".-->
+         <!--PROFILE: Deleted enumeration value="lbm/1000galUS".-->
+         <!--PROFILE: Deleted enumeration value="lbm/in3".-->
+         <!--PROFILE: Deleted enumeration value="lbm/Mbbl".-->
+         <!--PROFILE: Deleted enumeration value="mg/dm3".-->
+         <!--PROFILE: Deleted enumeration value="mg/galUS".-->
+         <!--PROFILE: Deleted enumeration value="mg/L".-->
+         <!--PROFILE: Deleted enumeration value="mg/m3".-->
+         <!--PROFILE: Deleted enumeration value="ug/cm3".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type DimensionlessUom.-->
+   <xsd:simpleType name="DynamicViscosityUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:dynamicViscosityUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="Pa.s" />
+         <xsd:enumeration value="cP" />
+         <xsd:enumeration value="P" />
+         <xsd:enumeration value="psi.s" />
+         <xsd:enumeration value="dyne.s/cm2" />
+         <xsd:enumeration value="kgf.s/m2" />
+         <xsd:enumeration value="lbf.s/ft2" />
+         <xsd:enumeration value="lbf.s/in2" />
+         <xsd:enumeration value="mPa.s" />
+         <xsd:enumeration value="N.s/m2" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type ElectricCurrentUom.-->
+   <!--UNUSED: Deleted type ElectricPotentialUom.-->
+   <!--UNUSED: Deleted type EquivalentPerMassUom.-->
+   <!--UNUSED: Deleted type ForceUom.-->
+   <!--UNUSED: Deleted type ForcePerLengthUom.-->
+   <!--UNUSED: Deleted type ForcePerVolumeUom.-->
+   <!--UNUSED: Deleted type IlluminanceUom.-->
+   <xsd:simpleType name="LengthUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:lengthUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m" />
+         <xsd:enumeration value="angstrom" />
+         <xsd:enumeration value="chBnA" />
+         <xsd:enumeration value="chBnB" />
+         <xsd:enumeration value="chCla" />
+         <xsd:enumeration value="chSe" />
+         <xsd:enumeration value="chUS" />
+         <xsd:enumeration value="cm" />
+         <xsd:enumeration value="dm" />
+         <xsd:enumeration value="fathom" />
+         <xsd:enumeration value="fm" />
+         <xsd:enumeration value="ft" />
+         <xsd:enumeration value="ftBnA" />
+         <xsd:enumeration value="ftBnB" />
+         <xsd:enumeration value="ftBr(65)" />
+         <xsd:enumeration value="ftCla" />
+         <xsd:enumeration value="ftGC" />
+         <xsd:enumeration value="ftInd" />
+         <xsd:enumeration value="ftInd(37)" />
+         <xsd:enumeration value="ftInd(62)" />
+         <xsd:enumeration value="ftInd(75)" />
+         <xsd:enumeration value="ftMA" />
+         <xsd:enumeration value="ftSe" />
+         <xsd:enumeration value="ftUS" />
+         <xsd:enumeration value="in" />
+         <xsd:enumeration value="in/10" />
+         <xsd:enumeration value="in/16" />
+         <xsd:enumeration value="in/32" />
+         <xsd:enumeration value="in/64" />
+         <xsd:enumeration value="inUS" />
+         <xsd:enumeration value="km" />
+         <xsd:enumeration value="lkBnA" />
+         <xsd:enumeration value="lkBnB" />
+         <xsd:enumeration value="lkCla" />
+         <xsd:enumeration value="lkSe" />
+         <xsd:enumeration value="lkUS" />
+         <xsd:enumeration value="mGer" />
+         <xsd:enumeration value="mi" />
+         <xsd:enumeration value="mil" />
+         <xsd:enumeration value="miUS" />
+         <xsd:enumeration value="mm" />
+         <xsd:enumeration value="Mm" />
+         <xsd:enumeration value="nautmi" />
+         <xsd:enumeration value="nm" />
+         <xsd:enumeration value="pm" />
+         <xsd:enumeration value="um" />
+         <xsd:enumeration value="yd" />
+         <xsd:enumeration value="ydBnA" />
+         <xsd:enumeration value="ydBnB" />
+         <xsd:enumeration value="ydCla" />
+         <xsd:enumeration value="ydIm" />
+         <xsd:enumeration value="ydInd" />
+         <xsd:enumeration value="ydInd(37)" />
+         <xsd:enumeration value="ydInd(62)" />
+         <xsd:enumeration value="ydInd(75)" />
+         <xsd:enumeration value="ydSe" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type LengthPerLengthUom.-->
+   <!--UNUSED: Deleted type MagneticInductionUom.-->
+   <!--UNUSED: Deleted type MassConcentrationUom.-->
+   <!--UNUSED: Deleted type MassUom.-->
+   <!--UNUSED: Deleted type MassPerLengthUom.-->
+   <!--UNUSED: Deleted type MomentOfForceUom.-->
+   <!--UNUSED: Deleted type PerLengthUom.-->
+   <xsd:simpleType name="PlaneAngleUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:planeAngleUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <!--PROFILE: Deleted enumeration value="rad".-->
+         <!--PROFILE: Deleted enumeration value="c".-->
+         <!--PROFILE: Deleted enumeration value="ccgr".-->
+         <!--PROFILE: Deleted enumeration value="cgr".-->
+         <xsd:enumeration value="dega" />
+         <!--PROFILE: Deleted enumeration value="gon".-->
+         <!--PROFILE: Deleted enumeration value="gr".-->
+         <!--PROFILE: Deleted enumeration value="Grad".-->
+         <!--PROFILE: Deleted enumeration value="krad".-->
+         <!--PROFILE: Deleted enumeration value="mila".-->
+         <!--PROFILE: Deleted enumeration value="mina".-->
+         <!--PROFILE: Deleted enumeration value="mrad".-->
+         <!--PROFILE: Deleted enumeration value="Mrad".-->
+         <!--PROFILE: Deleted enumeration value="mseca".-->
+         <!--PROFILE: Deleted enumeration value="seca".-->
+         <!--PROFILE: Deleted enumeration value="urad".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type PowerUom.-->
+   <xsd:simpleType name="PressureUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:pressureUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="Pa" />
+         <xsd:enumeration value="at" />
+         <xsd:enumeration value="atm" />
+         <xsd:enumeration value="bar" />
+         <xsd:enumeration value="cmH2O(4degC)" />
+         <xsd:enumeration value="dyne/cm2" />
+         <xsd:enumeration value="GPa" />
+         <xsd:enumeration value="hbar" />
+         <xsd:enumeration value="inH2O(39.2F)" />
+         <xsd:enumeration value="inH2O(60F)" />
+         <xsd:enumeration value="inHg(32F)" />
+         <xsd:enumeration value="inHg(60F)" />
+         <xsd:enumeration value="kgf/cm2" />
+         <xsd:enumeration value="kgf/mm2" />
+         <xsd:enumeration value="kN/m2" />
+         <xsd:enumeration value="kPa" />
+         <xsd:enumeration value="kpsi" />
+         <xsd:enumeration value="lbf/ft2" />
+         <xsd:enumeration value="lbf/100ft2" />
+         <xsd:enumeration value="lbf/in2" />
+         <xsd:enumeration value="mbar" />
+         <xsd:enumeration value="mmHg(0C)" />
+         <xsd:enumeration value="mPa" />
+         <xsd:enumeration value="MPa" />
+         <xsd:enumeration value="Mpsi" />
+         <xsd:enumeration value="N/m2" />
+         <xsd:enumeration value="N/mm2" />
+         <xsd:enumeration value="Pa(g)" />
+         <xsd:enumeration value="pPa" />
+         <xsd:enumeration value="psi" />
+         <xsd:enumeration value="psia" />
+         <xsd:enumeration value="psig" />
+         <xsd:enumeration value="tonfUS/ft2" />
+         <xsd:enumeration value="tonfUS/in2" />
+         <xsd:enumeration value="torr" />
+         <xsd:enumeration value="ubar" />
+         <xsd:enumeration value="umHg(0C)" />
+         <xsd:enumeration value="uPa" />
+         <xsd:enumeration value="upsi" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type RelativePowerUom.-->
+   <!--UNUSED: Deleted type SpecificVolumeUom.-->
+   <!--UNUSED: Deleted type ThermodynamicTemperatureUom.-->
+   <xsd:simpleType name="TimeUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:timeUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="s" />
+         <xsd:enumeration value="a" />
+         <xsd:enumeration value="cs" />
+         <xsd:enumeration value="d" />
+         <xsd:enumeration value="Ga" />
+         <xsd:enumeration value="h" />
+         <xsd:enumeration value="100s" />
+         <xsd:enumeration value="Ma" />
+         <xsd:enumeration value="min" />
+         <xsd:enumeration value="ms" />
+         <xsd:enumeration value="ms/2" />
+         <xsd:enumeration value="ns" />
+         <xsd:enumeration value="ps" />
+         <xsd:enumeration value="us" />
+         <xsd:enumeration value="wk" />
+         <xsd:enumeration value="100ka" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type VelocityUom.-->
+   <!--UNUSED: Deleted type VolumeUom.-->
+   <!--UNUSED: Deleted type VolumeFlowRateUom.-->
+   <xsd:simpleType name="VolumePerVolumeUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:volumePerVolumeUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="Euc" />
+         <xsd:enumeration value="%" />
+         <xsd:enumeration value="permil" />
+         <xsd:enumeration value="ppdk" />
+         <xsd:enumeration value="ppk" />
+         <xsd:enumeration value="ppm" />
+         <xsd:enumeration value="bbl/acre.ft" />
+         <xsd:enumeration value="bbl/bbl" />
+         <xsd:enumeration value="bbl/ft3" />
+         <xsd:enumeration value="bbl/100bbl" />
+         <xsd:enumeration value="bbl/k(ft3)" />
+         <xsd:enumeration value="bbl/M(ft3)" />
+         <xsd:enumeration value="cm3/cm3" />
+         <xsd:enumeration value="cm3/m3" />
+         <xsd:enumeration value="dm3/m3" />
+         <xsd:enumeration value="ft3/bbl" />
+         <xsd:enumeration value="ft3/ft3" />
+         <xsd:enumeration value="galUS/kgalUS" />
+         <xsd:enumeration value="galUK/kgalUK" />
+         <xsd:enumeration value="galUK/ft3" />
+         <xsd:enumeration value="galUK/Mbbl" />
+         <xsd:enumeration value="galUS/bbl" />
+         <xsd:enumeration value="galUS/10bbl" />
+         <xsd:enumeration value="galUS/ft3" />
+         <xsd:enumeration value="galUS/Mbbl" />
+         <xsd:enumeration value="1000ft3/bbl" />
+         <xsd:enumeration value="ksm3/sm3" />
+         <xsd:enumeration value="L/10bbl" />
+         <xsd:enumeration value="L/m3" />
+         <xsd:enumeration value="m3/ha.m" />
+         <xsd:enumeration value="m3/m3" />
+         <xsd:enumeration value="M(ft3)/acre.ft" />
+         <xsd:enumeration value="mL/galUK" />
+         <xsd:enumeration value="mL/galUS" />
+         <xsd:enumeration value="mL/mL" />
+         <xsd:enumeration value="MMbbl/acre.ft" />
+         <xsd:enumeration value="MMscf60/stb60" />
+         <xsd:enumeration value="Mscf60/stb60" />
+         <xsd:enumeration value="ptUK/Mbbl" />
+         <xsd:enumeration value="ptUS/10bbl" />
+         <xsd:enumeration value="pu" />
+         <xsd:enumeration value="scm15/stb60" />
+         <xsd:enumeration value="sm3/ksm3" />
+         <xsd:enumeration value="sm3/sm3" />
+         <xsd:enumeration value="stb60/MMscf60" />
+         <xsd:enumeration value="stb60/MMscm15" />
+         <xsd:enumeration value="stb60/Mscf60" />
+         <xsd:enumeration value="stb60/Mscm15" />
+         <xsd:enumeration value="stb60/scm15" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="timestampedCommentString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A timestamped textual long description.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractCommentString">
+            <xsd:attribute name="dTim" type="witsml:timestamp" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="lengthUomInch">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="in" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="lengthMeasureInch">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:lengthUomInch" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="lengthUomMilliMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="mm" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="lengthMeasureMilliMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:lengthUomMilliMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="lengthUomMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="lengthMeasureMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:lengthUomMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="UomPartPerMillion">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="ppm" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="massConcentrationMeasurePartPerMillion">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:UomPartPerMillion" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type planeAngleUomDegreeOfAnAngle.-->
+   <xsd:simpleType name="pressureUomBar">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="bar" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="pressureMeasureBar">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:pressureUomBar" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="pressureUomMegaPascals">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="MPa" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="pressureMeasureMegaPascals">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:pressureUomMegaPascals" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="thermodynamicTemperatureUomCelsius">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="degC" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="thermodynamicTemperatureMeasureCelsius">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:thermodynamicTemperatureUomCelsius" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="timeUomHour">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="h" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="timeMeasureHour">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:timeUomHour" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="velocityUomMetresPerHour">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m/h" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="velocityMeasureMetresPerHour">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:velocityUomMetresPerHour" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeFlowRateUomCubicMetresPerDay">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m3/d" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeFlowRateMeasureCubicMetresPerDay">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeFlowRateUomCubicMetresPerDay" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeFlowRateUomMillionCubicMetresPerDay">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="M(m3)/d" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeFlowRateMeasureMillionCubicMetresPerDay">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeFlowRateUomMillionCubicMetresPerDay" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeUomCubicDeciMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="dm3" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeMeasureCubicDeciMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeUomCubicDeciMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumePerVolumeUomCubicMetresPerCubicMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m3/m3" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumePerVolumeMeasureCubicMetresPerCubicMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumePerVolumeUomCubicMetresPerCubicMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="volumePerVolumeMeasurePartPerMillion">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:UomPartPerMillion" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeUomCubicMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m3" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeMeasureCubicMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeUomCubicMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeMeasureUomMillionCubicMetres">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="M(m3)" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeMeasureMillionCubicMetres">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeMeasureUomMillionCubicMetres" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="PhaseType">
+      <xsd:annotation>
+         <xsd:documentation>A CDRS operation class that is a class of drilling activities involving the use of new drilling equipment and techniqes.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="16" />
+         <xsd:enumeration value="fixed" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731817">
+            <xsd:annotation>
+               <xsd:documentation>To do drilling, completion, well-intervention or workover by use of traditional types of drilling equipment and techniques, like permanetly
+               installed and fixed rig and equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="snub" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731892">
+            <xsd:annotation>
+               <xsd:documentation>A snubbing activity performed by use of equipment not permanently installed on the platform as defined by cdrs</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="coil" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731742">
+            <xsd:annotation>
+               <xsd:documentation>To do by the use of a coiled tubing string and associated equipment for well-intervention, drilling or workover.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731577">
+            <xsd:annotation>
+               <xsd:documentation>A wire line activity using single-strand or multi-strand wire or cable for logging or intervention in oil or gas wellsas defined by
+               cdrs</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="bop test" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731697">
+            <xsd:annotation>
+               <xsd:documentation>To test the BOP and other well control equipment and systems and related activities as defined by cdrs.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="MainActivityEvaluation">
+      <xsd:annotation>
+         <xsd:documentation>A cdrs operation class that is a class defined to be a main operation activity according to the activity outcome, i.e. indicating whether the activity
+         is accepted or failed.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="32" />
+         <xsd:enumeration value="ok" sawsdl:modelReference="http://193.212.132.108:8080/rdl_servlet/rdl_servlet?class/RDS17723567">
+            <xsd:annotation>
+               <xsd:documentation>To accept an operation which means to approve that the results of an operation fulfills the requirements set.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="fail" sawsdl:modelReference="http://193.212.132.108:8080/rdl_servlet/rdl_servlet?class/RDS17723642">
+            <xsd:annotation>
+               <xsd:documentation>To fail an operation which means not to achieve the goals of the operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="DominateCopmponentTypeNPD">
+      <xsd:annotation>
+         <xsd:documentation>The dominate component in the fluid sample.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="oil">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="water">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="condensate">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="filtrate">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="ActivityCodeNPD">
+      <xsd:annotation>
+         <xsd:documentation>A daily drilling report operation class that is a class defined to be sub operation in the daily drilling report.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractNameString">
+         <xsd:enumeration value="drilling -- drive" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730227">
+            <xsd:annotation>
+               <xsd:documentation>An activity implying jetting or driving of a conductor pipe.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- drill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730302">
+            <xsd:annotation>
+               <xsd:documentation>To drill by rotating a drill bit on bottom of a wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- hole open" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730407">
+            <xsd:annotation>
+               <xsd:documentation>To drill with the objective of enlarging a pilot hole by rotating a larger drill bit or a hole opener.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- underream" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729972">
+            <xsd:annotation>
+               <xsd:documentation>To drill with the objective of enlarging a pilot hole by rotating a underreamer.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- trip" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730047">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to tripping out and tripping into the bore hole during regular drilling.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- casing" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729927">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to making up and run casing assembly until cementing operation commence.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- bop/wellhead equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729807">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to install/run and remove/pull test guide bases, BOP's, risers, wear bushings and other wellhead equipment including testing
+               on the surface.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- pressure detection"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729882">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to all types of gas checks, flow checks, wireline formation testing (FIT) or packer tests to determine or confirm pore
+               pressure, short trips and circulating bottoms up to confirm sufficient mud weight for trip margin</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDSRDS17729627">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to routine circulating and conditioning, to raise mud weight based on positive indications of abnormal
+               pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- ream" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729702">
+            <xsd:annotation>
+               <xsd:documentation>To drill with the objective of correcting a key seat, a dog leg or enlarging a wellbore or section of a wellbore by rotating a larger drill bit
+               or a hole opener.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- survey" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729447">
+            <xsd:annotation>
+               <xsd:documentation>To run routine directional surveys during drilling, including any required circulation and/or trip associated with the survey</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- bop activities"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729522">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to BOP and hang off drills, review of kick procedures, testing of BOP's after installation on the wellhead, open hole pressure
+               integrity tests.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729402">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during drilling operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729252">
+            <xsd:annotation>
+               <xsd:documentation>To wait on cement (WOC), and all other drilling related waiting.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729327">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to preparation and riging up/down snubbing and coil tubing equipment, including pressure testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729177">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised drilling related activities.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- transit" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730797">
+            <xsd:annotation>
+               <xsd:documentation>To move a rig between two locations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- anchor" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730452">
+            <xsd:annotation>
+               <xsd:documentation>An activity implying to run and retrieve anchors, adjusting initial anchor tensions and testing anchors.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- skid" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730527">
+            <xsd:annotation>
+               <xsd:documentation>To skid a rig or derrick from one well to another or from slot to slot if on a fixed installation, without dismantling the
+               structure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- jack" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730647">
+            <xsd:annotation>
+               <xsd:documentation>To jack a jack-up rig up (lift) or down (lower).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- position" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730152">
+            <xsd:annotation>
+               <xsd:documentation>To position a drilling rig</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- trip"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728952">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to tripping out and tripping into the bore hole during formation evaluation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729027">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to well conditioning prior to, during and after all formation evaluation operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- core"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729102">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to core cutting and handling, and servicing the core barrel.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- log"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728772">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to wireline logging surveys, velocity surveys, sidewall core, thermo, caliper etc, including riging up and
+               down.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- rft/fit"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728727">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to core testing of well formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- circulation samples"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728847">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulating to recover samples.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- drill stem test"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728577">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to drill stem tests, DST, including perforating, flow testing, shut in/build up periods, squeezing, wireline work, sampling
+               and any abandonment work specifically required by the drill stem test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- production test"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728457">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to production testing, including perforating, flow testing, shut in/build up periods, squeezing, wireline work, sampling and
+               any abandonment work specifically required by the production test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- wait"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728532">
+            <xsd:annotation>
+               <xsd:documentation>To wait in relation to formation evaluation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728652">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to riging snubbing and coil tubing equipment up and down related to formation evaluation, including related pressure
+               testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728247">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to formation evaluation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- bop/wellhead equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728322">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running/installing/testing/removing/retrieving BOPs, risers, spools, wellhead plugs and valves, X-mas trees
+               etc</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728202">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to rigging up/down and testing of wire line equipment (wl riser, wl BOP, lubricator etc.) plus the actual
+               running/landing/testing/pulling of wire line tools in connection with completion of a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728082">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of
+               well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- perforate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728157">
+            <xsd:annotation>
+               <xsd:documentation>Activities related running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line
+               equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- stimulate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727827">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to installation/testing/removal of equipment/surface lines for fracturing and/or acidizing purposes during completion plus the
+               actual carrying out of operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- flow" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727932">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to initial flow/clean up/flow test/build up of well after perforating/stimulating/temporary artificial lift during
+               completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- sand control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728007">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to sand control during well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- test scsssv"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727647">
+            <xsd:annotation>
+               <xsd:documentation>To test SCSSSV during completion independently from the SCSSSV running procedure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- completion string"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726552">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to making up/testing/running/landing/pulling of the completion string /tailpipe and/or production tubing, including setting
+               and testing of production packer(s) run in conjunction with the string.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727602">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727407">
+            <xsd:annotation>
+               <xsd:documentation>To wait as part of or induced by completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727482">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down related to completion, including pressure
+               testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- hydraulic workover">
+            <xsd:annotation>
+               <xsd:documentation>Covers the servicing of a well that is/is not under pressure, i.e. rigging up/down and testing of the workover unit plus the actual
+               running/pulling of pipe/tubing. Includes snubbing and coiled tubing operations</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727557">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- bop/wellhead equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727227">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running/installing/testing/removing/retrieving BOPs, risers, spools, wellhead plugs and valves, X-mas trees
+               etc</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727302">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to rigging up/down and testing of wire line equipment (wl riser, wl BOP, lubricator etc.) plus the actual
+               running/landing/testing/pulling of wire line tools in connection with completion of a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727047">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of
+               well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- perforate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727122">
+            <xsd:annotation>
+               <xsd:documentation>Activities related running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line
+               equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- stimulate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726957">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to installation/testing/removal of equipment/surface lines for fracturing and/or acidizing purposes during completion plus the
+               actual carrying out of operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- flow" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726807">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to initial flow/clean up/flow test/build up of well after perforating/stimulating/temporary artificial lift during
+               completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- sand control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726882">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to sand control during well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- test scsssv" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727002">
+            <xsd:annotation>
+               <xsd:documentation>To test SCSSSV during completion independently from the SCSSSV running procedure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- completion string"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726552">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to making up/testing/running/landing/pulling of the completion string /tailpipe and/or production tubing, including setting
+               and testing of production packer(s) run in conjunction with the string.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726627">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726702">
+            <xsd:annotation>
+               <xsd:documentation>To wait as part of or induced by completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726297">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down related to completion, including pressure
+               testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- hydraulic workover">
+            <xsd:annotation>
+               <xsd:documentation>Covers the servicing of a well that is/is not under pressure, i.e. rigging up/down and testing of the workover unit plus the actual
+               running/pulling of pipe/tubing. Includes snubbing and coiled tubing operations</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726372">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- trip" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726447">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to tripping out and tripping into the bore hole during plug and abandon operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726222">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of well in connection with
+               plugging and abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- perforate"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726027">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line equipment in
+               connection with plugging and abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- cement plug"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726102">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to pumping cement and setting abandonment plugs, including time to reverse out cement and to test the
+               plugs.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- mechanical plug"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726177">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running, setting and testing mechanical plugs.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- squeeze" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725952">
+            <xsd:annotation>
+               <xsd:documentation>The careful application of pump pressure to force a cement slurry into the formation around the casing shoe or annulus.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- cut" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725757">
+            <xsd:annotation>
+               <xsd:documentation>To cut a casing in the wellbore</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- equipment recovery"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725832">
+            <xsd:annotation>
+               <xsd:documentation>To recover casing, tools, conductor housings, subsea wellheads, BOP, guide bases, etc.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725907">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during operations for plugging and
+               abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725472">
+            <xsd:annotation>
+               <xsd:documentation>To wait as part of or induced by plugging and abandonment operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725547">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down in connection with plugging and abandonment, including
+               pressure testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725622">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to well plugging and abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- maintain"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725427">
+            <xsd:annotation>
+               <xsd:documentation>To maintain the drilling rig and its associated equipment, e.g. cutting and slipping of the drill line, including all maintenance work in
+               connection with casing and wellhead, drill string, completion string, formation evaluation equipment and surface/subsea BOP equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- repair" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725307">
+            <xsd:annotation>
+               <xsd:documentation>To repair the drilling rig and its associated equipment including third party equipment, and all repair work in connection with casing and
+               wellhead, drill string, completion string, formation evaluation equipment and surface/subsea BOP equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- fish" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725382">
+            <xsd:annotation>
+               <xsd:documentation>To retrive anything lost or left in the wellbore</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- well control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725127">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to control and removal of formation fluids which have entered the well bore, including circulating the formation fluids,
+               changing mud weight to control the influx, mixing or conditioning drilling fluids, and hole conditioning required because of the fluid entry. Includes all trips
+               required to regain control of the well, as well as all steps to terminate the well if required.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- lost circulation"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725202">
+            <xsd:annotation>
+               <xsd:documentation>To regain circulation, including mixing and spotting of plugs, trips, squeezes and waiting related to the lost circulation
+               operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- sidetrack"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724902">
+            <xsd:annotation>
+               <xsd:documentation>Interruption of drilling operation to prepare and carry out sidetrack operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724977">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during an interruption of the
+               drilling.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- waiting on weather"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725052">
+            <xsd:annotation>
+               <xsd:documentation>To wait due to inappropriate weather conditions for resuming drilling operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724557">
+            <xsd:annotation>
+               <xsd:documentation>To wait</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724632">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down including pressure testing, in connection with
+               drilling interruption.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724707">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to drilling interruption.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="EquipmentCodeNPD">
+      <xsd:restriction base="witsml:abstractNameString">
+         <xsd:enumeration value="drill floor -- drilling control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771504">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as drilling control equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- draw works"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771579">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as drilling drawworks equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- rotary table"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771654">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as rotary table equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- tensioning syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771024">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as tensioning system equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- hp air syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771099">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as high pressure air system equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- wirelines"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS375963941">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as wireline equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771174">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other drillfloor equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- derrick structure"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771249">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be derrick structure equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- crown block"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771324">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as crown block equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- travelling block"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770649">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be travelling block equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- heave compensator"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770724">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be heave compensator equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770799">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other hoisting equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- top drive"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770874">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a classdefined to be top drive equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- vertical pipe handling equ syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770979">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be vertical pipe handling equipment/system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- drill floor tube handl syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770274">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drillfloor tube handling equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- power packs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770349">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drilling power pack equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- slips and spiders"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770424">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class that is defined to be slips and speider equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- elevator"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770499">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be pipe elevator system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- manual tong"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770604">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be manual tong equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776079">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other pipe handling equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- bulk storage transfer"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776154">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud bulk storage and transfer equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- bulk air system"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776259">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be bulk air equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud additive syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776334">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud additive equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud mixing storage"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776409">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud mixing and storage equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud supply"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775959">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud supply equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud solids control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775764">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud solids control equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- drill water syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775839">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drilling water equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- hp equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775914">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be high pressure mud equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776034">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other mud and bulk equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- bop stack"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775404">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be bop stack equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- bop control syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775479">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be blow out preventer control system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- shallow gas stack"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775584">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be shallow gas stack equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- diverter"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775659">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be diverter equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- riser syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775254">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be riser system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- choke/kill syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775059">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be choke and kill system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775134">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other well control equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- drillpipes"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775209">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drillpipe equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- drillcollars"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775329">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drill colar equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- subs and lift plugs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774909">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be sub and lift plug equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- stabilizer"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774714">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be stabilizer equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- downhole drilling tools"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774789">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be downhole drilling tool equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- fishing tools"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774864">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be fishing tool equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- misc drillstring equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774984">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be miscellaneous drillstring equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774354">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other drillstring and downhole equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- cementing unit"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774429">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be cementing unit equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- well testing equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774504">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be well testing equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- mud logging equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774609">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud logging equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- electr logging equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774234">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be electrical logging equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- special service equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774039">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be special service equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- wellhead tubular equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774114">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be wellhead and tubular equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774189">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other service equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- deck cranes"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774309">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be deck crane equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- overhead cranes"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773604">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be overhead crane equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- monorail syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773679">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be monorail equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- bop transport syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773754">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be Blow Out Preventer transport equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- utility winchs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773859">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be utility winch equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- anchor syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773934">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be anchor system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773484">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other material handling equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- wellhead subsea run test"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773334">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be wellhead and subsea run and test equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- subsea inspection syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773409">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be subsea inspection system equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- acoustic position ref"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773529">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be acoustic position reference equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- misc instr and auxil equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773229">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be miscellaneous instrument and auxiliary equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- hydr pneum power packs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17772989">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be hydraulic or pneumatic power pack system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773064">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other miscellaneous system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+</xsd:schema>
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 130)
+++ projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation_2011_02_07.xsl (revision 130)
@@ -0,0 +1,2836 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
+	<xsl:import href="./difference/date.difference.xsl"/>
+	<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
+	<!--  import the schema enables sawsdl:modelReference lookup -->
+	<xsd:import namespace="http://www.witsml.org/schemas/1series" schemaLocation="WITSML_drillReport_profiled_schema_2011_01_29.xsd"/>
+	<!--  A global variable for the Drill Report schema file name. Required for URL lookup of element definitions in RDL -->
+	<xsl:variable name="ddrSchema" select="'WITSML_drillReport_profiled_schema_2011_01_29.xsd'"/>
+	<xsl:template match="/">
+		<html>
+			<head>
+				<link href="css_ddrHtmlReport.css" type="text/css" rel="stylesheet"/>
+			</head>
+			<body>
+				<xsl:variable name="urlRDS" select="'http://www.posccaesar.org'"/>
+				<xsl:for-each select="witsml:drillReports/witsml:drillReport">
+					<table width="1000" cellspacing="1" cellpadding="1">
+						<tr class="light">
+							<td>
+								<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>
+									</tr>
+								</table>
+							</td>
+						</tr>
+						<tr height="5px">
+							<td>
+								<hr size="4px" color="black"/>
+							</td>
+						</tr>
+						<tr class="light">
+							<xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/>
+							<xsl:variable name="element_header" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='header']/xsd:sequence"/>
+							<xsl:variable name="element_rigTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='rigTypes']/xsd:restriction"/>
+							<td>
+								<table id="table1">
+									<!-- Added/changed 18jan2011 -->
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Report Number:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:header/witsml:reportNo" />  <!--$element_header//xsd:element[@name='reportNo']"/>-->
+										</td>
+										<td class="ColHead"><a target="_blank" href="{$urlRDS}">Period:</a>:</td>
+										<td colspan="5"><xsl:value-of select="substring(witsml:dTimStart, 0,17)"/> - <xsl:value-of select="substring(witsml:dTimEnd, 0,17)"/>
+										</td>
+									</tr>
+									<!-- END Added 18jan2011 -->
+									<tr class="light">
+										<xsl:variable name="url_wellboreAlias">
+											<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='wellboreInfo']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Wellbore:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+										</td>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Wellbore Id:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:wellboreAlias[witsml:namingSystem='NPD number']/witsml:name"/>
+										</td>
+										<td colspan="2"/>
+									</tr>
+									<tr class="light">
+										<xsl:variable name="url_versionKind">
+											<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='versionKind']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_createDate">
+											<xsl:value-of select="$element_objDrillReport_sequence//xsd:element[@name='createDate']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<td class="dark">
+											<a href="{$url_versionKind}" target="_blank">Status:</a>
+										</td>
+										<td>
+											<xsl:value-of select="witsml:versionKind"/>
+										</td>
+										<td class="dark">
+											<a href="{$url_createDate}" target="_blank">Created Date:</a>
+										</td>
+										<td colspan="3">
+											<xsl:value-of select="substring(witsml:createDate, 0,20)"/>
+										</td>
+									</tr>
+									<!-- Added 18jan2011 -->
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">High Pressure - High Temperature:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:header/witsml:hpht" />
+										</td>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Tight well:</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:header/witsml:tightWell"/>
+										</td>
+									</tr>
+									<!-- END Added 18jan2011 -->
+									<!-- Added 26jan2011 -->
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Pressure (<xsl:value-of select="witsml:header/witsml:avgPresBH/@uom" />):</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:header/witsml:avgPresBH"/>
+										</td>
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Temperature (<xsl:value-of select="witsml:header/witsml:expTempBH/@uom" />):</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:header/witsml:expTempBH"/>
+										</td>
+									</tr>
+									<tr class="light">
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Mean Sea Level (<xsl:value-of select="witsml:header/witsml:msl/@uom" />):</a>
+										</td>
+										<td class="light">
+											<xsl:value-of select="witsml:header/witsml:msl"/>
+										</td>
+									<!-- END Added 26jan2011 -->
+									<!-- Added 07feb2011 -->
+									<!--</tr>
+									<tr class="light">-->
+										<td class="ColHead">
+											<a target="_blank" href="{$urlRDS}">Rig Type:</a>
+										</td>
+										<td class="light">
+											<xsl:variable name="element_rigType" select="witsml:header/witsml:rigType" />
+											<xsl:value-of select="$element_rigTypes//xsd:enumeration[@value=$element_rigType]" />
+										</td>
+									</tr>
+									<!-- END Added 07feb2011 -->
+									<tr height="5px">
+										<td colspan="6"/>
+									</tr>
+									<xsl:apply-templates select="witsml:wellboreInfo"/>
+									<!-- Well Status Info -->
+									<xsl:apply-templates select="witsml:statusInfo"/>
+								</table>
+							</td>
+						</tr>
+						<tr height="5px">
+							<td/>
+						</tr>
+						<tr>
+							<td>
+								<HR/>
+							</td>
+						</tr>
+						<tr>
+							<td class="SectionHead">Summary of Activities (24 Hours)</td>
+						</tr>
+						<tr>
+							<td class="light">
+								<xsl:value-of select="witsml:statusInfo/witsml:sum24Hr"/>
+							</td>
+						</tr>
+						<tr height="5px">
+							<td/>
+						</tr>
+						<tr>
+							<td>
+								<HR/>
+							</td>
+						</tr>
+						<tr>
+							<td class="SectionHead">Summary of Planned Activities (Next 24 Hours)</td>
+						</tr>
+						<tr>
+							<td class="light">
+								<xsl:value-of select="witsml:statusInfo/witsml:forecast24Hr"/>
+							</td>
+						</tr>
+						<!-- Operation Mode -->
+						<xsl:if test="count(witsml:activity) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<HR/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Operation</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_activity" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_activity']/xsd:sequence"/>
+										<xsl:variable name="url_dTimStart">
+											<xsl:value-of select="$element_activity//xsd:element[@name='dTimStart']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimEnd">
+											<xsl:value-of select="$element_activity//xsd:element[@name='dTimEnd']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_activity//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_proprietaryCode">
+											<xsl:value-of select="$element_activity//xsd:element[@name='proprietaryCode']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_state">
+											<xsl:value-of select="$element_activity//xsd:element[@name='state']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_comments">
+											<xsl:value-of select="$element_activity//xsd:element[@name='comments']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="50" align="left" valign="top">
+												<a href="{$url_dTimStart}" target="_blank">Start Time</a>
+											</td>
+											<td width="50" align="left" valign="top">
+												<a href="{$url_dTimEnd}" target="_blank">End Time</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">Start Depth mMD</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">End Depth mMD</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">Depth mMD</a>
+											</td>
+											<td width="120" align="left" valign="top">
+												<a href="{$url_proprietaryCode}" target="_blank">Main Oper Class</a>
+											</td>
+											<td width="80" align="left" valign="top">
+												<a href="{$url_state}" target="_blank">Main Oper Eval Class</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_comments}" target="_blank">
+													<b>Remark</b>
+												</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:activity">
+											<tr class="light">
+												<td valign="top">
+													<xsl:value-of select="substring-after(substring(witsml:dTimStart, 0, 17), 'T')"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="substring-after(substring(witsml:dTimEnd, 0, 17), 'T')"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:mdHoleStart" />
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:mdHoleEnd"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:proprietaryCode"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:state"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:comments"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:activity" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  equipFailureInfo  -->
+						<xsl:if test="count(witsml:equipFailureInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Equipment Failure Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_equipFailureInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportEquipFailureInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_equipClass">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='equipClass']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_eTimMissProduction">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='eTimMissProduction']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimRepair">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='dTimRepair']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_description">
+											<xsl:value-of select="$element_equipFailureInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="80" align="left" valign="top">
+												<a href="{$url_dTim}" target="_blank">Start</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_md}" target="_blank">Depth mMD</a>
+											</td>
+											<td width="120" align="left" valign="top">
+												<a href="{$url_equipClass}" target="_blank">Sub Equip Syst Class</a>
+											</td>
+											<td width="80" align="center" valign="top" class="ColHead">
+												<a href="{$url_eTimMissProduction}" target="_blank" valign="top">Operation Downtime</a>
+												<br/>
+												<xsl:value-of select="witsml:equipFailureInfo/witsml:eTimMissProduction/@uom"/>
+											</td>
+											<!--<td width="60" align="center" valign="top">
+											<table id="two" width="100%">
+												<tr>
+													<td align="center"><a href="{$url_eTimMissProduction}" target="_blank" valign="top">Operation Downtime</a></td>
+												</tr>
+												<tr>
+													<td align="center" class="ColHead"><xsl:value-of select="witsml:equipFailureInfo/witsml:eTimMissProduction/@uom"/></td>
+												</tr>
+											</table>
+										</td>-->
+											<td width="100" align="left" valign="top">
+												<a href="{$url_dTimRepair}" target="_blank">Equipment Repaired</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_description}" target="_blank">Equip Failure Description</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:equipFailureInfo">
+											<tr class="light">
+												<td valign="top">
+													<xsl:value-of select="substring(witsml:dTim, 0, 17)"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:equipClass"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:eTimMissProduction"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="substring(witsml:dTimRepair, 0 ,17)"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:description"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Added/Changed 26jan2011 -->
+						<!--  Bit Record -->
+						<xsl:if test="count(witsml:bitRecord) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Bit record</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_bitRecord" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_bitRecord']/xsd:sequence"/>
+										<xsl:variable name="url_numBit">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='numBit']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_diaBit">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='diaBit']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_codeMfg">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='codeMfg']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_manufacturer">
+											<xsl:value-of select="$element_bitRecord//xsd:element[@name='manufacturer']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<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>
+											</td>
+											<td align="center" width="50" valign="top">
+												<a target="_blank" href="{$urlRDS}">Time start</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>
+											</td>
+											<td align="center" width="50" valign="top">
+												<a target="_blank" href="{$urlRDS}">Dull grade</a>
+											</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>
+											</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>
+											</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>
+											</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>
+											</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>
+											</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>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:bitRecord">
+											<tr class="light">
+												<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"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:dullGrade"/>
+												</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"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Added/Changed 26jan2011 -->
+						<!-- Added/changed 18jan2011 -->
+						<!--  witsml:pipe -->
+						<!--<xsl:if test="count(witsml:pipe) > 0">-->
+						<tr height="5px">
+							<td/>
+						</tr>
+						<tr>
+							<td>
+								<hr/>
+							</td>
+						</tr>
+						<tr>
+							<td class="SectionHead">Pipe information</td>
+						</tr>
+						<tr>
+							<td>
+								<table id="table2">
+									<xsl:variable name="element_pipe" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='pipe']/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}">Type of pipe</a>
+										</td>
+										<td align="center" valign="top">
+											<a target="_blank" href="{$urlRDS}">Casing type</a>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Run time</a>
+										</td>
+										<td align="center" width="100" valign="top">
+											<a target="_blank" href="{$urlRDS}">Description</a>
+										</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>
+										</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>
+										</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>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Nominal Grade</a>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Nominal Connection</a>
+										</td>
+										<td align="center" width="60" valign="top">
+											<a target="_blank" href="{$urlRDS}">Length <xsl:value-of select="witsml:pipe/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>
+										</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>
+										</td>
+									</tr>
+									<xsl:for-each select="witsml:cs_stimTubular">
+										<tr class="light">
+											<td align="center">
+												<xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/>
+												<xsl:variable name="pipeType" select="witsml:type" />
+												<xsl:value-of select="$element_pipeType//xsd:enumeration[@value=$pipeType]"/>
+											</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: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')"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:description"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:od"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:id"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:weight"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:grade"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:connection"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:length"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:mdTop"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:mdBottom"/>
+											</td>
+										</tr>
+									</xsl:for-each>
+								</table>
+							</td>
+						</tr>
+						<!--</xsl:if>-->
+						<!-- 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: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 class="light">
+											<td align="center">
+												<xsl:value-of select="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/>
+											</td>
+											<td align="center">
+												<xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/>
+												<xsl:variable name="jobTypes" select="witsml:jobType" />
+												<xsl:value-of select="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:casingStrDia"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:comment"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:topPlug"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:botPlug"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:plugBump"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:presBump"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:floatFailed"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="substring(witsml:eTimPresHeld, 0, 17)"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:annFlowAfter"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:volReturns"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:reciprocated"/>
+											</td>
+											<td align="center">
+												<xsl:value-of select="witsml:rotated"/>
+											</td>
+										</tr>
+									</xsl:for-each>
+								</table>
+							</td>
+						</tr>
+						<!--</xsl:if>-->
+						<!--  witsml:fluid -->
+						<xsl:if test="count(witsml:fluid) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Cement Fluid Details</td>
+							</tr>
+							<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>
+											<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>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$url_mudClass}">Fuild Type</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$url_mudClass}">Fuild Description</a>
+											</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>
+											</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>
+											</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>
+											</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>
+											</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>
+											</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>
+											</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>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$urlRDS}">Comments</a>
+											</td>
+											<td/>
+										</tr>
+										<xsl:for-each select="witsml:cs_cementingFluid">
+											<tr class="light">
+												<td>
+													<xsl:value-of select="substring(witsml:dTimTest, 0, 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdLog"/>
+												</td>
+												<td align="center">
+													<xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/>
+												<xsl:variable name="fluidTypes" select="witsml:typeFluid" />
+												<xsl:value-of select="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:descFluid"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:volPumped"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:density"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:pv"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:yp"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:ratioMixWater"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:pcFreeWater"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:eTimThickening"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:comment"/>
+												</td>
+												<td/>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Added/changed 18jan2011 -->
+						<!--  porePressure -->
+						<xsl:if test="count(witsml:porePressure) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Pore Pressure</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportPorePressure" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPorePressure']/xsd:sequence"/>
+										<xsl:variable name="url_readingKind">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_equivalentMudWeight">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvd">
+											<xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="center" valign="top">
+												<a target="_blank" href="{$url_readingKind}">Reading</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_equivalentMudWeight}" target="_blank">Equ Mud Weight</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:porePressure/witsml:equivalentMudWeight/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td align="center" valign="top">
+												<a target="_blank" href="{$url_dTim}">Time</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_md}">Depth mMD</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_tvd}">Depth mTVD</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:porePressure">
+											<tr class="light">
+												<td align="center">
+													<xsl:value-of select="witsml:readingKind"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:equivalentMudWeight"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="substring(witsml:dTim, 0 , 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvd"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  surveyStation -->
+						<xsl:if test="count(witsml:surveyStation) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Survey Station</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportSurveyStation" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportSurveyStation']/xsd:sequence"/>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvd">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_incl">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='incl']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_azi">
+											<xsl:value-of select="$element_drillReportSurveyStation//xsd:element[@name='azi']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="left" width="60" valign="top">
+												<a target="_blank" href="{$url_md}">Depth mMD</a>
+											</td>
+											<td align="left" width="60" valign="top">
+												<a target="_blank" href="{$url_tvd}">Depth mTVD</a>
+											</td>
+											<td align="left" width="70" valign="top">
+												<a target="_blank" href="{$url_incl}">Inclination deg</a>
+											</td>
+											<td align="left" width="60" valign="top">
+												<a target="_blank" href="{$url_azi}">Azimuth deg</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:surveyStation">
+											<tr class="light">
+												<td>
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:tvd"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:incl"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:azi"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  logInfo -->
+						<xsl:if test="count(witsml:logInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Log Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportLogInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLogInfo']/xsd:sequence"/>
+										<xsl:variable name="url_serviceCompany">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='serviceCompany']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_runNumber">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='runNumber']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tool">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tool']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tempBHCT">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHCT']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tempBHST">
+											<xsl:value-of select="$element_drillReportLogInfo//xsd:element[@name='tempBHST']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td colspan="2" align="left">
+												<a target="_blank" href="{$url_serviceCompany}">Logging company:</a>
+											</td>
+											<td colspan="6">
+												<xsl:value-of select="witsml:serviceCompany"/>
+											</td>
+										</tr>
+										<tr>
+											<td align="center" width="30" valign="top">
+												<a target="_blank" href="{$url_runNumber}">Run No</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_mdTop}">Depth Top mMD</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a>
+											</td>
+											<td align="center" width="100" valign="top">
+												<a target="_blank" href="{$url_tool}">Tool</a>
+											</td>
+											<td align="center" width="60" valign="top">
+												<table id="two">
+													<tr>
+														<td align="center">
+															<a href="{$url_tempBHCT}" target="_blank">BHCT</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:logInfo/witsml:tempBHCT/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td align="center" width="60" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tempBHST}" target="_blank">BHST</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:logInfo/witsml:tempBHST/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<!-- 
+											<td align="center" width="80">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$urlRDS}" target="_blank">Ellapsed time since circulation stopped</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead"><xsl:value-of select="witsml:logInfo/witsml:eTimStatic/@uom" /></td>
+													</tr>
+												</table> 
+											</td>
+											<td align="center" width="100">
+												<table <table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$urlRDS}" target="_blank">Depth to the temperature measurement tool</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">(mMD</td>
+													</tr>
+												</table> 
+											</td>
+											 -->
+										</tr>
+										<xsl:for-each select="witsml:logInfo">
+											<tr class="light">
+												<td align="center">
+													<xsl:value-of select="witsml:runNumber"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tool"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tempBHCT"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tempBHST"/>
+												</td>
+												<!-- 
+												<td align="center">
+													<xsl:value-of select="witsml:eTimStatic" />
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTempTool" />
+												</td>
+												 -->
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Changed 19jan2011 -->
+						<!--  coreInfo -->
+						<xsl:if test="count(witsml:coreInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Core Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table2">
+										<xsl:variable name="element_drillReportCoreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportCoreInfo']/xsd:sequence"/>
+										<xsl:variable name="url_coreNumber">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreNumber']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_lenRecovered">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenRecovered']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_recoverPc">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='recoverPc']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_lenBarrel">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='lenBarrel']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_innerBarrelType">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='innerBarrelType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_coreDescription">
+											<xsl:value-of select="$element_drillReportCoreInfo//xsd:element[@name='coreDescription']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="40" align="center" valign="top">
+												<a target="_blank" href="{$url_coreNumber}">Core No</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a target="_blank" href="{$url_mdTop}">Depth Top mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a target="_blank" href="{$url_mdBottom}">Depth Bottom mMD</a>
+											</td>
+											<td width="60" align="center" valign="top" class="ColHead"><a href="{$url_lenRecovered}" target="_blank">Core length</a><br/>m</td>
+											<!--<td width="60" align="center" valign="top">
+												<table id="two">
+													<tr>
+														<td align="center"><a href="{$url_lenRecovered}" target="_blank">Core length</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">m</td>
+													</tr>
+												</table> 
+											</td>-->
+											<td width="60" align="center" valign="top" class="ColHead"><a href="{$url_lenRecovered}" target="_blank">Recover core</a><br/>%</td>
+											<!--<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$url_recoverPc}" target="_blank">Recover core</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">%</td>
+													</tr>
+												</table> 
+											</td>-->
+											<td width="60" align="center" valign="top" class="ColHead"><a href="{$url_lenRecovered}" target="_blank">Core barrel length</a><br/>m</td>
+											<!--<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center"><a href="{$url_lenBarrel}" target="_blank">Core barrel length</a></td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">m</td>
+													</tr>
+												</table> 
+											</td>-->
+											<td width="80" align="center" valign="top">
+												<a target="_blank" href="{$url_innerBarrelType}">Inner barrel type</a>
+											</td>
+											<td align="left" valign="top">
+												<a target="_blank" href="{$url_coreDescription}">Description</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:coreInfo">
+											<tr class="light">
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:coreNumber"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:lenRecovered"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:recoverPc"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:lenBarrel"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:innerBarrelType"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:coreDescription"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Changed 19jan2011 -->
+						<!--  wellTestInfo -->
+						<xsl:if test="count(witsml:wellTestInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Well Test Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportWellTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellTestInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_testNumber">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testNumber']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_testType">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='testType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_chokeOrificeSize">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chokeOrificeSize']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_densityOil">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='densityOil']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_flowRateOil">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateOil']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_flowRateGas">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateGas']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_flowRateWater">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='flowRateWater']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presShutIn">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presShutIn']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presFlowing">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presFlowing']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presBottom">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='presBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_gasOilRatio">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='gasOilRatio']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_waterOilRatio">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='waterOilRatio']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_chloride">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='chloride']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_carbonDioxide">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='carbonDioxide']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_hydrogenSulfide">
+											<xsl:value-of select="$element_drillReportWellTestInfo//xsd:element[@name='hydrogenSulfide']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="left" valign="top">
+												<a href="{$url_dTim}" target="_blank">Time</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_testNumber}" target="_blank">Test No.</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_testType}" target="_blank">Type</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_mdTop}" target="_blank">Depth Top mMD</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_mdBottom}" target="_blank">Depth Bottom mMD</a>
+											</td>
+											<!-- 
+											<td align="left"><a href="{$urlRDS}" target="_blank">TVD to Top</a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">TVD to Bottom</a></td>
+											 -->
+											<td align="left" valign="top">
+												<a href="{$url_chokeOrificeSize}" target="_blank">Choke Orifice Size<br/>
+													<xsl:value-of select="witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/>
+												</a>
+											</td>
+											<!--<td align="left" valign="top">
+												<table id="two">
+													<tr><td><a href="{$url_chokeOrificeSize}" target="_blank">Choke Orifice Size</a></td></tr>
+													<tr><td><a href="{$url_chokeOrificeSize}" target="_blank"><xsl:value-of select="witsml:wellTestInfo/witsml:chokeOrificeSize/@uom"/></a></td></tr>
+												</table>
+											</td>-->
+											<td align="left" valign="top">
+												<a href="{$url_densityOil}" target="_blank">Density Crude Oil <xsl:value-of select="witsml:wellTestInfo/witsml:densityOil/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_flowRateOil}" target="_blank">Oil Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateOil/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_flowRateGas}" target="_blank">Gas Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateGas/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_flowRateWater}" target="_blank">Water Flow Rate <xsl:value-of select="witsml:wellTestInfo/witsml:flowRateWater/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_presShutIn}" target="_blank">Shut in Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presShutIn/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_presFlowing}" target="_blank">Flow Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presFlowing/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_presBottom}" target="_blank">Bottom Hole Pressure <xsl:value-of select="witsml:wellTestInfo/witsml:presBottom/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_gasOilRatio}" target="_blank">Gas Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:gasOilRatio/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_waterOilRatio}" target="_blank">Water Oil Ratio <xsl:value-of select="witsml:wellTestInfo/witsml:waterOilRatio/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_chloride}" target="_blank">Chloride Content <xsl:value-of select="witsml:wellTestInfo/witsml:chloride/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_carbonDioxide}" target="_blank">CO2 Content <xsl:value-of select="witsml:wellTestInfo/witsml:carbonDioxide/@uom"/>
+												</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_hydrogenSulfide}" target="_blank">H2S Content <xsl:value-of select="witsml:wellTestInfo/witsml:hydrogenSulfide/@uom"/>
+												</a>
+											</td>
+											<!-- 
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volOilTotal/@uom"/></a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Gas Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volGasTotal/@uom"/></a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Water Vol Produced <xsl:value-of select="witsml:wellTestInfo/witsml:volWaterTotal/@uom"/></a></td>
+											<td align="left"><a href="{$urlRDS}" target="_blank">Total Oil Vol Stored <xsl:value-of select="witsml:wellTestInfo/witsml:volOilStored/@uom"/></a></td>
+											 -->
+										</tr>
+										<xsl:for-each select="witsml:wellTestInfo">
+											<tr class="light">
+												<td>
+													<xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:testNumber"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:testType"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<!-- 
+												<td><xsl:value-of select="witsml:tvdTop"/> <xsl:value-of select="witsml:tvdTop/@uom"/></td>
+												<td><xsl:value-of select="witsml:tvdBottom"/> <xsl:value-of select="witsml:tvdBottom/@uom"/></td>
+												 -->
+												<td>
+													<xsl:value-of select="witsml:chokeOrificeSize"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:densityOil"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:flowRateOil"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:flowRateGas"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:flowRateWater"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:presShutIn"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:presFlowing"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:presBottom"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:gasOilRatio"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:waterOilRatio"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:chloride"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:carbonDioxide"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:hydrogenSulfide"/>
+												</td>
+												<!-- 
+												<td><xsl:value-of select="witsml:volOilTotal"/></td>
+												<td><xsl:value-of select="witsml:volGasTotal"/></td>
+												<td><xsl:value-of select="witsml:volWaterTotal"/></td>
+												<td><xsl:value-of select="witsml:volOilStored"/></td>
+												 -->
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:wellTestInfo" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  Foramtion Test Info -->
+						<xsl:if test="count(witsml:formTestInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Formation Test</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportFormTestInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportFormTestInfo']/xsd:sequence"/>
+										<xsl:variable name="url_md">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presPore">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='presPore']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_goodSealm">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='goodSeal']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdSample">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='mdSample']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dominateComponent">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='dominateComponent']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_densityHC">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='densityHC']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_volumeSample">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='volumeSample']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_description">
+											<xsl:value-of select="$element_drillReportFormTestInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_md}" target="_blank">Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_presPore}" target="_blank">Formation Pore Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:formTestInfo/witsml:presPore/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_goodSealm}" target="_blank">Good Seal Ind</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdSample}" target="_blank">Depth to Sample Point</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_dominateComponent}" target="_blank">Dominate Fluid Component</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_densityHC}" target="_blank">HC Component Density</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:formTestInfo/witsml:densityHC/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_volumeSample}" target="_blank">Sample Volume</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:formTestInfo/witsml:volumeSample/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_description}" target="_blank">Description</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:formTestInfo">
+											<tr class="light">
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:md"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:presPore"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:goodSeal"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdSample"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:dominateComponent"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:densityHC"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:volumeSample"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:description"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:formTestInfo" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!--  stratInfo  -->
+						<xsl:if test="count(witsml:stratInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Stratigraphic Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportStratInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStratInfo']/xsd:sequence"/>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_description">
+											<xsl:value-of select="$element_drillReportStratInfo//xsd:element[@name='description']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_mdTop}" target="_blank">Depth to Top of Formation mMD</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_tvdTop}" target="_blank">Depth to Top of Formation mTVD</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_description}" target="_blank">
+													<b>Formation Name</b>
+												</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:stratInfo">
+											<tr class="light">
+												<td valign="top">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td>
+													<xsl:value-of select="witsml:description"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- Changed 18jan2011 -->
+						<!--  lithShowInfo -->
+						<xsl:if test="count(witsml:lithShowInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Lithology Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportLithShowInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportLithShowInfo']/xsd:sequence"/>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdBottom">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_show">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='show']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_lithology">
+											<xsl:value-of select="$element_drillReportLithShowInfo//xsd:element[@name='lithology']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_mdTop}" target="_blank">Start Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_mdBottom}" target="_blank">End Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_mdBottom}" target="_blank">Difference in Depth mMD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_tvdTop}" target="_blank">Start Depth mTVD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_tvdBottom}" target="_blank">End Depth mTVD</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<a href="{$url_tvdBottom}" target="_blank">Difference in Depth mTVD</a>
+											</td>
+											<td width="300" align="left" valign="top">
+												<a href="{$url_show}" target="_blank">Shows Description</a>
+											</td>
+											<td align="left" valign="top">
+												<a href="{$url_lithology}" target="_blank">
+													<b>Lithology Description</b>
+												</a>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:lithShowInfo">
+											<tr class="light">
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:mdBottom - witsml:mdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:tvdBottom"/>
+												</td>
+												<td valign="top" align="center">
+													<xsl:value-of select="witsml:tvdBottom - witsml:tvdTop"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:show"/>
+												</td>
+												<td valign="top">
+													<xsl:value-of select="witsml:lithology"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+										<!--"witsml:lithShowInfo" -->
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Changed 18jan2011 -->
+						<!--  controlIncidentInfo  -->
+						<xsl:for-each select="witsml:controlIncidentInfo">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Well Control Incident</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportControlIncidentInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportControlIncidentInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdInflow">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdInflow']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdInflow">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tvdInflow']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_eTimLost">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='eTimLost']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimRegained">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='dTimRegained']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBit">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdBit']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_wtMud">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='wtMud']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_porePressure">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='porePressure']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdCsgLast">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_volMudGained">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='volMudGained']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presShutInCasing">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInCasing']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_presShutInDrill">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='presShutInDrill']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_incidentType">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='incidentType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_killingType">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='killingType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_formation">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='formation']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tempBottom">
+											<xsl:value-of select="$element_drillReportControlIncidentInfo//xsd:element[@name='tempBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_dTim}" target="_blank">Date</a>
+											</td>
+											<td width="60" align="left" valign="top">
+												<table width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdInflow}" target="_blank">Depth of Well</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="left" valign="top">
+												<table id="two">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdInflow}" target="_blank">Depth of Well</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="left" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_eTimLost}" target="_blank">Lost Time</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:eTimLost/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="left" valign="top">
+												<a href="{$url_dTimRegained}" target="_blank">Time for Well Control Regain</a>
+											</td>
+											<!-- 
+													<td width="60" align="left" valign="top"><a href="{$url_controlIncidentInfo}" target="_blank">Drill Bit Dia <xsl:value-of select="witsml:controlIncidentInfo/witsml:diaBit/@uom"/></a></td>
+													 -->
+											<td width="60" align="left" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdBit}" target="_blank">Depth at Bit</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_wtMud}" target="_blank">Drilling Fluid Density</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:wtMud/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_porePressure}" target="_blank">Pore Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:porePressure/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<!-- 
+													<td width="80" align="left"><a href="{$url_controlIncidentInfo}" target="_blank">Dia of Last Casing <xsl:value-of select="witsml:controlIncidentInfo/witsml:diaCsgLast/@uom"/></a></td>
+													 -->
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdCsgLast}" target="_blank">Depth to Casing</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_volMudGained}" target="_blank">Gained Vol of Fluid</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:volMudGained/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_presShutInCasing}" target="_blank">Shut in Casing Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInCasing/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_presShutInDrill}" target="_blank">Shut in Drill Pipe Pressure</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:presShutInDrill/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<a href="{$url_incidentType}" target="_blank">Incident Class</a>
+											</td>
+											<td width="100" align="center" valign="top">
+												<a href="{$url_killingType}" target="_blank">Killing Procd</a>
+											</td>
+											<td width="100" align="center" valign="top">
+												<a href="{$url_formation}" target="_blank">Formation</a>
+											</td>
+											<td width="80" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tempBottom}" target="_blank">BHT</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:controlIncidentInfo/witsml:tempBottom/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<!-- <td width="80" align="left"><a href="{$url_controlIncidentInfo}" target="_blank">Max Choke Valve Pressure <xsl:value-of select="witsml:controlIncidentInfo/witsml:presMaxChoke/@uom"/></a></td> -->
+										</tr>
+										<!--  End header -->
+										<tr class="light">
+											<td valign="top" align="center">
+												<xsl:value-of select="substring-before(witsml:dTim, 'T')"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:mdInflow"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:tvdInflow"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:eTimLost"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="substring-after(substring(witsml:dTimRegained, 0, 17), 'T')"/>
+											</td>
+											<!-- <td valign="top"><xsl:value-of select="witsml:diaBit"/></td>  -->
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:mdBit"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:wtMud"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:porePressure"/>
+											</td>
+											<!-- <td valign="top"><xsl:value-of select="witsml:diaCsgLast"/></td>  -->
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:mdCsgLast"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:volMudGained"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:presShutInCasing"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:presShutInDrill"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:incidentType"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:killingType"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:formation"/>
+											</td>
+											<td valign="top" align="center">
+												<xsl:value-of select="witsml:tempBottom"/>
+											</td>
+											<!-- <td valign="top"><xsl:value-of select="witsml:presMaxChoke"/></td>  -->
+										</tr>
+										<tr>
+											<td/>
+											<td colspan="15">
+												<xsl:value-of select="witsml:description"/>
+											</td>
+										</tr>
+									</table>
+								</td>
+							</tr>
+						</xsl:for-each>
+						<!-- Changed 19jan2011 -->
+						<!-- perfInfo  -->
+						<xsl:if test="count(witsml:perfInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Perforation Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportPerfInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportPerfInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTimOpen">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimOpen']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_dTimClose">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='dTimClose']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdBottom">
+											<xsl:value-of select="$element_drillReportPerfInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td width="110" align="center" valign="top">
+												<a href="{$url_dTimOpen}" target="_blank">Time of Opening Well Perf</a>
+											</td>
+											<td width="110" align="center" valign="top">
+												<a href="{$url_dTimClose}" target="_blank">Time of Closing Well Perf</a>
+											</td>
+											<td width="110" align="center" valign="top">
+												<a href="{$urlRDS}" target="_blank">Duration Well Perf</a>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdTop}" target="_blank">Top of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdBottom}" target="_blank">Bottom of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdTop}" target="_blank">Top of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="100" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdBottom}" target="_blank">Bottom of Perf</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:perfInfo">
+											<tr class="light">
+												<xsl:variable name="duration">
+													<xsl:call-template name="date:difference">
+														<xsl:with-param name="start" select="substring(witsml:dTimOpen, 0, 20)"/>
+														<xsl:with-param name="end" select="substring(witsml:dTimClose, 0, 20)"/>
+													</xsl:call-template>
+												</xsl:variable>
+												<td align="center">
+													<xsl:value-of select="substring(witsml:dTimOpen, 0, 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="substring(witsml:dTimClose, 0, 17)"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="substring-after($duration, 'PT')"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdBottom"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+						<!-- END Changed 19jan2011 -->
+						<!--  gasReadingInfo -->
+						<xsl:if test="count(witsml:gasReadingInfo) &gt; 0">
+							<tr height="5px">
+								<td/>
+							</tr>
+							<tr>
+								<td>
+									<hr/>
+								</td>
+							</tr>
+							<tr>
+								<td class="SectionHead">Gas Reading Information</td>
+							</tr>
+							<tr>
+								<td>
+									<table id="table1">
+										<xsl:variable name="element_drillReportGasReadingInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportGasReadingInfo']/xsd:sequence"/>
+										<xsl:variable name="url_dTim">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='dTim']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_readingType">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='readingType']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdTop">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_mdBottom">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='mdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdTop">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdTop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_tvdBottom">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='tvdBottom']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_gasHigh">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasHigh']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_gasLow">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='gasLow']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_meth">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='meth']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_eth">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='eth']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_prop">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='prop']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_ibut">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ibut']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<xsl:variable name="url_ipent">
+											<xsl:value-of select="$element_drillReportGasReadingInfo//xsd:element[@name='ipent']/@sawsdl:modelReference"/>
+										</xsl:variable>
+										<tr>
+											<td align="center" valign="top">
+												<a href="{$url_dTim}" target="_blank">Time</a>
+											</td>
+											<td align="center" valign="top">
+												<a href="{$url_readingType}" target="_blank">Class</a>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdTop}" target="_blank">Depth to Top</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_mdBottom}" target="_blank">Depth to Bottom</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mMD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdTop}" target="_blank">Depth to Top</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_tvdBottom}" target="_blank">Depth to Bottom</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">mTVD</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_gasHigh}" target="_blank">Highest Gas</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:gasHigh/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_gasLow}" target="_blank">Lowest Gas</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:gasLow/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_meth}" target="_blank">C1</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:meth/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_eth}" target="_blank">C2</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:eth/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_prop}" target="_blank">C3</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center">
+															<a href="{$url_prop}" target="_blank">
+																<xsl:value-of select="witsml:gasReadingInfo/witsml:prop/@uom"/>
+															</a>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_ibut}" target="_blank">IC4</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:ibut/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+											<td width="60" align="center" valign="top">
+												<table id="two" width="100%">
+													<tr>
+														<td align="center">
+															<a href="{$url_ipent}" target="_blank">IC5</a>
+														</td>
+													</tr>
+													<tr>
+														<td align="center" class="ColHead">
+															<xsl:value-of select="witsml:gasReadingInfo/witsml:ipent/@uom"/>
+														</td>
+													</tr>
+												</table>
+											</td>
+										</tr>
+										<xsl:for-each select="witsml:gasReadingInfo">
+											<tr class="light">
+												<td align="center">
+													<xsl:value-of select="substring-after(substring(witsml:dTim, 0, 17), 'T')"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:readingType"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:mdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdTop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:tvdBottom"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:gasHigh"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:gasLow"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:meth"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:eth"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:prop"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:ibut"/>
+												</td>
+												<td align="center">
+													<xsl:value-of select="witsml:ipent"/>
+												</td>
+											</tr>
+										</xsl:for-each>
+									</table>
+								</td>
+							</tr>
+						</xsl:if>
+					</table>
+				</xsl:for-each>
+			</body>
+		</html>
+	</xsl:template>
+	<xsl:template match="witsml:wellboreInfo">
+		<xsl:variable name="element_drillReportWellboreInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportWellboreInfo']/xsd:sequence"/>
+		<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
+		<xsl:variable name="url_operator">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='operator']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_drillContractor">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='drillContractor']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_rigAlias">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='rigAlias']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<!-- xsl:variable name="url_namingSystem"><xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='namingSystem']/@sawsdl:modelReference"/></xsl:variable -->
+		<xsl:variable name="url_dTimSpud">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dTimSpud']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_dateDrillComplete">
+			<xsl:value-of select="$element_drillReportWellboreInfo//xsd:element[@name='dateDrillComplete']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_elevKelly">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='elevKelly']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<tr class="light">
+			<td class="ColHead">
+				<a target="_blank" href="{$url_operator}">Operator:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:operator"/>
+			</td>
+			<td class="ColHead">
+				<a target="_blank" href="{$url_drillContractor}">Drilling contractor:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="witsml:drillContractor"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="ColHead">
+				<a href="{$url_rigAlias}" target="_blank">Rig Name:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD Name']/witsml:name"/>
+			</td>
+			<td class="ColHead">
+				<a href="{$url_rigAlias}" target="_blank">NPD Rig Id:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/>
+			</td>
+			<td class="ColHead">
+				<a href="{$url_elevKelly}" target="_blank">Elevation <xsl:value-of select="../witsml:statusInfo/witsml:elevKelly/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="../witsml:statusInfo/witsml:elevKelly"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="ColHead">
+				<a target="_blank" href="{$url_dTimSpud}">Spud Date:</a>
+			</td>
+			<td>
+				<xsl:value-of select="substring-before(witsml:dTimSpud, 'T')"/>
+			</td>
+			<!-- 
+			<td class="ColHead"><a target="_blank" href="{url_dTimPreSpud}">Pre Spud Time:</a></td>
+			<td><xsl:value-of select="substring-before(witsml:dTimPreSpud, 'T')" /></td>
+			 -->
+			<td class="ColHead">
+				<a target="_blank" href="{$url_dateDrillComplete}">Date Well Complete:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="substring-before(witsml:dateDrillComplete, 'T')"/>
+			</td>
+		</tr>
+	</xsl:template>
+	<xsl:template match="witsml:statusInfo">
+		<xsl:variable name="element_drillReportStatusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cs_drillReportStatusInfo']/xsd:sequence"/>
+		<xsl:variable name="url_typeWellbore">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='typeWellbore']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdKickoff">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdKickoff']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvdKickoff">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdKickoff']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdPlugTop">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdPlugTop']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_md">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='md']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvd">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvd']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_distDrill">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='distDrill']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_ropCurrent">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='ropCurrent']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_diaHole">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaHole']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_presTestType">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='presTestType']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_strengthForm">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='strengthForm']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdStrengthForm">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdStrengthForm']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvdStrengthForm">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdStrengthForm']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_diaCsgLast">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='diaCsgLast']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_mdCsgLast">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='mdCsgLast']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<xsl:variable name="url_tvdCsgLast">
+			<xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/>
+		</xsl:variable>
+		<!-- wellbore type and kick off -->
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_typeWellbore}">Wellbore type:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:typeWellbore"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_mdKickoff}">Depth at Kick Off mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdKickoff"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_tvdKickoff}">Depth at Kick Off mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvdKickoff"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_md}">Depth mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:md"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_tvd}">Depth mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvd"/>
+			</td>
+			<td>
+				<a target="_blank" href="{$url_mdPlugTop}">Plug Back Depth mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdPlugTop"/>
+			</td>
+		</tr>
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_distDrill}">Dist Drilled <xsl:value-of select="witsml:distDrill/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:distDrill"/>
+			</td>
+			<!-- 
+			<td class="dark"><a target="_blank" href="{$urlRDS}">Depth planned mMD:</a></td>
+			<td><xsl:value-of select="witsml:mdPlanned" /></td>
+			 -->
+			<td class="dark">
+				<a target="_blank" href="{$url_ropCurrent}">Penetration Rate <xsl:value-of select="witsml:ropCurrent/@uom"/>:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="witsml:ropCurrent"/>
+			</td>
+		</tr>
+		<!-- hole dia -->
+		<tr class="light">
+			<td width="160">
+				<a target="_blank" href="{$url_diaHole}">Hole Dia <xsl:value-of select="witsml:diaHole/@uom"/>:</a>
+			</td>
+			<td width="140">
+				<xsl:value-of select="witsml:diaHole"/>
+			</td>
+			<td>
+				<a target="_blank" href="{$url_presTestType}">Pressure Test Type:</a>
+			</td>
+			<td colspan="3">
+				<xsl:value-of select="witsml:presTestType"/>
+			</td>
+		</tr>
+		<!-- formation strength and  pressure test -->
+		<tr class="light">
+			<td width="160">
+				<a target="_blank" href="{$url_strengthForm}">Formation Strength <xsl:value-of select="witsml:strengthForm/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:strengthForm"/>
+			</td>
+			<td width="215">
+				<a target="_blank" href="{$url_mdStrengthForm}">Depth At Formation Strength mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdStrengthForm"/>
+			</td>
+			<td>
+				<a target="_blank" href="{$url_tvdStrengthForm}">Depth At Formation Strength mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvdStrengthForm"/>
+			</td>
+		</tr>
+		<!-- casing -->
+		<tr class="light">
+			<td class="dark">
+				<a target="_blank" href="{$url_diaCsgLast}">Dia Last Casing <xsl:value-of select="witsml:diaCsgLast/@uom"/>:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:diaCsgLast"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_mdCsgLast}">Depth At Last Casing mMD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:mdCsgLast"/>
+			</td>
+			<td class="dark">
+				<a target="_blank" href="{$url_tvdCsgLast}">Depth At Last Casing mTVD:</a>
+			</td>
+			<td>
+				<xsl:value-of select="witsml:tvdCsgLast"/>
+			</td>
+		</tr>
+	</xsl:template>
+</xsl:stylesheet>
Index: projects/DailyDrillingReport_1.2/XML/WITSML_drillReport_profiled_schema.xsd
===================================================================
--- projects/DailyDrillingReport_1.2/XML/WITSML_drillReport_profiled_schema.xsd (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/WITSML_drillReport_profiled_schema.xsd (revision 130)
@@ -0,0 +1,6506 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsd:schema 
+	elementFormDefault="qualified" 
+	attributeFormDefault="unqualified" 
+	targetNamespace="http://www.witsml.org/schemas/1series" 
+	xmlns:witsml="http://www.witsml.org/schemas/1series"
+	xmlns:abs="http://www.energistics.org/schemas/abstract"  
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:gml="http://www.opengis.net/gml/3.2"
+	xmlns:sawsdl="http://www.w3.org/ns/sawsdl">
+
+	<!--                                                         -->
+	<xsd:import namespace="http://www.energistics.org/schemas/abstract"
+		     schemaLocation="sub_abstractSubstitutionGroup.xsd"/>
+	<!-- 
+	<xsd:import namespace="http://www.opengis.net/gml/3.2"
+		schemaLocation="http://schemas.opengis.net/gml/3.2.1/coordinateReferenceSystems.xsd"/>
+		 -->
+
+   <!--                                                         -->
+   <!-- Energistics License Agreement                                                  -->
+   <!-- This file is distributed under the Energistics License Agreement at            -->
+   <!-- http://www.posc.org/about/license.shtml.                                       -->
+   <!-- Use of this file constitutes agreement with the Energistics License Agreement. -->
+   <!--                                                         -->
+   <xsd:annotation>
+      <xsd:documentation>WITSML - Daily Drillling Report - Norwegian Profile</xsd:documentation>
+   </xsd:annotation>
+   <!--UNUSED: Deleted type attgrp_objectUid. Contents copied where needed.-->
+   <!--UNUSED: Deleted type attgrp_uid. Contents copied where needed.-->
+   <xsd:complexType name="cs_activity">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Operations Activity Component Schema</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511259">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimStart.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that activities started.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17511304">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimEnd.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that activities were completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element duration.-->
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17732057">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the drilling operation.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373394891">
+            <xsd:annotation>
+               <xsd:documentation>True Vertical Depth to the drilling operation.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="phase" type="witsml:PhaseType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://projects.dnv.com/reference_data/RD4Browser/default.aspx?RDLDesignation=TCDRS SUPERIOR CLASS">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:PhaseType for element phase.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element phase.-->
+            <xsd:annotation>
+               <xsd:documentation>Phase (large activity classification) e.g. Drill Surface Hole.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-111, Change=Changed-type-from:str16</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element activityCode.-->
+         <xsd:element name="proprietaryCode" type="witsml:ActivityCodeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409">
+            <!--PROFILE: Changed type from witsml:nameStruct to witsml:ActivityCodeNPD for element proprietaryCode.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element proprietaryCode.-->
+            <!--PROFILE: Changed maxOccurs from unbounded to 1 for element proprietaryCode.-->
+            <xsd:annotation>
+               <xsd:documentation>A proprietary code used to define rig activity. The name of the proprietary system should be defined in the namingSystem
+               attribute.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element detailActivity.-->
+         <!--PROFILE: Deleted element typeActivityClass.-->
+         <!--PROFILE: Deleted element mdHoleStart.-->
+         <!--PROFILE: Deleted element tvdHoleStart.-->
+         <!--PROFILE: Deleted element mdHoleEnd.-->
+         <!--PROFILE: Deleted element tvdHoleEnd.-->
+         <!--PROFILE: Deleted element mdBitStart.-->
+         <!--PROFILE: Deleted element mdBitEnd.-->
+         <xsd:element name="state" type="witsml:MainActivityEvaluation" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841049">
+            <!--PROFILE: Changed type from witsml:str32 to witsml:MainActivityEvaluation for element state.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element state.-->
+            <xsd:annotation>
+               <xsd:documentation>Finish, interrupted, failed, etc.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="stateDetailActivity" type="witsml:StateDetailActivity" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841184">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element stateDetailActivity.-->
+            <xsd:annotation>
+               <xsd:documentation>The outcome of the detailed activity.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element operator.-->
+         <!--PROFILE: Deleted element tubular.-->
+         <!--PROFILE: Deleted element optimum.-->
+         <!--PROFILE: Deleted element productive.-->
+         <!--PROFILE: Deleted element itemState.-->
+         <xsd:element name="comments" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17723327">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element comments.-->
+            <xsd:annotation>
+               <xsd:documentation>Comments and Remarks.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_alias">
+      <xsd:annotation>
+         <xsd:documentation>A common way for handling names of objects. An identifier type must include a Name. It may also include a NamingSystem, which gives meaning to the
+         name.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A human contextual name of an item. This should (hopefully) be unique within the context of the naming system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="namingSystem" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The naming system under which the item is defined. Knowledge of the naming system may allow the hame to be parsed for embeded
+               information.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_axisDefinition.-->
+   <!--UNUSED: Deleted type cs_bend.-->
+   <xsd:complexType name="cs_bitRecord">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Bit Record Component Schema.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <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.-->
+            <xsd:annotation>
+               <xsd:documentation>Bit number and rerun number e.g. "4.1" for the first rerun of bit 4.</xsd:documentation>
+            </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 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:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element codeIADC.-->
+         <!--PROFILE: Deleted element condInitInner.-->
+         <!--PROFILE: Deleted element condInitOuter.-->
+         <!--PROFILE: Deleted element condInitDull.-->
+         <!--PROFILE: Deleted element condInitLocation.-->
+         <!--PROFILE: Deleted element condInitBearing.-->
+         <!--PROFILE: Deleted element condInitGauge.-->
+         <!--PROFILE: Deleted element condInitOther.-->
+         <!--PROFILE: Deleted element condInitReason.-->
+         <!--PROFILE: Deleted element condFinalInner.-->
+         <!--PROFILE: Deleted element condFinalOuter.-->
+         <!--PROFILE: Deleted element condFinalDull.-->
+         <!--PROFILE: Deleted element condFinalLocation.-->
+         <!--PROFILE: Deleted element condFinalBearing.-->
+         <!--PROFILE: Deleted element condFinalGauge.-->
+         <!--PROFILE: Deleted element condFinalOther.-->
+         <!--PROFILE: Deleted element condFinalReason.-->
+         <!--PROFILE: Deleted element drive.-->
+         <!--PROFILE: Deleted element bitClass.-->
+         <!--PROFILE: Deleted element customData.-->
+         <!--PROFILE: Deleted element extensionAny.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_blockCurveInfo.-->
+   <!--UNUSED: Deleted type cs_blockInfo.-->
+   <!--UNUSED: Deleted type cs_bop.-->
+   <!--UNUSED: Deleted type cs_bopComponent.-->
+   <!--UNUSED: Deleted type cs_cementAdditive.-->
+   <!--UNUSED: Deleted type cs_cementingFluid.-->
+   <!--UNUSED: Deleted type cs_cementPumpSchedule.-->
+   <!--UNUSED: Deleted type cs_cementStage.-->
+   <!--UNUSED: Deleted type cs_cementTest.-->
+   <!--UNUSED: Deleted type cs_centrifuge.-->
+   <!--UNUSED: Deleted type cs_changeHistory.-->
+   <!--UNUSED: Deleted type cs_channel.-->
+   <!--UNUSED: Deleted type cs_channelDefinition.-->
+   <!--UNUSED: Deleted type cs_chromatograph.-->
+   <!--UNUSED: Deleted type cs_commonData.-->
+   <!--UNUSED: Deleted type cs_connection.-->
+   <!--UNUSED: Deleted type cs_customData.-->
+   <!--UNUSED: Deleted type cs_dayCost.-->
+   <!--UNUSED: Deleted type cs_degasser.-->
+   <!--UNUSED: Deleted type cs_depthRegCalibrationPoint.-->
+   <!--UNUSED: Deleted type cs_depthRegImage.-->
+   <!--UNUSED: Deleted type cs_depthRegLogRect.-->
+   <!--UNUSED: Deleted type cs_depthRegLogSection.-->
+   <!--UNUSED: Deleted type cs_depthRegParameter.-->
+   <!--UNUSED: Deleted type cs_depthRegPoint.-->
+   <!--UNUSED: Deleted type cs_depthRegRectangular.-->
+   <!--UNUSED: Deleted type cs_depthRegTrack.-->
+   <xsd:complexType name="cs_documentAudit">
+      <xsd:annotation>
+         <xsd:documentation>The audit records what happened to the data, to produce the data that is in this file. It consists of one or more events.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:auditType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="event" type="witsml:cs_documentEvent" minOccurs="1" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Event</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentEvent">
+      <xsd:annotation>
+         <xsd:documentation>An event type captures the basic information about an event that has affected the data.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:eventType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="eventDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date on which the event took place.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:EventDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="eventType" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The kind of event event.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="responsibleParty" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The party responsible for the event.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:ResponsibleParty</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A free form comment that can further define the event that occurred.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentFileCreation">
+      <xsd:annotation>
+         <xsd:documentation>A block of information about the creation of the XML file. This is different than the creation of the data that is included within the
+         file.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:fileCreationType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="fileCreationDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date and time that the file was created.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreationDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="softwareName" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>If appropriate, the software that created the file. This is a free form string, and may include whatever information is deemed
+               relevant.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:SoftwareName</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="fileCreator" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The person or business associate that created the file.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreator</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Any comment that would be useful to further explain the creation of this instance document.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentInfo">
+      <xsd:annotation>
+         <xsd:documentation>A schema to capture a set of data that is relevant for many exchange documents. It includes information about the file that was created, and high-level
+         information about the data that is being exchanged within the file.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="documentName" type="witsml:nameStruct" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>An identifier for the document. This is intended to be unique within the context of the NamingSystem.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentName</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="documentAlias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>Zero or more alternate names for the document. These names do not need to be unique within the naming system.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentAlias</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="documentDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date of the creation of the document. This is not the same as the date that the file was created. For this date, the document is considered
+               to be the set of information associated with this document information. For example, the document may be a seismic binset. This represents the date that the binset
+               was created. The FileCreation information would capture the date that the XML file was created to send or exchange the binset.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:DocumentDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="documentClass" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>A document class. Examples of classes would be a metadata classification or a set of keywords.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="fileCreationInformation" type="witsml:cs_documentFileCreation" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The information about the creation of the exchange file. This is not about the creation of the data within the file, but the creation of the file
+               itself.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:FileCreationInformation</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="securityInformation" type="witsml:cs_documentSecurityInfo" minOccurs="0" maxOccurs="5">
+            <xsd:annotation>
+               <xsd:documentation>Information about the security to be applied to this file. More than one classification can be given.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:SecurityInformation</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="disclaimer" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A free-form string that allows a disclaimer to accompany the information.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Disclaimer</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="auditTrail" type="witsml:cs_documentAudit" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A collection of events that can document the history of the data.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:AuditTrail</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="owner" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The owner of the data.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Owner</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>An optional comment about the document.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_documentSecurityInfo">
+      <xsd:annotation>
+         <xsd:documentation>Information about the security classification of the document. This is intended as a documentation of the security so that the file will not
+         inadvertently be sent to someone who is not allowed access to the data. This block also carries a date that the security classification expires. For example, a well log
+         is confidential for a period of time, and then becomes open. All security classes are characterized by their classification systems.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:securityInfoType</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="class" type="witsml:kindString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The security class in which this document is classified. Examples would be confidential, partner confidential, tight. The meaning of the class is
+               determined by the System in which it is defined.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Class</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="securitySystem" type="witsml:kindString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The security classification system. This gives context to the meaning of the Class value.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:System</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="endDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The date on which this security class is no longer applicable.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:EndDate</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A general comment to further define the security class.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:Comment</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_drillingParams.-->
+   <xsd:complexType name="cs_drillReportControlIncidentInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790447">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time of the well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdInflow" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790597">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdInflow.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the well inflow entry point.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdInflow" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17790027">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth to the well inflow entery point.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="phase" type="witsml:PhaseType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17841274">
+            <!--PROFILE: Changed type from witsml:str16 to witsml:PhaseType for element phase.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element phase.-->
+            <xsd:annotation>
+               <xsd:documentation>Phase (large activity classification) e.g. Drill Surface Hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element activityCode.-->
+         <xsd:element name="proprietaryCode" type="witsml:ActivityCodeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17841409">
+            <!--PROFILE: Changed type from witsml:nameStruct to witsml:ActivityCodeNPD for element proprietaryCode.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element proprietaryCode.-->
+            <!--PROFILE: Changed maxOccurs from unbounded to 1 for element proprietaryCode.-->
+            <xsd:annotation>
+               <xsd:documentation>A proprietary code used to define rig activity. The name of the proprietary system should be defined in the namingSystem
+               attribute.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element detailActivity.-->
+         <xsd:element name="eTimLost" type="witsml:timeMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17888195">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element eTimLost.-->
+            <xsd:annotation>
+               <xsd:documentation>The amount of time lost because of the well control incident. Commonly specified in hours.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimRegained" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789592">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimRegained.-->
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which control of the well is regained.</xsd:documentation>
+            </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/RDS17789667">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaBit.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element diaBit.-->
+            <xsd:annotation>
+               <xsd:documentation>The drill bit nominal outside diameter at time of well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBit" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789832">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBit.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth of bit at the time of the well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wtMud" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789232">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element wtMud.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the drilling fluid.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="porePressure" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307">
+            <xsd:annotation>
+               <xsd:documentation>The equivalent mud weight value of the pore pressure reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaCsgLast.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element diaCsgLast.-->
+            <xsd:annotation>
+               <xsd:documentation>Diameter of the last installed casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdCsgLast.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volMudGained" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789472">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volMudGained.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volMudGained.-->
+            <xsd:annotation>
+               <xsd:documentation>The gained volume of drilling fluid due to well kick.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presShutInCasing" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789037">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presShutInCasing.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presShutInCasing.-->
+            <xsd:annotation>
+               <xsd:documentation>The shut in casing pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presShutInDrill" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887970">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presShutInDrill.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presShutInDrill.-->
+            <xsd:annotation>
+               <xsd:documentation>The actual pressure in the drill pipe when the rams are closed around it.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="incidentType" type="witsml:WellControlIncidentType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788857">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element incidentType.-->
+            <xsd:annotation>
+               <xsd:documentation>The type of well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="killingType" type="witsml:WellKillingProcedureType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789157">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element killingType.-->
+            <xsd:annotation>
+               <xsd:documentation>The type of well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="formation" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element formation.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element formation.-->
+            <xsd:annotation>
+               <xsd:documentation>The lithological description of a geological formation at the incident depth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tempBottom" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS16631877">
+            <!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBottom.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element tempBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>the temperature at the bottom of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presMaxChoke" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788482">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presMaxChoke.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presMaxChoke.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum pressure that the choke valve can be exposed to.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788557">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A description of the well control incident.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportCoreInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693740">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the core was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="coreNumber" type="witsml:nameString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694745">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element coreNumber.-->
+            <xsd:annotation>
+               <xsd:documentation>Core identification number.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694790">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694340">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832507">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832972">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the cored interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="lenRecovered" type="witsml:lengthMeasureMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694505">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMetre for element lenRecovered.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element lenRecovered.-->
+            <xsd:annotation>
+               <xsd:documentation>Length of core recovered.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="recoverPc" type="witsml:volumePerVolumeMeasurePercent" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694625">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element recoverPc.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of core recovered.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="lenBarrel" type="witsml:lengthMeasureMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17694145">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMetre for element lenBarrel.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element lenBarrel.-->
+            <xsd:annotation>
+               <xsd:documentation>Length of core barrel.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="innerBarrelType" type="witsml:InnerBarrelType" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17832597">
+            <xsd:annotation>
+               <xsd:documentation>Core inner barrel type.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="coreDescription" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17693860">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element coreDescription.-->
+            <xsd:annotation>
+               <xsd:documentation>General core description.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportEquipFailureInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772599">
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the equipment failed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772749">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the operation end point due to failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373406121">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth to the operation end point due to failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="equipClass" type="witsml:EquipmentCodeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17771429">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:EquipmentCodeNPD for element equipClass.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element equipClass.-->
+            <xsd:annotation>
+               <xsd:documentation>The classification of the equipment that failed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="eTimMissProduction" type="witsml:timeMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17773139">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element eTimMissProduction.-->
+            <xsd:annotation>
+               <xsd:documentation>The missed production time due to equipment failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimRepair" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772914">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimRepair.-->
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which the production equipment was repaired and ready for production.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17772869">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A description that gives a information about the equipment failure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportFormTestInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704510">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the wireline formation test was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856531">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of the wireline formation test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704585">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth of the wireline formation test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presPore" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17608469">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presPore.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presPore.-->
+            <xsd:annotation>
+               <xsd:documentation>The formation pore pressure. The pressure of fluids within the pores of a reservoir, usually hydrostatic pressure, or the pressure exerted by a
+               column of water from the formation's depth to sea level.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="goodSeal" type="witsml:logicalBoolean" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704780">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element goodSeal.-->
+            <xsd:annotation>
+               <xsd:documentation>True ("true" or "1") indicates that there was a good seal for the wireline formation test. False ("false" or "0") or not given indicates
+               otherwise.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdSample" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704900">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdSample.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth where the fluid sample was taken.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dominateComponent" type="witsml:DominateCopmponentTypeNPD" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704210">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:DominateCopmponentTypeNPD for element dominateComponent.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dominateComponent.-->
+            <xsd:annotation>
+               <xsd:documentation>The dominate component in the fluid sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityHC" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373424931">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityHC.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of hydrocarbon component of the fluid sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volumeSample" type="witsml:volumeMeasureCubicDeciMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704405">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicDeciMetre for element volumeSample.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volumeSample.-->
+            <xsd:annotation>
+               <xsd:documentation>The volume of the fluid sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17704120">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A description that describes the wireline formation test in more detail.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportGasReadingInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879697">
+            <xsd:annotation>
+               <xsd:documentation>Date and time of the gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="readingType" type="witsml:GasPeakType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893235">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element readingType.-->
+            <xsd:annotation>
+               <xsd:documentation>Type of gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892935">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17893070">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892575">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892710">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gasHigh" type="witsml:volumePerVolumeMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892170">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element gasHigh.-->
+            <xsd:annotation>
+               <xsd:documentation>The highest gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gasLow" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892260">
+            <xsd:annotation>
+               <xsd:documentation>The lowest gas reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="meth" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892350">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element meth.-->
+            <xsd:annotation>
+               <xsd:documentation>Methane (C1) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="eth" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17892485">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element eth.-->
+            <xsd:annotation>
+               <xsd:documentation>Ethane (C2) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="prop" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17891900">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element prop.-->
+            <xsd:annotation>
+               <xsd:documentation>Propane (C3) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ibut" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374341731">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element ibut.-->
+            <xsd:annotation>
+               <xsd:documentation>iso-Butane (iC4) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="nbut" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374350471">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element nbut.-->
+            <xsd:annotation>
+               <xsd:documentation>nor-Butane (nC4) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ipent" type="witsml:volumePerVolumeMeasurePartPerMillion" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS374357751">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePartPerMillion for element ipent.-->
+            <xsd:annotation>
+               <xsd:documentation>iso-Pentane (iC5) concentration.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportLithShowInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364008">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the well test was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17713095">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712870">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the lithology interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="show" type="witsml:commentString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS375160921">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element show.-->
+            <xsd:annotation>
+               <xsd:documentation>A textual description of any shows in the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="lithology" type="witsml:commentString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17712795">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element lithology.-->
+            <xsd:annotation>
+               <xsd:documentation>A description that gives a geological/lithological description/evaluation of the interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportLogInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691078">
+            <xsd:annotation>
+               <xsd:documentation>The date and time that the log was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="runNumber" type="witsml:str16" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692038">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element runNumber.-->
+            <xsd:annotation>
+               <xsd:documentation>Log run number. For measurement while drilling, this should be the bottom hole assembly number.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="serviceCompany" type="witsml:nameString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691993">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element serviceCompany.-->
+            <xsd:annotation>
+               <xsd:documentation>Name of contractor who provided the service.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691558">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691393">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857516">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17857921">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the logged interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tool" type="witsml:descriptionString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17692083">
+            <!--PROFILE: Changed type from witsml:kindString to witsml:descriptionString for element tool.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element tool.-->
+            <xsd:annotation>
+               <xsd:documentation>A description of the logging tool.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice>
+            <xsd:element name="tempBHCT" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691153">
+               <!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBHCT.-->
+               <xsd:annotation>
+                  <xsd:documentation>Bottom hole circulating temperature.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:sequence>
+               <xsd:element name="tempBHST" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1"
+               sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836159">
+                  <!--PROFILE: Changed type from witsml:thermodynamicTemperatureMeasure to witsml:thermodynamicTemperatureMeasureCelsius for element tempBHST.-->
+                  <xsd:annotation>
+                     <xsd:documentation>Bottom hole temperature static.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="eTimStatic" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1"
+               sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17691303">
+                  <!--PROFILE: Changed type from witsml:timeMeasure to witsml:timeMeasureHour for element eTimStatic.-->
+                  <xsd:annotation>
+                     <xsd:documentation>Ellapsed time since circulation stopped.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+         </xsd:choice>
+         <xsd:element name="mdTempTool" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836564">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTempTool.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth to the temperature measurement tool.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTempTool" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836024">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth to the temperature measurement tool.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportPerfInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTimOpen" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797330">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTimOpen.-->
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which the well perforation interval is opened.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimClose" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797405">
+            <xsd:annotation>
+               <xsd:documentation>The date and time at which the well perforation interval is closed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17797480">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796970">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854791">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855226">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the perforation interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportPorePressure">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="readingKind" type="witsml:ReadingKind" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373368811">
+            <xsd:annotation>
+               <xsd:documentation>Was the reading measured or estimated</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="equivalentMudWeight" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17789307">
+            <xsd:annotation>
+               <xsd:documentation>The equivalent mud weight value of the pore pressure reading.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683945">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time at the reading was made.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684935">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth where the readings were recorded.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17847750">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth where the readings were recorded.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportStatusInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644855">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>the date and time that for which the well status is reported.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644930">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>Wellbore measured depth at the end of the report period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851070">
+            <xsd:annotation>
+               <xsd:documentation>Wellbore true vertical depth at the end of the report.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdPlugTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659110">
+            <xsd:annotation>
+               <xsd:documentation>The measured plug back depth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaHole" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644585">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaHole.-->
+            <xsd:annotation>
+               <xsd:documentation>Hole nominal inside diameter.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdDiaHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659230">
+            <xsd:annotation>
+               <xsd:documentation>The measured depth to the start of the current hole diameter.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaPilot" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659350">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaPilot.-->
+            <xsd:annotation>
+               <xsd:documentation>Pilot hole nominal inside diameter at reporting time.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdDiaPilotPlan" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851160">
+            <xsd:annotation>
+               <xsd:documentation>The planned measured depth of the pilot hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdDiaPilotPlan" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660205">
+            <xsd:annotation>
+               <xsd:documentation>The planned true vertical depth of the pilot hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="typeWellbore" type="witsml:WellboreType" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660325">
+            <xsd:annotation>
+               <xsd:documentation>Type of wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660400">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth to the kickoff point of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850980">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth to the kickoff point of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element parentWellbore.-->
+         <xsd:element name="strengthForm" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659800">
+            <xsd:annotation>
+               <xsd:documentation>The measured formation strength. This should be the final measurement before the end of the report period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdStrengthForm" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660055">
+            <xsd:annotation>
+               <xsd:documentation>The measured depth of the formation strength measuement.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdStrengthForm" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850755">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth of the formation strength measuement.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaCsgLast.-->
+            <xsd:annotation>
+               <xsd:documentation>Diameter of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdCsgLast" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850890">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth of last casing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presTestType" type="witsml:PresTestType" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658975">
+            <xsd:annotation>
+               <xsd:documentation>The type of pressure test that was run during this reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdPlanned" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850395">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of plan for this day number (report period).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="distDrill" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850485">
+            <xsd:annotation>
+               <xsd:documentation>Distance drilled during this reporting period. This should be measured along the centerline of the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="elevKelly" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850575">
+            <xsd:annotation>
+               <xsd:documentation>Elevation of the rotary kelly bushing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="sum24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658390">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element sum24Hr.-->
+            <xsd:annotation>
+               <xsd:documentation>A summary that sumarizes the activities performed and the status of the ongoing activities from the reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="forecast24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658465">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element forecast24Hr.-->
+            <xsd:annotation>
+               <xsd:documentation>A summary that sumarizes the planned activities the next reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ropCurrent" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850095">
+            <!--PROFILE: Changed type from witsml:velocityMeasure to witsml:velocityMeasureMetresPerHour for element ropCurrent.-->
+            <xsd:annotation>
+               <xsd:documentation>Rate of penetration at the end of the reporting period.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element rig.-->
+         <!--PROFILE: Deleted element eTimStart.-->
+         <!--PROFILE: Deleted element eTimSpud.-->
+         <!--PROFILE: Deleted element eTimLoc.-->
+         <!--PROFILE: Deleted element eTimDrill.-->
+         <!--PROFILE: Deleted element ropAv.-->
+         <!--PROFILE: Deleted element supervisor.-->
+         <!--PROFILE: Deleted element engineer.-->
+         <!--PROFILE: Deleted element geologist.-->
+         <!--PROFILE: Deleted element eTimDrillRot.-->
+         <!--PROFILE: Deleted element eTimDrillSlid.-->
+         <!--PROFILE: Deleted element eTimCirc.-->
+         <!--PROFILE: Deleted element eTimReam.-->
+         <!--PROFILE: Deleted element eTimHold.-->
+         <!--PROFILE: Deleted element eTimSteering.-->
+         <!--PROFILE: Deleted element distDrillRot.-->
+         <!--PROFILE: Deleted element distDrillSlid.-->
+         <!--PROFILE: Deleted element distReam.-->
+         <!--PROFILE: Deleted element distHold.-->
+         <!--PROFILE: Deleted element distSteering.-->
+         <!--PROFILE: Deleted element numPob.-->
+         <!--PROFILE: Deleted element numContract.-->
+         <!--PROFILE: Deleted element numOperator.-->
+         <!--PROFILE: Deleted element numService.-->
+         <!--PROFILE: Deleted element numAFE.-->
+         <!--PROFILE: Deleted element costDay.-->
+         <!--PROFILE: Deleted element costDayMud.-->
+         <!--PROFILE: Deleted element conditionHole.-->
+         <!--PROFILE: Deleted element tvdLot.-->
+         <!--PROFILE: Deleted element presLotEmw.-->
+         <!--PROFILE: Deleted element presKickTol.-->
+         <!--PROFILE: Deleted element volKickTol.-->
+         <!--PROFILE: Deleted element maasp.-->
+         <!--PROFILE: Deleted element tubular.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportStratInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795795">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time at which a preliminary zonation is established.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17795870">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17796065">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17788332">
+            <!--PROFILE: Changed type from witsml:descriptionString to witsml:commentString for element description.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element description.-->
+            <xsd:annotation>
+               <xsd:documentation>A lithological description of the geological formation at the given depth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportSurveyStation">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Trajectory Station Component Schema</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687877">
+            <xsd:annotation>
+               <xsd:documentation>The date at which the directional survey took place.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688642">
+            <xsd:annotation>
+               <xsd:documentation>Measured depth of measurement from the drill datum.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688102">
+            <xsd:annotation>
+               <xsd:documentation>Vertical depth of the measurements.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="incl" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687922">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element incl.-->
+            <xsd:annotation>
+               <xsd:documentation>Hole inclination, measured from vertical.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="azi" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17688267">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element azi.-->
+            <xsd:annotation>
+               <xsd:documentation>Hole azimuth. Corrected to wells azimuth reference.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element vertSect.-->
+         <!--PROFILE: Deleted element dls.-->
+         <!--PROFILE: Deleted element location.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportWellboreInfo">
+      <xsd:annotation>
+         <xsd:documentation>General information about a well bore for a drill operations report.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTimSpud" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818479">
+            <xsd:annotation>
+               <xsd:documentation>Date and time at which the well was spudded. This is when the well drilling equipment begin to bore into the earth's surface for the purpose of
+               drilling a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dTimPreSpud" type="witsml:timestamp" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818434">
+            <xsd:annotation>
+               <xsd:documentation>Date and time at which the well was predrilled. This is when the well drilling equipment begin to bore into the earth's surface for the purpose
+               of drilling a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="dateDrillComplete" type="witsml:date" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818524">
+            <xsd:annotation>
+               <xsd:documentation>The date when the drilling activity is completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="operator" type="witsml:nameString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818569">
+            <xsd:annotation>
+               <xsd:documentation>The name of the drilling Operator company.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="drillContractor" type="witsml:nameString" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17818614">
+            <xsd:annotation>
+               <xsd:documentation>The name of the drilling Contractor company.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="rigAlias" type="witsml:cs_alias" minOccurs="0" maxOccurs="2"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17645305">
+            <!--PROFILE: Changed maxOccurs from unbounded to 2 for element rigAlias.-->
+            <xsd:annotation>
+               <xsd:documentation>A name of the fixed or movable facility being used to drill the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_drillReportWellTestInfo">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699490">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>Date and time that the well test was completed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="testType" type="witsml:WellTestType" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701590">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element testType.-->
+            <xsd:annotation>
+               <xsd:documentation>The type of well test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="testNumber" type="witsml:positiveCount" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701335">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element testNumber.-->
+            <xsd:annotation>
+               <xsd:documentation>The number of the well test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701290">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdTop.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the top of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701380">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mdBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>Measured depth at the bottom of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdTop" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328363958">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the top of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvdBottom" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328363900">
+            <xsd:annotation>
+               <xsd:documentation>True vertical depth at the bottom of the test interval.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="chokeOrificeSize" type="witsml:lengthMeasureMilliMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17701110">
+            <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureMilliMetre for element chokeOrificeSize.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element chokeOrificeSize.-->
+            <xsd:annotation>
+               <xsd:documentation>The diameter of the choke opening.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityOil" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700690">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityOil.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the produced oil.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityWater" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS16430300">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityWater.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the produced water.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="densityGas" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17881266">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element densityGas.-->
+            <xsd:annotation>
+               <xsd:documentation>The density of the produced gas.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="flowRateOil" type="witsml:volumeFlowRateMeasureCubicMetresPerDay" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700915">
+            <!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureCubicMetresPerDay for element flowRateOil.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateOil.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum rate at which oil was produced.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="flowRateWater" type="witsml:volumeFlowRateMeasureCubicMetresPerDay" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700765">
+            <!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureCubicMetresPerDay for element flowRateWater.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateWater.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum rate at which water was produced.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="flowRateGas" type="witsml:volumeFlowRateMeasureMillionCubicMetresPerDay" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700480">
+            <!--PROFILE: Changed type from witsml:volumeFlowRateMeasure to witsml:volumeFlowRateMeasureMillionCubicMetresPerDay for element flowRateGas.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element flowRateGas.-->
+            <xsd:annotation>
+               <xsd:documentation>The maximum rate at which gas was produced.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presShutIn" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700360">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presShutIn.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presShutIn.-->
+            <xsd:annotation>
+               <xsd:documentation>The final shut in pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presFlowing" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700645">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presFlowing.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presFlowing.-->
+            <xsd:annotation>
+               <xsd:documentation>The final flowing pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presBottom" type="witsml:pressureMeasureMegaPascals" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700075">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureMegaPascals for element presBottom.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presBottom.-->
+            <xsd:annotation>
+               <xsd:documentation>The final bottom hole pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gasOilRatio" type="witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700000">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre for element gasOilRatio.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element gasOilRatio.-->
+            <xsd:annotation>
+               <xsd:documentation>The ratio of the volume of gas to the volume of oil.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="waterOilRatio" type="witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17700240">
+            <!--PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasureCubicMetresPerCubicMetre for element waterOilRatio.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element waterOilRatio.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of water per amount of oil.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="chloride" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699730">
+            <!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element chloride.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element chloride.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of chloride in the produced water.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="carbonDioxide" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699610">
+            <!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element carbonDioxide.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element carbonDioxide.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of CO2 gas.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="hydrogenSulfide" type="witsml:massConcentrationMeasurePartPerMillion" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699880">
+            <!--PROFILE: Changed type from witsml:massConcentrationMeasure to witsml:massConcentrationMeasurePartPerMillion for element hydrogenSulfide.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element hydrogenSulfide.-->
+            <xsd:annotation>
+               <xsd:documentation>The relative amount of H2S gas.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volOilTotal" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699280">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volOilTotal.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volOilTotal.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of oil produced. This includes oil that was disposed of (e.g., burned).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volGasTotal" type="witsml:volumeMeasureMillionCubicMetres" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699400">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureMillionCubicMetres for element volGasTotal.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volGasTotal.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of gas produced. This includes gas that was disposed of (e.g., burned).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volWaterTotal" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17699565">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volWaterTotal.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volWaterTotal.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of water produced. This includes water that was disposed of.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="volOilStored" type="witsml:volumeMeasureCubicMetre" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://projects.dnv.com/reference_data/RD4Browser/default.aspx?RDLDesignation=TOTAL OIL VOLUME STORED FROM WELL TEST - M3">
+            <!--PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volOilStored.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element volOilStored.-->
+            <xsd:annotation>
+               <xsd:documentation>The total amount of produced oil that was stored.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_extensionAny.-->
+   <!--UNUSED: Deleted type cs_extensionNameValue.-->
+   <xsd:complexType name="cs_fluid">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - fluids component schema</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="type" type="witsml:str32" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684695">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element type.-->
+            <xsd:annotation>
+               <xsd:documentation>Description for the type of fluid.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Fix-typo</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element locationSample.-->
+         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17683990">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.-->
+            <xsd:annotation>
+               <xsd:documentation>The time when fluid readings were recorded.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839324">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element md.-->
+            <xsd:annotation>
+               <xsd:documentation>The measured depth where the fluid readings were recorded.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Fix-typo</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839024">
+            <xsd:annotation>
+               <xsd:documentation>The true vertical depth where the fluid readings were recorded.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="presBopRating" type="witsml:pressureMeasureBar" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17686740">
+            <!--PROFILE: Changed type from witsml:pressureMeasure to witsml:pressureMeasureBar for element presBopRating.-->
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element presBopRating.-->
+            <xsd:annotation>
+               <xsd:documentation>Maximum pressure rating of the blow out preventer.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="mudClass" type="witsml:MudClass" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684065">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element mudClass.-->
+            <xsd:annotation>
+               <xsd:documentation>The class of the drilling fluid.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="density" type="witsml:densityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659935">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element density.-->
+            <xsd:annotation>
+               <xsd:documentation>Fluid density.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element visFunnel.-->
+         <!--PROFILE: Deleted element tempVis.-->
+         <xsd:element name="pv" type="witsml:dynamicViscosityMeasure" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17684275">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element pv.-->
+            <xsd:annotation>
+               <xsd:documentation>Plastic viscosity.</xsd:documentation>
+            </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">
+            <!--PROFILE: Changed minOccurs from 0 to 1 for element yp.-->
+            <xsd:annotation>
+               <xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element gel10Sec.-->
+         <!--PROFILE: Deleted element gel10Min.-->
+         <!--PROFILE: Deleted element gel30Min.-->
+         <!--PROFILE: Deleted element filterCakeLtlp.-->
+         <!--PROFILE: Deleted element filtrateLtlp.-->
+         <!--PROFILE: Deleted element tempHthp.-->
+         <!--PROFILE: Deleted element presHthp.-->
+         <!--PROFILE: Deleted element filtrateHthp.-->
+         <!--PROFILE: Deleted element filterCakeHthp.-->
+         <!--PROFILE: Deleted element solidsPc.-->
+         <!--PROFILE: Deleted element waterPc.-->
+         <!--PROFILE: Deleted element oilPc.-->
+         <!--PROFILE: Deleted element sandPc.-->
+         <!--PROFILE: Deleted element solidsLowGravPc.-->
+         <!--PROFILE: Deleted element solidsCalcPc.-->
+         <!--PROFILE: Deleted element baritePc.-->
+         <!--PROFILE: Deleted element lcm.-->
+         <!--PROFILE: Deleted element mbt.-->
+         <!--PROFILE: Deleted element ph.-->
+         <!--PROFILE: Deleted element tempPh.-->
+         <!--PROFILE: Deleted element pm.-->
+         <!--PROFILE: Deleted element pmFiltrate.-->
+         <!--PROFILE: Deleted element mf.-->
+         <!--PROFILE: Deleted element alkalinityP1.-->
+         <!--PROFILE: Deleted element alkalinityP2.-->
+         <!--PROFILE: Deleted element chloride.-->
+         <!--PROFILE: Deleted element calcium.-->
+         <!--PROFILE: Deleted element magnesium.-->
+         <!--PROFILE: Deleted element potassium.-->
+         <!--PROFILE: Deleted element rheometer.-->
+         <!--PROFILE: Deleted element brinePc.-->
+         <!--PROFILE: Deleted element lime.-->
+         <!--PROFILE: Deleted element electStab.-->
+         <!--PROFILE: Deleted element calciumChloride.-->
+         <!--PROFILE: Deleted element company.-->
+         <!--PROFILE: Deleted element engineer.-->
+         <!--PROFILE: Deleted element asg.-->
+         <!--PROFILE: Deleted element solidsHiGravPc.-->
+         <!--PROFILE: Deleted element polymer.-->
+         <!--PROFILE: Deleted element polyType.-->
+         <!--PROFILE: Deleted element solCorPc.-->
+         <!--PROFILE: Deleted element oilCtg.-->
+         <!--PROFILE: Deleted element hardnessCa.-->
+         <!--PROFILE: Deleted element sulfide.-->
+         <!--PROFILE: Deleted element comments.-->
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_geodeticModel">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Geodetic Model Component Schema. All elements except nameCRS have been deprecated. Either use a well known name of a CRS or use the wellCRS
+         reference to a gmlCoordinateReferenceSystem.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="nameCRS" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The name of the coordinate reference system in a particular naming system. An optional short name (code) can also be specified. Specifying a well
+               known system is highly desired. An example would be to specify a name of 'ED50' with a code of '4230' in the 'EPSG' naming system. Note that specifying a name in
+               the EPSG naming system is asserting that the parameters in the EPSG database are appropriate for this CRS. This is also true for any other naming system. If in
+               doubt, contact your local geodesist.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="geodeticDatumCode" type="witsml:GeodeticDatum" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Geodetic datum code. This defines a system in the Geoshare naming system and should probably not be used with
+               CRSName.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="xTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="yTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="zTranslation" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid translation (3). Units are meters by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="xRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="yRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="zRotation" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid rotation (3). Seconds of arc by convention.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="scaleFactor" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid scale factor.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ellipsoidCode" type="witsml:Ellipsoid" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid code (spheroid) defining geographic or planar coordinates. Implied if geodeticDatumCode is specified (and is not user
+               defined).</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ellipsoidSemiMajorAxis" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid semi-major axis size. Implied if geodeticDatumCode or ellipsoidCode specified.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="ellipsoidInverseFlattening" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid inverse flattening value (ie. 1/x). Implied if geodeticDatumCode or ellipsoidCode specified.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_geologyInterval.-->
+   <!--UNUSED: Deleted type cs_groupDefinition.-->
+   <!--UNUSED: Deleted type cs_holeOpener.-->
+   <!--UNUSED: Deleted type cs_hse.-->
+   <!--UNUSED: Deleted type cs_hydrocyclone.-->
+   <!--UNUSED: Deleted type cs_incident.-->
+   <!--UNUSED: Deleted type cs_interval.-->
+   <!--UNUSED: Deleted type cs_inventory.-->
+   <!--UNUSED: Deleted type cs_jar.-->
+   <!--UNUSED: Deleted type cs_lithology.-->
+   <xsd:complexType name="cs_localCRS">
+      <xsd:sequence>
+         <xsd:choice minOccurs="0" maxOccurs="1">
+            <xsd:element name="usesWellAsOrigin" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>True ("true" or "1") indicates that the well surface point is the origin of this CRS. False ("false" or "0") or not given indicates
+                  otherwise.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="origin" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the well reference point that is the origin of this CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="originDescription" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A textual description of the origin.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:choice>
+         <xsd:element name="yAxisAzimuth" type="witsml:yAxisAzimuth" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The angle of the Y axis from North (as described in attribute northDirection). Defaults to zero. Positive clockwise.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="magneticDeclination" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The angle between magnetic north and true north. The angle is measured positive clockwise from true north to magnetic north. This value SHOULD be
+               given if the yAxisAzimuth is measured from the magnetic north direction.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="gridConvergence" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The angle between true north and the northing axis or the projection grid being used. The angle is measured at the point in question, and is
+               measured from true north to grid north, positive clockwise.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="yAxisDescription" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A free-form description of the Y axis. Examples would be 'parallel to the west side of the platform', or 'along the main entry
+               road'.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="xRotationCounterClockwise" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>True ("true" or "1") indicates that the X axis is rotated counter-clockwise from the Y axis when viewed from above the earth looking down. False
+               ("false" or "0") or not given indicates a clockwise rotation. Generally the X axis is rotated clockwise.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_location">
+      <xsd:annotation>
+         <xsd:documentation>WITSML Location Component Schema This is a location that is expressed in terms of 2D coordinates. In order that the location be understood, the
+         coordinate reference system (CRS) must be known. The survey location is given by a pair of tagged values. The pairs may be: (1) latitude/longitude, (2) easting/northing,
+         (3) westing/southing, (4) projectedX/projectedY, or (5) localX/localY. The appropriate pair must be chosen for the data.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="wellCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the wellCRS that defines the CRS for the coordinates. While optional, it is strongly recommended that this be
+               specified.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice minOccurs="0" maxOccurs="1">
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="latitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The latitude with north being positive.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="longitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The longitude with east being positive.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="easting" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with east being positive. This is the most common type of projected coordinates. UTM coordinates are expressed in
+                     Easting and Northing.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="northing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with north being positive. This is the most common type of projected coordinates. UTM coordinates are expressed in
+                     Easting and Northing.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="westing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with west being positive. The positive directions are reversed from the usual Easting and Northing values. These
+                     values are generally located in the southern hemisphere, most notably in South Africa and Australia.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="southing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected coordinate with south being positive. The positive directions are reversed from the usual Easting and Northing values. These
+                     values are generally located in the southern hemisphere, most notably in South Africa and Australia.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="projectedX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected X coordinate with the positive direction unknown. ProjectedX and ProjectedY are used when it is not known what the meaning of
+                     the coordinates is. If the meaning is known, the Easting/Northing or Westing/Southing should be used. Use of this pair implies a lack of knowledge on the part
+                     of the sender.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="projectedY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The projected Y coordinate with the positive direction unknown. ProjectedX and ProjectedY are used when it is not known what the meaning of
+                     the coordinates is. If the meaning is known, the Easting/Northing or Westing/Southing should be used. Use of this pair implies a lack of knowledge on the part
+                     of the sender.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:sequence minOccurs="0" maxOccurs="1">
+               <xsd:element name="localX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The local (engineering) X coordinate. The CRS will define the orientation of the axis.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="localY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>The local (engineering) Y coordinate. The CRS will define the orientation of the axis.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+         </xsd:choice>
+         <xsd:element name="original" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Flag indicating (if "true" or "1") that this pair of values was the original data given for the location. If the pair of values was calculated
+               from an original pair of values, this flag should be "false" (or "0"), or not present.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A Comment, generally given to help the reader interpret the coordinates if the CRS and the chosen pair do not make them
+               clear.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_logCurveInfo.-->
+   <!--UNUSED: Deleted type cs_logData.-->
+   <!--UNUSED: Deleted type cs_motor.-->
+   <!--UNUSED: Deleted type cs_mudGas.-->
+   <!--UNUSED: Deleted type cs_mudLogParameter.-->
+   <!--UNUSED: Deleted type cs_mudLosses.-->
+   <!--UNUSED: Deleted type cs_mudVolume.-->
+   <!--UNUSED: Deleted type cs_mwdTool.-->
+   <!--UNUSED: Deleted type cs_nameTag.-->
+   <!--UNUSED: Deleted type cs_nozzle.-->
+   <!--UNUSED: Deleted type cs_personnel.-->
+   <!--UNUSED: Deleted type cs_pit.-->
+   <!--UNUSED: Deleted type cs_pitVolume.-->
+   <xsd:complexType name="cs_projectionx">
+      <xsd:annotation>
+         <xsd:documentation>WITSML Element Types All elements except nameCRS have been deprecated. Either use a well known name of a CRS or use the wellCRS reference to a
+         gmlCoordinateReferenceSystem.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="nameCRS" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The name of the coordinate reference system in a particular naming system. An optional short name (code) can also be specified. Specifying a well
+               known system is highly desired. An example would be to specify a name of 'WGS 84 / UTM zone 10N' with a code of '32610' in the 'EPSG' naming system. Note that
+               specifying a name in the EPSG naming system is asserting that the parameters in the EPSG database are appropriate for this CRS. This is also true for any other
+               naming system. If in doubt, contact your local geodesist.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="projectionCode" type="witsml:Projection" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. A code to identify the type of projection.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="projectedFrom" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. A pointer to the wellCRS that represents the geographic system from which this system was projected.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="stdParallel1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of first standard parallel.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="stdParallel2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of second standard parallel, if used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="centralMeridian" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the Y axis of the resulting map.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="originLatitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude at which the X axis intersects the central meridian.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="originLongitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the central meridian.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="latitude1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of the first point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="longitude1" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the first point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="latitude2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of the second point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="longitude2" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of the second point if the two-point specification of the central line is used.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="latitudeForScale" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude of a point for which the scale factor is specified exactly. Default to origin.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="longitudeForScale" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Longitude of a point for which the scale factor is specified exactly. Default to origin.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="trueScaleLatitude" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Latitude at which the scale on the map is exact. If none is provided, scale is assumed to be exact at the
+               equator.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="spheroidRadius" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Spheroid radius.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="scaleFactor" type="witsml:unitlessQuantity" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Ellipsoid scale factor.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="methodVariant" type="witsml:ProjectionVariantsObliqueMercator" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Projection method variant - establishes minor variations of the projection. Geoshare proposal.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="perspectiveHeight" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Height above the surface origin location from which the perspective is taken.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="zone" type="witsml:geodeticZoneString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Zone for the type of projection. Zones have values from 1 to 60 with a required direction of "N" (North) or "S" (South). For example,
+               "21N".</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="NADType" type="witsml:NADTypes" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. North American Datum type.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="falseEasting" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Artificial value added to the X axis.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="falseNorthing" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Artificial value added to the Y axis.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="bearing" type="witsml:planeAngleMeasure" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Bearing angle of the great circle with respect to north at the central point.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="hemisphere" type="witsml:Hemispheres" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Is the projection in the northern hemisphere or the southern hemisphere.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="description" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Description of item and details.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="parameter" type="witsml:indexedObject" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>DEPRECATED. Parameter describing the user-defined projection.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Deprecated</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_publicLandSurveySystem.-->
+   <!--UNUSED: Deleted type cs_pump.-->
+   <!--UNUSED: Deleted type cs_pumpOp.-->
+   <!--UNUSED: Deleted type cs_qualifier.-->
+   <!--UNUSED: Deleted type cs_realtimeHeader.-->
+   <!--UNUSED: Deleted type cs_record.-->
+   <!--UNUSED: Deleted type cs_referencePoint.-->
+   <!--UNUSED: Deleted type cs_refWellboreTrajectory.-->
+   <!--UNUSED: Deleted type cs_refWellboreTrajectoryStation.-->
+   <xsd:complexType name="cs_refWellWellbore">
+      <xsd:annotation>
+         <xsd:documentation>Data that represents a foreign key to a wellbore. The wellbore may be defined within the context of another well.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="wellboreReference" type="witsml:refNameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer the wellbore with which there is a relationship.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the well that contains the wellboreReference. This is not needed unless the referenced wellbore is outside the context of a common
+               parent well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="cs_refWellWellboreRig">
+      <xsd:annotation>
+         <xsd:documentation>A reference to a rig within a wellbore. The wellbore may be defined within the context of another well. This value represents a foreign key from one
+         node to another.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="rigReference" type="witsml:refNameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the rig with which there is a relationship.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellboreParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the wellbore that contains the rigReference. This is not needed unless the referenced rig is outside the context of a common parent
+               wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellParent" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the well that contains the wellboreParent. This is not needed unless the referenced wellbore is outside the context of a common
+               parent well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:sequence>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_rheometer.-->
+   <!--UNUSED: Deleted type cs_rigResponse.-->
+   <!--UNUSED: Deleted type cs_rotarySteerableTool.-->
+   <!--UNUSED: Deleted type cs_scr.-->
+   <!--UNUSED: Deleted type cs_sensor.-->
+   <!--UNUSED: Deleted type cs_shaker.-->
+   <!--UNUSED: Deleted type cs_shakerOp.-->
+   <!--UNUSED: Deleted type cs_shakerScreen.-->
+   <!--UNUSED: Deleted type cs_show.-->
+   <!--UNUSED: Deleted type cs_stabilizer.-->
+   <!--UNUSED: Deleted type cs_standardGeodeticCRS.-->
+   <!--UNUSED: Deleted type cs_standardProjectedCRS.-->
+   <!--UNUSED: Deleted type cs_standardVerticalCRS.-->
+   <!--UNUSED: Deleted type cs_stnTrajCorUsed.-->
+   <!--UNUSED: Deleted type cs_stnTrajMatrixCov.-->
+   <!--UNUSED: Deleted type cs_stnTrajRawData.-->
+   <!--UNUSED: Deleted type cs_stnTrajValid.-->
+   <!--UNUSED: Deleted type cs_supportCraft.-->
+   <!--UNUSED: Deleted type cs_surfaceEquipment.-->
+   <!--UNUSED: Deleted type cs_surveySection.-->
+   <!--UNUSED: Deleted type cs_swcSample.-->
+   <!--UNUSED: Deleted type cs_targetSection.-->
+   <!--UNUSED: Deleted type cs_trajectoryStation.-->
+   <!--UNUSED: Deleted type cs_tubularComponent.-->
+   <!--UNUSED: Deleted type cs_wbGeometry.-->
+   <!--UNUSED: Deleted type cs_wbGeometrySection.-->
+   <!--UNUSED: Deleted type cs_weather.-->
+   <xsd:complexType name="cs_wellAlias">
+      <xsd:annotation>
+         <xsd:documentation>A common way for handling names of objects. An identifier type must include a Name. It may also include a NamingSystem, which gives meaning to the
+         name.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A human contextual name of a well. This should (hopefully) be unique within the context of the naming system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="namingSystem" type="witsml:WellNamingSystem" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The naming system under which the well is defined. Knowledge of the naming system may allow the hame to be parsed for embeded
+               information.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_wellCRS">
+      <xsd:annotation>
+         <xsd:documentation>WITSML - Well Coordinate Reference System Component Schema. Note that this is intended for use with two dimensional coordinates. That does not prevent
+         the use of a three dimensional CRS. It just means that only two coordinates will be specified in that 3D system. The veritcal coordinates are specified separately and,
+         for 3D systems, one of the linked wellDatums should represent the vertical datum of that 3D system so that the height in the 3d system can be
+         determined.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the system. For a geodetic system this is commonly the name of the datum.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice minOccurs="0" maxOccurs="1">
+            <xsd:element name="mapProjection" type="witsml:cs_projectionx" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>Map projection system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe a
+                  CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="geographic" type="witsml:cs_geodeticModel" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>Geographic system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe a
+                  CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="mapProjectionCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A reference to the coordinateReferenceSystems object representing the Map projection system.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="geodeticCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A reference to the coordinateReferenceSystems object representing the Geodetic (i.e., Geocentric or Geographic) system.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="localCRS" type="witsml:cs_localCRS" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>Local (engineering) system. Note that these structures do not truly define a CRS but rather specify information that could be used to describe
+                  a CRS.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:choice>
+         <xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A textual description of the system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:complexType name="cs_wellDatum">
+      <xsd:annotation>
+         <xsd:documentation>Defines the vertical datums associated with elevation, vertical depth and measured depth coordinates within the context of a well.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The human understandable contextual name of the reference datum.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="code" type="witsml:ElevCodeEnum" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The code value that represents the type of reference datum. This may represent a point on a device (e.g., kelly bushing) or it may represent a
+               vertical reference datum (e.g., mean sea level).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:choice>
+            <xsd:annotation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+            <xsd:element name="datumName" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>The name of the vertical reference datum in a particular naming system. This should only be specified if the above 'code' represents some
+                  variation of sea level. An optional short name (code) can also be specified. Specifying a well known datum is highly desired if the above code is a variant of
+                  sea level because sea level varies over time and space. An example would be to specify a name of 'Caspian Sea' with a code of '5106' in the 'EPSG' naming
+                  system.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="datumCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
+               <xsd:annotation>
+                  <xsd:documentation>A reference to the coordinateReferenceSystem object representing the vertical reference datum (i.e., this wellDatum). This should only be
+                  specified if the above 'code' represents some variation of sea level.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:choice>
+         <xsd:element name="kind" type="witsml:kindString" minOccurs="0" maxOccurs="unbounded">
+            <xsd:annotation>
+               <xsd:documentation>Since various activities may use different points as measurement datums, it is useful to characterize the point based on its usage. A well
+               reference datum may have more than one such characterization. For example, it may be the datum used by the driller and logger for measuring their depths. Example
+               usage values would be 'permanent','driller', 'logger' 'WRP' (well reference point) and 'SRP' (site reference point).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="wellbore" type="witsml:cs_refWellWellbore" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the wellbore that contains the reference datum. This should be specified if a measured depth is given.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="rig" type="witsml:cs_refWellWellboreRig" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A pointer to the rig that contains the device used as a reference datum. The rig may be associated with a wellbore in another well (e.g., pattern
+               drilling using a rig on a track).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="elevation" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The gravity based elevation coordinate of this reference datum as measured from another datum. Positive moving upward from the elevation datum.
+               An elevation should be given unless this is a vertical reference datum (e.g., sea level).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="measuredDepth" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The measured depth coordinate of this reference datum as measured from another datum. The measured depth datum should either be the same as the
+               elevation datum or it should be relatable to the elevation datum through other datums. Positive moving toward the bottomhole from the measured depth datum. This
+               should be given when a local reference is "downhole", such as a kickoff point or ocean bottom template, and the borehole may not be vertical. If a Depth is given
+               then an Elevation should also be given.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="horizontalLocation" type="witsml:cs_location" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>The horizontal location of the point being used as a well datum. This may be used when the point is not directly above or below the well point
+               location. For example, a well being drilled from a platform may have its location at the entrance into the sea floor, while the well datum may be located on the
+               drilling rig. Or the well datum may be a kickoff point, that is not directly under the well surface point.</xsd:documentation>
+               <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-48, Change=Added</xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>A contextual description of the well reference datum.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <!--PROFILE: Deleted element extensionNameValue.-->
+      </xsd:sequence>
+      <xsd:attribute name="defaultMeasuredDepth" type="witsml:logicalBoolean" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>True indicates that this is the default reference datum for measured depth coordinates. False or not given indicates that this is not the default
+            reference datum. Measured depth coordinates that do not specify a datum reference should be assumed to be measured relative to this default reference datum. Only one
+            reference datum may be designated as the default measured depth datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="defaultVerticalDepth" type="witsml:logicalBoolean" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>True indicates that this is the default reference datum for vertical depth coordinates. False or not given indicates that this is not the default
+            reference datum. Vertical depth coordinates that do not specify a datum reference should be assumed to be measured relative to the default reference datum. Only one
+            reference datum may be designated as the default vertical depth datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="defaultElevation" type="witsml:logicalBoolean" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>True indicates that this is the default reference datum for elevation coordinates. False or not given indicates that this is not the default
+            reference datum. Elevation coordinates that do not specify a datum reference should be assumed to be measured relative to the default reference datum. Only one
+            reference datum may be designated as the default elevation datum for each well. Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
+            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
+            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type cs_wellLogCurveInfo.-->
+   <!--UNUSED: Deleted type cs_wellLogData.-->
+   <!--UNUSED: Deleted type data.-->
+   <!--UNUSED: Deleted type grp_attachment. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_bhaRun. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_cementJob. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_changeLog. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_convCore. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_coordinateReferenceSystem. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_drillReport. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_fluidsReport. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_formationMarker. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_log. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_message. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_mudLog. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_opsReport. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_realtime. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_rig. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_risk. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_sidewallCore. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_surveyProgram. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_target. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_trajectory. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_trajectoryStation. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_tubular. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_wbGeometry. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_well. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_wellbore. Contents copied where needed.-->
+   <!--UNUSED: Deleted type grp_wellLog. Contents copied where needed.-->
+   <!--UNUSED: Deleted global element attachments.-->
+   <!--UNUSED: Deleted type obj_attachments.-->
+   <!--UNUSED: Deleted type obj_attachment.-->
+   <!--UNUSED: Deleted global element bhaRuns.-->
+   <!--UNUSED: Deleted type obj_bhaRuns.-->
+   <!--UNUSED: Deleted type obj_bhaRun.-->
+   <!--UNUSED: Deleted global element cementJobs.-->
+   <!--UNUSED: Deleted type obj_cementJobs.-->
+   <!--UNUSED: Deleted type obj_cementJob.-->
+   <!--UNUSED: Deleted global element changeLogs.-->
+   <!--UNUSED: Deleted type obj_changeLogs.-->
+   <!--UNUSED: Deleted type obj_changeLog.-->
+   <!--UNUSED: Deleted global element convCores.-->
+   <!--UNUSED: Deleted type obj_convCores.-->
+   <!--UNUSED: Deleted type obj_convCore.-->
+   <!--UNUSED: Deleted global element coordinateReferenceSystems.-->
+   <!--UNUSED: Deleted type obj_coordinateReferenceSystems.-->
+   <!--UNUSED: Deleted type obj_coordinateReferenceSystem.-->
+   <xsd:element name="drillReports" type="witsml:obj_drillReports" substitutionGroup="abs:abstractDataObject">
+      <xsd:annotation>
+         <xsd:documentation>The WITSML API mandated plural root element which allows multiple singular objects to be sent. The plural name is formed by adding an "s" to the
+         singular name.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+   </xsd:element>
+   <xsd:complexType name="obj_drillReports">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="abs:abstractObject">
+            <xsd:sequence>
+               <xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0" maxOccurs="1">
+                  <xsd:annotation>
+                     <xsd:documentation>Information about the XML message instance.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+               <xsd:element name="drillReport" type="witsml:obj_drillReport" minOccurs="1" maxOccurs="unbounded">
+                  <xsd:annotation>
+                     <xsd:documentation>A single drilling report.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:element>
+            </xsd:sequence>
+            <xsd:attribute name="version" type="witsml:schemaVersionString" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>Data object schema version. The fourth level must match the version of the schema constraints (enumerations and XML loader files) that are
+                  assumed by the document instance.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:complexContent>
+   </xsd:complexType>
+   <xsd:complexType name="obj_drillReport">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="nameWell" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the well that contains the wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="nameWellbore" type="witsml:nameString" minOccurs="1" maxOccurs="1"
+         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17607299">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the wellbore that contains the drilling report.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
+            <xsd:annotation>
+               <xsd:documentation>Human recognizable context for the drilling report.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:sequence>
+            <xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364025">
+               <xsd:annotation>
+                  <xsd:documentation>Date and time of the start of the reporting period.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364044">
+               <xsd:annotation>
+                  <xsd:documentation>Date and time end of the reporting period. Report periods are commonly 24 hour periods.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="versionKind" type="witsml:OpsReportVersion" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17817431">
+               <!--PROFILE: Changed minOccurs from 0 to 1 for element versionKind.-->
+               <xsd:annotation>
+                  <xsd:documentation>The kind of report version. For example, a preliminary version.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="createDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364064">
+               <!--PROFILE: Changed minOccurs from 0 to 1 for element createDate.-->
+               <xsd:annotation>
+                  <xsd:documentation>The date and time of the report creation. A later timestamp indicates a newer version. In order to update values in a report a full updated
+                  copy of the original report should be submitted.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellAlias" type="witsml:cs_wellAlias" minOccurs="1" maxOccurs="1">
+               <!--PROFILE: Changed minOccurs from 0 to 1 for element wellAlias.-->
+               <xsd:annotation>
+                  <xsd:documentation>An alternative name of the well (in a naming system). The above well name should be included in the list of aliases so that its origin can be
+                  known.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellboreAlias" type="witsml:cs_wellAlias" minOccurs="2" maxOccurs="2">
+               <!--PROFILE: Changed minOccurs from 0 to 2 for element wellboreAlias.-->
+               <!--PROFILE: Changed maxOccurs from unbounded to 2 for element wellboreAlias.-->
+               <xsd:annotation>
+                  <xsd:documentation>An alternative name of the wellbore (in a naming system). The above well name should be included in the list of aliases so that its origin can
+                  be known.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellDatum" type="witsml:cs_wellDatum" minOccurs="0" maxOccurs="unbounded">
+               <xsd:annotation>
+                  <xsd:documentation>Defines a vertical datum used for measured depths, vertical depths or elevations. This must be specified if one of the aforementioned
+                  coordinate values are included in the report. This only applies to this report and is generally a copy of the same information from the well
+                  object.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellCRS" type="witsml:cs_wellCRS" minOccurs="0" maxOccurs="unbounded">
+               <xsd:annotation>
+                  <xsd:documentation>Defines a coordinate reference system used by coordinates within this report. This must be specified if coordinate values are included in the
+                  report (i.e., in a survey station location). This only applies to this report and is generally a copy of the same information from the well
+                  object.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellboreInfo" type="witsml:cs_drillReportWellboreInfo" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799789">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a wellbore. The well is represented by the original wellbore.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="statusInfo" type="witsml:cs_drillReportStatusInfo" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799868">
+               <!--PROFILE: Changed maxOccurs from unbounded to 1 for element statusInfo.-->
+               <xsd:annotation>
+                  <xsd:documentation>General status information.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="bitRecord" type="witsml:cs_bitRecord" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831397">
+               <xsd:annotation>
+                  <xsd:documentation>Information about a bit.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="fluid" type="witsml:cs_fluid" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17839459">
+               <xsd:annotation>
+                  <xsd:documentation>One fluid record.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="porePressure" type="witsml:cs_drillReportPorePressure" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17799947">
+               <xsd:annotation>
+                  <xsd:documentation>Information about the pore pressure.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="extendedReport" type="witsml:timestampedCommentString" minOccurs="0" maxOccurs="1"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17687235">
+               <!--PROFILE: Changed type from witsml:timestampedDescriptionString to witsml:timestampedCommentString for element extendedReport.-->
+               <xsd:annotation>
+                  <xsd:documentation>A description of what happened from the end of report to an alternative time before the end of the next report. This is intended to allow a
+                  preliminary description of what happened from the end of the report (commonly midnight) until the time of submission of a preliminary report (commonly 6:00 in
+                  the morning).</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="surveyStation" type="witsml:cs_drillReportSurveyStation" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17854338">
+               <xsd:annotation>
+                  <xsd:documentation>A survey station recorded during the report interval.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="activity" type="witsml:cs_activity" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17800080">
+               <xsd:annotation>
+                  <xsd:documentation>Activity breakdown, multiple for many activities.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="logInfo" type="witsml:cs_drillReportLogInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17836969">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a log.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="coreInfo" type="witsml:cs_drillReportCoreInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17833062">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a core.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="wellTestInfo" type="witsml:cs_drillReportWellTestInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17881131">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a production well test.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="formTestInfo" type="witsml:cs_drillReportFormTestInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17856636">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a wireline formation test.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="lithShowInfo" type="witsml:cs_drillReportLithShowInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17858011">
+               <xsd:annotation>
+                  <xsd:documentation>General information about the lithology and shows in an interval.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="equipFailureInfo" type="witsml:cs_drillReportEquipFailureInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17834522">
+               <xsd:annotation>
+                  <xsd:documentation>General information about equipment failure.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="controlIncidentInfo" type="witsml:cs_drillReportControlIncidentInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17887880">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a well control incident.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="stratInfo" type="witsml:cs_drillReportStratInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS373305601">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a well control incident.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="perfInfo" type="witsml:cs_drillReportPerfInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17855316">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a well control incident.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="gasReadingInfo" type="witsml:cs_drillReportGasReadingInfo" minOccurs="0" maxOccurs="unbounded"
+            sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17879652">
+               <xsd:annotation>
+                  <xsd:documentation>General information about a gas reading.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:element>
+         </xsd:sequence>
+         <!--PROFILE: Deleted element commonData.-->
+         <!--PROFILE: Deleted element customData.-->
+      </xsd:sequence>
+      <xsd:attribute name="uidWell" type="witsml:uidParentString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>Unique identifier for the well. This uniquely represents the well referenced by the (possibly non-unique) nameWell.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="uidWellbore" type="witsml:uidParentString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>Unique identifier for the wellbore. This uniquely represents the wellbore referenced by the (possibly non-unique) nameWellbore.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="uid" type="witsml:uidString" use="optional">
+         <xsd:annotation>
+            <xsd:documentation>The unique identifier of an object. This should not be used for child nodes within an object. For an independent object, the value may be globally
+            unique. For a dependent object, the value must be unique (for the same object type) within the context of the parent object. There should be no assumption as to the
+            semantic content of this attribute. The purpose of this type is to facilitate modifying the optionality in derived schemas.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <!--UNUSED: Deleted global element fluidsReports.-->
+   <!--UNUSED: Deleted type obj_fluidsReports.-->
+   <!--UNUSED: Deleted type obj_fluidsReport.-->
+   <!--UNUSED: Deleted global element formationMarkers.-->
+   <!--UNUSED: Deleted type obj_formationMarkers.-->
+   <!--UNUSED: Deleted type obj_formationMarker.-->
+   <!--UNUSED: Deleted global element logs.-->
+   <!--UNUSED: Deleted type obj_logs.-->
+   <!--UNUSED: Deleted type obj_log.-->
+   <!--UNUSED: Deleted global element messages.-->
+   <!--UNUSED: Deleted type obj_messages.-->
+   <!--UNUSED: Deleted type obj_message.-->
+   <!--UNUSED: Deleted global element mudLogs.-->
+   <!--UNUSED: Deleted type obj_mudLogs.-->
+   <!--UNUSED: Deleted type obj_mudLog.-->
+   <!--UNUSED: Deleted global element opsReports.-->
+   <!--UNUSED: Deleted type obj_opsReports.-->
+   <!--UNUSED: Deleted type obj_opsReport.-->
+   <!--UNUSED: Deleted global element realtimes.-->
+   <!--UNUSED: Deleted type obj_realtimes.-->
+   <!--UNUSED: Deleted type obj_realtime.-->
+   <!--UNUSED: Deleted global element rigs.-->
+   <!--UNUSED: Deleted type obj_rigs.-->
+   <!--UNUSED: Deleted type obj_rig.-->
+   <!--UNUSED: Deleted global element risks.-->
+   <!--UNUSED: Deleted type obj_risks.-->
+   <!--UNUSED: Deleted type obj_risk.-->
+   <!--UNUSED: Deleted global element sidewallCores.-->
+   <!--UNUSED: Deleted type obj_sidewallCores.-->
+   <!--UNUSED: Deleted type obj_sidewallCore.-->
+   <!--UNUSED: Deleted global element surveyPrograms.-->
+   <!--UNUSED: Deleted type obj_surveyPrograms.-->
+   <!--UNUSED: Deleted type obj_surveyProgram.-->
+   <!--UNUSED: Deleted global element targets.-->
+   <!--UNUSED: Deleted type obj_targets.-->
+   <!--UNUSED: Deleted type obj_target.-->
+   <!--UNUSED: Deleted global element trajectorys.-->
+   <!--UNUSED: Deleted type obj_trajectorys.-->
+   <!--UNUSED: Deleted type obj_trajectory.-->
+   <!--UNUSED: Deleted global element trajectoryStations.-->
+   <!--UNUSED: Deleted type obj_trajectoryStations.-->
+   <!--UNUSED: Deleted type obj_trajectoryStation.-->
+   <!--UNUSED: Deleted global element tubulars.-->
+   <!--UNUSED: Deleted type obj_tubulars.-->
+   <!--UNUSED: Deleted type obj_tubular.-->
+   <!--UNUSED: Deleted global element wbGeometrys.-->
+   <!--UNUSED: Deleted type obj_wbGeometrys.-->
+   <!--UNUSED: Deleted type obj_wbGeometry.-->
+   <!--UNUSED: Deleted global element wells.-->
+   <!--UNUSED: Deleted type obj_wells.-->
+   <!--UNUSED: Deleted type obj_well.-->
+   <!--UNUSED: Deleted global element wellbores.-->
+   <!--UNUSED: Deleted type obj_wellbores.-->
+   <!--UNUSED: Deleted type obj_wellbore.-->
+   <!--UNUSED: Deleted global element wellLogs.-->
+   <!--UNUSED: Deleted type obj_wellLogs.-->
+   <!--UNUSED: Deleted type obj_wellLog.-->
+   <xsd:simpleType name="abstractBoolean">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" boolean value. This type should not be used directly except to derive another type. All boolean types should be derived
+         from this type rather than using xsd:boolen.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:boolean">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDateTime">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" dateTime value. This type should not be used directly except to derive another type. All dateTime types should be
+         derived from this type rather than using xsd:dateTime.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:dateTime">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDate">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" date value. This type should not be used directly except to derive another type. All dateTime types should be derived
+         from this type rather than using xsd:dateTime.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:date">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDouble">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" double value. This type should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:double">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractShort">
+      <xsd:annotation>
+         <xsd:documentation>This type disallows an "empty" short value. This type should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:short">
+         <xsd:pattern value=".+" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type abstractInt.-->
+   <xsd:simpleType name="abstractString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all strings. This abstract type allows the control over whitespace for all strings to be defined at a high level.
+         This type should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:string">
+         <xsd:whiteSpace value="collapse">
+            <xsd:annotation>
+               <xsd:documentation>Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and
+               trailing spaces.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:whiteSpace>
+         <xsd:minLength value="1">
+            <xsd:annotation>
+               <xsd:documentation>The empty string is not allowed. This constraint conbined with the whiteSpace collapse constraint means that a blank value is not
+               allowed.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:minLength>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="abstractMeasure" abstract="true">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all quantities that have a value with a unit of measure. The unit of measure is in the uom attribute of the
+         subtypes. This type allows all quantities to be profiled to be a 'float' instead of a 'double'.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractDouble" />
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="abstractMaximumLengthString">
+      <xsd:annotation>
+         <xsd:documentation>This defines the maximum acceptable length of a string that can be stored in a data base.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="4000">
+            <xsd:annotation>
+               <xsd:documentation>This value should be the smallest "maximum size of a variable length character type" in commonly used DBMSs. This is the maximum size of a
+               VARCHAR2 in Oracle 8.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:maxLength>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type abstractUncollapsedString.-->
+   <xsd:simpleType name="abstractPositiveCount">
+      <xsd:annotation>
+         <xsd:documentation>A positive integer (one based count or index) with a maximum value of 32767 (2-bytes).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractShort">
+         <xsd:minInclusive value="1">
+            <xsd:annotation>
+               <xsd:documentation>This value cannot be negative or zero.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:minInclusive>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type abstractTimeZone.-->
+   <xsd:simpleType name="abstractNameString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all user assigned human recognizable contextual name types. There should be no assumption that (interoperable)
+         semantic information will be extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced
+         by an enumeration.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="64" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractUidString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all locally unique identifiers. The value is not intended to convey any semantic content (e.g., it may be computer
+         generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in
+         multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server). Spaces are not allowed.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="64" />
+         <xsd:pattern value="[^ ]*" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractCommentString">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all comments or remarks intended for human consumption. There should be no assumption that semantics can be
+         extracted from the field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be
+         interoperable).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractMaximumLengthString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractDescriptionString">
+      <xsd:annotation>
+         <xsd:documentation>A textual description of something.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="256" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractString32">
+      <xsd:annotation>
+         <xsd:documentation>A 32 character string.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=Bug, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="32" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractTypeEnum">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all enumerated "types". This abstract type allows the maximum length of a type enumeration to be centrally defined.
+         This type should not be used directly except to derive another type. It should also be used for uncontrolled strings which are candidates to become enumerations at a
+         future date.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="40" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="abstractUomEnum">
+      <xsd:annotation>
+         <xsd:documentation>The intended abstract supertype of all "units of measure". This abstract type allows the maximum length of a UOM enumeration to be centrally defined.
+         This type is abstract in the sense that it should not be used directly except to derive another type.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="24" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type ActivityClassType.-->
+   <!--UNUSED: Deleted type ActivityCode.-->
+   <!--UNUSED: Deleted type ArrayElementDataType.-->
+   <xsd:simpleType name="AziRef">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="magnetic north">
+            <xsd:annotation>
+               <xsd:documentation>The north direction as defined by the magnetic north pole at the time of the measurement. The magnetic north pole is the direction that a magnet
+               will point to when freely rotating.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="grid north">
+            <xsd:annotation>
+               <xsd:documentation>The north direction is defined by the coordinate grid in the projection coordinate system.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="true north">
+            <xsd:annotation>
+               <xsd:documentation>The north direction as defined by the true north pole. The true north pole is an average of the actual measured north axis, which is the axis of
+               rotation of the earth.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type BearingType.-->
+   <!--UNUSED: Deleted type BitDullCode.-->
+   <!--UNUSED: Deleted type BitReasonPulled.-->
+   <!--UNUSED: Deleted type BitType.-->
+   <!--UNUSED: Deleted type BhaStatus.-->
+   <!--UNUSED: Deleted type BladeShapeType.-->
+   <!--UNUSED: Deleted type BladeType.-->
+   <!--UNUSED: Deleted type BopType.-->
+   <!--UNUSED: Deleted type BoxPinConfig.-->
+   <!--UNUSED: Deleted type CalibrationPointRole.-->
+   <!--UNUSED: Deleted type CementJobType.-->
+   <!--UNUSED: Deleted type ChangeInfoType.-->
+   <!--UNUSED: Deleted type ConnectionPosition.-->
+   <!--UNUSED: Deleted type DeflectionMethod.-->
+   <!--UNUSED: Deleted type DerrickType.-->
+   <!--UNUSED: Deleted type DrawWorksType.-->
+   <!--UNUSED: Deleted type DriveType.-->
+   <!--UNUSED: Deleted type EastOrWest.-->
+   <xsd:simpleType name="ElevCodeEnum">
+      <xsd:annotation>
+         <xsd:documentation>The type of local or permanent reference datum for vertical gravity based (i.e., elevation and vertical depth) and measured depth coordinates within
+         the context of a well. This list includes local points (e.g., kelly bushing) used as a datum and vertical reference datums (e.g., mean sea level).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="CF">
+            <xsd:annotation>
+               <xsd:documentation>casing flange: A flange affixed to the top of the casing string used to attach production equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CV">
+            <xsd:annotation>
+               <xsd:documentation>crown valve</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="DF">
+            <xsd:annotation>
+               <xsd:documentation>derrick floor</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GL">
+            <xsd:annotation>
+               <xsd:documentation>ground level</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KB">
+            <xsd:annotation>
+               <xsd:documentation>kelly bushing</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="RB">
+            <xsd:annotation>
+               <xsd:documentation>rotary bushing</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="RT">
+            <xsd:annotation>
+               <xsd:documentation>rotary table</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SF">
+            <xsd:annotation>
+               <xsd:documentation>sea floor</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="LAT">
+            <xsd:annotation>
+               <xsd:documentation>Lowest Astronomical Tide. The lowest tide level over the duration of the National Tidal Datum Epoch (19 years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SL">
+            <xsd:annotation>
+               <xsd:documentation>Mean Sea Level - A tidal datum. The arithmetic mean of hourly heights observed over the National Tidal Datum Epoch (19
+               years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MHHW">
+            <xsd:annotation>
+               <xsd:documentation>Mean Higher High Water - A tidal datum. The average of the higher high water height of each tidal day observed over the National Tidal Datum
+               Epoch (19 years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MHW">
+            <xsd:annotation>
+               <xsd:documentation>Mean High Water - A tidal datum. The average of all the high water heights observed over the National Tidal Datum Epoch (19
+               years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MLLW">
+            <xsd:annotation>
+               <xsd:documentation>Mean Lower Low Water - A tidal datum. The average of the lower low water height of each tidal day observed over the National Tidal Datum Epoch
+               (19 years ).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MLW">
+            <xsd:annotation>
+               <xsd:documentation>Mean Low Water - A tidal datum. The average of all the low water heights observed over the National Tidal Datum Epoch (19
+               years).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MTL">
+            <xsd:annotation>
+               <xsd:documentation>Mean Tide Level - A tidal datum. The arithmetic mean of mean high water and mean low water. Same as half-tide level.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KO">
+            <xsd:annotation>
+               <xsd:documentation>kickoff point</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="Ellipsoid">
+      <xsd:annotation>
+         <xsd:documentation>These values represent the type of ellipsoid (spheroid) defining geographic or planar coordinates.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="AGD66">
+            <xsd:annotation>
+               <xsd:documentation>Australian Old</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AIRY_MOD">
+            <xsd:annotation>
+               <xsd:documentation>Modified Airy</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AIRY30">
+            <xsd:annotation>
+               <xsd:documentation>Airy 1830</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AIRY49">
+            <xsd:annotation>
+               <xsd:documentation>Airy 1849</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AUST_NAT">
+            <xsd:annotation>
+               <xsd:documentation>Australian National Same as KAU63 and SA69</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESL-DHD">
+            <xsd:annotation>
+               <xsd:documentation>Bessel Modified</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESL-NGL">
+            <xsd:annotation>
+               <xsd:documentation>Bessel - NGO 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESL-RT9">
+            <xsd:annotation>
+               <xsd:documentation>Bessel - RT90</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESS41">
+            <xsd:annotation>
+               <xsd:documentation>Bessel 1841</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BESSNAM">
+            <xsd:annotation>
+               <xsd:documentation>Bessel 1841 for Namibia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="BOGOTA">
+            <xsd:annotation>
+               <xsd:documentation>BOGOTA (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL58">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1858</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL58-1">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1858-1</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL66">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1866</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL66-M">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1866 for Michigan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-A">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 variation A</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-B">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 variation B</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-I">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 IGN</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-J">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 for Jamaica</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-M">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 for Merchich</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CL80-P">
+            <xsd:annotation>
+               <xsd:documentation>Clarke 1880 for Palestine</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CMPOINCH">
+            <xsd:annotation>
+               <xsd:documentation>CAMPO INCH (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="DAN">
+            <xsd:annotation>
+               <xsd:documentation>Danish</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="DELA">
+            <xsd:annotation>
+               <xsd:documentation>DELAMBRE 1810</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ED50">
+            <xsd:annotation>
+               <xsd:documentation>ED50 (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EGYPT07">
+            <xsd:annotation>
+               <xsd:documentation>EGYPT07 (Helmert 1906)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1830 - Indian</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER48">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER56">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1956</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER69">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1969</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER-BR">
+            <xsd:annotation>
+               <xsd:documentation>Everest Brunei</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVERMOD">
+            <xsd:annotation>
+               <xsd:documentation>Modified Everest</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER-P">
+            <xsd:annotation>
+               <xsd:documentation>Everest Pakistan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVER-TM">
+            <xsd:annotation>
+               <xsd:documentation>Everest 1830 (modified) Timbalai</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="EVTM">
+            <xsd:annotation>
+               <xsd:documentation>Everest - Timbali</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISC60">
+            <xsd:annotation>
+               <xsd:documentation>"Fischer 1960 aka ""Mercury"""</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISC60MOD">
+            <xsd:annotation>
+               <xsd:documentation>Fischer 1960 Modified</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISC68">
+            <xsd:annotation>
+               <xsd:documentation>"Fischer 1968 aka ""Modified Mercury"""</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="FISCMOD">
+            <xsd:annotation>
+               <xsd:documentation>"Modified Fischer 1960 aka ""South Asia"""</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GDA94">
+            <xsd:annotation>
+               <xsd:documentation>GDA94 - Australia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GRS67">
+            <xsd:annotation>
+               <xsd:documentation>Geodetic Reference System 1967</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GRS80">
+            <xsd:annotation>
+               <xsd:documentation>Geodetic Reference System 1980</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HAY09">
+            <xsd:annotation>
+               <xsd:documentation>Hayford 1909</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HEIS">
+            <xsd:annotation>
+               <xsd:documentation>Heiskanen 1929</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HEL06">
+            <xsd:annotation>
+               <xsd:documentation>Helmert 1906</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HEL07">
+            <xsd:annotation>
+               <xsd:documentation>Helmert 1907</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HOUG">
+            <xsd:annotation>
+               <xsd:documentation>Hough 1956</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="IAG-75">
+            <xsd:annotation>
+               <xsd:documentation>IAG 75</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDIAN75">
+            <xsd:annotation>
+               <xsd:documentation>INDIAN75 (Everest 1930)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDO-74">
+            <xsd:annotation>
+               <xsd:documentation>INDO74 (Indonesian 1974)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INT24">
+            <xsd:annotation>
+               <xsd:documentation>International 1924</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="IUGG67">
+            <xsd:annotation>
+               <xsd:documentation>IUGG 1967</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="IUGG75">
+            <xsd:annotation>
+               <xsd:documentation>IUGG 1975</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="JEFF48">
+            <xsd:annotation>
+               <xsd:documentation>Jeffreys 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KAU63">
+            <xsd:annotation>
+               <xsd:documentation>Kaula 1963 Same as AUST_NAT and SA69</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="KRSV">
+            <xsd:annotation>
+               <xsd:documentation>Krassovsky</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MERIT83">
+            <xsd:annotation>
+               <xsd:documentation>MERIT83</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD27">
+            <xsd:annotation>
+               <xsd:documentation>NAD27 (Clarke 1866)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAHRAN">
+            <xsd:annotation>
+               <xsd:documentation>NAHRAN (Clarke 1880)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NEWINT67">
+            <xsd:annotation>
+               <xsd:documentation>New International 1967</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NWL-10D">
+            <xsd:annotation>
+               <xsd:documentation>NWL 10D</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NWL-9D">
+            <xsd:annotation>
+               <xsd:documentation>NWL 9D</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSGB36">
+            <xsd:annotation>
+               <xsd:documentation>OSGB36 (Airy 1830)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSU86F">
+            <xsd:annotation>
+               <xsd:documentation>OSU86F</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSU91A">
+            <xsd:annotation>
+               <xsd:documentation>OSU91A</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PLESSIS-1817">
+            <xsd:annotation>
+               <xsd:documentation>Plessis 1817</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PSAD56">
+            <xsd:annotation>
+               <xsd:documentation>PSAD56 (International 1924)</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PTNOIRE">
+            <xsd:annotation>
+               <xsd:documentation>Pointe Noire 1948</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SA69">
+            <xsd:annotation>
+               <xsd:documentation>South American 1969</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SPHR">
+            <xsd:annotation>
+               <xsd:documentation>Sphere of radius 6370997</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="STRU">
+            <xsd:annotation>
+               <xsd:documentation>Struve 1860</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WALB">
+            <xsd:annotation>
+               <xsd:documentation>Walbeck</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WAR24">
+            <xsd:annotation>
+               <xsd:documentation>War Office 1924</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS60">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1960</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS66">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1966</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS72">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1972</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS84">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1984</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type ExtensionName.-->
+   <!--UNUSED: Deleted type FileNameType.-->
+   <xsd:simpleType name="GasPeakType">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="circulating background gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="connection gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling background gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling gas peak">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="flow check gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="no readings">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="other">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="shut down gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="trip gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="GeodeticDatum">
+      <xsd:annotation>
+         <xsd:documentation>These values represent the type of geodetic datum. The source (except for "none", "unknown" and "UserDefined") of the values and the descriptions is
+         Geoshare V13.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="ADND">
+            <xsd:annotation>
+               <xsd:documentation>Adindian ellipsoid=CL80 region="Sudan, Ethiopia"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ARC50">
+            <xsd:annotation>
+               <xsd:documentation>ARC 1950 ellipsoid=CL80B region="Southern Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="AUSG">
+            <xsd:annotation>
+               <xsd:documentation>Australian ellipsoid=GRS67 region="Australia Geodetic"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CAA">
+            <xsd:annotation>
+               <xsd:documentation>Camp Area Astro ellipsoid=INT24 region=Antarctica</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CHAS">
+            <xsd:annotation>
+               <xsd:documentation>Chau Astro ellipsoid=INT24 region=Paraguay</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="CORAL">
+            <xsd:annotation>
+               <xsd:documentation>Corrego Alegre ellipsoid=INT24 region=INT24</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ED50">
+            <xsd:annotation>
+               <xsd:documentation>European 1950 ellipsoid=INT24 region="Europe, Middle East, North Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ED87">
+            <xsd:annotation>
+               <xsd:documentation>European 1987 ellipsoid=INT24 region="Europe, Middle East, North Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="ERIN65">
+            <xsd:annotation>
+               <xsd:documentation>Ireland 1965 ellipsoid=AIRY_MOD region=Ireland</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GD49">
+            <xsd:annotation>
+               <xsd:documentation>Geodetic Datum 1949 ellipsoid=INT24 region="New Zealand"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GHANA">
+            <xsd:annotation>
+               <xsd:documentation>Ghana ellipsoid=WAR24 region=Ghana</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="GUAM63">
+            <xsd:annotation>
+               <xsd:documentation>Guam 1963 ellipsoid=CL66 region="Marianas Islands"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HJRS55">
+            <xsd:annotation>
+               <xsd:documentation>Hjorsey 1955 ellipsoid=INT24 region=Iceland</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="HTS">
+            <xsd:annotation>
+               <xsd:documentation>Hu-Tzu-Shan ellipsoid=INT24 region=Taiwan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INCH">
+            <xsd:annotation>
+               <xsd:documentation>Campo Inchauspe ellipsoid=INT24 region=Argentina</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDIA1">
+            <xsd:annotation>
+               <xsd:documentation>Indian 'Kalimpur' ellipsoid=EVER region=India</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDIA2">
+            <xsd:annotation>
+               <xsd:documentation>Indian 'Kalimpur' ellipsoid=INT24 region=India</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="INDNS74">
+            <xsd:annotation>
+               <xsd:documentation>Indonesia 1974 ellipsoid=GRS67 region=Indonesia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="LIB64">
+            <xsd:annotation>
+               <xsd:documentation>Liberia 1964 ellipsoid=CL80 region=Liberia</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="LUZON">
+            <xsd:annotation>
+               <xsd:documentation>Luzon ellipsoid=CL66 region=Philippines</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="MRCH">
+            <xsd:annotation>
+               <xsd:documentation>Merchich ellipsoid=CL80A region=Morocco</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD27">
+            <xsd:annotation>
+               <xsd:documentation>North American 'Meades Ranch' ellipsoid=CL66 region="North America"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD83">
+            <xsd:annotation>
+               <xsd:documentation>North American Datum of 1983 ellipsoid=GRS80 region="Canada, Cuba, U.S., Caribbean"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NGRA">
+            <xsd:annotation>
+               <xsd:documentation>Nigeria ellipsoid=CL80 region=Nigeria</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="None">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NPRM">
+            <xsd:annotation>
+               <xsd:documentation>Naparima ellipsoid=INT24 region="Trinidad and Tobago"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="OSGB36">
+            <xsd:annotation>
+               <xsd:documentation>Ordnance Survey of Great Britain 1936 ellipsoid=AIRY region="Great Britain, Northern Ireland"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="POTS1">
+            <xsd:annotation>
+               <xsd:documentation>European 'Pelmert Tower, Potsdam' ellipsoid=INT24 region="Most of Eurasia, Africa"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PULK1">
+            <xsd:annotation>
+               <xsd:documentation>Russian 'Pulkovo' ellipsoid=BESS41</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="PULK2">
+            <xsd:annotation>
+               <xsd:documentation>Russian 'Pulkovo' ellipsoid=KRSV</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="QRNQ">
+            <xsd:annotation>
+               <xsd:documentation>Qornoq ellipsoid=INT24 region=Greenland</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SA56">
+            <xsd:annotation>
+               <xsd:documentation>Provisional South American, 1956 ellipsoid=INT24 region="Bolivia, Chile, Colombia, Ecuador, Peru, Venezuela, the Guianas"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="SRL60">
+            <xsd:annotation>
+               <xsd:documentation>Sierra Leone 1960 ellipsoid=CL80 region="Sierra Leone"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="TNRV25">
+            <xsd:annotation>
+               <xsd:documentation>Tananarive (Antananarivo) Obsv. 1925T ellipsoid=INT24 region="Malagasy Republic"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="TOKYO">
+            <xsd:annotation>
+               <xsd:documentation>Tokyo ellipsoid=BESS41 region=Japan</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="UserDefined">
+            <xsd:annotation>
+               <xsd:documentation>Datum defined elsewhere</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="VROL">
+            <xsd:annotation>
+               <xsd:documentation>Voirol ellipsoid=CL80 region="Algeria, Tunisia"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS72">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1972 ellipsoid=WGS72</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="WGS84">
+            <xsd:annotation>
+               <xsd:documentation>World Geodetic System 1984 ellipsoid=WGS84 region="Sino-Soviet Bloc, SW Asia, Hydrographic, Aeronautical"</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="YACR">
+            <xsd:annotation>
+               <xsd:documentation>Yacare ellipsoid=INT24 region=Uruguay</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="Hemispheres">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="northern">
+            <xsd:annotation>
+               <xsd:documentation>Northern hemisphere.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="southern">
+            <xsd:annotation>
+               <xsd:documentation>Southern hemisphere.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type HoleCasingType.-->
+   <!--UNUSED: Deleted type HoleOpenerType.-->
+   <xsd:simpleType name="InnerBarrelType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="undifferented">
+            <xsd:annotation>
+               <xsd:documentation>A pipe that is located inside a core barrel to hold the core sample.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="aluminum">
+            <xsd:annotation>
+               <xsd:documentation>An inner core barrel made of aluminium.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gel">
+            <xsd:annotation>
+               <xsd:documentation>An inner core barrel that that seals off the core sample using gel as the sealing material.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="fiberglass">
+            <xsd:annotation>
+               <xsd:documentation>An inner core barrel made of glass fiber reinforced plastic.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type IntervalMethod.-->
+   <!--UNUSED: Deleted type IntervalType.-->
+   <!--UNUSED: Deleted type ItemState.-->
+   <!--UNUSED: Deleted type JarType.-->
+   <!--UNUSED: Deleted type JarAction.-->
+   <!--UNUSED: Deleted type LithologySource.-->
+   <!--UNUSED: Deleted type LithologyType.-->
+   <!--UNUSED: Deleted type LogDataType.-->
+   <!--UNUSED: Deleted type LogIndexDirection.-->
+   <!--UNUSED: Deleted type LogIndexType.-->
+   <!--UNUSED: Deleted type LogRectangularType.-->
+   <!--UNUSED: Deleted type LogSectionType.-->
+   <!--UNUSED: Deleted type LogTraceOrigin.-->
+   <!--UNUSED: Deleted type LogTraceState.-->
+   <!--UNUSED: Deleted type LogTrackType.-->
+   <!--UNUSED: Deleted type MaterialType.-->
+   <!--UNUSED: Deleted type MeasureClass.-->
+   <!--UNUSED: Deleted type MeasurementType.-->
+   <!--UNUSED: Deleted type MessageDigestType.-->
+   <!--UNUSED: Deleted type MessageProbability.-->
+   <!--UNUSED: Deleted type MessageSeverity.-->
+   <!--UNUSED: Deleted type MessageType.-->
+   <!--UNUSED: Deleted type MimeType.-->
+   <xsd:simpleType name="MudClass">
+      <xsd:annotation>
+         <xsd:documentation>Defines the class of a drilling fluid.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="water based">
+            <xsd:annotation>
+               <xsd:documentation>A drilling fluid in which water is the continuous phase.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="oil based">
+            <xsd:annotation>
+               <xsd:documentation>A drilling fluid in which oil is the continuous phase.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="other">
+            <xsd:annotation>
+               <xsd:documentation>A drilling fluid in which neither water nor oil is the continous phase.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type MudLogParameterType.-->
+   <xsd:simpleType name="NADTypes">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="NAD27">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NAD83">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type NameTagLocation.-->
+   <!--UNUSED: Deleted type NameTagNumberingScheme.-->
+   <!--UNUSED: Deleted type NameTagTechnology.-->
+   <!--UNUSED: Deleted type NorthOrSouth.-->
+   <!--UNUSED: Deleted type NozzleType.-->
+   <!--UNUSED: Deleted type ObjectGrowingState.-->
+   <xsd:simpleType name="OpsReportVersion">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="preliminary">
+            <xsd:annotation>
+               <xsd:documentation>A preliminary report that has not yet been approved by the drilling operator. This report is normally issued at the beginning of the work day
+               (e.g., 6:00 am) before</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="normal">
+            <xsd:annotation>
+               <xsd:documentation>A normal daily staus report that has been approved by the drilling operator.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="final">
+            <xsd:annotation>
+               <xsd:documentation>A report that represents the final definitive status for the well. This report is normally issued some period of time (e.g., 6 months) after the
+               completion of drilling.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type PitType.-->
+   <!--UNUSED: Deleted type PrimitiveType.-->
+   <xsd:simpleType name="Projection">
+      <xsd:annotation>
+         <xsd:documentation>These values represent the type of coordinate system projection method. The source (except for "UserDefined") of the values is Geoshare V13. For a
+         detailed description of each value, see the Geoshare documentation of the indicated "217" object at
+         http://w3.posc.org/GeoshareSIG/technical/GDM/v13.0/.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="Albers equal area">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-ALBERS</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="azimuthal equidistant">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-AZIMUTHAL</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Cassini">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-CASSINI</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equidistant conic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-EQUIDISTANT</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equirectangular">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-EQUIRECTANGULAR</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gnomonic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-GNOMONIC</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Lambert azimuthal">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-LAMBERT-AZIMUTH</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Lambert conformal conic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-LAMBERT</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-MERCATOR</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Miller">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-MILLER</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="oblique Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-OBLIQUE-MERCATOR</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="orthographic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-ORTHO</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="perspective">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-PERSPECTIVE</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="polar stereographic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-POLAR-STEREO</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="polyconic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-POLYCONIC</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="sinusoidal">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-SINUSOIDAL</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="state plane">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-STATE-PLANE</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="stereographic">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-STEREO</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="transverse Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-TM</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="universal transverse Mercator">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-UTM</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="user defined">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="Van der Grinten">
+            <xsd:annotation>
+               <xsd:documentation>217-PARAMETERS-PROJECTION-VANDERGRINTEN</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="ProjectionVariantsObliqueMercator">
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="default">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="rectified">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="rectified skew">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="rectified skew center origin">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="PresTestType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="leak off test">
+            <xsd:annotation>
+               <xsd:documentation>A leakoff test is usually conducted immediately after drilling below a new casing shoe. During the test, the well is shut in and fluid is pumped
+               into the wellbore gradually to increase the pressure that the formation experiences.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation integrity test">
+            <xsd:annotation>
+               <xsd:documentation>If the formation is not able to withstand the given pressure, the result of the test is the strength of the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type PrincipalMeridian.-->
+   <!--UNUSED: Deleted type PumpType.-->
+   <!--UNUSED: Deleted type PumpOpType.-->
+   <!--UNUSED: Deleted type QualifierType.-->
+   <xsd:simpleType name="ReadingKind">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="measured">
+            <xsd:annotation>
+               <xsd:documentation>The reading was measured.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="estimated">
+            <xsd:annotation>
+               <xsd:documentation>The reading was estimated.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type RealtimeData.-->
+   <!--UNUSED: Deleted type RigType.-->
+   <!--UNUSED: Deleted type RiskAffectedPersonnel.-->
+   <!--UNUSED: Deleted type RiskCategory.-->
+   <!--UNUSED: Deleted type RiskSubCategory.-->
+   <!--UNUSED: Deleted type RiskType.-->
+   <!--UNUSED: Deleted type ScrType.-->
+   <!--UNUSED: Deleted type ShowFluorescence.-->
+   <!--UNUSED: Deleted type ShowLevel.-->
+   <!--UNUSED: Deleted type ShowRating.-->
+   <!--UNUSED: Deleted type ShowSpeed.-->
+   <xsd:simpleType name="StateDetailActivity">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="injury">
+            <xsd:annotation>
+               <xsd:documentation>Personnel injury in connection with drilling and/or drilling related operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="operation failed">
+            <xsd:annotation>
+               <xsd:documentation>Operation failed to achieve objective.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="kick">
+            <xsd:annotation>
+               <xsd:documentation>Formation fluid invading the well bore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="circulation loss">
+            <xsd:annotation>
+               <xsd:documentation>Circulation lost to the formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud loss">
+            <xsd:annotation>
+               <xsd:documentation>Circulation impossible due to plugging or failure of equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="stuck equipment">
+            <xsd:annotation>
+               <xsd:documentation>Equipment got stuck in the hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equipment failure">
+            <xsd:annotation>
+               <xsd:documentation>Equipment failure occurred.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="equipment hang">
+            <xsd:annotation>
+               <xsd:documentation>Operations had to be aborted due to a hang of operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="success">
+            <xsd:annotation>
+               <xsd:documentation>Operation achieved objective.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type SupportCraft.-->
+   <!--UNUSED: Deleted type SurfEquipType.-->
+   <!--UNUSED: Deleted type TargetCategory.-->
+   <!--UNUSED: Deleted type TargetScope.-->
+   <!--UNUSED: Deleted type TargetSectionScope.-->
+   <!--UNUSED: Deleted type TrajStnCalcAlgorithm.-->
+   <!--UNUSED: Deleted type TrajStationStatus.-->
+   <!--UNUSED: Deleted type TrajStationType.-->
+   <!--UNUSED: Deleted type TubularAssembly.-->
+   <!--UNUSED: Deleted type TubularComponent.-->
+   <!--UNUSED: Deleted type TypeSurveyTool.-->
+   <xsd:simpleType name="WellControlIncidentType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="shallow gas kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where shallow gas is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="water kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where water is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="oil kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where crude oil is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gas kick">
+            <xsd:annotation>
+               <xsd:documentation>An well control incident where gas is flowing incidently into a well being drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type WellDirection.-->
+   <!--UNUSED: Deleted type WellFluid.-->
+   <xsd:simpleType name="WellKillingProcedureType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="drillers method">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is presecribing circulation the kick fluids out of the well and then circulating a higher density kill mud through
+               the kill line into the well through an adjustable choke.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="wait and weight">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is presecribing circulating heavier kill mud while a constant downhole pressure is maintained by pressure relief
+               through a choke.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="bullheading">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing pumping of kill weight fluid down the tubing and forcing the wellbore fluids back into the formation
+               through the perforations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="lubricate and bleed">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing to pump a volume of killing fluid corresponding to half the volume of the well tubing into the well,
+               observing the well for 30 - 60 minutes and wait for the tubing head pressure to drop, then pump additional killing fluid into the well and when the wellhead
+               pressure does not exceed 200 psi above observed tubing head pressure bleed off gas from the tubing at high rate.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="forward circulation">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing a drilling fluid circulation down the tubing, through a circulation device (or out the end of a work
+               string/coiled tubing) and up the annulus.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="reverse circulation">
+            <xsd:annotation>
+               <xsd:documentation>A well killing procedure that is prescribing a drilling fluid circulation down the completion annulus, workstring annulus or pipe annulus and
+               taking returns up the tubing, workstring or pipe.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="WellNamingSystem">
+      <xsd:annotation>
+         <xsd:documentation>The types of well/wellbore naming systems.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="DTI">
+            <xsd:annotation>
+               <xsd:documentation>United Kingdom Department of Trade and Industry</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="API">
+            <xsd:annotation>
+               <xsd:documentation>American Petroleum Institute well number (10,12 or 14 digits).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NPD code">
+            <xsd:annotation>
+               <xsd:documentation>Norwegian Petroleum Directorate wellbore code</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="NPD number">
+            <xsd:annotation>
+               <xsd:documentation>Norwegian Petroleum Directorate wellbore number</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="local field">
+            <xsd:annotation>
+               <xsd:documentation>A name assigned that is meaningful within the context of the field in which it is located. There are not specifications on how to form this
+               name.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="prospect">
+            <xsd:annotation>
+               <xsd:documentation>A name assigned to a prospect - a well that has not yet been drilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="WellTestType">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="drill stem test">
+            <xsd:annotation>
+               <xsd:documentation>A test to determine the productive capacity, pressure, permeability or extent (or a combination of these) of a hydrocarbon reservoir, with the
+               drillstring still in the hole.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="production test">
+            <xsd:annotation>
+               <xsd:documentation>A test to determine the daily rate of oil, gas, and water production from a (potential) reservoir.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type WellboreShape.-->
+   <xsd:simpleType name="WellboreType">
+      <xsd:annotation>
+         <xsd:documentation>The classification of a wellbore with respect to its parent well/wellbore.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="bypass">
+            <xsd:annotation>
+               <xsd:documentation>The original wellbore had to be abandoned before its final usage. This wellbore is being drilled as a different wellbore, but one which has the
+               same target as the one that was abandoned.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="initial">
+            <xsd:annotation>
+               <xsd:documentation>This is the first wellbore that has been drilled, or attempted, in a given well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="redrill">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is being redrilled.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="reentry">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is being reentered after a period of abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="respud">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is part of an existing regulatory well. The original borehole did not reach the target depth. This borehole required the well to be
+               respudded (drilled from a different surface position).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="sidetrack">
+            <xsd:annotation>
+               <xsd:documentation>The wellbore is a deviation from a given wellbore, that produces a different borehole from the others, and whose bottomhole differs from any
+               previously extisting wellbore bottomholes.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="unknown".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type WellPurpose.-->
+   <!--UNUSED: Deleted type WellStatus.-->
+   <xsd:simpleType name="date" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A julian date.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDate" />
+   </xsd:simpleType>
+   <xsd:simpleType name="timestamp" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A date with a time of day and a mandatory time zone offset. This must captute the correct date-time relative to UTC. It is not necessary to use a local
+         time zone because software may convert the date-time to a different local time zone (while retaining correct date-time relative to UTC). See acquisitionTmeZone in
+         commonData for the original time zone of times in an object.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-39, Change=Modified-description</xsd:appinfo>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-39, Change=Modified-constraint</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDateTime">
+         <xsd:pattern value=".+T.+[Z+\-].*" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type timeZone.-->
+   <!--UNUSED: Deleted type timestampedTimeZone.-->
+   <!--UNUSED: Deleted type calendarYear.-->
+   <xsd:simpleType name="logicalBoolean" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>Values of "true" (or "1") and "false" (or "0").</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractBoolean" />
+   </xsd:simpleType>
+   <xsd:complexType name="yAxisAzimuth" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The angle of a Y axis from North. This is a variation of planeAngleMeasure with an attribute defining the direction of north.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PlaneAngleUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the azimuth value.</xsd:documentation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:planeAngleUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="northDirection" type="witsml:AziRef" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>Specifies the direction to be considered North for the y axis.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="volumePerVolumeMeasurePercent" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A volume per volume measure that is constrained to a unit of percent.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PercentUom" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="unitlessQuantity" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A unitless quantity. This should not be confused with a dimensionless measure.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDouble" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type genericMeasure.-->
+   <!--UNUSED: Deleted type ratioGenericMeasure.-->
+   <!--UNUSED: Deleted type indexCurve.-->
+   <!--UNUSED: Deleted type fileName.-->
+   <!--UNUSED: Deleted type checksum.-->
+   <!--UNUSED: Deleted type listOfString.-->
+   <xsd:simpleType name="uidString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A locally unique identifier. The value is not intended to convey any semantic content (e.g., it may be computer generated).</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-5, Change=Modified-description</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUidString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="uidParentString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A unique identifier of an object parent. This should only be used for the uid of a parent object (i.e., a foreign key to another object). It should not
+         be used for child nodes of an object. The value is not intended to convey any semantic content (e.g., it may be computer generated). The purpose of this type is to
+         facilitate modifying the optionality of parentage uids in derived schemas.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-5, Change=Added</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUidString" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type refString.-->
+   <xsd:complexType name="refNameString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A reference to a name in another node of the xml hierachy. This value represents a foreign key from one element to another.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractNameString">
+            <!--PROFILE: Deleted attribute uidRef.-->
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type refObjectString.-->
+   <!--UNUSED: Deleted type refPositiveCount.-->
+   <xsd:simpleType name="refWellDatum" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A reference to a wellDatum in the current well. This value must match the uid value in a WellDatum. This value represents a foreign key from one
+         element to another. This is an exception to the convention that a foreign key must utilize both a human contextual name and a uid value. For messages outside the context
+         of a server then this value will commonly match the value of the name of the wellDatum (e.g., 'KB') if uids are not not used in that context. This was a compromise in
+         order to allow the coordinate structures to be simple and still be usable both within the context of a server and outside the context of a server.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUidString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="nameString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A user assigned human recognizable contextual name of something. There should be no assumption that (interoperable) semantic information will be
+         extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an
+         enumeration.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractNameString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="commentString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A comment or remark intended for human consumption. There should be no assumption that semantics can be extracted from this field by a computer.
+         Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractCommentString" />
+   </xsd:simpleType>
+   <xsd:simpleType name="descriptionString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A textual description of something.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-33, Change=Changed-type-from:abstractString</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractDescriptionString" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type shortDescriptionString.-->
+   <!--UNUSED: Deleted type timestampedDescriptionString.-->
+   <!--UNUSED: Deleted type encodedArrayString.-->
+   <!--UNUSED: Deleted type encodedValueString.-->
+   <!--UNUSED: Deleted type extensionvalue.-->
+   <xsd:simpleType name="kindString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A community assigned human recognizable name. This type of value is intended to be unique and is generally a candidate to be constrained to an
+         enumerated list.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum" />
+   </xsd:simpleType>
+   <xsd:simpleType name="uomString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A unit of measure acronym from the POSC unit of measure file.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum" />
+   </xsd:simpleType>
+   <xsd:simpleType name="schemaVersionString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The version of the schema. The first three levels are fixed. The fourth level can vary to represent on the constraints defined in enumerations and XML
+         loader files.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="16" />
+         <xsd:pattern value="1\.4\.0\.([0-9]|([1-9][0-9]))" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="nameStruct" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The name of something within a naming system.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractNameString">
+            <xsd:attribute name="namingSystem" type="witsml:nameString" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>The naming system within the name is (hopefully) unique.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="wellKnownNameStruct" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>The name of something within a mandatory naming system with an optional code.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractNameString">
+            <xsd:attribute name="namingSystem" type="witsml:nameString" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The naming system within the name is unique.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="code" type="witsml:kindString" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A unique (short) code associated with the name.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type uncollapsedString.-->
+   <!--UNUSED: Deleted type iadcBearingWearCode.-->
+   <xsd:simpleType name="geodeticZoneString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A geodetic zone with values from 1 to 60 and a required direction of "N" (North) or "S" (South). For example, "21N".</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="3" />
+         <xsd:pattern value="([1-9]|[1-5][0-9]|60)[NS]" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="measuredDepthCoord" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A measured depth coordinate in a wellbore. Positive moving from the reference datum toward the bottomhole. All coordinates with the same datum (and
+         same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:MeasuredDepthUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the quantity value.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. This value is assumed to match the uid value in a
+                  WellDatum. If not given then the default WellDatum must be assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="wellVerticalDepthCoord" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A vertical (gravity based) depth coordinate within the context of a well. Positive moving downward from the reference datum. All coordinates with the
+         same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the quantity value.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be
+                  assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="wellElevationCoord" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A vertical (gravity based) elevation coordinate within the context of a well. Positive moving upward from the reference datum. All coordinates with the
+         same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>The unit of measure of the quantity value. If not given then the default unit of measure of the explicitly or implicitly given datum must be
+                  assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="datum" type="witsml:refWellDatum" use="optional">
+               <xsd:annotation>
+                  <xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be
+                  assumed.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type sectionNumber.-->
+   <!--UNUSED: Deleted type publicLandSurveySystemQuarterTownship.-->
+   <!--UNUSED: Deleted type publicLandSurveySystemQuarterSection.-->
+   <!--UNUSED: Deleted type footageNorthSouth.-->
+   <!--UNUSED: Deleted type footageEastWest.-->
+   <!--UNUSED: Deleted type nonNegativeCount.-->
+   <!--UNUSED: Deleted type nonNegativeBigCount.-->
+   <xsd:simpleType name="positiveCount" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A positive integer (one based count or index).</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractPositiveCount">
+         <xsd:minInclusive value="1">
+            <xsd:annotation>
+               <xsd:documentation>This value cannot be negative or zero.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:minInclusive>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type positiveBigCount.-->
+   <!--UNUSED: Deleted type integerCount.-->
+   <!--UNUSED: Deleted type beaufortScaleIntegerCode.-->
+   <!--UNUSED: Deleted type pumpActionIntegerCode.-->
+   <!--UNUSED: Deleted type iadcIntegerCode.-->
+   <!--UNUSED: Deleted type levelIntegerCode.-->
+   <!--UNUSED: Deleted type cost.-->
+   <xsd:complexType name="indexedObject" final="#all">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractTypeEnum">
+            <xsd:attribute name="index" type="witsml:positiveCount" use="required">
+               <xsd:annotation>
+                  <xsd:documentation>Indexes things with the same name. That is the first one, the second one, etc.</xsd:documentation>
+               </xsd:annotation>
+            </xsd:attribute>
+            <xsd:attribute name="name" type="witsml:kindString" use="optional" />
+            <xsd:attribute name="uom" type="witsml:uomString" use="optional" />
+            <xsd:attribute name="description" type="witsml:descriptionString" use="optional" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type str2.-->
+   <xsd:simpleType name="str16" final="#all">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="16" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="str32" final="#all">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3-44, Change=Changed-type-from:abstractString</xsd:appinfo>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Non-semantic</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString32" />
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type accelerationLinearMeasure.-->
+   <!--UNUSED: Deleted type anglePerLengthMeasure.-->
+   <!--UNUSED: Deleted type anglePerTimeMeasure.-->
+   <!--UNUSED: Deleted type areaMeasure.-->
+   <!--UNUSED: Deleted type areaPerAreaMeasure.-->
+   <xsd:complexType name="densityMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:DensityUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:densityUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type dimensionlessMeasure.-->
+   <xsd:complexType name="dynamicViscosityMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:DynamicViscosityUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:dynamicViscosityUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type electricCurrentMeasure.-->
+   <!--UNUSED: Deleted type electricPotentialMeasure.-->
+   <!--UNUSED: Deleted type equivalentPerMassMeasure.-->
+   <!--UNUSED: Deleted type forceMeasure.-->
+   <!--UNUSED: Deleted type forcePerLengthMeasure.-->
+   <!--UNUSED: Deleted type forcePerVolumeMeasure.-->
+   <!--UNUSED: Deleted type illuminanceMeasure.-->
+   <xsd:complexType name="lengthMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:LengthUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:lengthUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type lengthPerLengthMeasure.-->
+   <!--UNUSED: Deleted type magneticInductionMeasure.-->
+   <!--UNUSED: Deleted type massConcentrationMeasure.-->
+   <!--UNUSED: Deleted type massMeasure.-->
+   <!--UNUSED: Deleted type massPerLengthMeasure.-->
+   <!--UNUSED: Deleted type momentOfForceMeasure.-->
+   <!--UNUSED: Deleted type perLengthMeasure.-->
+   <xsd:complexType name="planeAngleMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PlaneAngleUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:planeAngleUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type powerMeasure.-->
+   <xsd:complexType name="pressureMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:PressureUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:pressureUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type relativePowerMeasure.-->
+   <!--UNUSED: Deleted type specificVolumeMeasure.-->
+   <!--UNUSED: Deleted type thermodynamicTemperatureMeasure.-->
+   <xsd:complexType name="timeMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:TimeUom" 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 velocityMeasure.-->
+   <!--UNUSED: Deleted type volumeMeasure.-->
+   <!--UNUSED: Deleted type volumeFlowRateMeasure.-->
+   <xsd:complexType name="volumePerVolumeMeasure">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:VolumePerVolumeUom" use="required">
+               <xsd:annotation>
+                  <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:volumePerVolumeUom</xsd:appinfo>
+               </xsd:annotation>
+            </xsd:attribute>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="PercentUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="%" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="MeasuredDepthUom">
+      <xsd:annotation>
+         <xsd:documentation>The units of measure that are valid for measured depths in a wellbore.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m">
+            <xsd:annotation>
+               <xsd:documentation>meter</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="ft".-->
+         <!--PROFILE: Deleted enumeration value="ftUS".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="WellVerticalCoordinateUom">
+      <xsd:annotation>
+         <xsd:documentation>The units of measure that are valid for vertical gravity based coordinates (i.e., elevation or vertical depth) within the context of a
+         well.</xsd:documentation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Moved</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m">
+            <xsd:annotation>
+               <xsd:documentation>meter</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <!--PROFILE: Deleted enumeration value="ft".-->
+         <!--PROFILE: Deleted enumeration value="ftUS".-->
+         <!--PROFILE: Deleted enumeration value="ftBr(65)".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type AccelerationLinearUom.-->
+   <!--UNUSED: Deleted type AnglePerLengthUom.-->
+   <!--UNUSED: Deleted type AnglePerTimeUom.-->
+   <!--UNUSED: Deleted type AreaUom.-->
+   <!--UNUSED: Deleted type AreaPerAreaUom.-->
+   <xsd:simpleType name="DensityUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:densityUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <!--PROFILE: Deleted enumeration value="kg/m3".-->
+         <!--PROFILE: Deleted enumeration value="10Mg/m3".-->
+         <!--PROFILE: Deleted enumeration value="dAPI".-->
+         <xsd:enumeration value="g/cm3" />
+         <!--PROFILE: Deleted enumeration value="g/dm3".-->
+         <!--PROFILE: Deleted enumeration value="g/galUK".-->
+         <!--PROFILE: Deleted enumeration value="g/galUS".-->
+         <!--PROFILE: Deleted enumeration value="g/L".-->
+         <!--PROFILE: Deleted enumeration value="g/m3".-->
+         <!--PROFILE: Deleted enumeration value="grain/ft3".-->
+         <!--PROFILE: Deleted enumeration value="grain/galUS".-->
+         <!--PROFILE: Deleted enumeration value="grain/100ft3".-->
+         <!--PROFILE: Deleted enumeration value="kg/dm3".-->
+         <!--PROFILE: Deleted enumeration value="kg/L".-->
+         <!--PROFILE: Deleted enumeration value="Mg/m3".-->
+         <!--PROFILE: Deleted enumeration value="lbm/10bbl".-->
+         <!--PROFILE: Deleted enumeration value="lbm/bbl".-->
+         <!--PROFILE: Deleted enumeration value="lbm/ft3".-->
+         <!--PROFILE: Deleted enumeration value="lbm/galUK".-->
+         <!--PROFILE: Deleted enumeration value="lbm/1000galUK".-->
+         <!--PROFILE: Deleted enumeration value="lbm/galUS".-->
+         <!--PROFILE: Deleted enumeration value="lbm/1000galUS".-->
+         <!--PROFILE: Deleted enumeration value="lbm/in3".-->
+         <!--PROFILE: Deleted enumeration value="lbm/Mbbl".-->
+         <!--PROFILE: Deleted enumeration value="mg/dm3".-->
+         <!--PROFILE: Deleted enumeration value="mg/galUS".-->
+         <!--PROFILE: Deleted enumeration value="mg/L".-->
+         <!--PROFILE: Deleted enumeration value="mg/m3".-->
+         <!--PROFILE: Deleted enumeration value="ug/cm3".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type DimensionlessUom.-->
+   <xsd:simpleType name="DynamicViscosityUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:dynamicViscosityUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="Pa.s" />
+         <xsd:enumeration value="cP" />
+         <xsd:enumeration value="P" />
+         <xsd:enumeration value="psi.s" />
+         <xsd:enumeration value="dyne.s/cm2" />
+         <xsd:enumeration value="kgf.s/m2" />
+         <xsd:enumeration value="lbf.s/ft2" />
+         <xsd:enumeration value="lbf.s/in2" />
+         <xsd:enumeration value="mPa.s" />
+         <xsd:enumeration value="N.s/m2" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type ElectricCurrentUom.-->
+   <!--UNUSED: Deleted type ElectricPotentialUom.-->
+   <!--UNUSED: Deleted type EquivalentPerMassUom.-->
+   <!--UNUSED: Deleted type ForceUom.-->
+   <!--UNUSED: Deleted type ForcePerLengthUom.-->
+   <!--UNUSED: Deleted type ForcePerVolumeUom.-->
+   <!--UNUSED: Deleted type IlluminanceUom.-->
+   <xsd:simpleType name="LengthUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:lengthUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m" />
+         <xsd:enumeration value="angstrom" />
+         <xsd:enumeration value="chBnA" />
+         <xsd:enumeration value="chBnB" />
+         <xsd:enumeration value="chCla" />
+         <xsd:enumeration value="chSe" />
+         <xsd:enumeration value="chUS" />
+         <xsd:enumeration value="cm" />
+         <xsd:enumeration value="dm" />
+         <xsd:enumeration value="fathom" />
+         <xsd:enumeration value="fm" />
+         <xsd:enumeration value="ft" />
+         <xsd:enumeration value="ftBnA" />
+         <xsd:enumeration value="ftBnB" />
+         <xsd:enumeration value="ftBr(65)" />
+         <xsd:enumeration value="ftCla" />
+         <xsd:enumeration value="ftGC" />
+         <xsd:enumeration value="ftInd" />
+         <xsd:enumeration value="ftInd(37)" />
+         <xsd:enumeration value="ftInd(62)" />
+         <xsd:enumeration value="ftInd(75)" />
+         <xsd:enumeration value="ftMA" />
+         <xsd:enumeration value="ftSe" />
+         <xsd:enumeration value="ftUS" />
+         <xsd:enumeration value="in" />
+         <xsd:enumeration value="in/10" />
+         <xsd:enumeration value="in/16" />
+         <xsd:enumeration value="in/32" />
+         <xsd:enumeration value="in/64" />
+         <xsd:enumeration value="inUS" />
+         <xsd:enumeration value="km" />
+         <xsd:enumeration value="lkBnA" />
+         <xsd:enumeration value="lkBnB" />
+         <xsd:enumeration value="lkCla" />
+         <xsd:enumeration value="lkSe" />
+         <xsd:enumeration value="lkUS" />
+         <xsd:enumeration value="mGer" />
+         <xsd:enumeration value="mi" />
+         <xsd:enumeration value="mil" />
+         <xsd:enumeration value="miUS" />
+         <xsd:enumeration value="mm" />
+         <xsd:enumeration value="Mm" />
+         <xsd:enumeration value="nautmi" />
+         <xsd:enumeration value="nm" />
+         <xsd:enumeration value="pm" />
+         <xsd:enumeration value="um" />
+         <xsd:enumeration value="yd" />
+         <xsd:enumeration value="ydBnA" />
+         <xsd:enumeration value="ydBnB" />
+         <xsd:enumeration value="ydCla" />
+         <xsd:enumeration value="ydIm" />
+         <xsd:enumeration value="ydInd" />
+         <xsd:enumeration value="ydInd(37)" />
+         <xsd:enumeration value="ydInd(62)" />
+         <xsd:enumeration value="ydInd(75)" />
+         <xsd:enumeration value="ydSe" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type LengthPerLengthUom.-->
+   <!--UNUSED: Deleted type MagneticInductionUom.-->
+   <!--UNUSED: Deleted type MassConcentrationUom.-->
+   <!--UNUSED: Deleted type MassUom.-->
+   <!--UNUSED: Deleted type MassPerLengthUom.-->
+   <!--UNUSED: Deleted type MomentOfForceUom.-->
+   <!--UNUSED: Deleted type PerLengthUom.-->
+   <xsd:simpleType name="PlaneAngleUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:planeAngleUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <!--PROFILE: Deleted enumeration value="rad".-->
+         <!--PROFILE: Deleted enumeration value="c".-->
+         <!--PROFILE: Deleted enumeration value="ccgr".-->
+         <!--PROFILE: Deleted enumeration value="cgr".-->
+         <xsd:enumeration value="dega" />
+         <!--PROFILE: Deleted enumeration value="gon".-->
+         <!--PROFILE: Deleted enumeration value="gr".-->
+         <!--PROFILE: Deleted enumeration value="Grad".-->
+         <!--PROFILE: Deleted enumeration value="krad".-->
+         <!--PROFILE: Deleted enumeration value="mila".-->
+         <!--PROFILE: Deleted enumeration value="mina".-->
+         <!--PROFILE: Deleted enumeration value="mrad".-->
+         <!--PROFILE: Deleted enumeration value="Mrad".-->
+         <!--PROFILE: Deleted enumeration value="mseca".-->
+         <!--PROFILE: Deleted enumeration value="seca".-->
+         <!--PROFILE: Deleted enumeration value="urad".-->
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type PowerUom.-->
+   <xsd:simpleType name="PressureUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:pressureUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="Pa" />
+         <xsd:enumeration value="at" />
+         <xsd:enumeration value="atm" />
+         <xsd:enumeration value="bar" />
+         <xsd:enumeration value="cmH2O(4degC)" />
+         <xsd:enumeration value="dyne/cm2" />
+         <xsd:enumeration value="GPa" />
+         <xsd:enumeration value="hbar" />
+         <xsd:enumeration value="inH2O(39.2F)" />
+         <xsd:enumeration value="inH2O(60F)" />
+         <xsd:enumeration value="inHg(32F)" />
+         <xsd:enumeration value="inHg(60F)" />
+         <xsd:enumeration value="kgf/cm2" />
+         <xsd:enumeration value="kgf/mm2" />
+         <xsd:enumeration value="kN/m2" />
+         <xsd:enumeration value="kPa" />
+         <xsd:enumeration value="kpsi" />
+         <xsd:enumeration value="lbf/ft2" />
+         <xsd:enumeration value="lbf/100ft2" />
+         <xsd:enumeration value="lbf/in2" />
+         <xsd:enumeration value="mbar" />
+         <xsd:enumeration value="mmHg(0C)" />
+         <xsd:enumeration value="mPa" />
+         <xsd:enumeration value="MPa" />
+         <xsd:enumeration value="Mpsi" />
+         <xsd:enumeration value="N/m2" />
+         <xsd:enumeration value="N/mm2" />
+         <xsd:enumeration value="Pa(g)" />
+         <xsd:enumeration value="pPa" />
+         <xsd:enumeration value="psi" />
+         <xsd:enumeration value="psia" />
+         <xsd:enumeration value="psig" />
+         <xsd:enumeration value="tonfUS/ft2" />
+         <xsd:enumeration value="tonfUS/in2" />
+         <xsd:enumeration value="torr" />
+         <xsd:enumeration value="ubar" />
+         <xsd:enumeration value="umHg(0C)" />
+         <xsd:enumeration value="uPa" />
+         <xsd:enumeration value="upsi" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type RelativePowerUom.-->
+   <!--UNUSED: Deleted type SpecificVolumeUom.-->
+   <!--UNUSED: Deleted type ThermodynamicTemperatureUom.-->
+   <xsd:simpleType name="TimeUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:timeUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="s" />
+         <xsd:enumeration value="a" />
+         <xsd:enumeration value="cs" />
+         <xsd:enumeration value="d" />
+         <xsd:enumeration value="Ga" />
+         <xsd:enumeration value="h" />
+         <xsd:enumeration value="100s" />
+         <xsd:enumeration value="Ma" />
+         <xsd:enumeration value="min" />
+         <xsd:enumeration value="ms" />
+         <xsd:enumeration value="ms/2" />
+         <xsd:enumeration value="ns" />
+         <xsd:enumeration value="ps" />
+         <xsd:enumeration value="us" />
+         <xsd:enumeration value="wk" />
+         <xsd:enumeration value="100ka" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <!--UNUSED: Deleted type VelocityUom.-->
+   <!--UNUSED: Deleted type VolumeUom.-->
+   <!--UNUSED: Deleted type VolumeFlowRateUom.-->
+   <xsd:simpleType name="VolumePerVolumeUom">
+      <xsd:annotation>
+         <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Renamed-from:volumePerVolumeUom</xsd:appinfo>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="Euc" />
+         <xsd:enumeration value="%" />
+         <xsd:enumeration value="permil" />
+         <xsd:enumeration value="ppdk" />
+         <xsd:enumeration value="ppk" />
+         <xsd:enumeration value="ppm" />
+         <xsd:enumeration value="bbl/acre.ft" />
+         <xsd:enumeration value="bbl/bbl" />
+         <xsd:enumeration value="bbl/ft3" />
+         <xsd:enumeration value="bbl/100bbl" />
+         <xsd:enumeration value="bbl/k(ft3)" />
+         <xsd:enumeration value="bbl/M(ft3)" />
+         <xsd:enumeration value="cm3/cm3" />
+         <xsd:enumeration value="cm3/m3" />
+         <xsd:enumeration value="dm3/m3" />
+         <xsd:enumeration value="ft3/bbl" />
+         <xsd:enumeration value="ft3/ft3" />
+         <xsd:enumeration value="galUS/kgalUS" />
+         <xsd:enumeration value="galUK/kgalUK" />
+         <xsd:enumeration value="galUK/ft3" />
+         <xsd:enumeration value="galUK/Mbbl" />
+         <xsd:enumeration value="galUS/bbl" />
+         <xsd:enumeration value="galUS/10bbl" />
+         <xsd:enumeration value="galUS/ft3" />
+         <xsd:enumeration value="galUS/Mbbl" />
+         <xsd:enumeration value="1000ft3/bbl" />
+         <xsd:enumeration value="ksm3/sm3" />
+         <xsd:enumeration value="L/10bbl" />
+         <xsd:enumeration value="L/m3" />
+         <xsd:enumeration value="m3/ha.m" />
+         <xsd:enumeration value="m3/m3" />
+         <xsd:enumeration value="M(ft3)/acre.ft" />
+         <xsd:enumeration value="mL/galUK" />
+         <xsd:enumeration value="mL/galUS" />
+         <xsd:enumeration value="mL/mL" />
+         <xsd:enumeration value="MMbbl/acre.ft" />
+         <xsd:enumeration value="MMscf60/stb60" />
+         <xsd:enumeration value="Mscf60/stb60" />
+         <xsd:enumeration value="ptUK/Mbbl" />
+         <xsd:enumeration value="ptUS/10bbl" />
+         <xsd:enumeration value="pu" />
+         <xsd:enumeration value="scm15/stb60" />
+         <xsd:enumeration value="sm3/ksm3" />
+         <xsd:enumeration value="sm3/sm3" />
+         <xsd:enumeration value="stb60/MMscf60" />
+         <xsd:enumeration value="stb60/MMscm15" />
+         <xsd:enumeration value="stb60/Mscf60" />
+         <xsd:enumeration value="stb60/Mscm15" />
+         <xsd:enumeration value="stb60/scm15" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="timestampedCommentString" final="#all">
+      <xsd:annotation>
+         <xsd:documentation>A timestamped textual long description.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractCommentString">
+            <xsd:attribute name="dTim" type="witsml:timestamp" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="lengthUomInch">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="in" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="lengthMeasureInch">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:lengthUomInch" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="lengthUomMilliMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="mm" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="lengthMeasureMilliMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:lengthUomMilliMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="lengthUomMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="lengthMeasureMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:lengthUomMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="UomPartPerMillion">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="ppm" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="massConcentrationMeasurePartPerMillion">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:UomPartPerMillion" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <!--UNUSED: Deleted type planeAngleUomDegreeOfAnAngle.-->
+   <xsd:simpleType name="pressureUomBar">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="bar" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="pressureMeasureBar">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:pressureUomBar" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="pressureUomMegaPascals">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="MPa" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="pressureMeasureMegaPascals">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:pressureUomMegaPascals" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="thermodynamicTemperatureUomCelsius">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="degC" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="thermodynamicTemperatureMeasureCelsius">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:thermodynamicTemperatureUomCelsius" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="timeUomHour">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="h" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="timeMeasureHour">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:timeUomHour" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="velocityUomMetresPerHour">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m/h" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="velocityMeasureMetresPerHour">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:velocityUomMetresPerHour" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeFlowRateUomCubicMetresPerDay">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m3/d" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeFlowRateMeasureCubicMetresPerDay">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeFlowRateUomCubicMetresPerDay" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeFlowRateUomMillionCubicMetresPerDay">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="M(m3)/d" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeFlowRateMeasureMillionCubicMetresPerDay">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeFlowRateUomMillionCubicMetresPerDay" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeUomCubicDeciMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="dm3" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeMeasureCubicDeciMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeUomCubicDeciMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumePerVolumeUomCubicMetresPerCubicMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m3/m3" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumePerVolumeMeasureCubicMetresPerCubicMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumePerVolumeUomCubicMetresPerCubicMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:complexType name="volumePerVolumeMeasurePartPerMillion">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:UomPartPerMillion" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeUomCubicMetre">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="m3" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeMeasureCubicMetre">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeUomCubicMetre" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="volumeMeasureUomMillionCubicMetres">
+      <xsd:restriction base="witsml:abstractUomEnum">
+         <xsd:enumeration value="M(m3)" />
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:complexType name="volumeMeasureMillionCubicMetres">
+      <xsd:simpleContent>
+         <xsd:extension base="witsml:abstractMeasure">
+            <xsd:attribute name="uom" type="witsml:volumeMeasureUomMillionCubicMetres" use="required" />
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+   <xsd:simpleType name="PhaseType">
+      <xsd:annotation>
+         <xsd:documentation>A CDRS operation class that is a class of drilling activities involving the use of new drilling equipment and techniqes.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="16" />
+         <xsd:enumeration value="fixed" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731817">
+            <xsd:annotation>
+               <xsd:documentation>To do drilling, completion, well-intervention or workover by use of traditional types of drilling equipment and techniques, like permanetly
+               installed and fixed rig and equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="snub" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731892">
+            <xsd:annotation>
+               <xsd:documentation>A snubbing activity performed by use of equipment not permanently installed on the platform as defined by cdrs</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="coil" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731742">
+            <xsd:annotation>
+               <xsd:documentation>To do by the use of a coiled tubing string and associated equipment for well-intervention, drilling or workover.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731577">
+            <xsd:annotation>
+               <xsd:documentation>A wire line activity using single-strand or multi-strand wire or cable for logging or intervention in oil or gas wellsas defined by
+               cdrs</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="bop test" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17731697">
+            <xsd:annotation>
+               <xsd:documentation>To test the BOP and other well control equipment and systems and related activities as defined by cdrs.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="MainActivityEvaluation">
+      <xsd:annotation>
+         <xsd:documentation>A cdrs operation class that is a class defined to be a main operation activity according to the activity outcome, i.e. indicating whether the activity
+         is accepted or failed.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractString">
+         <xsd:maxLength value="32" />
+         <xsd:enumeration value="ok" sawsdl:modelReference="http://193.212.132.108:8080/rdl_servlet/rdl_servlet?class/RDS17723567">
+            <xsd:annotation>
+               <xsd:documentation>To accept an operation which means to approve that the results of an operation fulfills the requirements set.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="fail" sawsdl:modelReference="http://193.212.132.108:8080/rdl_servlet/rdl_servlet?class/RDS17723642">
+            <xsd:annotation>
+               <xsd:documentation>To fail an operation which means not to achieve the goals of the operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="DominateCopmponentTypeNPD">
+      <xsd:annotation>
+         <xsd:documentation>The dominate component in the fluid sample.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractTypeEnum">
+         <xsd:enumeration value="oil">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="gas">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="water">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="condensate">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="filtrate">
+            <xsd:annotation>
+               <xsd:documentation />
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="ActivityCodeNPD">
+      <xsd:annotation>
+         <xsd:documentation>A daily drilling report operation class that is a class defined to be sub operation in the daily drilling report.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="witsml:abstractNameString">
+         <xsd:enumeration value="drilling -- drive" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730227">
+            <xsd:annotation>
+               <xsd:documentation>An activity implying jetting or driving of a conductor pipe.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- drill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730302">
+            <xsd:annotation>
+               <xsd:documentation>To drill by rotating a drill bit on bottom of a wellbore.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- hole open" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730407">
+            <xsd:annotation>
+               <xsd:documentation>To drill with the objective of enlarging a pilot hole by rotating a larger drill bit or a hole opener.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- underream" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729972">
+            <xsd:annotation>
+               <xsd:documentation>To drill with the objective of enlarging a pilot hole by rotating a underreamer.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- trip" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730047">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to tripping out and tripping into the bore hole during regular drilling.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- casing" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729927">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to making up and run casing assembly until cementing operation commence.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- bop/wellhead equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729807">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to install/run and remove/pull test guide bases, BOP's, risers, wear bushings and other wellhead equipment including testing
+               on the surface.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- pressure detection"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729882">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to all types of gas checks, flow checks, wireline formation testing (FIT) or packer tests to determine or confirm pore
+               pressure, short trips and circulating bottoms up to confirm sufficient mud weight for trip margin</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDSRDS17729627">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to routine circulating and conditioning, to raise mud weight based on positive indications of abnormal
+               pressure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- ream" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729702">
+            <xsd:annotation>
+               <xsd:documentation>To drill with the objective of correcting a key seat, a dog leg or enlarging a wellbore or section of a wellbore by rotating a larger drill bit
+               or a hole opener.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- survey" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729447">
+            <xsd:annotation>
+               <xsd:documentation>To run routine directional surveys during drilling, including any required circulation and/or trip associated with the survey</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- bop activities"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729522">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to BOP and hang off drills, review of kick procedures, testing of BOP's after installation on the wellhead, open hole pressure
+               integrity tests.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729402">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during drilling operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729252">
+            <xsd:annotation>
+               <xsd:documentation>To wait on cement (WOC), and all other drilling related waiting.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729327">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to preparation and riging up/down snubbing and coil tubing equipment, including pressure testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drilling -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729177">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised drilling related activities.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- transit" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730797">
+            <xsd:annotation>
+               <xsd:documentation>To move a rig between two locations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- anchor" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730452">
+            <xsd:annotation>
+               <xsd:documentation>An activity implying to run and retrieve anchors, adjusting initial anchor tensions and testing anchors.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- skid" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730527">
+            <xsd:annotation>
+               <xsd:documentation>To skid a rig or derrick from one well to another or from slot to slot if on a fixed installation, without dismantling the
+               structure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- jack" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730647">
+            <xsd:annotation>
+               <xsd:documentation>To jack a jack-up rig up (lift) or down (lower).</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="moving -- position" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17730152">
+            <xsd:annotation>
+               <xsd:documentation>To position a drilling rig</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- trip"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728952">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to tripping out and tripping into the bore hole during formation evaluation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729027">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to well conditioning prior to, during and after all formation evaluation operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- core"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17729102">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to core cutting and handling, and servicing the core barrel.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- log"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728772">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to wireline logging surveys, velocity surveys, sidewall core, thermo, caliper etc, including riging up and
+               down.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- rft/fit"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728727">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to core testing of well formation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- circulation samples"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728847">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulating to recover samples.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- drill stem test"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728577">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to drill stem tests, DST, including perforating, flow testing, shut in/build up periods, squeezing, wireline work, sampling
+               and any abandonment work specifically required by the drill stem test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- production test"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728457">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to production testing, including perforating, flow testing, shut in/build up periods, squeezing, wireline work, sampling and
+               any abandonment work specifically required by the production test.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- wait"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728532">
+            <xsd:annotation>
+               <xsd:documentation>To wait in relation to formation evaluation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728652">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to riging snubbing and coil tubing equipment up and down related to formation evaluation, including related pressure
+               testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="formation evaluation -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728247">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to formation evaluation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- bop/wellhead equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728322">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running/installing/testing/removing/retrieving BOPs, risers, spools, wellhead plugs and valves, X-mas trees
+               etc</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728202">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to rigging up/down and testing of wire line equipment (wl riser, wl BOP, lubricator etc.) plus the actual
+               running/landing/testing/pulling of wire line tools in connection with completion of a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728082">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of
+               well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- perforate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728157">
+            <xsd:annotation>
+               <xsd:documentation>Activities related running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line
+               equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- stimulate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727827">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to installation/testing/removal of equipment/surface lines for fracturing and/or acidizing purposes during completion plus the
+               actual carrying out of operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- flow" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727932">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to initial flow/clean up/flow test/build up of well after perforating/stimulating/temporary artificial lift during
+               completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- sand control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17728007">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to sand control during well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- test scsssv"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727647">
+            <xsd:annotation>
+               <xsd:documentation>To test SCSSSV during completion independently from the SCSSSV running procedure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- completion string"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726552">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to making up/testing/running/landing/pulling of the completion string /tailpipe and/or production tubing, including setting
+               and testing of production packer(s) run in conjunction with the string.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727602">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727407">
+            <xsd:annotation>
+               <xsd:documentation>To wait as part of or induced by completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727482">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down related to completion, including pressure
+               testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- hydraulic workover">
+            <xsd:annotation>
+               <xsd:documentation>Covers the servicing of a well that is/is not under pressure, i.e. rigging up/down and testing of the workover unit plus the actual
+               running/pulling of pipe/tubing. Includes snubbing and coiled tubing operations</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="completion -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727557">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- bop/wellhead equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727227">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running/installing/testing/removing/retrieving BOPs, risers, spools, wellhead plugs and valves, X-mas trees
+               etc</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- wire line" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727302">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to rigging up/down and testing of wire line equipment (wl riser, wl BOP, lubricator etc.) plus the actual
+               running/landing/testing/pulling of wire line tools in connection with completion of a well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727047">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of
+               well.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- perforate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727122">
+            <xsd:annotation>
+               <xsd:documentation>Activities related running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line
+               equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- stimulate" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726957">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to installation/testing/removal of equipment/surface lines for fracturing and/or acidizing purposes during completion plus the
+               actual carrying out of operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- flow" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726807">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to initial flow/clean up/flow test/build up of well after perforating/stimulating/temporary artificial lift during
+               completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- sand control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726882">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to sand control during well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- test scsssv" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17727002">
+            <xsd:annotation>
+               <xsd:documentation>To test SCSSSV during completion independently from the SCSSSV running procedure.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- completion string"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726552">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to making up/testing/running/landing/pulling of the completion string /tailpipe and/or production tubing, including setting
+               and testing of production packer(s) run in conjunction with the string.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726627">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726702">
+            <xsd:annotation>
+               <xsd:documentation>To wait as part of or induced by completion operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- rig up/down" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726297">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down related to completion, including pressure
+               testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- hydraulic workover">
+            <xsd:annotation>
+               <xsd:documentation>Covers the servicing of a well that is/is not under pressure, i.e. rigging up/down and testing of the workover unit plus the actual
+               running/pulling of pipe/tubing. Includes snubbing and coiled tubing operations</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="workover -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726372">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to well completion.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- trip" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726447">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to tripping out and tripping into the bore hole during plug and abandon operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- circulating conditioning"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726222">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to circulation/conditioning/displacement of drilling/completion/workover fluid and planned killing of well in connection with
+               plugging and abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- perforate"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726027">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running/firing/pulling of perforating guns/detonating bar and related rigging up/down and testing of wire line equipment in
+               connection with plugging and abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- cement plug"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726102">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to pumping cement and setting abandonment plugs, including time to reverse out cement and to test the
+               plugs.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- mechanical plug"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17726177">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to running, setting and testing mechanical plugs.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- squeeze" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725952">
+            <xsd:annotation>
+               <xsd:documentation>The careful application of pump pressure to force a cement slurry into the formation around the casing shoe or annulus.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- cut" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725757">
+            <xsd:annotation>
+               <xsd:documentation>To cut a casing in the wellbore</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- equipment recovery"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725832">
+            <xsd:annotation>
+               <xsd:documentation>To recover casing, tools, conductor housings, subsea wellheads, BOP, guide bases, etc.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725907">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during operations for plugging and
+               abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725472">
+            <xsd:annotation>
+               <xsd:documentation>To wait as part of or induced by plugging and abandonment operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725547">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down in connection with plugging and abandonment, including
+               pressure testing.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="plug abandon -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725622">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to well plugging and abandonment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- maintain"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725427">
+            <xsd:annotation>
+               <xsd:documentation>To maintain the drilling rig and its associated equipment, e.g. cutting and slipping of the drill line, including all maintenance work in
+               connection with casing and wellhead, drill string, completion string, formation evaluation equipment and surface/subsea BOP equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- repair" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725307">
+            <xsd:annotation>
+               <xsd:documentation>To repair the drilling rig and its associated equipment including third party equipment, and all repair work in connection with casing and
+               wellhead, drill string, completion string, formation evaluation equipment and surface/subsea BOP equipment.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- fish" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725382">
+            <xsd:annotation>
+               <xsd:documentation>To retrive anything lost or left in the wellbore</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- well control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725127">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to control and removal of formation fluids which have entered the well bore, including circulating the formation fluids,
+               changing mud weight to control the influx, mixing or conditioning drilling fluids, and hole conditioning required because of the fluid entry. Includes all trips
+               required to regain control of the well, as well as all steps to terminate the well if required.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- lost circulation"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725202">
+            <xsd:annotation>
+               <xsd:documentation>To regain circulation, including mixing and spotting of plugs, trips, squeezes and waiting related to the lost circulation
+               operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- sidetrack"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724902">
+            <xsd:annotation>
+               <xsd:documentation>Interruption of drilling operation to prepare and carry out sidetrack operation.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- mill" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724977">
+            <xsd:annotation>
+               <xsd:documentation>To mill or to grind to remove junk in the hole or to grind away all or part of a casing string during an interruption of the
+               drilling.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- waiting on weather"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17725052">
+            <xsd:annotation>
+               <xsd:documentation>To wait due to inappropriate weather conditions for resuming drilling operations.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- wait" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724557">
+            <xsd:annotation>
+               <xsd:documentation>To wait</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- rig up/down"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724632">
+            <xsd:annotation>
+               <xsd:documentation>Activities related to prepartion and riging snubbing and coil tubing equipment up and down including pressure testing, in connection with
+               drilling interruption.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="interruption -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17724707">
+            <xsd:annotation>
+               <xsd:documentation>Uncategorised activities related to drilling interruption.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+   <xsd:simpleType name="EquipmentCodeNPD">
+      <xsd:restriction base="witsml:abstractNameString">
+         <xsd:enumeration value="drill floor -- drilling control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771504">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as drilling control equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- draw works"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771579">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as drilling drawworks equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- rotary table"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771654">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as rotary table equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- tensioning syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771024">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as tensioning system equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- hp air syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771099">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as high pressure air system equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- wirelines"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS375963941">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as wireline equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drill floor -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771174">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other drillfloor equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- derrick structure"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771249">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be derrick structure equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- crown block"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17771324">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined as crown block equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- travelling block"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770649">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be travelling block equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- heave compensator"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770724">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be heave compensator equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770799">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other hoisting equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="hosting equ -- top drive"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770874">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a classdefined to be top drive equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- vertical pipe handling equ syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770979">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be vertical pipe handling equipment/system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- drill floor tube handl syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770274">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drillfloor tube handling equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- power packs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770349">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drilling power pack equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- slips and spiders"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770424">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class that is defined to be slips and speider equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- elevator"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770499">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be pipe elevator system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- manual tong"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17770604">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be manual tong equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="pipe handling equ syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776079">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other pipe handling equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- bulk storage transfer"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776154">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud bulk storage and transfer equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- bulk air system"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776259">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be bulk air equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud additive syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776334">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud additive equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud mixing storage"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776409">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud mixing and storage equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud supply"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775959">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud supply equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- mud solids control"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775764">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud solids control equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- drill water syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775839">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drilling water equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- hp equipment"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775914">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be high pressure mud equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="mud and bulk syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17776034">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other mud and bulk equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- bop stack"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775404">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be bop stack equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- bop control syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775479">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be blow out preventer control system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- shallow gas stack"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775584">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be shallow gas stack equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- diverter"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775659">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be diverter equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- riser syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775254">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be riser system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- choke/kill syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775059">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be choke and kill system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="well control equ syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775134">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other well control equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- drillpipes"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775209">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drillpipe equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- drillcollars"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17775329">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be drill colar equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- subs and lift plugs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774909">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be sub and lift plug equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- stabilizer"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774714">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be stabilizer equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- downhole drilling tools"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774789">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be downhole drilling tool equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- fishing tools"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774864">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be fishing tool equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- misc drillstring equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774984">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be miscellaneous drillstring equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="drillstring downhole -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774354">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other drillstring and downhole equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- cementing unit"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774429">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be cementing unit equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- well testing equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774504">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be well testing equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- mud logging equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774609">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be mud logging equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- electr logging equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774234">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be electrical logging equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- special service equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774039">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be special service equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- wellhead tubular equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774114">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be wellhead and tubular equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="service equ -- other" sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774189">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other service equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- deck cranes"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17774309">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be deck crane equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- overhead cranes"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773604">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be overhead crane equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- monorail syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773679">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be monorail equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- bop transport syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773754">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be Blow Out Preventer transport equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- utility winchs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773859">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be utility winch equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- anchor syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773934">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be anchor system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="material handling syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773484">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other material handling equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- wellhead subsea run test"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773334">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be wellhead and subsea run and test equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- subsea inspection syst"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773409">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be subsea inspection system equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- acoustic position ref"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773529">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be acoustic position reference equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- misc instr and auxil equ"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773229">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be miscellaneous instrument and auxiliary equipment on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- hydr pneum power packs"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17772989">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be hydraulic or pneumatic power pack system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+         <xsd:enumeration value="miscellaneous equ syst -- other"
+         sawsdl:modelReference="http://rds.posccaesar.org/2009/03/XML/RDL/RDS17773064">
+            <xsd:annotation>
+               <xsd:documentation>A CDRS equipment class that is a class defined to be other miscellaneous system on a drilling rig.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:enumeration>
+      </xsd:restriction>
+   </xsd:simpleType>
+</xsd:schema>
Index: projects/DailyDrillingReport_1.2/XML/sub_abstractSubstitutionGroup.xsd
===================================================================
--- projects/DailyDrillingReport_1.2/XML/sub_abstractSubstitutionGroup.xsd (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/sub_abstractSubstitutionGroup.xsd (revision 130)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema 
+	elementFormDefault="qualified"
+	attributeFormDefault="unqualified"
+	targetNamespace="http://www.energistics.org/schemas/abstract"
+	xmlns:abs="http://www.energistics.org/schemas/abstract"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	version="1.0.0">
+
+	<!-- Energistics License Agreement
+	This file is distributed under the Energistics License Agreement at
+	http://www.energistics.org
+	Use of this file constitutes agreement with the Energistics License Agreement.
+	Copyright (c) 2008 Energistics. All rights reserved.
+	Energistics, WITSML, PRODML and RESQML are trademarks or registered trademarks of Energistics.
+	-->
+	<!--                                                         -->
+	<xsd:element name="abstractDataObject" type="abs:abstractObject" abstract="true">
+		<xsd:annotation>
+			<xsd:documentation>Substitution group for normative data objects.</xsd:documentation>
+		</xsd:annotation>
+	</xsd:element>
+	<!--                                                         -->
+	<xsd:element name="abstractContextualObject" type="abs:abstractObject" abstract="true">
+		<xsd:annotation>
+			<xsd:documentation>Substitution group for contextual objects.</xsd:documentation>
+		</xsd:annotation>
+	</xsd:element>
+	<!--                                                         -->
+	<xsd:complexType name="abstractObject" abstract="true">
+		<xsd:annotation>
+			<xsd:documentation>The intended abstract supertype of all schema roots 
+			that may be a member of a substitution group (whether contextual or data).
+			The type of root global elements should be extended from this type and the 
+			root global element should be declared to be a member of one of the above substitution groups.</xsd:documentation>
+		</xsd:annotation>
+	</xsd:complexType>
+	<!--                                                         -->
+</xsd:schema>
Index: projects/DailyDrillingReport_1.2/XML/additions.xsd
===================================================================
--- projects/DailyDrillingReport_1.2/XML/additions.xsd (revision 130)
+++ projects/DailyDrillingReport_1.2/XML/additions.xsd (revision 130)
@@ -0,0 +1,909 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsd:schema xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:abs="http://www.energistics.org/schemas/abstract" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.witsml.org/schemas/1series">
+	<xsd:import namespace="http://www.energistics.org/schemas/abstract" schemaLocation="sub_abstractSubstitutionGroup.xsd"/>
+	<xsd:annotation>
+		<xsd:documentation>Additions to - WITSML - Daily Drillling Report - Norwegian Profile</xsd:documentation>
+	</xsd:annotation>
+	<!-- This is elements that will be added to WITSML_drillReport_profiled_schema.xsd -->
+	<!-- Addition to header ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="header">
+		<xsd:annotation>
+			<xsd:documentation>Information about this report.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>
+					<xsd:element name="periodOfOperation" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Period of operation.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<!-- Exist in report
+					<xsd:element name="periodeOfReporting" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+						   <xsd:documentation>Period of reporting (concations of start and end date.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element> -->
+					<xsd:element name="reportNo" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Sequence number of daily drilling report.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="tightWell" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Indicates if a well is tight or not.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="hpht" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Indicates if a wellbore is classified as HPHT (High Pressure - High Temperature) or not.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="avgPresBH" type="witsml:pressureMeasurePsig" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Averagae bottomhole pressure (psig).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="expTempBH" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>A bottomhole temperature that is the expected bottomhole temperature (c).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="rigType" type="witsml:rigTypes" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>A daily drilling report class that classifies rig types.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="msl" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Mean sea level (m).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<!-- Rig types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="rigTypes">
+		<xsd:annotation>
+			<xsd:documentation>The classification of rig types.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="f">
+				<xsd:annotation>
+					<xsd:documentation>Fixed rig</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>Movable rig</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- added to report (calculated field)
+	<xsd:complexType name="lithology">
+		<xsd:annotation>
+			<xsd:documentation>Information about lithology.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>	
+					<xsd:element name="diffMDDirSurveyToEndLithology" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+						   <xsd:documentation>Difference between a measured depth to directional survey point and 
+						   a meassured depth at end lithology interval relative to rkb (m).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="diffTVDTopLithologyToEndLithology" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Difference between a tru vertical depth at top litholog interval and 
+							a true vertical depth at bottom lithology interval relative to rkb (m).</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType> -->
+	
+	<!-- Addition to activity ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_activity">
+		<xsd:annotation>
+			<xsd:documentation>Information about activity.</xsd:documentation>
+		</xsd:annotation>
+		<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:complexType>
+	
+	<!-- Addition to Perforation EXIST IN REPORT?-->
+	<xsd:complexType name="perforation">
+		<xsd:annotation>
+			<xsd:documentation>Information about perforation.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:element name="durOpenWell" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1">
+					<xsd:annotation>
+						<xsd:documentation>Duration of open well perforation interal (hrs).</xsd:documentation>
+					</xsd:annotation>
+				</xsd:element>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<!-- Tubular information ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_stimTubular">
+		<xsd:annotation>
+			<xsd:documentation>In a production enhancement job, this item constitutes the data for a tubular in the hole.</xsd:documentation>
+			<xsd:appinfo>Modified-in-version=1.4.1, By-issue=W-CR-010, Change=Added</xsd:appinfo>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<xsd:element name="type" type="witsml:tubularTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The type of tubular (e.g., casing, tubing, liner, packer, open hole, other).</xsd:documentation>
+				</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="id" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The inside diameter of the tubular used.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="od" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The outside diameter of the tubular used.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="weight" type="witsml:massPerLengthMeasurePoundsMassPerFoot" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The weight per length of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="grade" type="witsml:grade_CHECK" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Nominal grade.</xsd:documentation>
+					<!-- Needed: Added element grade -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="connection" type="witsml:connection_CHECK" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Nominal connection.</xsd:documentation>
+					<!-- Needed: Added element connection -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="length" type="witsml:lengthMeasureMetre" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Length measured along string.</xsd:documentation>
+					<!-- Needed: Added element length -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of the top of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="mdBottom" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The measured depth of the bottom of the tubular.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: deleted element tvdTop -->
+			<!-- Profile: deleted element tvdBottom -->
+			<!-- Profile: deleted element volumeFactor -->
+			<!-- Profile: deleted element extensionNameValue -->
+		</xsd:sequence>
+		<!-- Unused: deleted element attgrp_uid -->
+	</xsd:complexType>
+	
+	<!-- Tubular types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="tubularTypes">
+		<xsd:annotation>
+			<xsd:documentation>The type of pipes, used to determant which type of pipe this post is about.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="c">
+				<xsd:annotation>
+					<xsd:documentation>Casing</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="l">
+				<xsd:annotation>
+					<xsd:documentation>Liner</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="t">
+				<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>
+		</xsd:restriction>
+	</xsd:simpleType>
+	
+	<!-- Casing type ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="casingTypes">
+		<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:annotation>
+					<xsd:documentation>Top</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="i">
+				<xsd:annotation>
+					<xsd:documentation>Intermediate</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="p">
+				<xsd:annotation>
+					<xsd:documentation>Production</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	
+	<!-- Addition to Bit data ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_bitRecord">
+		<xsd:annotation>
+			<xsd:documentation>Information about bit data</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="abs:abstractObject">
+				<xsd:sequence>
+					<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">
+						<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>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<!-- Cement job ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_cementStage">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Cement Stage Component Schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<!-- Profile: Deleted element numStage -->
+			<!-- Profile: Deleted element typeStage -->
+			<!-- Profile: Deleted element dTimMixStart -->
+			<xsd:element name="dTimPumpStart" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Datetime at start of pumping cement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dTimPumpEnd" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Datetime at end of pumping cement.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="jobType" type="witsml:cementJobTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Job types (eg. Casing and liner, Cement squeeze, Cement plug).</xsd:documentation>
+					<!-- Missing: Added element jobType -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="casingStrDia" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Casing string diameter of the casing cement (in).</xsd:documentation>
+					<!-- Missing: Added element casingStrDia -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>A comment for a cement job.</xsd:documentation>
+					<!-- Missing: Added element comment -->
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element dTimDisplaceStart -->
+			<!-- Profile: Deleted element mdTop -->
+			<!-- Profile: Deleted element mdBottom -->
+			<!-- Profile: Deleted element volExcess -->
+			<!-- Profile: Deleted element flowrateDisplaceAv -->
+			<!-- Profile: Deleted element flowrateDisplaceMx -->
+			<!-- Profile: Deleted element presDisplace -->
+			<xsd:element name="volReturns" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Volume of returns.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element eTimMudCirculation -->
+			<!-- Profile: Deleted element flowrateMudCirc -->
+			<!-- Profile: Deleted element presMudCirc -->
+			<!-- Profile: Deleted element flowrateEnd -->
+			<!-- Profile: Deleted element cementingFluid -->
+			<!-- Profile: Deleted element afterFlowAnn -->
+			<!-- Profile: Deleted element squeezeObj -->
+			<!-- Profile: Deleted element squeezeObtained -->
+			<!-- Profile: Deleted element mdString -->
+			<!-- Profile: Deleted element mdTool -->
+			<!-- Profile: Deleted element mdCoilTbg -->
+			<!-- Profile: Deleted element volCsgIn -->
+			<!-- Profile: Deleted element volCsgOut -->
+			<!-- Profile: Deleted element tailPipeUsed -->
+			<!-- Profile: Deleted element diaTailPipe -->
+			<!-- Profile: Deleted element tailPipePerf -->
+			<!-- Profile: Deleted element presTbgStart -->
+			<!-- Profile: Deleted element presTbgEnd -->
+			<!-- Profile: Deleted element presCsgStart -->
+			<!-- Profile: Deleted element presCsgEnd -->
+			<!-- Profile: Deleted element presBackPressure -->
+			<!-- Profile: Deleted element presCoilTbgStart -->
+			<!-- Profile: Deleted element presCoilTbgEnd -->
+			<!-- Profile: Deleted element presBreakDown -->
+			<!-- Profile: Deleted element flowrateBreakDown -->
+			<!-- Profile: Deleted element presSqueezeAv -->
+			<!-- Profile: Deleted element presSqueezeEnd -->
+			<!-- Profile: Deleted element presSqueezeHeld -->
+			<!-- Profile: Deleted element presSqueeze -->
+			<xsd:element name="eTimPresHeld" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Time pressure held.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element flowrateSqueezeAv -->
+			<!-- Profile: Deleted element flowrateSqueezeMx -->
+			<!-- Profile: Deleted element flowratePumpStart -->
+			<!-- Profile: Deleted element flowratePumpEnd -->
+			<!-- Profile: Deleted element pillBelowPlug -->
+			<!-- Profile: Deleted element plugCatcher -->
+			<!-- Profile: Deleted element mdCircOut -->
+			<!-- Profile: Deleted element volCircPrior -->
+			<!-- Profile: Deleted element typeOriginalMud -->
+			<!-- Profile: Deleted element wtMud -->
+			<!-- Profile: Deleted element visFunnelMud -->
+			<!-- Profile: Deleted element pvMud -->
+			<!-- Profile: Deleted element ypMud -->
+			<!-- Profile: Deleted element gel10Sec -->
+			<!-- Profile: Deleted element gel10Min -->
+			<!-- Profile: Deleted element tempBHCT -->
+			<!-- Profile: Deleted element tempBHST -->
+			<!-- Profile: Deleted element volExcessMethod -->
+			<!-- Profile: Deleted element mixMethod -->
+			<!-- Profile: Deleted element densMeasBy -->
+			<xsd:element name="annFlowAfter" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid returns. Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="topPlug" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Top plug used? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="botPlug" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Bottom plug used. Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element botPlugNumber -->
+			<xsd:element name="plugBumped" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Plug bumped? Values are "true" (or "1") and "false" (or "0").</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element presPriorBump -->
+			<xsd:element name="presBump" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Pressure plug bumped.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="reciprocated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Pipe being reciprocated. values are "true"(1) and "false"(0).</xsd:documentation>
+					<!-- Missing: Added element reciprocated -->
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="rotated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Casing string being rotated. Values are "true(1) and "false"(0).</xsd:documentation>
+					<!-- Missing: Added element rotated -->
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element presHeld -->
+			<!-- Profile: Deleted element floatHeld -->
+			<!-- Profile: Deleted element volMudLost -->
+			<!-- Profile: Deleted element fluidDisplace -->
+			<!-- Profile: Deleted element densDisplaceFluid -->
+			<!-- Profile: Deleted element volDisplaceFluid -->
+			<!-- Profile: Deleted element extensionNameValue -->
+		</xsd:sequence>
+		<!-- Unused: Deleted element attgrp_uid -->
+	</xsd:complexType>
+	
+	<!-- Cement job types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="cementJobTypes">
+		<xsd:annotation>
+			<xsd:documentation>The Classification of cement jobs</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="cl">
+				<xsd:annotation>
+					<xsd:documentation>Casing and liner</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="cs">
+				<xsd:annotation>
+					<xsd:documentation>Cement squeeze</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="cp">
+				<xsd:annotation>
+					<xsd:documentation>Cement plug</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- Addition to Cementing fluid ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:complexType name="cs_cementingFluid">
+		<xsd:annotation>
+			<xsd:documentation>WITSML - Cementing Fluid Component Schema</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence minOccurs="0">
+			<xsd:element name="typeFluid" type="witsml:fluidTypes" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid type: Mud, Wash, Spacer, Slurry.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element fluidIndex -->
+			<xsd:element name="descFluid" type="witsml:shortDescriptionString" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid description.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element purpose -->
+			<!-- Profile: Deleted element classSlurryDryBlend -->
+			<!-- Profile: Deleted element mdFluidTop -->
+			<!-- Profile: Deleted element mdFluidBottom -->
+			<!-- Profile: Deleted element sourceWater -->
+			<!-- Profile: Deleted element volWater -->
+			<!-- Profile: Deleted element volCement -->
+			<xsd:element name="ratioMixWater" type="witsml:specificVolumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Mix Water Ratio.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element volFluid -->
+			<!-- Profile: Deleted element cementPumpSchedule -->
+			<!-- Profile: Deleted element excessPc -->
+			<!-- Profile: Deleted element volYield -->
+			<xsd:element name="density" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Fluid density.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element solidVolumeFraction -->
+			<xsd:element name="volPumped" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Volume Pumped.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element volOther -->
+			<!-- Profile: Deleted element fluidRheologicalModel -->
+			<!-- Profile: Deleted element vis -->
+			<xsd:element name="yp" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element n -->
+			<!-- Profile: Deleted element k -->
+			<!-- Profile: Deleted element gel10SecReading -->
+			<!-- Profile: Deleted element gel10SecStrength -->
+			<!-- Profile: Deleted element gel1MinReading -->
+			<!-- Profile: Deleted element gel1MinStrength -->
+			<!-- Profile: Deleted element gel10MinReading -->
+			<!-- Profile: Deleted element gel10MinStrength -->
+			<!-- Profile: Deleted element typeBaseFluid -->
+			<!-- Profile: Deleted element densBaseFluid -->
+			<!-- Profile: Deleted element dryBlendName -->
+			<!-- Profile: Deleted element dryBlendDescription -->
+			<!-- Profile: Deleted element massDryBlend -->
+			<!-- Profile: Deleted element densDryBlend -->
+			<!-- Profile: Deleted element massSackDryBlend -->
+			<!-- Profile: Deleted element cementAdditive -->
+			<!-- Profile: Deleted element foamUsed -->
+			<!-- Profile: Deleted element typeGasFoam -->
+			<!-- Profile: Deleted element volGasFoam -->
+			<!-- Profile: Deleted element ratioConstGasMethodAv -->
+			<!-- Profile: Deleted element densConstGasMethod -->
+			<!-- Profile: Deleted element ratioConstGasMethodStart -->
+			<!-- Profile: Deleted element ratioConstGasMethodEnd -->
+			<!-- Profile: Deleted element densConstGasFoam -->
+			<xsd:element name="eTimThickening" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Test thickening time.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element tempThickening -->
+			<!-- Profile: Deleted element presTestThickening -->
+			<!-- Profile: Deleted element consTestThickening -->
+			<xsd:element name="pcFreeWater" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>Test free water na: = mL/250ML.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<!-- Profile: Deleted element tempFreeWater -->
+			<!-- Profile: Deleted element volTestFluidLoss -->
+			<!-- Profile: Deleted element tempFluidLoss -->
+			<!-- Profile: Deleted element presTestFluidLoss -->
+			<!-- Profile: Deleted element timeFluidLoss -->
+			<!-- Profile: Deleted element volAPIFluidLoss -->
+			<!-- Profile: Deleted element eTimComprStren1 -->
+			<!-- Profile: Deleted element eTimComprStren2 -->
+			<!-- Profile: Deleted element presComprStren1 -->
+			<!-- Profile: Deleted element presComprStren2 -->
+			<!-- Profile: Deleted element tempComprStren1 -->
+			<!-- Profile: Deleted element tempComprStren2 -->
+			<!-- Profile: Deleted element densAtPres -->
+			<!-- Profile: Deleted element volReserved -->
+			<!-- Profile: Deleted element volTotSlurry -->
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	<!-- Fluid types ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="fluidTypes">
+		<xsd:annotation>
+			<xsd:documentation>The Classification of cement fluids</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base="witsml:abstractTypeEnum">
+			<xsd:enumeration value="m">
+				<xsd:annotation>
+					<xsd:documentation>Mud</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="w">
+				<xsd:annotation>
+					<xsd:documentation>Wash</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sp">
+				<xsd:annotation>
+					<xsd:documentation>Spacer</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+			<xsd:enumeration value="sl">
+				<xsd:annotation>
+					<xsd:documentation>Slurry</xsd:documentation>
+				</xsd:annotation>
+			</xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!-- Addition to Measure definitions ADDED TO PROFILE 07/02 - 2011-->
+	<xsd:simpleType name="anglePerTimeUomRpm">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="rpm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="anglePerTimeMeasureRpm">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:anglePerTimeUomRpm" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="areaUomSquareInch">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="areaMeasureSquareInch">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:areaUomSquareInch" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="massPerLengthUomPoundsPerFoot">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="lbm/ft"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="massPerLengthMeasurePoundsMassPerFoot">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:massPerLengthUomPoundsMassPerFoot" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="pressureUomPsig">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="psig"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="pressureMeasurePsig">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:pressureUomPsig" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="specificVolumeUomCubicFeetPer94PoundSack">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="ft3/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="specificVolumeMeasureCubicFeetPer94PoundSack">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:specificVolumeUomCubicFeetPer94PoundSack" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="specificVolumeUomUsGallonsPerSack94">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="galUS/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="specificVolumeMeasureUsGallonsPerSack94">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:specificVolumeUomUsGallonsPerSack94" use="required"/>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUomCubicMeterPerMin">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/min"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeFlowRateMeasureCubicMeterPerMin">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUomCubicMeterPerMin" use="required"/>
+			</xsd:extension>
+		</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:simpleType name="anglePerTimeUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="rpm"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="areaMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:areaUom" 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:simpleType name="massPerLengthUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="in2"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="massPerLengthMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:massPerLengthUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:massPerLengthUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="massPerLengthUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="lbm/ft"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<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:specificVolumeUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="specificVolumeUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="ft3/sack94"/>
+			<xsd:enumeration value="galUS/sack94"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="volumeFlowRateMeasure">
+		<xsd:simpleContent>
+			<xsd:extension base="witsml:abstractMeasure">
+				<xsd:attribute name="uom" type="witsml:volumeFlowRateUom" use="required">
+					<xsd:annotation>
+						<xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-86, Change=Changed-type-from:volumeFlowRateUom</xsd:appinfo>
+					</xsd:annotation>
+				</xsd:attribute>
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="volumeFlowRateUom">
+		<xsd:restriction base="witsml:abstractUomEnum">
+			<xsd:enumeration value="m3/min"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>
