Show
Ignore:
Timestamp:
03/08/11 14:52:29 (13 years ago)
Author:
yaolu
Message:

Uptaded these files according to suggestions from energistics

Location:
projects/DailyDrillingReport_1.2/XML/HTMLreport
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd

    r142 r146  
    2222        <!--UNUSED: Deleted type attgrp_objectUid. Contents copied where needed.--> 
    2323        <!--UNUSED: Deleted type attgrp_uid. Contents copied where needed.--> 
    24         <!-- ADDED 07/02-2011 --> 
    25         <!-- Header --> 
    26         <xsd:complexType name="reportHeader"> 
    27                 <xsd:annotation> 
    28                         <xsd:documentation>Information about this report.</xsd:documentation> 
    29                 </xsd:annotation> 
    30                 <xsd:complexContent> 
    31                         <xsd:extension base="abs:abstractObject"> 
    32                                 <xsd:sequence> 
    33                                         <xsd:element name="periodOfOperation" type="witsml:descriptionString" minOccurs="0" maxOccurs="1"> 
    34                                                 <xsd:annotation> 
    35                                                         <xsd:documentation>Period of operation.</xsd:documentation> 
    36                                                 </xsd:annotation> 
    37                                         </xsd:element> 
    38                                         <xsd:element name="reportNo" type="witsml:positiveCount" minOccurs="0" maxOccurs="1"> 
    39                                                 <xsd:annotation> 
    40                                                         <xsd:documentation>Sequence number of daily drilling report.</xsd:documentation> 
    41                                                 </xsd:annotation> 
    42                                         </xsd:element> 
    43                                         <xsd:element name="tightWell" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 
    44                                                 <xsd:annotation> 
    45                                                         <xsd:documentation>Indicates if a well is tight or not.</xsd:documentation> 
    46                                                 </xsd:annotation> 
    47                                         </xsd:element> 
    48                                         <xsd:element name="hpht" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 
    49                                                 <xsd:annotation> 
    50                                                         <xsd:documentation>Indicates if a wellbore is classified as HPHT (High Pressure - High Temperature) or not.</xsd:documentation> 
    51                                                 </xsd:annotation> 
    52                                         </xsd:element> 
    53                                         <xsd:element name="avgPresBH" type="witsml:pressureMeasurePsig" minOccurs="0" maxOccurs="1"> 
    54                                                 <xsd:annotation> 
    55                                                         <xsd:documentation>Averagae bottomhole pressure (psig).</xsd:documentation> 
    56                                                 </xsd:annotation> 
    57                                         </xsd:element> 
    58                                         <xsd:element name="expTempBH" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" 
    59                                                  maxOccurs="1"> 
    60                                                 <xsd:annotation> 
    61                                                         <xsd:documentation>A bottomhole temperature that is the expected bottomhole temperature (c).</xsd:documentation> 
    62                                                 </xsd:annotation> 
    63                                         </xsd:element> 
    64                                         <xsd:element name="rigType" type="witsml:rigTypes" minOccurs="0" maxOccurs="1"> 
    65                                                 <xsd:annotation> 
    66                                                         <xsd:documentation>A daily drilling report class that classifies rig types.</xsd:documentation> 
    67                                                 </xsd:annotation> 
    68                                         </xsd:element> 
    69                                 </xsd:sequence> 
    70                         </xsd:extension> 
    71                 </xsd:complexContent> 
    72         </xsd:complexType> 
    73         <!-- Rig types --> 
    74         <xsd:simpleType name="rigTypes"> 
    75                 <xsd:annotation> 
    76                         <xsd:documentation>The classification of rig types.</xsd:documentation> 
    77                 </xsd:annotation> 
    78                 <xsd:restriction base="witsml:abstractTypeEnum"> 
    79                         <xsd:enumeration value="Fixed rig"> 
    80                                 <xsd:annotation> 
    81                                         <xsd:documentation>Fixed rig</xsd:documentation> 
    82                                 </xsd:annotation> 
    83                         </xsd:enumeration> 
    84                         <xsd:enumeration value="Movable rig"> 
    85                                 <xsd:annotation> 
    86                                         <xsd:documentation>Movable rig</xsd:documentation> 
    87                                 </xsd:annotation> 
    88                         </xsd:enumeration> 
    89                 </xsd:restriction> 
    90         </xsd:simpleType> 
    91         <!-- END ADDED 07/02-2011 --> 
    9224        <xsd:complexType name="cs_activity"> 
    9325                <xsd:annotation> 
     
    14577                                </xsd:annotation> 
    14678                        </xsd:element> 
    147                         <!-- Added 07/02 - 2011 --> 
    14879                        <xsd:element name="mdHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"> 
    14980                                <xsd:annotation> 
     
    15687                                </xsd:annotation> 
    15788                        </xsd:element> 
    158                         <!-- END Added 07/02 - 2011 --> 
    15989                        <!--PROFILE: Deleted element detailActivity.--> 
    16090                        <!--PROFILE: Deleted element typeActivityClass.--> 
     
    228158        <!--UNUSED: Deleted type cs_axisDefinition.--> 
    229159        <!--UNUSED: Deleted type cs_bend.--> 
    230         <!-- Added/Changed 22/02 - 2011 --> 
    231160        <xsd:complexType name="cs_bitRecord"> 
    232161                <xsd:annotation> 
     
    259188                                </xsd:annotation> 
    260189                        </xsd:element> 
    261                         <!--PROFILE: Deleted element serialNo. 
    262                         Missing: Added element serialNo--> 
    263190                        <xsd:element name="dullGrade" type="witsml:str32" minOccurs="0" maxOccurs="1"> 
    264191                                <xsd:annotation> 
    265192                                        <xsd:documentation>Dull grade according to IADC?</xsd:documentation> 
    266                                         <!-- Missing: Added element dullGrade --> 
     193                                        <!-- PROFILE: Added element dullGrade --> 
    267194                                </xsd:annotation> 
    268195                        </xsd:element> 
     
    301228                </xsd:attribute> 
    302229        </xsd:complexType> 
     230 
    303231        <xsd:complexType name="cs_drillingParams"> 
    304232                <xsd:annotation> 
     
    355283                        <!--PROFILE: Deleted element rpmAvDh.--> 
    356284                        <xsd:element name="ropAv" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1"> 
     285                                <!-- PROFILE: Changed type from witsml:velocityMeasure to witsml:velocityMeasureMetresPerHour for element ropAv--> 
    357286                                <xsd:annotation> 
    358287                                        <xsd:documentation>Average rate of penetration through Interval.</xsd:documentation> 
     
    360289                        </xsd:element> 
    361290                        <xsd:element name="ropMx" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1"> 
     291                                <!-- PROFILE: Changed type from witsml:velocityMeasure to witsml:velocityMeasureMetresPerHour for element ropMx--> 
    362292                                <xsd:annotation> 
    363293                                        <xsd:documentation>Maximum rate of penetration through Interval.</xsd:documentation> 
     
    383313                        <!--PROFILE: Deleted element extensionNameValue.--> 
    384314                        <xsd:element name="mdHoleMadeRun" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"> 
     315                                <!-- PROFILE: Added element mdHoleMadeRun. --> 
    385316                                <xsd:annotation> 
    386317                                        <xsd:documentation>Measured depth of hole made current run.</xsd:documentation> 
    387                                         <!-- Missing: Added element mdHoleMadeRun. --> 
    388318                                </xsd:annotation> 
    389319                        </xsd:element> 
    390320                        <xsd:element name="hrsDrilledRun" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1"> 
     321                                <!-- PROFILE: Added element hrsDrilledRun. --> 
    391322                                <xsd:annotation> 
    392323                                        <xsd:documentation>Hours used on current run.</xsd:documentation> 
    393                                         <!-- Missing: Added element hrsDrilledRun. --> 
    394324                                </xsd:annotation> 
    395325                        </xsd:element> 
    396326                        <xsd:element name="mdTotHoleMade" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1"> 
     327                                <!-- PROFILE: Added element mdTotHoleMade. --> 
    397328                                <xsd:annotation> 
    398329                                        <xsd:documentation>Measured depth made totally.</xsd:documentation> 
    399                                         <!-- Missing: Added element mdTotHoleMade. --> 
    400330                                </xsd:annotation> 
    401331                        </xsd:element> 
    402332                        <xsd:element name="totHrsDrilled" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1"> 
     333                                <!-- PROFILE: Added element totHrsDrilled. --> 
    403334                                <xsd:annotation> 
    404335                                        <xsd:documentation>Hours drilled totally.</xsd:documentation> 
    405                                         <!-- Missing: Added element totHrsDrilled. --> 
    406336                                </xsd:annotation> 
    407337                        </xsd:element> 
     
    409339                <!--Unused: Deleted element attgrp_uid. --> 
    410340        </xsd:complexType> 
    411         <!-- END Added/Changed 22/02 - 2011 --> 
    412         <!-- Added 07/02 - 2011 --> 
     341 
    413342        <!-- Cement job --> 
    414343        <xsd:complexType name="cs_cementStage"> 
     
    417346                </xsd:annotation> 
    418347                <xsd:sequence minOccurs="0"> 
    419                         <!-- Profile: Deleted element numStage --> 
    420                         <!-- Profile: Deleted element typeStage --> 
    421                         <!-- Profile: Deleted element dTimMixStart --> 
    422  
     348                        <!-- PROFILE: Deleted element numStage --> 
     349                        <!-- PROFILE: Deleted element typeStage --> 
     350                        <!-- PROFILE: Deleted element dTimMixStart --> 
    423351                        <xsd:element name="dTimPumpStart" type="witsml:timestamp" minOccurs="0" maxOccurs="1"> 
    424352                                <xsd:annotation> 
     
    432360                        </xsd:element> 
    433361                        <xsd:element name="jobType" type="witsml:cementJobTypes" minOccurs="0" maxOccurs="1"> 
     362                                <!-- PROFILE: Added element jobType --> 
    434363                                <xsd:annotation> 
    435364                                        <xsd:documentation>Job types (eg. Casing and liner, Cement squeeze, Cement plug).</xsd:documentation> 
    436                                         <!-- Missing: Added element jobType --> 
    437365                                </xsd:annotation> 
    438366                        </xsd:element> 
    439367                        <xsd:element name="casingStrDia" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"> 
     368                                <!-- PROFILE: Added element casingStrDia --> 
    440369                                <xsd:annotation> 
    441370                                        <xsd:documentation>Casing string diameter of the casing cement (in).</xsd:documentation> 
    442                                         <!-- Missing: Added element casingStrDia --> 
    443                                 </xsd:annotation> 
    444                         </xsd:element> 
    445                         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1"> 
    446                                 <xsd:annotation> 
    447                                         <xsd:documentation>A comment for a cement job.</xsd:documentation> 
    448                                         <!-- Missing: Added element comment --> 
    449                                 </xsd:annotation> 
    450                         </xsd:element> 
    451                         <!-- Profile: Deleted element dTimDisplaceStart --> 
    452                         <!-- Profile: Deleted element mdTop --> 
    453                         <!-- Profile: Deleted element mdBottom --> 
    454                         <!-- Profile: Deleted element volExcess --> 
    455                         <!-- Profile: Deleted element flowrateDisplaceAv --> 
    456                         <!-- Profile: Deleted element flowrateDisplaceMx --> 
    457                         <!-- Profile: Deleted element presDisplace --> 
     371                                </xsd:annotation> 
     372                        </xsd:element> 
     373                        <xsd:element name="comments" type="witsml:commentString" minOccurs="0" maxOccurs="1"> 
     374                                <!-- PROFILE: Added element comment --> 
     375                                <xsd:annotation> 
     376                                        <xsd:documentation>Comments for a cement job.</xsd:documentation> 
     377                                </xsd:annotation> 
     378                        </xsd:element> 
     379                        <!-- PROFILE: Deleted element dTimDisplaceStart --> 
     380                        <!-- PROFILE: Deleted element mdTop --> 
     381                        <!-- PROFILE: Deleted element mdBottom --> 
     382                        <!-- PROFILE: Deleted element volExcess --> 
     383                        <!-- PROFILE: Deleted element flowrateDisplaceAv --> 
     384                        <!-- PROFILE: Deleted element flowrateDisplaceMx --> 
     385                        <!-- PROFILE: Deleted element presDisplace --> 
    458386                        <xsd:element name="volReturns" type="witsml:volumeMeasureCubicMetre" minOccurs="0" maxOccurs="1"> 
    459387                                <xsd:annotation> 
     
    461389                                </xsd:annotation> 
    462390                        </xsd:element> 
    463                         <!-- Profile: Deleted element eTimMudCirculation --> 
    464                         <!-- Profile: Deleted element flowrateMudCirc --> 
    465                         <!-- Profile: Deleted element presMudCirc --> 
    466                         <!-- Profile: Deleted element flowrateEnd --> 
    467                         <!-- Profile: Deleted element cementingFluid --> 
    468                         <!-- Profile: Deleted element afterFlowAnn --> 
    469                         <!-- Profile: Deleted element squeezeObj --> 
    470                         <!-- Profile: Deleted element squeezeObtained --> 
    471                         <!-- Profile: Deleted element mdString --> 
    472                         <!-- Profile: Deleted element mdTool --> 
    473                         <!-- Profile: Deleted element mdCoilTbg --> 
    474                         <!-- Profile: Deleted element volCsgIn --> 
    475                         <!-- Profile: Deleted element volCsgOut --> 
    476                         <!-- Profile: Deleted element tailPipeUsed --> 
    477                         <!-- Profile: Deleted element diaTailPipe --> 
    478                         <!-- Profile: Deleted element tailPipePerf --> 
    479                         <!-- Profile: Deleted element presTbgStart --> 
    480                         <!-- Profile: Deleted element presTbgEnd --> 
    481                         <!-- Profile: Deleted element presCsgStart --> 
    482                         <!-- Profile: Deleted element presCsgEnd --> 
    483                         <!-- Profile: Deleted element presBackPressure --> 
    484                         <!-- Profile: Deleted element presCoilTbgStart --> 
    485                         <!-- Profile: Deleted element presCoilTbgEnd --> 
    486                         <!-- Profile: Deleted element presBreakDown --> 
    487                         <!-- Profile: Deleted element flowrateBreakDown --> 
    488                         <!-- Profile: Deleted element presSqueezeAv --> 
    489                         <!-- Profile: Deleted element presSqueezeEnd --> 
    490                         <!-- Profile: Deleted element presSqueezeHeld --> 
    491                         <!-- Profile: Deleted element presSqueeze --> 
    492                         <xsd:element name="eTimPresHeld" type="witsml:timestamp" minOccurs="0" maxOccurs="1"> 
     391                        <!-- PROFILE: Deleted element eTimMudCirculation --> 
     392                        <!-- PROFILE: Deleted element flowrateMudCirc --> 
     393                        <!-- PROFILE: Deleted element presMudCirc --> 
     394                        <!-- PROFILE: Deleted element flowrateEnd --> 
     395                        <xsd:element name="cementingFluid" type="witsml:cs_cementingFluid" minOccurs="0" maxOccurs="unbounded"> 
     396                                <xsd:annotation> 
     397                                        <xsd:documentation>Displaced Mud, washes and spacers, cement, displacement mud.</xsd:documentation> 
     398                                </xsd:annotation> 
     399                        </xsd:element> 
     400                        <!-- PROFILE: Deleted element afterFlowAnn --> 
     401                        <!-- PROFILE: Deleted element squeezeObj --> 
     402                        <!-- PROFILE: Deleted element squeezeObtained --> 
     403                        <!-- PROFILE: Deleted element mdString --> 
     404                        <!-- PROFILE: Deleted element mdTool --> 
     405                        <!-- PROFILE: Deleted element mdCoilTbg --> 
     406                        <!-- PROFILE: Deleted element volCsgIn --> 
     407                        <!-- PROFILE: Deleted element volCsgOut --> 
     408                        <!-- PROFILE: Deleted element tailPipeUsed --> 
     409                        <!-- PROFILE: Deleted element diaTailPipe --> 
     410                        <!-- PROFILE: Deleted element tailPipePerf --> 
     411                        <!-- PROFILE: Deleted element presTbgStart --> 
     412                        <!-- PROFILE: Deleted element presTbgEnd --> 
     413                        <!-- PROFILE: Deleted element presCsgStart --> 
     414                        <!-- PROFILE: Deleted element presCsgEnd --> 
     415                        <!-- PROFILE: Deleted element presBackPressure --> 
     416                        <!-- PROFILE: Deleted element presCoilTbgStart --> 
     417                        <!-- PROFILE: Deleted element presCoilTbgEnd --> 
     418                        <!-- PROFILE: Deleted element presBreakDown --> 
     419                        <!-- PROFILE: Deleted element flowrateBreakDown --> 
     420                        <!-- PROFILE: Deleted element presSqueezeAv --> 
     421                        <!-- PROFILE: Deleted element presSqueezeEnd --> 
     422                        <!-- PROFILE: Deleted element presSqueezeHeld --> 
     423                        <!-- PROFILE: Deleted element presSqueeze --> 
     424                        <xsd:element name="eTimPresHeld" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1"> 
    493425                                <xsd:annotation> 
    494426                                        <xsd:documentation>Time pressure held.</xsd:documentation> 
    495427                                </xsd:annotation> 
    496428                        </xsd:element> 
    497                         <!-- Profile: Deleted element flowrateSqueezeAv --> 
    498                         <!-- Profile: Deleted element flowrateSqueezeMx --> 
    499                         <!-- Profile: Deleted element flowratePumpStart --> 
    500                         <!-- Profile: Deleted element flowratePumpEnd --> 
    501                         <!-- Profile: Deleted element pillBelowPlug --> 
    502                         <!-- Profile: Deleted element plugCatcher --> 
    503                         <!-- Profile: Deleted element mdCircOut --> 
    504                         <!-- Profile: Deleted element volCircPrior --> 
    505                         <!-- Profile: Deleted element typeOriginalMud --> 
    506                         <!-- Profile: Deleted element wtMud --> 
    507                         <!-- Profile: Deleted element visFunnelMud --> 
    508                         <!-- Profile: Deleted element pvMud --> 
    509                         <!-- Profile: Deleted element ypMud --> 
    510                         <!-- Profile: Deleted element gel10Sec --> 
    511                         <!-- Profile: Deleted element gel10Min --> 
    512                         <!-- Profile: Deleted element tempBHCT --> 
    513                         <!-- Profile: Deleted element tempBHST --> 
    514                         <!-- Profile: Deleted element volExcessMethod --> 
    515                         <!-- Profile: Deleted element mixMethod --> 
    516                         <!-- Profile: Deleted element densMeasBy --> 
     429                        <!-- PROFILE: Deleted element flowrateSqueezeAv --> 
     430                        <!-- PROFILE: Deleted element flowrateSqueezeMx --> 
     431                        <!-- PROFILE: Deleted element flowratePumpStart --> 
     432                        <!-- PROFILE: Deleted element flowratePumpEnd --> 
     433                        <!-- PROFILE: Deleted element pillBelowPlug --> 
     434                        <!-- PROFILE: Deleted element plugCatcher --> 
     435                        <!-- PROFILE: Deleted element mdCircOut --> 
     436                        <!-- PROFILE: Deleted element volCircPrior --> 
     437                        <!-- PROFILE: Deleted element typeOriginalMud --> 
     438                        <!-- PROFILE: Deleted element wtMud --> 
     439                        <!-- PROFILE: Deleted element visFunnelMud --> 
     440                        <!-- PROFILE: Deleted element pvMud --> 
     441                        <!-- PROFILE: Deleted element ypMud --> 
     442                        <!-- PROFILE: Deleted element gel10Sec --> 
     443                        <!-- PROFILE: Deleted element gel10Min --> 
     444                        <!-- PROFILE: Deleted element tempBHCT --> 
     445                        <!-- PROFILE: Deleted element tempBHST --> 
     446                        <!-- PROFILE: Deleted element volExcessMethod --> 
     447                        <!-- PROFILE: Deleted element mixMethod --> 
     448                        <!-- PROFILE: Deleted element densMeasBy --> 
    517449                        <xsd:element name="annFlowAfter" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 
    518450                                <xsd:annotation> 
     
    530462                                </xsd:annotation> 
    531463                        </xsd:element> 
    532                         <!-- Profile: Deleted element botPlugNumber --> 
     464                        <!-- PROFILE: Deleted element botPlugNumber --> 
    533465                        <xsd:element name="plugBumped" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 
    534466                                <xsd:annotation> 
     
    536468                                </xsd:annotation> 
    537469                        </xsd:element> 
    538                         <!-- Profile: Deleted element presPriorBump --> 
     470                        <!-- PROFILE: Deleted element presPriorBump --> 
    539471                        <xsd:element name="presBump" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1"> 
    540472                                <xsd:annotation> 
    541473                                        <xsd:documentation>Pressure plug bumped.</xsd:documentation> 
    542                                 </xsd:annotation> 
    543                         </xsd:element> 
    544                         <xsd:element name="floatFailed" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 
    545                                 <xsd:annotation> 
    546                                         <xsd:documentation>Float Failed? Values are "true" (or "1") and "false" (or "0").</xsd:documentation> 
    547                                         <!-- Missing: Added element floatFailed --> 
    548474                                </xsd:annotation> 
    549475                        </xsd:element> 
     
    560486                                </xsd:annotation> 
    561487                        </xsd:element> 
    562                         <xsd:element name="cementingFluid" type="witsml:cs_cementingFluid" minOccurs="0" maxOccurs="unbounded" 
    563                                  sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831397"> 
    564                                 <xsd:annotation> 
    565                                         <xsd:documentation>Information about a bit run.</xsd:documentation> 
    566                                 </xsd:annotation> 
    567                         </xsd:element> 
    568                         <!-- Profile: Deleted element presHeld --> 
    569                         <!-- Profile: Deleted element floatHeld --> 
    570                         <!-- Profile: Deleted element volMudLost --> 
    571                         <!-- Profile: Deleted element fluidDisplace --> 
    572                         <!-- Profile: Deleted element densDisplaceFluid --> 
    573                         <!-- Profile: Deleted element volDisplaceFluid --> 
    574                         <!-- Profile: Deleted element extensionNameValue --> 
     488                        <!-- PROFILE: Deleted element presHeld --> 
     489                        <!-- PROFILE: Deleted element floatHeld --> 
     490                        <!-- PROFILE: Deleted element volMudLost --> 
     491                        <!-- PROFILE: Deleted element fluidDisplace --> 
     492                        <!-- PROFILE: Deleted element densDisplaceFluid --> 
     493                        <!-- PROFILE: Deleted element volDisplaceFluid --> 
     494                        <!-- PROFILE: Deleted element extensionNameValue --> 
    575495                </xsd:sequence> 
    576496                <!-- Unused: Deleted element attgrp_uid --> 
     
    605525                </xsd:annotation> 
    606526                <xsd:sequence minOccurs="0"> 
    607                         <xsd:element name="dTimTest" type="witsml:timestamp" minOccurs="0" maxOccurs="1"> 
    608                                 <xsd:annotation> 
    609                                         <xsd:documentation>Date and time the test i taken.</xsd:documentation> 
    610                                         <!-- Missing: Added element dTimTest --> 
    611                                 </xsd:annotation> 
    612                         </xsd:element> 
    613                         <xsd:element name="mdLog" type="witsml:measuredDepthCoord " minOccurs="0" maxOccurs="1"> 
    614                                 <xsd:annotation> 
    615                                         <xsd:documentation>Measured depth at logging time.</xsd:documentation> 
    616                                         <!-- Missing: Added element mdLog --> 
    617                                 </xsd:annotation> 
    618                         </xsd:element> 
    619527                        <xsd:element name="typeFluid" type="witsml:fluidTypes" minOccurs="0" maxOccurs="1"> 
     528                                <!-- PROFILE: Changed type from witsml:str16 to witsml:fluidTypes for element typeFluid --> 
    620529                                <xsd:annotation> 
    621530                                        <xsd:documentation>Fluid type: Mud, Wash, Spacer, Slurry.</xsd:documentation> 
    622531                                </xsd:annotation> 
    623532                        </xsd:element> 
    624                         <!-- Profile: Deleted element fluidIndex --> 
    625                         <xsd:element name="descFluid" type="witsml:descriptionString" minOccurs="0" maxOccurs="1"> 
     533                        <!-- PROFILE: Deleted element fluidIndex --> 
     534                        <xsd:element name="descFluid" type="witsml:shortDescriptionString" minOccurs="0" maxOccurs="1"> 
    626535                                <xsd:annotation> 
    627536                                        <xsd:documentation>Fluid description.</xsd:documentation> 
    628537                                </xsd:annotation> 
    629538                        </xsd:element> 
    630                         <!-- Profile: Deleted element purpose --> 
    631                         <!-- Profile: Deleted element classSlurryDryBlend --> 
    632                         <!-- Profile: Deleted element mdFluidTop --> 
    633                         <!-- Profile: Deleted element mdFluidBottom --> 
    634                         <!-- Profile: Deleted element sourceWater --> 
    635                         <!-- Profile: Deleted element volWater --> 
    636                         <!-- Profile: Deleted element volCement --> 
    637                         <xsd:element name="ratioMixWater" type="witsml:specificVolumeMeasureUsGallonsPerSack94" minOccurs="0" 
    638                                  maxOccurs="1"> 
     539                        <!-- PROFILE: Deleted element purpose --> 
     540                        <!-- PROFILE: Deleted element classSlurryDryBlend --> 
     541                        <!-- PROFILE: Deleted element mdFluidTop --> 
     542                        <!-- PROFILE: Deleted element mdFluidBottom --> 
     543                        <!-- PROFILE: Deleted element sourceWater --> 
     544                        <!-- PROFILE: Deleted element volWater --> 
     545                        <!-- PROFILE: Deleted element volCement --> 
     546                        <xsd:element name="ratioMixWater" type="witsml:specificVolumeMeasure" minOccurs="0" maxOccurs="1"> 
    639547                                <xsd:annotation> 
    640548                                        <xsd:documentation>Mix Water Ratio.</xsd:documentation> 
    641549                                </xsd:annotation> 
    642550                        </xsd:element> 
    643                         <!-- Profile: Deleted element volFluid --> 
    644                         <!-- Profile: Deleted element cementPumpSchedule --> 
    645                         <!-- Profile: Deleted element excessPc --> 
    646                         <!-- Profile: Deleted element volYield --> 
     551                        <!-- PROFILE: Deleted element volFluid --> 
     552                        <!-- PROFILE: Deleted element cementPumpSchedule --> 
     553                        <!-- PROFILE: Deleted element excessPc --> 
     554                        <!-- PROFILE: Deleted element volYield --> 
    647555                        <xsd:element name="density" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1"> 
    648556                                <xsd:annotation> 
     
    650558                                </xsd:annotation> 
    651559                        </xsd:element> 
    652                         <!-- Profile: Deleted element solidVolumeFraction --> 
     560                        <!-- PROFILE: Deleted element solidVolumeFraction --> 
    653561                        <xsd:element name="volPumped" type="witsml:volumeMeasureCubicMetre" minOccurs="0" maxOccurs="1"> 
     562                                <!-- PROFILE: Changed type from witsml:volumeMeasure to witsml:volumeMeasureCubicMetre for element volPumped --> 
    654563                                <xsd:annotation> 
    655564                                        <xsd:documentation>Volume Pumped.</xsd:documentation> 
    656565                                </xsd:annotation> 
    657566                        </xsd:element> 
    658                         <!-- Profile: Deleted element volOther --> 
    659                         <!-- Profile: Deleted element fluidRheologicalModel --> 
    660                         <!-- Profile: Deleted element vis --> 
    661                         <xsd:element name="pv" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1"> 
    662                                 <xsd:annotation> 
    663                                         <xsd:documentation>Fluid Viscosity (mPa.s).</xsd:documentation> 
    664                                 </xsd:annotation> 
    665                         </xsd:element> 
    666                         <xsd:element name="yp" type="witsml:specificVolumeMeasureCubicFeetPer94PoundSack" minOccurs="0" 
    667                                  maxOccurs="1"> 
     567                        <!-- PROFILE: Deleted element volOther --> 
     568                        <!-- PROFILE: Deleted element fluidRheologicalModel --> 
     569                        <!-- PROFILE: Deleted element vis --> 
     570                        <xsd:element name="yp" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1"> 
    668571                                <xsd:annotation> 
    669572                                        <xsd:documentation>Yield point (Bingham and Herschel Bulkley models).</xsd:documentation> 
    670573                                </xsd:annotation> 
    671574                        </xsd:element> 
    672                         <!-- Profile: Deleted element n --> 
    673                         <!-- Profile: Deleted element k --> 
    674                         <!-- Profile: Deleted element gel10SecReading --> 
    675                         <!-- Profile: Deleted element gel10SecStrength --> 
    676                         <!-- Profile: Deleted element gel1MinReading --> 
    677                         <!-- Profile: Deleted element gel1MinStrength --> 
    678                         <!-- Profile: Deleted element gel10MinReading --> 
    679                         <!-- Profile: Deleted element gel10MinStrength --> 
    680                         <!-- Profile: Deleted element typeBaseFluid --> 
    681                         <!-- Profile: Deleted element densBaseFluid --> 
    682                         <!-- Profile: Deleted element dryBlendName --> 
    683                         <!-- Profile: Deleted element dryBlendDescription --> 
    684                         <!-- Profile: Deleted element massDryBlend --> 
    685                         <!-- Profile: Deleted element densDryBlend --> 
    686                         <!-- Profile: Deleted element massSackDryBlend --> 
    687                         <!-- Profile: Deleted element cementAdditive --> 
    688                         <!-- Profile: Deleted element foamUsed --> 
    689                         <!-- Profile: Deleted element typeGasFoam --> 
    690                         <!-- Profile: Deleted element volGasFoam --> 
    691                         <!-- Profile: Deleted element ratioConstGasMethodAv --> 
    692                         <!-- Profile: Deleted element densConstGasMethod --> 
    693                         <!-- Profile: Deleted element ratioConstGasMethodStart --> 
    694                         <!-- Profile: Deleted element ratioConstGasMethodEnd --> 
    695                         <!-- Profile: Deleted element densConstGasFoam --> 
    696                         <xsd:element name="eTimThickening" type="witsml:timeMeasureHour" minOccurs="0" maxOccurs="1"> 
     575                        <!-- PROFILE: Deleted element n --> 
     576                        <!-- PROFILE: Deleted element k --> 
     577                        <!-- PROFILE: Deleted element gel10SecReading --> 
     578                        <!-- PROFILE: Deleted element gel10SecStrength --> 
     579                        <!-- PROFILE: Deleted element gel1MinReading --> 
     580                        <!-- PROFILE: Deleted element gel1MinStrength --> 
     581                        <!-- PROFILE: Deleted element gel10MinReading --> 
     582                        <!-- PROFILE: Deleted element gel10MinStrength --> 
     583                        <!-- PROFILE: Deleted element typeBaseFluid --> 
     584                        <!-- PROFILE: Deleted element densBaseFluid --> 
     585                        <!-- PROFILE: Deleted element dryBlendName --> 
     586                        <!-- PROFILE: Deleted element dryBlendDescription --> 
     587                        <!-- PROFILE: Deleted element massDryBlend --> 
     588                        <!-- PROFILE: Deleted element densDryBlend --> 
     589                        <!-- PROFILE: Deleted element massSackDryBlend --> 
     590                        <!-- PROFILE: Deleted element cementAdditive --> 
     591                        <!-- PROFILE: Deleted element foamUsed --> 
     592                        <!-- PROFILE: Deleted element typeGasFoam --> 
     593                        <!-- PROFILE: Deleted element volGasFoam --> 
     594                        <!-- PROFILE: Deleted element ratioConstGasMethodAv --> 
     595                        <!-- PROFILE: Deleted element densConstGasMethod --> 
     596                        <!-- PROFILE: Deleted element ratioConstGasMethodStart --> 
     597                        <!-- PROFILE: Deleted element ratioConstGasMethodEnd --> 
     598                        <!-- PROFILE: Deleted element densConstGasFoam --> 
     599                        <xsd:element name="eTimThickening" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1"> 
    697600                                <xsd:annotation> 
    698601                                        <xsd:documentation>Test thickening time.</xsd:documentation> 
    699602                                </xsd:annotation> 
    700603                        </xsd:element> 
    701                         <!-- Profile: Deleted element tempThickening --> 
    702                         <!-- Profile: Deleted element presTestThickening --> 
    703                         <!-- Profile: Deleted element consTestThickening --> 
    704                         <xsd:element name="pcFreeWater" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1"> 
     604                        <!-- PROFILE: Deleted element tempThickening --> 
     605                        <!-- PROFILE: Deleted element presTestThickening --> 
     606                        <!-- PROFILE: Deleted element consTestThickening --> 
     607                        <xsd:element name="pcFreeWater" type="witsml:volumePerVolumeMeasurePercent" minOccurs="0" maxOccurs="1"> 
     608                                <!-- PROFILE: Changed type from witsml:volumePerVolumeMeasure to witsml:volumePerVolumeMeasurePercent for element pcFreeWater --> 
    705609                                <xsd:annotation> 
    706610                                        <xsd:documentation>Test free water na: = mL/250ML.</xsd:documentation> 
    707611                                </xsd:annotation> 
    708612                        </xsd:element> 
    709                         <!-- Profile: Deleted element tempFreeWater --> 
    710                         <!-- Profile: Deleted element volTestFluidLoss --> 
    711                         <!-- Profile: Deleted element tempFluidLoss --> 
    712                         <!-- Profile: Deleted element presTestFluidLoss --> 
    713                         <!-- Profile: Deleted element timeFluidLoss --> 
    714                         <!-- Profile: Deleted element volAPIFluidLoss --> 
    715                         <!-- Profile: Deleted element eTimComprStren1 --> 
    716                         <!-- Profile: Deleted element eTimComprStren2 --> 
    717                         <!-- Profile: Deleted element presComprStren1 --> 
    718                         <!-- Profile: Deleted element presComprStren2 --> 
    719                         <!-- Profile: Deleted element tempComprStren1 --> 
    720                         <!-- Profile: Deleted element tempComprStren2 --> 
    721                         <!-- Profile: Deleted element densAtPres --> 
    722                         <!-- Profile: Deleted element volReserved --> 
    723                         <!-- Profile: Deleted element volTotSlurry --> 
    724                         <xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1"> 
    725                                 <xsd:annotation> 
    726                                         <xsd:documentation>comments.</xsd:documentation> 
     613                        <!-- PROFILE: Deleted element tempFreeWater --> 
     614                        <!-- PROFILE: Deleted element volTestFluidLoss --> 
     615                        <!-- PROFILE: Deleted element tempFluidLoss --> 
     616                        <!-- PROFILE: Deleted element presTestFluidLoss --> 
     617                        <!-- PROFILE: Deleted element timeFluidLoss --> 
     618                        <!-- PROFILE: Deleted element volAPIFluidLoss --> 
     619                        <!-- PROFILE: Deleted element eTimComprStren1 --> 
     620                        <!-- PROFILE: Deleted element eTimComprStren2 --> 
     621                        <!-- PROFILE: Deleted element presComprStren1 --> 
     622                        <!-- PROFILE: Deleted element presComprStren2 --> 
     623                        <!-- PROFILE: Deleted element tempComprStren1 --> 
     624                        <!-- PROFILE: Deleted element tempComprStren2 --> 
     625                        <!-- PROFILE: Deleted element densAtPres --> 
     626                        <!-- PROFILE: Deleted element volReserved --> 
     627                        <!-- PROFILE: Deleted element volTotSlurry --> 
     628                        <xsd:element name="comments" type="witsml:commentString" minOccurs="0" maxOccurs="1"> 
     629                                <xsd:annotation> 
     630                                        <xsd:documentation>Comments for cementing fluid.</xsd:documentation> 
     631                                        <!-- PROFILE: Added element comments --> 
    727632                                </xsd:annotation> 
    728633                        </xsd:element> 
     
    735640                </xsd:annotation> 
    736641                <xsd:restriction base="witsml:abstractTypeEnum"> 
    737                         <xsd:enumeration value="m"> 
     642                        <xsd:enumeration value="Mud"> 
    738643                                <xsd:annotation> 
    739644                                        <xsd:documentation>Mud</xsd:documentation> 
    740645                                </xsd:annotation> 
    741646                        </xsd:enumeration> 
    742                         <xsd:enumeration value="w"> 
     647                        <xsd:enumeration value="Wash"> 
    743648                                <xsd:annotation> 
    744649                                        <xsd:documentation>Wash</xsd:documentation> 
    745650                                </xsd:annotation> 
    746651                        </xsd:enumeration> 
    747                         <xsd:enumeration value="sp"> 
     652                        <xsd:enumeration value="Spacer"> 
    748653                                <xsd:annotation> 
    749654                                        <xsd:documentation>Spacer</xsd:documentation> 
    750655                                </xsd:annotation> 
    751656                        </xsd:enumeration> 
    752                         <xsd:enumeration value="sl"> 
     657                        <xsd:enumeration value="Slurry"> 
    753658                                <xsd:annotation> 
    754659                                        <xsd:documentation>Slurry</xsd:documentation> 
     
    757662                </xsd:restriction> 
    758663        </xsd:simpleType> 
    759         <!-- END Added 07/02 - 2011 --> 
    760664        <!--UNUSED: Deleted type cs_blockCurveInfo.--> 
    761665        <!--UNUSED: Deleted type cs_blockInfo.--> 
     
    17681672                </xsd:annotation> 
    17691673                <xsd:sequence> 
    1770                         <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644855"> 
     1674                        <xsd:element name="reportNo" type="witsml:positiveCount" minOccurs="0" maxOccurs="1"> 
     1675                        <!-- PROFILE: Added element reportNo --> 
     1676                                <xsd:annotation> 
     1677                                        <xsd:documentation>Sequence number of daily drilling report.</xsd:documentation> 
     1678                                </xsd:annotation> 
     1679                        </xsd:element> 
     1680                        <xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1" 
     1681         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644855"> 
    17711682                                <!--PROFILE: Changed minOccurs from 0 to 1 for element dTim.--> 
    1772  
    17731683                                <xsd:annotation> 
    17741684                                        <xsd:documentation>the date and time that for which the well status is reported.</xsd:documentation> 
    17751685                                </xsd:annotation> 
    17761686                        </xsd:element> 
    1777                         <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644930"> 
     1687                        <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="1" maxOccurs="1" 
     1688         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644930"> 
    17781689                                <!--PROFILE: Changed minOccurs from 0 to 1 for element md.--> 
    1779  
    17801690                                <xsd:annotation> 
    17811691                                        <xsd:documentation>Wellbore measured depth at the end of the report period.</xsd:documentation> 
    17821692                                </xsd:annotation> 
    17831693                        </xsd:element> 
    1784                         <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851070"> 
     1694                        <xsd:element name="tvd" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" 
     1695         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851070"> 
    17851696                                <xsd:annotation> 
    17861697                                        <xsd:documentation>Wellbore true vertical depth at the end of the report.</xsd:documentation> 
    17871698                                </xsd:annotation> 
    17881699                        </xsd:element> 
    1789                         <xsd:element name="mdPlugTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659110"> 
     1700                        <xsd:element name="mdPlugTop" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
     1701         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659110"> 
    17901702                                <xsd:annotation> 
    17911703                                        <xsd:documentation>The measured plug back depth.</xsd:documentation> 
    17921704                                </xsd:annotation> 
    17931705                        </xsd:element> 
    1794                         <xsd:element name="diaHole" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644585"> 
     1706                        <xsd:element name="diaHole" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" 
     1707         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17644585"> 
    17951708                                <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaHole.--> 
    1796  
    17971709                                <xsd:annotation> 
    17981710                                        <xsd:documentation>Hole nominal inside diameter.</xsd:documentation> 
     
    18001712                        </xsd:element> 
    18011713                        <xsd:element name="mdDiaHoleStart" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
    1802                                 sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659230"> 
     1714        sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659230"> 
    18031715                                <xsd:annotation> 
    18041716                                        <xsd:documentation>The measured depth to the start of the current hole diameter.</xsd:documentation> 
    18051717                                </xsd:annotation> 
    18061718                        </xsd:element> 
    1807                         <xsd:element name="diaPilot" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659350"> 
     1719                        <xsd:element name="diaPilot" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" 
     1720         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659350"> 
    18081721                                <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaPilot.--> 
    1809  
    18101722                                <xsd:annotation> 
    18111723                                        <xsd:documentation>Pilot hole nominal inside diameter at reporting time.</xsd:documentation> 
     
    18131725                        </xsd:element> 
    18141726                        <xsd:element name="mdDiaPilotPlan" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
    1815                                 sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851160"> 
     1727        sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17851160"> 
    18161728                                <xsd:annotation> 
    18171729                                        <xsd:documentation>The planned measured depth of the pilot hole.</xsd:documentation> 
     
    18191731                        </xsd:element> 
    18201732                        <xsd:element name="tvdDiaPilotPlan" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" 
    1821                                 sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660205"> 
     1733        sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660205"> 
    18221734                                <xsd:annotation> 
    18231735                                        <xsd:documentation>The planned true vertical depth of the pilot hole.</xsd:documentation> 
    18241736                                </xsd:annotation> 
    18251737                        </xsd:element> 
    1826                         <xsd:element name="typeWellbore" type="witsml:WellboreType" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660325"> 
     1738                        <xsd:element name="typeWellbore" type="witsml:WellboreType" minOccurs="0" maxOccurs="1" 
     1739         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660325"> 
    18271740                                <xsd:annotation> 
    18281741                                        <xsd:documentation>Type of wellbore.</xsd:documentation> 
    18291742                                </xsd:annotation> 
    18301743                        </xsd:element> 
    1831                         <xsd:element name="mdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660400"> 
     1744                        <xsd:element name="mdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
     1745         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660400"> 
    18321746                                <xsd:annotation> 
    18331747                                        <xsd:documentation>Measured depth to the kickoff point of the wellbore.</xsd:documentation> 
    18341748                                </xsd:annotation> 
    18351749                        </xsd:element> 
    1836                         <xsd:element name="tvdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850980"> 
     1750                        <xsd:element name="tvdKickoff" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
     1751         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850980"> 
    18371752                                <xsd:annotation> 
    18381753                                        <xsd:documentation>True vertical depth to the kickoff point of the wellbore.</xsd:documentation> 
     
    18401755                        </xsd:element> 
    18411756                        <!--PROFILE: Deleted element parentWellbore.--> 
    1842                         <xsd:element name="strengthForm" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659800"> 
     1757                        <xsd:element name="strengthForm" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1" 
     1758         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659800"> 
    18431759                                <xsd:annotation> 
    18441760                                        <xsd:documentation>The measured formation strength. This should be the final measurement before the end of the report period.</xsd:documentation> 
     
    18461762                        </xsd:element> 
    18471763                        <xsd:element name="mdStrengthForm" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
    1848                                 sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660055"> 
     1764        sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17660055"> 
    18491765                                <xsd:annotation> 
    18501766                                        <xsd:documentation>The measured depth of the formation strength measuement.</xsd:documentation> 
     
    18521768                        </xsd:element> 
    18531769                        <xsd:element name="tvdStrengthForm" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" 
    1854                                 sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850755"> 
     1770        sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850755"> 
    18551771                                <xsd:annotation> 
    18561772                                        <xsd:documentation>The true vertical depth of the formation strength measuement.</xsd:documentation> 
    18571773                                </xsd:annotation> 
    18581774                        </xsd:element> 
    1859                         <xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470"> 
     1775                        <xsd:element name="diaCsgLast" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1" 
     1776         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659470"> 
    18601777                                <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaCsgLast.--> 
    1861  
    18621778                                <xsd:annotation> 
    18631779                                        <xsd:documentation>Diameter of last casing.</xsd:documentation> 
    18641780                                </xsd:annotation> 
    18651781                        </xsd:element> 
    1866                         <xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755"> 
     1782                        <xsd:element name="mdCsgLast" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
     1783         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17659755"> 
    18671784                                <xsd:annotation> 
    18681785                                        <xsd:documentation>Measured depth of last casing.</xsd:documentation> 
     
    18701787                        </xsd:element> 
    18711788                        <xsd:element name="tvdCsgLast" type="witsml:wellVerticalDepthCoord" minOccurs="0" maxOccurs="1" 
    1872                                 sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850890"> 
     1789        sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850890"> 
    18731790                                <xsd:annotation> 
    18741791                                        <xsd:documentation>True vertical depth of last casing.</xsd:documentation> 
    18751792                                </xsd:annotation> 
    18761793                        </xsd:element> 
    1877                         <xsd:element name="presTestType" type="witsml:PresTestType" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658975"> 
     1794                        <xsd:element name="presTestType" type="witsml:PresTestType" minOccurs="0" maxOccurs="1" 
     1795         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658975"> 
    18781796                                <xsd:annotation> 
    18791797                                        <xsd:documentation>The type of pressure test that was run during this reporting period.</xsd:documentation> 
    18801798                                </xsd:annotation> 
    18811799                        </xsd:element> 
    1882                         <xsd:element name="mdPlanned" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850395"> 
     1800                        <xsd:element name="mdPlanned" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1" 
     1801         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850395"> 
    18831802                                <xsd:annotation> 
    18841803                                        <xsd:documentation>Measured depth of plan for this day number (report period).</xsd:documentation> 
    18851804                                </xsd:annotation> 
    18861805                        </xsd:element> 
    1887                         <xsd:element name="distDrill" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850485"> 
     1806                        <xsd:element name="distDrill" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1" 
     1807         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850485"> 
    18881808                                <xsd:annotation> 
    18891809                                        <xsd:documentation>Distance drilled during this reporting period. This should be measured along the centerline of the wellbore.</xsd:documentation> 
    18901810                                </xsd:annotation> 
    18911811                        </xsd:element> 
    1892                         <xsd:element name="msl" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1"> 
    1893                                 <xsd:annotation> 
    1894                                         <xsd:documentation>Water Depth MSL (m).</xsd:documentation> 
    1895                                 </xsd:annotation> 
    1896                         </xsd:element> 
    1897                         <xsd:element name="elevKelly" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850575"> 
     1812                        <xsd:element name="elevKelly" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1" 
     1813         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850575"> 
    18981814                                <xsd:annotation> 
    18991815                                        <xsd:documentation>Elevation of the rotary kelly bushing.</xsd:documentation> 
    19001816                                </xsd:annotation> 
    19011817                        </xsd:element> 
    1902                         <xsd:element name="sum24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658390"> 
     1818                        <xsd:element name="waterDepth" type="witsml:lengthMeasureMetre" minOccurs="0" maxOccurs="1"> 
     1819                                <!-- PROFILE: Added element waterDepth --> 
     1820                                <xsd:annotation> 
     1821                                        <xsd:documentation>Water depth in Mean sea level (m).</xsd:documentation> 
     1822                                </xsd:annotation> 
     1823                        </xsd:element> 
     1824                        <xsd:element name="sum24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1" 
     1825         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658390"> 
    19031826                                <!--PROFILE: Changed minOccurs from 0 to 1 for element sum24Hr.--> 
    1904  
    19051827                                <xsd:annotation> 
    19061828                                        <xsd:documentation>A summary that sumarizes the activities performed and the status of the ongoing activities from the reporting period.</xsd:documentation> 
    19071829                                </xsd:annotation> 
    19081830                        </xsd:element> 
    1909                         <xsd:element name="forecast24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658465"> 
     1831                        <xsd:element name="forecast24Hr" type="witsml:commentString" minOccurs="1" maxOccurs="1" 
     1832         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17658465"> 
    19101833                                <!--PROFILE: Changed minOccurs from 0 to 1 for element forecast24Hr.--> 
    1911  
    19121834                                <xsd:annotation> 
    19131835                                        <xsd:documentation>A summary that sumarizes the planned activities the next reporting period.</xsd:documentation> 
     
    19151837                        </xsd:element> 
    19161838                        <xsd:element name="ropCurrent" type="witsml:velocityMeasureMetresPerHour" minOccurs="0" maxOccurs="1" 
    1917                                 sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850095"> 
     1839        sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17850095"> 
    19181840                                <!--PROFILE: Changed type from witsml:velocityMeasure to witsml:velocityMeasureMetresPerHour for element ropCurrent.--> 
    1919  
    19201841                                <xsd:annotation> 
    19211842                                        <xsd:documentation>Rate of penetration at the end of the reporting period.</xsd:documentation> 
     1843                                </xsd:annotation> 
     1844                        </xsd:element> 
     1845                        <xsd:element name="tightWell" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 
     1846                                <!-- PROFILE: Added element thightWell --> 
     1847                                <xsd:annotation> 
     1848                                        <xsd:documentation>Indicates if a well is tight or not.</xsd:documentation> 
     1849                                </xsd:annotation> 
     1850                        </xsd:element> 
     1851                        <xsd:element name="hpht" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 
     1852                                <!-- PROFILE: Added element hpht --> 
     1853                                <xsd:annotation> 
     1854                                        <xsd:documentation>Indicates if a wellbore is classified as HPHT (High Pressure - High Temperature) or not.</xsd:documentation> 
     1855                                </xsd:annotation> 
     1856                        </xsd:element> 
     1857                        <xsd:element name="avgPresBH" type="witsml:pressureMeasurePsig" minOccurs="0" maxOccurs="1"> 
     1858                                <!-- PROFILE: Added element avgPresBH --> 
     1859                                <xsd:annotation> 
     1860                                        <xsd:documentation>Averagae bottomhole pressure (psig).</xsd:documentation> 
     1861                                </xsd:annotation> 
     1862                        </xsd:element> 
     1863                        <xsd:element name="expTempBH" type="witsml:thermodynamicTemperatureMeasureCelsius" minOccurs="0" maxOccurs="1"> 
     1864                                <!-- PROFILE: Added element expTempBH --> 
     1865                                <xsd:annotation> 
     1866                                        <xsd:documentation>A bottomhole temperature that is the expected bottomhole temperature (c).</xsd:documentation> 
     1867                                </xsd:annotation> 
     1868                        </xsd:element> 
     1869                        <xsd:element name="rigType" type="witsml:rigTypes" minOccurs="0" maxOccurs="1"> 
     1870                                <!-- PROFILE: Added element rigType --> 
     1871                                <xsd:annotation> 
     1872                                        <xsd:documentation>A daily drilling report class that classifies rig types.</xsd:documentation> 
    19221873                                </xsd:annotation> 
    19231874                        </xsd:element> 
     
    19601911                <xsd:attribute name="uid" type="witsml:uidString" use="optional"> 
    19611912                        <xsd:annotation> 
    1962                                 <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> 
     1913                                <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 
     1914            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 
     1915            required to be unique within the context of the nearest recurring parent element.</xsd:documentation> 
    19631916                        </xsd:annotation> 
    19641917                </xsd:attribute> 
    19651918        </xsd:complexType> 
     1919        <!-- Rig types --> 
     1920        <xsd:simpleType name="rigTypes"> 
     1921                <xsd:annotation> 
     1922                        <xsd:documentation>The classification of rig types.</xsd:documentation> 
     1923                </xsd:annotation> 
     1924                <xsd:restriction base="witsml:abstractTypeEnum"> 
     1925                        <xsd:enumeration value="Fixed rig"> 
     1926                                <xsd:annotation> 
     1927                                        <xsd:documentation>Fixed rig</xsd:documentation> 
     1928                                </xsd:annotation> 
     1929                        </xsd:enumeration> 
     1930                        <xsd:enumeration value="Moveable rig"> 
     1931                                <xsd:annotation> 
     1932                                        <xsd:documentation>Moveable rig</xsd:documentation> 
     1933                                </xsd:annotation> 
     1934                        </xsd:enumeration> 
     1935                </xsd:restriction> 
     1936        </xsd:simpleType> 
    19661937        <xsd:complexType name="cs_drillReportStratInfo"> 
    19671938                <xsd:annotation> 
     
    23162287        <!--UNUSED: Deleted type cs_extensionAny.--> 
    23172288        <!--UNUSED: Deleted type cs_extensionNameValue.--> 
    2318         <!-- Added 07/02 - 2011 --> 
    23192289        <!-- Tubular information --> 
    23202290        <xsd:complexType name="cs_stimTubular"> 
     
    23252295                <xsd:sequence minOccurs="0"> 
    23262296                        <xsd:element name="type" type="witsml:tubularTypes" minOccurs="0" maxOccurs="1"> 
     2297                                <!-- PROFILE: Changed type from witsml:str32 to witsml:tubularTypes for element type --> 
    23272298                                <xsd:annotation> 
    23282299                                        <xsd:documentation>The type of tubular (e.g., casing, tubing, liner, packer, open hole, other).</xsd:documentation> 
     
    23302301                        </xsd:element> 
    23312302                        <xsd:element name="id" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"> 
     2303                                <!-- PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element type --> 
    23322304                                <xsd:annotation> 
    23332305                                        <xsd:documentation>The inside diameter of the tubular used.</xsd:documentation> 
     
    23352307                        </xsd:element> 
    23362308                        <xsd:element name="od" type="witsml:lengthMeasureInch" minOccurs="0" maxOccurs="1"> 
     2309                                <!-- PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element type --> 
    23372310                                <xsd:annotation> 
    23382311                                        <xsd:documentation>The outside diameter of the tubular used.</xsd:documentation> 
     
    23402313                        </xsd:element> 
    23412314                        <xsd:element name="weight" type="witsml:massPerLengthMeasurePoundsMassPerFoot" minOccurs="0" maxOccurs="1"> 
     2315                                <!-- PROFILE: Changed type from witsml:massPerLengthMeasure to witsml:massPerLengthMeasurePoundsMassPerFoot for element type --> 
    23422316                                <xsd:annotation> 
    23432317                                        <xsd:documentation>The weight per length of the tubular.</xsd:documentation> 
     
    23472321                                <xsd:annotation> 
    23482322                                        <xsd:documentation>Nominal grade.</xsd:documentation> 
    2349                                         <!-- Missing: Added element grade --> 
     2323                                        <!-- PROFILE: Added element grade --> 
    23502324                                </xsd:annotation> 
    23512325                        </xsd:element> 
     
    23532327                                <xsd:annotation> 
    23542328                                        <xsd:documentation>Nominal connection.</xsd:documentation> 
    2355                                         <!-- Missing: Added element connection --> 
     2329                                        <!-- PROFILE: Added element connection --> 
    23562330                                </xsd:annotation> 
    23572331                        </xsd:element> 
     
    23592333                                <xsd:annotation> 
    23602334                                        <xsd:documentation>Length measured along string.</xsd:documentation> 
    2361                                         <!-- Missing: Added element length --> 
     2335                                        <!-- PROFILE: Added element length --> 
    23622336                                </xsd:annotation> 
    23632337                        </xsd:element> 
     
    23732347                        </xsd:element> 
    23742348                        <xsd:element name="casing_liner_tubing_run" type="witsml:cs_stimJobStage"> 
     2349                                <!-- PROFILE: Added element casing_liner_tubing_run --> 
    23752350                                <xsd:annotation> 
    23762351                                        <xsd:documentation>Information about a casing_liner_tubing run.</xsd:documentation> 
    23772352                                </xsd:annotation> 
    23782353                        </xsd:element> 
    2379                         <!-- Profile: deleted element tvdTop --> 
    2380                         <!-- Profile: deleted element tvdBottom --> 
    2381                         <!-- Profile: deleted element volumeFactor --> 
    2382                         <!-- Profile: deleted element extensionNameValue --> 
     2354                        <!-- PROFILE: deleted element tvdTop --> 
     2355                        <!-- PROFILE: deleted element tvdBottom --> 
     2356                        <!-- PROFILE: deleted element volumeFactor --> 
     2357                        <!-- PROFILE: deleted element extensionNameValue --> 
    23832358                </xsd:sequence> 
    23842359                <!-- Unused: deleted element attgrp_uid --> 
     
    23952370                                </xsd:annotation> 
    23962371                        </xsd:element> 
    2397                         <!-- Profile: deleted element name. --> 
     2372                        <!-- PROFILE: deleted element name. --> 
    23982373                        <xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1"> 
    23992374                                <xsd:annotation> 
     
    24012376                                </xsd:annotation> 
    24022377                        </xsd:element> 
    2403                         <!-- Profile: deleted element number. --> 
     2378                        <!-- PROFILE: deleted element number. --> 
    24042379                        <xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="0" maxOccurs="1"> 
    24052380                                <xsd:annotation> 
     
    24072382                                </xsd:annotation> 
    24082383                        </xsd:element> 
    2409                         <!-- Profile: deleted element dTimEnd.--> 
    2410                         <!-- Profile: deleted element pumpTime. --> 
    2411                         <!-- Profile: deleted element startRateSurfaceLiquid. --> 
    2412                         <!-- Profile: deleted element endRateSurfaceLiquid. --> 
    2413                         <!-- Profile: deleted element avgRateSurfaceLiquid. --> 
    2414                         <!-- Profile: deleted element startRateSurfaceCO2. --> 
    2415                         <!-- Profile: deleted element endRateSurfaceCO2. --> 
    2416                         <!-- Profile: deleted element avgRateSurfaceCO2. --> 
    2417                         <!-- Profile: deleted element startStdRateSurfaceN2. --> 
    2418                         <!-- Profile: deleted element endStdRateSurfaceN2. --> 
    2419                         <!-- Profile: deleted element avgStdRateSurfaceN2. --> 
    2420                         <!-- Profile: deleted element startPresSurface. --> 
    2421                         <!-- Profile: deleted element endPresSurface. --> 
    2422                         <!-- Profile: deleted element averagePresSurface. --> 
    2423                         <!-- Profile: deleted element startPumpRateBottomhole. --> 
    2424                         <!-- Profile: deleted element endPumpRateBottomhole. --> 
    2425                         <!-- Profile: deleted element avgPumpRateBottomhole. --> 
    2426                         <!-- Profile: deleted element startPresBottomhole. --> 
    2427                         <!-- Profile: deleted element endPresBottomhole. --> 
    2428                         <!-- Profile: deleted element averagePresBottomhole. --> 
    2429                         <!-- Profile: deleted element startProppantConcSurface. --> 
    2430                         <!-- Profile: deleted element endProppantConcSurface. --> 
    2431                         <!-- Profile: deleted element avgProppantConcSurface. --> 
    2432                         <!-- Profile: deleted element startProppantConcBottomhole. --> 
    2433                         <!-- Profile: deleted element endProppantConcBottomhole. --> 
    2434                         <!-- Profile: deleted element avgProppantConcBottomhole. --> 
    2435                         <!-- Profile: deleted element startFoamRateN2. --> 
    2436                         <!-- Profile: deleted element endFoamRateN2. --> 
    2437                         <!-- Profile: deleted element startFoamRateCO2. --> 
    2438                         <!-- Profile: deleted element endFoamRateCO2. --> 
    2439                         <!-- Profile: deleted element fluidVolBase. --> 
    2440                         <!-- Profile: deleted element fluidVolSlurry. --> 
    2441                         <!-- Profile: deleted element slurryRateBegin. --> 
    2442                         <!-- Profile: deleted element slurryRateEnd. --> 
    2443                         <!-- Profile: deleted element proppantMassWellHead. --> 
    2444                         <!-- Profile: deleted element proppantMass. --> 
    2445                         <!-- Profile: deleted element maxPres. --> 
    2446                         <!-- Profile: deleted element maxSlurryRate. --> 
    2447                         <!-- Profile: deleted element maxWellheadRate. --> 
    2448                         <!-- Profile: deleted element maxN2StdRate. --> 
    2449                         <!-- Profile: deleted element maxCO2LiquidRate. --> 
    2450                         <!-- Profile: deleted element maxPropConc. --> 
    2451                         <!-- Profile: deleted element maxSlurryPropConc. --> 
    2452                         <!-- Profile: deleted element avgPropConc. --> 
    2453                         <!-- Profile: deleted element avgSlurryPropConc. --> 
    2454                         <!-- Profile: deleted element avgTemperature. --> 
    2455                         <!-- Profile: deleted element avgInternalPhaseFraction. --> 
    2456                         <!-- Profile: deleted element avgBaseFluidQuality. --> 
    2457                         <!-- Profile: deleted element avgN2BaseFluidQuality. --> 
    2458                         <!-- Profile: deleted element avgCO2BaseFluidQuality. --> 
    2459                         <!-- Profile: deleted element avgHydraulicPower. --> 
    2460                         <!-- Profile: deleted element avgBaseFluidRate. --> 
    2461                         <!-- Profile: deleted element avgSlurryRate. --> 
    2462                         <!-- Profile: deleted element avgWellheadRate. --> 
    2463                         <!-- Profile: deleted element avgN2StdRate. --> 
    2464                         <!-- Profile: deleted element avgCO2Rate. --> 
    2465                         <!-- Profile: deleted element baseFluidVol. --> 
    2466                         <!-- Profile: deleted element slurryVol. --> 
    2467                         <!-- Profile: deleted element wellheadVol. --> 
    2468                         <!-- Profile: deleted element maxPmaxPacPres. --> 
    2469                         <!-- Profile: deleted element maxPmaxWeaklinkPres. --> 
    2470                         <!-- Profile: deleted element maxGelRate. --> 
    2471                         <!-- Profile: deleted element maxOilRate. --> 
    2472                         <!-- Profile: deleted element maxAcidRate. --> 
    2473                         <!-- Profile: deleted element avgGelRate. --> 
    2474                         <!-- Profile: deleted element avgOilRate. --> 
    2475                         <!-- Profile: deleted element avgAcidRate. --> 
    2476                         <!-- Profile: deleted element gelVolume. --> 
    2477                         <!-- Profile: deleted element oilVolume. --> 
    2478                         <!-- Profile: deleted element acidVolume. --> 
    2479                         <!-- Profile: deleted element baseFluidBypassVol. --> 
    2480                         <!-- Profile: deleted element frictionFactor. --> 
    2481                         <!-- Profile: deleted element stageFluid. --> 
    2482                         <!-- Profile: deleted element extensionNameValue. --> 
     2384                        <!-- PROFILE: deleted element dTimEnd.--> 
     2385                        <!-- PROFILE: deleted element pumpTime. --> 
     2386                        <!-- PROFILE: deleted element startRateSurfaceLiquid. --> 
     2387                        <!-- PROFILE: deleted element endRateSurfaceLiquid. --> 
     2388                        <!-- PROFILE: deleted element avgRateSurfaceLiquid. --> 
     2389                        <!-- PROFILE: deleted element startRateSurfaceCO2. --> 
     2390                        <!-- PROFILE: deleted element endRateSurfaceCO2. --> 
     2391                        <!-- PROFILE: deleted element avgRateSurfaceCO2. --> 
     2392                        <!-- PROFILE: deleted element startStdRateSurfaceN2. --> 
     2393                        <!-- PROFILE: deleted element endStdRateSurfaceN2. --> 
     2394                        <!-- PROFILE: deleted element avgStdRateSurfaceN2. --> 
     2395                        <!-- PROFILE: deleted element startPresSurface. --> 
     2396                        <!-- PROFILE: deleted element endPresSurface. --> 
     2397                        <!-- PROFILE: deleted element averagePresSurface. --> 
     2398                        <!-- PROFILE: deleted element startPumpRateBottomhole. --> 
     2399                        <!-- PROFILE: deleted element endPumpRateBottomhole. --> 
     2400                        <!-- PROFILE: deleted element avgPumpRateBottomhole. --> 
     2401                        <!-- PROFILE: deleted element startPresBottomhole. --> 
     2402                        <!-- PROFILE: deleted element endPresBottomhole. --> 
     2403                        <!-- PROFILE: deleted element averagePresBottomhole. --> 
     2404                        <!-- PROFILE: deleted element startProppantConcSurface. --> 
     2405                        <!-- PROFILE: deleted element endProppantConcSurface. --> 
     2406                        <!-- PROFILE: deleted element avgProppantConcSurface. --> 
     2407                        <!-- PROFILE: deleted element startProppantConcBottomhole. --> 
     2408                        <!-- PROFILE: deleted element endProppantConcBottomhole. --> 
     2409                        <!-- PROFILE: deleted element avgProppantConcBottomhole. --> 
     2410                        <!-- PROFILE: deleted element startFoamRateN2. --> 
     2411                        <!-- PROFILE: deleted element endFoamRateN2. --> 
     2412                        <!-- PROFILE: deleted element startFoamRateCO2. --> 
     2413                        <!-- PROFILE: deleted element endFoamRateCO2. --> 
     2414                        <!-- PROFILE: deleted element fluidVolBase. --> 
     2415                        <!-- PROFILE: deleted element fluidVolSlurry. --> 
     2416                        <!-- PROFILE: deleted element slurryRateBegin. --> 
     2417                        <!-- PROFILE: deleted element slurryRateEnd. --> 
     2418                        <!-- PROFILE: deleted element proppantMassWellHead. --> 
     2419                        <!-- PROFILE: deleted element proppantMass. --> 
     2420                        <!-- PROFILE: deleted element maxPres. --> 
     2421                        <!-- PROFILE: deleted element maxSlurryRate. --> 
     2422                        <!-- PROFILE: deleted element maxWellheadRate. --> 
     2423                        <!-- PROFILE: deleted element maxN2StdRate. --> 
     2424                        <!-- PROFILE: deleted element maxCO2LiquidRate. --> 
     2425                        <!-- PROFILE: deleted element maxPropConc. --> 
     2426                        <!-- PROFILE: deleted element maxSlurryPropConc. --> 
     2427                        <!-- PROFILE: deleted element avgPropConc. --> 
     2428                        <!-- PROFILE: deleted element avgSlurryPropConc. --> 
     2429                        <!-- PROFILE: deleted element avgTemperature. --> 
     2430                        <!-- PROFILE: deleted element avgInternalPhaseFraction. --> 
     2431                        <!-- PROFILE: deleted element avgBaseFluidQuality. --> 
     2432                        <!-- PROFILE: deleted element avgN2BaseFluidQuality. --> 
     2433                        <!-- PROFILE: deleted element avgCO2BaseFluidQuality. --> 
     2434                        <!-- PROFILE: deleted element avgHydraulicPower. --> 
     2435                        <!-- PROFILE: deleted element avgBaseFluidRate. --> 
     2436                        <!-- PROFILE: deleted element avgSlurryRate. --> 
     2437                        <!-- PROFILE: deleted element avgWellheadRate. --> 
     2438                        <!-- PROFILE: deleted element avgN2StdRate. --> 
     2439                        <!-- PROFILE: deleted element avgCO2Rate. --> 
     2440                        <!-- PROFILE: deleted element baseFluidVol. --> 
     2441                        <!-- PROFILE: deleted element slurryVol. --> 
     2442                        <!-- PROFILE: deleted element wellheadVol. --> 
     2443                        <!-- PROFILE: deleted element maxPmaxPacPres. --> 
     2444                        <!-- PROFILE: deleted element maxPmaxWeaklinkPres. --> 
     2445                        <!-- PROFILE: deleted element maxGelRate. --> 
     2446                        <!-- PROFILE: deleted element maxOilRate. --> 
     2447                        <!-- PROFILE: deleted element maxAcidRate. --> 
     2448                        <!-- PROFILE: deleted element avgGelRate. --> 
     2449                        <!-- PROFILE: deleted element avgOilRate. --> 
     2450                        <!-- PROFILE: deleted element avgAcidRate. --> 
     2451                        <!-- PROFILE: deleted element gelVolume. --> 
     2452                        <!-- PROFILE: deleted element oilVolume. --> 
     2453                        <!-- PROFILE: deleted element acidVolume. --> 
     2454                        <!-- PROFILE: deleted element baseFluidBypassVol. --> 
     2455                        <!-- PROFILE: deleted element frictionFactor. --> 
     2456                        <!-- PROFILE: deleted element stageFluid. --> 
     2457                        <!-- PROFILE: deleted element extensionNameValue. --> 
    24832458                </xsd:sequence> 
    24842459                <!-- Unused: deleted element attgrp_uid --> 
     
    25302505                </xsd:restriction> 
    25312506        </xsd:simpleType> 
    2532         <!-- END Added 07/02 - 2011 --> 
    25332507        <xsd:complexType name="cs_fluid"> 
    25342508                <xsd:annotation> 
     
    34623436                                        </xsd:annotation> 
    34633437                                </xsd:element> 
    3464                                 <!-- Added 22feb2011 --> 
    3465                                 <xsd:element name="header" type="witsml:reportHeader" minOccurs="0" maxOccurs="1"> 
    3466                                         <xsd:annotation> 
    3467                                                 <xsd:documentation>Information about this report.</xsd:documentation> 
    3468                                         </xsd:annotation> 
    3469                                 </xsd:element> 
    3470                                 <!-- END Added 22feb2011 --> 
    34713438                                <xsd:element name="wellCRS" type="witsml:cs_wellCRS" minOccurs="0" maxOccurs="unbounded"> 
    34723439                                        <xsd:annotation> 
     
    34953462                                <xsd:element name="casing_liner_tubing" type="witsml:cs_stimTubular" minOccurs="0" maxOccurs="unbounded"> 
    34963463                                        <xsd:annotation> 
    3497                                                 <xsd:documentation>Information about a bit run.</xsd:documentation> 
     3464                                                <xsd:documentation>Information about a casing/liner/tubing run.</xsd:documentation> 
    34983465                                        </xsd:annotation> 
    34993466                                </xsd:element> 
     
    55665533        </xsd:complexType> 
    55675534        <!--UNUSED: Deleted type thermodynamicTemperatureMeasure.--> 
    5568         <!-- Added 07/02 - 2011 --> 
    55695535        <xsd:simpleType name="specificVolumeUomCubicFeetPer94PoundSack"> 
    55705536                <xsd:restriction base="witsml:abstractUomEnum"> 
     
    55965562                </xsd:restriction> 
    55975563        </xsd:simpleType> 
    5598         <!-- END Added 07/02 - 2011 --> 
    55995564        <xsd:complexType name="timeMeasure"> 
    56005565                <xsd:simpleContent> 
     
    56115576        <!--UNUSED: Deleted type volumeMeasure.--> 
    56125577        <!--UNUSED: Deleted type volumeFlowRateMeasure.--> 
    5613         <!-- Added 07/02 - 2011 --> 
    56145578        <xsd:complexType name="volumeFlowRateMeasureCubicMeterPerMin"> 
    56155579                <xsd:simpleContent> 
     
    56465610                </xsd:simpleContent> 
    56475611        </xsd:complexType> 
    5648         <!-- END Added 07/02 - 2011 --> 
    56495612        <xsd:complexType name="volumePerVolumeMeasure"> 
    56505613                <xsd:simpleContent> 
     
    57005663        <!--UNUSED: Deleted type AnglePerLengthUom.--> 
    57015664        <!--UNUSED: Deleted type AnglePerTimeUom.--> 
    5702         <!-- Added 22/02 - 2011 --> 
    57035665        <xsd:simpleType name="areaUom"> 
    57045666                <xsd:restriction base="witsml:abstractUomEnum"> 
     
    57065668                </xsd:restriction> 
    57075669        </xsd:simpleType> 
    5708         <!-- END Added 22/02 - 2011 --> 
    57095670        <!--UNUSED: Deleted type AreaPerAreaUom.--> 
    5710         <!-- Added 07/02 - 2011 --> 
    57115671        <xsd:simpleType name="anglePerTimeUomRpm"> 
    57125672                <xsd:restriction base="witsml:abstractUomEnum"> 
     
    57335693                </xsd:simpleContent> 
    57345694        </xsd:complexType> 
    5735         <!-- END Added 07/02 - 2011 --> 
    57365695        <xsd:simpleType name="DensityUom"> 
    57375696                <xsd:annotation> 
     
    58695828        <!--UNUSED: Deleted type MomentOfForceUom.--> 
    58705829        <!--UNUSED: Deleted type PerLengthUom.--> 
    5871         <!-- Added 07/02 - 2011 --> 
    58725830        <xsd:simpleType name="massPerLengthUom"> 
    58735831                <xsd:restriction base="witsml:abstractUomEnum"> 
     
    59325890                </xsd:restriction> 
    59335891        </xsd:simpleType> 
    5934         <!-- END Added 07/02 - 2011 --> 
    59355892        <xsd:simpleType name="PlaneAngleUom"> 
    59365893                <xsd:annotation> 
  • projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation_2011_02_07.xsl

    r143 r146  
    3535                                                <tr class="light"> 
    3636                                                        <xsl:variable name="element_objDrillReport_sequence" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='obj_drillReport']/xsd:sequence/xsd:sequence"/> 
    37                                                         <xsl:variable name="element_header" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='header']/xsd:sequence"/> 
    38                                                         <xsl:variable name="element_rigTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='rigTypes']/xsd:restriction"/> 
     37                                                        <xsl:variable name="element_statusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='statusInfo']/xsd:sequence"/> 
    3938                                                        <td> 
    4039                                                                <table id="table1"> 
     
    4544                                                                                </td> 
    4645                                                                                <td class="light"> 
    47                                                                                         <xsl:value-of select="witsml:header/witsml:reportNo" /> 
    48                                                                                         <!--$element_header//xsd:element[@name='reportNo']"/>--> 
     46                                                                                        <xsl:value-of select="witsml:statusInfo/witsml:reportNo" /> 
    4947                                                                                </td> 
    5048                                                                                <td class="ColHead"> 
     
    9391                                                                                </td> 
    9492                                                                        </tr> 
    95                                                                         <!-- Added 18jan2011 --> 
    96                                                                         <tr class="light"> 
    97                                                                                 <td class="ColHead"> 
    98                                                                                         <a target="_blank" href="{$urlRDS}">High Pressure - High Temperature:</a> 
    99                                                                                 </td> 
    100                                                                                 <td class="light"> 
    101                                                                                         <xsl:value-of select="witsml:header/witsml:hpht" /> 
    102                                                                                 </td> 
    103                                                                                 <td class="ColHead"> 
    104                                                                                         <a target="_blank" href="{$urlRDS}">Tight well:</a> 
    105                                                                                 </td> 
    106                                                                                 <td class="light"> 
    107                                                                                         <xsl:value-of select="witsml:header/witsml:tightWell"/> 
    108                                                                                 </td> 
    109                                                                         </tr> 
    110                                                                         <!-- END Added 18jan2011 --> 
    111                                                                         <!-- Added 26jan2011 --> 
    112                                                                         <tr class="light"> 
    113                                                                                 <td class="ColHead"> 
    114                                                                                         <a target="_blank" href="{$urlRDS}">Pressure (<xsl:value-of select="witsml:header/witsml:avgPresBH/@uom" />):</a> 
    115                                                                                 </td> 
    116                                                                                 <td class="light"> 
    117                                                                                         <xsl:value-of select="witsml:header/witsml:avgPresBH"/> 
    118                                                                                 </td> 
    119                                                                                 <td class="ColHead"> 
    120                                                                                         <a target="_blank" href="{$urlRDS}">Temperature (<xsl:value-of select="witsml:header/witsml:expTempBH/@uom" />):</a> 
    121                                                                                 </td> 
    122                                                                                 <td class="light"> 
    123                                                                                         <xsl:value-of select="witsml:header/witsml:expTempBH"/> 
    124                                                                                 </td> 
    125                                                                         </tr> 
    126                                                                         <tr class="light"> 
    127                                                                                 <!-- END Added 26jan2011 --> 
    128                                                                                 <!-- Added 07feb2011 --> 
    129                                                                                 <!--</tr> 
    130                                                                         <tr class="light">--> 
    131                                                                                 <td class="ColHead"> 
    132                                                                                         <a target="_blank" href="{$urlRDS}">Rig Type:</a> 
    133                                                                                 </td> 
    134                                                                                 <td class="light"> 
    135                                                                                         <xsl:variable name="element_rigType" select="witsml:header/witsml:rigType" /> 
    136                                                                                         <xsl:value-of select="$element_rigTypes//xsd:enumeration[@value=$element_rigType]" /> 
    137                                                                                 </td> 
    138                                                                         </tr> 
    139                                                                         <!-- END Added 07feb2011 --> 
    14093                                                                        <tr height="5px"> 
    14194                                                                                <td colspan="6"/> 
     
    508461                                                <!--  witsml:pipe --> 
    509462                                                <xsl:if test="count(witsml:casing_liner_tubing) > 0"> 
    510                                                 <tr height="5px"> 
    511                                                         <td/> 
    512                                                 </tr> 
    513                                                 <tr> 
    514                                                         <td> 
    515                                                                 <hr/> 
    516                                                         </td> 
    517                                                 </tr> 
    518                                                 <tr> 
    519                                                         <td class="SectionHead">Casing/Liner/Tubing information</td> 
    520                                                 </tr> 
    521                                                 <tr> 
    522                                                         <td> 
    523                                                                 <table id="table2"> 
    524                                                                         <xsl:variable name="element_pipe" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='casing_liner_tubing']/xsd:sequence"/> 
    525                                                                         <!--<xsl:variable name="url_readingKind"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/></xsl:variable> 
    526                                                                         <xsl:variable name="url_equivalentMudWeight"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/></xsl:variable> 
    527                                                                         <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> 
    528                                                                         <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> 
    529                                                                         <xsl:variable name="url_tvd"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/></xsl:variable>--> 
    530                                                                         <tr> 
    531                                                                                 <td align="center" valign="top"> 
    532                                                                                         <a target="_blank" href="{$urlRDS}">Type of pipe</a> 
    533                                                                                 </td> 
    534                                                                                 <td align="center" valign="top"> 
    535                                                                                         <a target="_blank" href="{$urlRDS}">Casing type</a> 
    536                                                                                 </td> 
    537                                                                                 <td align="center" width="60" valign="top"> 
    538                                                                                         <a target="_blank" href="{$urlRDS}">Run time</a> 
    539                                                                                 </td> 
    540                                                                                 <td align="center" width="100" valign="top"> 
    541                                                                                         <a target="_blank" href="{$urlRDS}">Description</a> 
    542                                                                                 </td> 
    543                                                                                 <td align="center" width="60" valign="top"> 
    544                                                                                         <a target="_blank" href="{$urlRDS}">Nominal outside diameter<br /><xsl:value-of select="witsml:casing_liner_tubing/witsml:od/@uom"/> 
    545                                                                                         </a> 
    546                                                                                 </td> 
    547                                                                                 <td align="center" width="100" valign="top"> 
    548                                                                                         <a target="_blank" href="{$urlRDS}">Nominal inside diameter<br /><xsl:value-of select="witsml:casing_liner_tubing/witsml:id/@uom"/> 
    549                                                                                         </a> 
    550                                                                                 </td> 
    551                                                                                 <td align="center" width="60" valign="top"> 
    552                                                                                         <a target="_blank" href="{$urlRDS}">Nominal Weight<br /><xsl:value-of select="witsml:casing_liner_tubing/witsml:weight/@uom"/> 
    553                                                                                         </a> 
    554                                                                                 </td> 
    555                                                                                 <td align="center" width="60" valign="top"> 
    556                                                                                         <a target="_blank" href="{$urlRDS}">Nominal Grade</a> 
    557                                                                                 </td> 
    558                                                                                 <td align="center" width="60" valign="top"> 
    559                                                                                         <a target="_blank" href="{$urlRDS}">Nominal Connection</a> 
    560                                                                                 </td> 
    561                                                                                 <td align="center" width="60" valign="top"> 
    562                                                                                         <a target="_blank" href="{$urlRDS}">Length<br /><xsl:value-of select="witsml:casing_liner_tubing/witsml:length/@uom"/> 
    563                                                                                         </a> 
    564                                                                                 </td> 
    565                                                                                 <td align="center" width="60" valign="top"> 
    566                                                                                         <a target="_blank" href="{$urlRDS}">Top/Hangar MD<br /><xsl:value-of select="witsml:casing_liner_tubing/witsml:mdTop/@uom"/> 
    567                                                                                         </a> 
    568                                                                                 </td> 
    569                                                                                 <td align="center" width="60" valign="top"> 
    570                                                                                         <a target="_blank" href="{$urlRDS}">Bottom/Shoe MD<br /><xsl:value-of select="witsml:casing_liner_tubing/witsml:mdBottom/@uom"/> 
    571                                                                                         </a> 
    572                                                                                 </td> 
    573                                                                         </tr> 
    574                                                                         <xsl:for-each select="witsml:casing_liner_tubing"> 
    575                                                                                 <tr class="light"> 
    576                                                                                         <td align="center"> 
    577                                                                                                 <xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/> 
    578                                                                                                 <xsl:variable name="pipeType" select="witsml:type" /> 
    579                                                                                                 <xsl:value-of select="$element_pipeType//xsd:enumeration[@value=$pipeType]"/> 
    580                                                                                         </td> 
    581                                                                                         <td align="center"> 
    582                                                                                                 <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='stimStageType']/xsd:restriction"/> 
    583                                                                                                 <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind" /> 
    584                                                                                                 <xsl:value-of select="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 
    585                                                                                         </td> 
    586                                                                                         <td align="center"> 
    587                                                                                                 <xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/> 
    588                                                                                         </td> 
    589                                                                                         <td align="center"> 
    590                                                                                                 <xsl:value-of select="witsml:casing_liner_tubing_run/witsml:description"/> 
    591                                                                                         </td> 
    592                                                                                         <td align="center"> 
    593                                                                                                 <xsl:value-of select="witsml:od"/> 
    594                                                                                         </td> 
    595                                                                                         <td align="center"> 
    596                                                                                                 <xsl:value-of select="witsml:id"/> 
    597                                                                                         </td> 
    598                                                                                         <td align="center"> 
    599                                                                                                 <xsl:value-of select="witsml:weight"/> 
    600                                                                                         </td> 
    601                                                                                         <td align="center"> 
    602                                                                                                 <xsl:value-of select="witsml:grade"/> 
    603                                                                                         </td> 
    604                                                                                         <td align="center"> 
    605                                                                                                 <xsl:value-of select="witsml:connection"/> 
    606                                                                                         </td> 
    607                                                                                         <td align="center"> 
    608                                                                                                 <xsl:value-of select="witsml:length"/> 
    609                                                                                         </td> 
    610                                                                                         <td align="center"> 
    611                                                                                                 <xsl:value-of select="witsml:mdTop"/> 
    612                                                                                         </td> 
    613                                                                                         <td align="center"> 
    614                                                                                                 <xsl:value-of select="witsml:mdBottom"/> 
    615                                                                                         </td> 
    616                                                                                 </tr> 
    617                                                                         </xsl:for-each> 
    618                                                                 </table> 
    619                                                         </td> 
    620                                                 </tr> 
    621                                                 </xsl:if> 
    622                                                 <!-- witsml:cement --> 
    623                                                 <xsl:if test="count(witsml:cementStage) > 0"> 
    624                                                 <xsl:for-each select="witsml:cementStage"> 
    625463                                                        <tr height="5px"> 
    626464                                                                <td/> 
     
    632470                                                        </tr> 
    633471                                                        <tr> 
    634                                                                 <td class="SectionHead">Cement information</td> 
     472                                                                <td class="SectionHead">Casing/Liner/Tubing information</td> 
    635473                                                        </tr> 
    636474                                                        <tr> 
    637475                                                                <td> 
    638476                                                                        <table id="table2"> 
    639                                                                                 <xsl:variable name="element_cement" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cement']/xsd:sequence"/> 
     477                                                                                <xsl:variable name="element_pipe" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='casing_liner_tubing']/xsd:sequence"/> 
    640478                                                                                <!--<xsl:variable name="url_readingKind"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/></xsl:variable> 
    641479                                                                        <xsl:variable name="url_equivalentMudWeight"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/></xsl:variable> 
     
    645483                                                                                <tr> 
    646484                                                                                        <td align="center" valign="top"> 
    647                                                                                                 <a target="_blank" href="{$urlRDS}">Start Time</a> 
     485                                                                                                <a target="_blank" href="{$urlRDS}">Type of pipe</a> 
    648486                                                                                        </td> 
    649487                                                                                        <td align="center" valign="top"> 
    650                                                                                                 <a target="_blank" href="{$urlRDS}">End Time</a> 
     488                                                                                                <a target="_blank" href="{$urlRDS}">Casing type</a> 
    651489                                                                                        </td> 
    652490                                                                                        <td align="center" width="60" valign="top"> 
    653                                                                                                 <a target="_blank" href="{$urlRDS}">Job Type</a> 
     491                                                                                                <a target="_blank" href="{$urlRDS}">Run time</a> 
     492                                                                                        </td> 
     493                                                                                        <td align="center" width="100" valign="top"> 
     494                                                                                                <a target="_blank" href="{$urlRDS}">Description</a> 
    654495                                                                                        </td> 
    655496                                                                                        <td align="center" width="60" valign="top"> 
    656                                                                                                 <a target="_blank" href="{$urlRDS}">Casing string diameter</a> 
     497                                                                                                <a target="_blank" href="{$urlRDS}">Nominal outside diameter<br /> 
     498                                                                                                        <xsl:value-of select="witsml:casing_liner_tubing/witsml:od/@uom"/> 
     499                                                                                                </a> 
    657500                                                                                        </td> 
    658501                                                                                        <td align="center" width="100" valign="top"> 
    659                                                                                                 <a target="_blank" href="{$urlRDS}">Comments</a> 
     502                                                                                                <a target="_blank" href="{$urlRDS}">Nominal inside diameter<br /> 
     503                                                                                                        <xsl:value-of select="witsml:casing_liner_tubing/witsml:id/@uom"/> 
     504                                                                                                </a> 
    660505                                                                                        </td> 
    661506                                                                                        <td align="center" width="60" valign="top"> 
    662                                                                                                 <a target="_blank" href="{$urlRDS}">Top plug used</a> 
     507                                                                                                <a target="_blank" href="{$urlRDS}">Nominal Weight<br /> 
     508                                                                                                        <xsl:value-of select="witsml:casing_liner_tubing/witsml:weight/@uom"/> 
     509                                                                                                </a> 
    663510                                                                                        </td> 
    664511                                                                                        <td align="center" width="60" valign="top"> 
    665                                                                                                 <a target="_blank" href="{$urlRDS}">Bottom plug used</a> 
     512                                                                                                <a target="_blank" href="{$urlRDS}">Nominal Grade</a> 
    666513                                                                                        </td> 
    667514                                                                                        <td align="center" width="60" valign="top"> 
    668                                                                                                 <a target="_blank" href="{$urlRDS}">Plug failed to bump</a> 
     515                                                                                                <a target="_blank" href="{$urlRDS}">Nominal Connection</a> 
    669516                                                                                        </td> 
    670517                                                                                        <td align="center" width="60" valign="top"> 
    671                                                                                                 <a target="_blank" href="{$urlRDS}">Plug bump pressure <xsl:value-of select="witsml:presBump/@uom"/> 
     518                                                                                                <a target="_blank" href="{$urlRDS}">Length<br /> 
     519                                                                                                        <xsl:value-of select="witsml:casing_liner_tubing/witsml:length/@uom"/> 
    672520                                                                                                </a> 
    673521                                                                                        </td> 
    674522                                                                                        <td align="center" width="60" valign="top"> 
    675                                                                                                 <a target="_blank" href="{$urlRDS}">Float failed</a> 
     523                                                                                                <a target="_blank" href="{$urlRDS}">Top/Hangar MD<br /> 
     524                                                                                                        <xsl:value-of select="witsml:casing_liner_tubing/witsml:mdTop/@uom"/> 
     525                                                                                                </a> 
    676526                                                                                        </td> 
    677527                                                                                        <td align="center" width="60" valign="top"> 
    678                                                                                                 <a target="_blank" href="{$urlRDS}">Pressure release time</a> 
    679                                                                                         </td> 
    680                                                                                         <td align="center" width="60" valign="top"> 
    681                                                                                                 <a target="_blank" href="{$urlRDS}">Full returns</a> 
    682                                                                                         </td> 
    683                                                                                         <td align="center" width="60" valign="top"> 
    684                                                                                                 <a target="_blank" href="{$urlRDS}">cement volume returns <xsl:value-of select="witsml:volReturns/@uom"/> 
    685                                                                                                 </a> 
    686                                                                                         </td> 
    687                                                                                         <td align="center" width="60" valign="top"> 
    688                                                                                                 <a target="_blank" href="{$urlRDS}">Reciprocated</a> 
    689                                                                                         </td> 
    690                                                                                         <td align="center" width="60" valign="top"> 
    691                                                                                                 <a target="_blank" href="{$urlRDS}">Rotated</a> 
     528                                                                                                <a target="_blank" href="{$urlRDS}">Bottom/Shoe MD<br /> 
     529                                                                                                        <xsl:value-of select="witsml:casing_liner_tubing/witsml:mdBottom/@uom"/> 
     530                                                                                                </a> 
    692531                                                                                        </td> 
    693532                                                                                </tr> 
    694                                                                                 <tr class="light"> 
    695                                                                                         <td align="center"> 
    696                                                                                                 <xsl:value-of select="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/> 
    697                                                                                         </td> 
    698                                                                                         <td align="center"> 
    699                                                                                                 <xsl:value-of select="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/> 
    700                                                                                         </td> 
    701                                                                                         <td align="center"> 
    702                                                                                                 <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/> 
    703                                                                                                 <xsl:variable name="jobTypes" select="witsml:jobType" /> 
    704                                                                                                 <xsl:value-of select="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/> 
    705                                                                                         </td> 
    706                                                                                         <td align="center"> 
    707                                                                                                 <xsl:value-of select="witsml:casingStrDia"/> 
    708                                                                                         </td> 
    709                                                                                         <td align="center"> 
    710                                                                                                 <xsl:value-of select="witsml:comment"/> 
    711                                                                                         </td> 
    712                                                                                         <td align="center"> 
    713                                                                                                 <xsl:value-of select="witsml:topPlug"/> 
    714                                                                                         </td> 
    715                                                                                         <td align="center"> 
    716                                                                                                 <xsl:value-of select="witsml:botPlug"/> 
    717                                                                                         </td> 
    718                                                                                         <td align="center"> 
    719                                                                                                 <xsl:value-of select="witsml:plugBumped"/> 
    720                                                                                         </td> 
    721                                                                                         <td align="center"> 
    722                                                                                                 <xsl:value-of select="witsml:presBump"/> 
    723                                                                                         </td> 
    724                                                                                         <td align="center"> 
    725                                                                                                 <xsl:value-of select="witsml:floatFailed"/> 
    726                                                                                         </td> 
    727                                                                                         <td align="center"> 
    728                                                                                                 <xsl:value-of select="substring(witsml:eTimPresHeld, 0, 17)"/> 
    729                                                                                         </td> 
    730                                                                                         <td align="center"> 
    731                                                                                                 <xsl:value-of select="witsml:annFlowAfter"/> 
    732                                                                                         </td> 
    733                                                                                         <td align="center"> 
    734                                                                                                 <xsl:value-of select="witsml:volReturns"/> 
    735                                                                                         </td> 
    736                                                                                         <td align="center"> 
    737                                                                                                 <xsl:value-of select="witsml:reciprocated"/> 
    738                                                                                         </td> 
    739                                                                                         <td align="center"> 
    740                                                                                                 <xsl:value-of select="witsml:rotated"/> 
    741                                                                                         </td> 
    742                                                                                 </tr> 
    743                                                                         </table> 
    744                                                                 </td> 
    745                                                         </tr> 
    746                                                         <!--  witsml:cementingFluid --> 
    747                                                         <tr height="5px"> 
    748                                                                 <td/> 
    749                                                         </tr> 
    750                                                         <tr> 
    751                                                                 <td> 
    752                                                                 </td> 
    753                                                         </tr> 
    754                                                         <tr> 
    755                                                                 <td class="SectionHead">Cementing Fluid Details</td> 
    756                                                         </tr> 
    757                                                         <xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cementingFluid']/xsd:sequence"/> 
    758                                                         <xsl:variable name="url_dTimFluid"> 
    759                                                                 <xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/> 
    760                                                         </xsl:variable> 
    761                                                         <xsl:variable name="url_mdFluid"> 
    762                                                                 <xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/> 
    763                                                         </xsl:variable> 
    764                                                         <xsl:variable name="url_mudClass"> 
    765                                                                 <xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/> 
    766                                                         </xsl:variable> 
    767                                                         <xsl:variable name="url_density"> 
    768                                                                 <xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/> 
    769                                                         </xsl:variable> 
    770                                                         <xsl:variable name="url_pv"> 
    771                                                                 <xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/> 
    772                                                         </xsl:variable> 
    773                                                         <xsl:variable name="url_yp"> 
    774                                                                 <xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/> 
    775                                                         </xsl:variable> 
    776                                                         <tr> 
    777                                                                 <td> 
    778                                                                         <table id="table2"> 
    779                                                                                 <tr> 
    780                                                                                         <td align="left"  width="60" valign="top"> 
    781                                                                                                 <a target="_blank" href="{$url_dTimFluid}">Sample Time</a> 
    782                                                                                         </td> 
    783                                                                                         <td align="center" width="60" valign="top"> 
    784                                                                                                 <a target="_blank" href="{$url_mdFluid}">MD At Logging <xsl:value-of select="witsml:cementingFluid/witsml:mdLog/@uom" /> 
    785                                                                                                 </a> 
    786                                                                                         </td> 
    787                                                                                         <td align="center" width="100" valign="top"> 
    788                                                                                                 <a target="_blank" href="{$url_mudClass}">Fluid Type</a> 
    789                                                                                         </td> 
    790                                                                                         <td align="center" width="100" valign="top"> 
    791                                                                                                 <a target="_blank" href="{$url_mudClass}">Fluid Description</a> 
    792                                                                                         </td> 
    793                                                                                         <td align="center" width="100" valign="top"> 
    794                                                                                                 <a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/> 
    795                                                                                                 </a> 
    796                                                                                         </td> 
    797                                                                                         <td align="center" width="100" valign="top"> 
    798                                                                                                 <a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/> 
    799                                                                                                 </a> 
    800                                                                                         </td> 
    801                                                                                         <td align="center" width="120" valign="top"> 
    802                                                                                                 <a target="_blank" href="{$url_pv}">Fluid Viscosity <xsl:value-of select="witsml:cementingFluid/witsml:pv/@uom"/> 
    803                                                                                                 </a> 
    804                                                                                         </td> 
    805                                                                                         <td align="center" width="80" valign="top"> 
    806                                                                                                 <a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/> 
    807                                                                                                 </a> 
    808                                                                                         </td> 
    809                                                                                         <td align="center" width="80" valign="top"> 
    810                                                                                                 <a target="_blank" href="{$urlRDS}">Mix Water Ratio <xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/> 
    811                                                                                                 </a> 
    812                                                                                         </td> 
    813                                                                                         <td align="center" width="80" valign="top"> 
    814                                                                                                 <a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/> 
    815                                                                                                 </a> 
    816                                                                                         </td> 
    817                                                                                         <td align="center" width="80" valign="top"> 
    818                                                                                                 <a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/> 
    819                                                                                                 </a> 
    820                                                                                         </td> 
    821                                                                                         <td align="center" width="100" valign="top"> 
    822                                                                                                 <a target="_blank" href="{$urlRDS}">Comments</a> 
    823                                                                                         </td> 
    824  
    825                                                                                 </tr> 
    826                                                                                 <xsl:for-each select="witsml:cementingFluid"> 
     533                                                                                <xsl:for-each select="witsml:casing_liner_tubing"> 
    827534                                                                                        <tr class="light"> 
    828                                                                                                 <td> 
    829                                                                                                         <xsl:value-of select="substring(witsml:dTimTest, 0, 17)"/> 
    830                                                                                                 </td> 
    831                                                                                                 <td align="center"> 
    832                                                                                                         <xsl:value-of select="witsml:mdLog"/> 
    833                                                                                                 </td> 
    834                                                                                                 <td align="center"> 
    835                                                                                                         <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/> 
    836                                                                                                         <xsl:variable name="fluidTypes" select="witsml:typeFluid" /> 
    837                                                                                                         <xsl:value-of select="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/> 
    838                                                                                                 </td> 
    839                                                                                                 <td align="center"> 
    840                                                                                                         <xsl:value-of select="witsml:descFluid"/> 
    841                                                                                                 </td> 
    842                                                                                                 <td align="center"> 
    843                                                                                                         <xsl:value-of select="witsml:volPumped"/> 
    844                                                                                                 </td> 
    845                                                                                                 <td align="center"> 
    846                                                                                                         <xsl:value-of select="witsml:density"/> 
    847                                                                                                 </td> 
    848                                                                                                 <td align="center"> 
    849                                                                                                         <xsl:value-of select="witsml:pv"/> 
    850                                                                                                 </td> 
    851                                                                                                 <td align="center"> 
    852                                                                                                         <xsl:value-of select="witsml:yp"/> 
    853                                                                                                 </td> 
    854                                                                                                 <td align="center"> 
    855                                                                                                         <xsl:value-of select="witsml:ratioMixWater"/> 
    856                                                                                                 </td> 
    857                                                                                                 <td align="center"> 
    858                                                                                                         <xsl:value-of select="witsml:pcFreeWater"/> 
    859                                                                                                 </td> 
    860                                                                                                 <td align="center"> 
    861                                                                                                         <xsl:value-of select="witsml:eTimThickening"/> 
    862                                                                                                 </td> 
    863                                                                                                 <td align="center"> 
    864                                                                                                         <xsl:value-of select="witsml:comment"/> 
     535                                                                                                <td align="center"> 
     536                                                                                                        <xsl:variable name="element_pipeType" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularTypes']/xsd:restriction"/> 
     537                                                                                                        <xsl:variable name="pipeType" select="witsml:type" /> 
     538                                                                                                        <xsl:value-of select="$element_pipeType//xsd:enumeration[@value=$pipeType]"/> 
     539                                                                                                </td> 
     540                                                                                                <td align="center"> 
     541                                                                                                        <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='stimStageType']/xsd:restriction"/> 
     542                                                                                                        <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind" /> 
     543                                                                                                        <xsl:value-of select="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 
     544                                                                                                </td> 
     545                                                                                                <td align="center"> 
     546                                                                                                        <xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/> 
     547                                                                                                </td> 
     548                                                                                                <td align="center"> 
     549                                                                                                        <xsl:value-of select="witsml:casing_liner_tubing_run/witsml:description"/> 
     550                                                                                                </td> 
     551                                                                                                <td align="center"> 
     552                                                                                                        <xsl:value-of select="witsml:od"/> 
     553                                                                                                </td> 
     554                                                                                                <td align="center"> 
     555                                                                                                        <xsl:value-of select="witsml:id"/> 
     556                                                                                                </td> 
     557                                                                                                <td align="center"> 
     558                                                                                                        <xsl:value-of select="witsml:weight"/> 
     559                                                                                                </td> 
     560                                                                                                <td align="center"> 
     561                                                                                                        <xsl:value-of select="witsml:grade"/> 
     562                                                                                                </td> 
     563                                                                                                <td align="center"> 
     564                                                                                                        <xsl:value-of select="witsml:connection"/> 
     565                                                                                                </td> 
     566                                                                                                <td align="center"> 
     567                                                                                                        <xsl:value-of select="witsml:length"/> 
     568                                                                                                </td> 
     569                                                                                                <td align="center"> 
     570                                                                                                        <xsl:value-of select="witsml:mdTop"/> 
     571                                                                                                </td> 
     572                                                                                                <td align="center"> 
     573                                                                                                        <xsl:value-of select="witsml:mdBottom"/> 
    865574                                                                                                </td> 
    866575                                                                                        </tr> 
     
    869578                                                                </td> 
    870579                                                        </tr> 
    871                                                 </xsl:for-each> 
     580                                                </xsl:if> 
     581                                                <!-- witsml:cement --> 
     582                                                <xsl:if test="count(witsml:cementStage) > 0"> 
     583                                                        <xsl:for-each select="witsml:cementStage"> 
     584                                                                <tr height="5px"> 
     585                                                                        <td/> 
     586                                                                </tr> 
     587                                                                <tr> 
     588                                                                        <td> 
     589                                                                                <hr/> 
     590                                                                        </td> 
     591                                                                </tr> 
     592                                                                <tr> 
     593                                                                        <td class="SectionHead">Cement information</td> 
     594                                                                </tr> 
     595                                                                <tr> 
     596                                                                        <td> 
     597                                                                                <table id="table2"> 
     598                                                                                        <xsl:variable name="element_cement" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cement']/xsd:sequence"/> 
     599                                                                                        <!--<xsl:variable name="url_readingKind"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='readingKind']/@sawsdl:modelReference"/></xsl:variable> 
     600                                                                        <xsl:variable name="url_equivalentMudWeight"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='equivalentMudWeight']/@sawsdl:modelReference"/></xsl:variable> 
     601                                                                        <xsl:variable name="url_dTim"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='dTim']/@sawsdl:modelReference"/></xsl:variable> 
     602                                                                        <xsl:variable name="url_md"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='md']/@sawsdl:modelReference"/></xsl:variable> 
     603                                                                        <xsl:variable name="url_tvd"><xsl:value-of select="$element_drillReportPorePressure//xsd:element[@name='tvd']/@sawsdl:modelReference"/></xsl:variable>--> 
     604                                                                                        <tr> 
     605                                                                                                <td align="center" valign="top"> 
     606                                                                                                        <a target="_blank" href="{$urlRDS}">Start Time</a> 
     607                                                                                                </td> 
     608                                                                                                <td align="center" valign="top"> 
     609                                                                                                        <a target="_blank" href="{$urlRDS}">End Time</a> 
     610                                                                                                </td> 
     611                                                                                                <td align="center" width="60" valign="top"> 
     612                                                                                                        <a target="_blank" href="{$urlRDS}">Job Type</a> 
     613                                                                                                </td> 
     614                                                                                                <td align="center" width="60" valign="top"> 
     615                                                                                                        <a target="_blank" href="{$urlRDS}">Casing string diameter</a> 
     616                                                                                                </td> 
     617                                                                                                <td align="center" width="100" valign="top"> 
     618                                                                                                        <a target="_blank" href="{$urlRDS}">Comments</a> 
     619                                                                                                </td> 
     620                                                                                                <td align="center" width="60" valign="top"> 
     621                                                                                                        <a target="_blank" href="{$urlRDS}">Top plug used</a> 
     622                                                                                                </td> 
     623                                                                                                <td align="center" width="60" valign="top"> 
     624                                                                                                        <a target="_blank" href="{$urlRDS}">Bottom plug used</a> 
     625                                                                                                </td> 
     626                                                                                                <td align="center" width="60" valign="top"> 
     627                                                                                                        <a target="_blank" href="{$urlRDS}">Plug failed to bump</a> 
     628                                                                                                </td> 
     629                                                                                                <td align="center" width="60" valign="top"> 
     630                                                                                                        <a target="_blank" href="{$urlRDS}">Plug bump pressure <xsl:value-of select="witsml:presBump/@uom"/> 
     631                                                                                                        </a> 
     632                                                                                                </td> 
     633                                                                                                <td align="center" width="60" valign="top"> 
     634                                                                                                        <a target="_blank" href="{$urlRDS}">Float failed</a> 
     635                                                                                                </td> 
     636                                                                                                <td align="center" width="60" valign="top"> 
     637                                                                                                        <a target="_blank" href="{$urlRDS}">Pressure release time</a> 
     638                                                                                                </td> 
     639                                                                                                <td align="center" width="60" valign="top"> 
     640                                                                                                        <a target="_blank" href="{$urlRDS}">Full returns</a> 
     641                                                                                                </td> 
     642                                                                                                <td align="center" width="60" valign="top"> 
     643                                                                                                        <a target="_blank" href="{$urlRDS}">cement volume returns <xsl:value-of select="witsml:volReturns/@uom"/> 
     644                                                                                                        </a> 
     645                                                                                                </td> 
     646                                                                                                <td align="center" width="60" valign="top"> 
     647                                                                                                        <a target="_blank" href="{$urlRDS}">Reciprocated</a> 
     648                                                                                                </td> 
     649                                                                                                <td align="center" width="60" valign="top"> 
     650                                                                                                        <a target="_blank" href="{$urlRDS}">Rotated</a> 
     651                                                                                                </td> 
     652                                                                                        </tr> 
     653                                                                                        <tr class="light"> 
     654                                                                                                <td align="center"> 
     655                                                                                                        <xsl:value-of select="substring-after(substring(witsml:dTimPumpStart, 0, 17), 'T')"/> 
     656                                                                                                </td> 
     657                                                                                                <td align="center"> 
     658                                                                                                        <xsl:value-of select="substring-after(substring(witsml:dTimPumpEnd, 0, 17), 'T')"/> 
     659                                                                                                </td> 
     660                                                                                                <td align="center"> 
     661                                                                                                        <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/> 
     662                                                                                                        <xsl:variable name="jobTypes" select="witsml:jobType" /> 
     663                                                                                                        <xsl:value-of select="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/> 
     664                                                                                                </td> 
     665                                                                                                <td align="center"> 
     666                                                                                                        <xsl:value-of select="witsml:casingStrDia"/> 
     667                                                                                                </td> 
     668                                                                                                <td align="center"> 
     669                                                                                                        <xsl:value-of select="witsml:comment"/> 
     670                                                                                                </td> 
     671                                                                                                <td align="center"> 
     672                                                                                                        <xsl:value-of select="witsml:topPlug"/> 
     673                                                                                                </td> 
     674                                                                                                <td align="center"> 
     675                                                                                                        <xsl:value-of select="witsml:botPlug"/> 
     676                                                                                                </td> 
     677                                                                                                <td align="center"> 
     678                                                                                                        <xsl:value-of select="witsml:plugBumped"/> 
     679                                                                                                </td> 
     680                                                                                                <td align="center"> 
     681                                                                                                        <xsl:value-of select="witsml:presBump"/> 
     682                                                                                                </td> 
     683                                                                                                <td align="center"> 
     684                                                                                                        <xsl:value-of select="witsml:floatFailed"/> 
     685                                                                                                </td> 
     686                                                                                                <td align="center"> 
     687                                                                                                        <xsl:value-of select="substring(witsml:eTimPresHeld, 0, 17)"/> 
     688                                                                                                </td> 
     689                                                                                                <td align="center"> 
     690                                                                                                        <xsl:value-of select="witsml:annFlowAfter"/> 
     691                                                                                                </td> 
     692                                                                                                <td align="center"> 
     693                                                                                                        <xsl:value-of select="witsml:volReturns"/> 
     694                                                                                                </td> 
     695                                                                                                <td align="center"> 
     696                                                                                                        <xsl:value-of select="witsml:reciprocated"/> 
     697                                                                                                </td> 
     698                                                                                                <td align="center"> 
     699                                                                                                        <xsl:value-of select="witsml:rotated"/> 
     700                                                                                                </td> 
     701                                                                                        </tr> 
     702                                                                                </table> 
     703                                                                        </td> 
     704                                                                </tr> 
     705                                                                <!--  witsml:cementingFluid --> 
     706                                                                <tr height="5px"> 
     707                                                                        <td/> 
     708                                                                </tr> 
     709                                                                <tr> 
     710                                                                        <td> 
     711                                                                        </td> 
     712                                                                </tr> 
     713                                                                <tr> 
     714                                                                        <td class="SectionHead">Cementing Fluid Details</td> 
     715                                                                </tr> 
     716                                                                <xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cementingFluid']/xsd:sequence"/> 
     717                                                                <xsl:variable name="url_dTimFluid"> 
     718                                                                        <xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/> 
     719                                                                </xsl:variable> 
     720                                                                <xsl:variable name="url_mdFluid"> 
     721                                                                        <xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/> 
     722                                                                </xsl:variable> 
     723                                                                <xsl:variable name="url_mudClass"> 
     724                                                                        <xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/> 
     725                                                                </xsl:variable> 
     726                                                                <xsl:variable name="url_density"> 
     727                                                                        <xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/> 
     728                                                                </xsl:variable> 
     729                                                                <xsl:variable name="url_pv"> 
     730                                                                        <xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/> 
     731                                                                </xsl:variable> 
     732                                                                <xsl:variable name="url_yp"> 
     733                                                                        <xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/> 
     734                                                                </xsl:variable> 
     735                                                                <tr> 
     736                                                                        <td> 
     737                                                                                <table id="table2"> 
     738                                                                                        <tr> 
     739                                                                                                <td align="left"  width="60" valign="top"> 
     740                                                                                                        <a target="_blank" href="{$url_dTimFluid}">Sample Time</a> 
     741                                                                                                </td> 
     742                                                                                                <td align="center" width="60" valign="top"> 
     743                                                                                                        <a target="_blank" href="{$url_mdFluid}">MD At Logging <xsl:value-of select="witsml:cementingFluid/witsml:mdLog/@uom" /> 
     744                                                                                                        </a> 
     745                                                                                                </td> 
     746                                                                                                <td align="center" width="100" valign="top"> 
     747                                                                                                        <a target="_blank" href="{$url_mudClass}">Fluid Type</a> 
     748                                                                                                </td> 
     749                                                                                                <td align="center" width="100" valign="top"> 
     750                                                                                                        <a target="_blank" href="{$url_mudClass}">Fluid Description</a> 
     751                                                                                                </td> 
     752                                                                                                <td align="center" width="100" valign="top"> 
     753                                                                                                        <a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/> 
     754                                                                                                        </a> 
     755                                                                                                </td> 
     756                                                                                                <td align="center" width="100" valign="top"> 
     757                                                                                                        <a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/> 
     758                                                                                                        </a> 
     759                                                                                                </td> 
     760                                                                                                <td align="center" width="120" valign="top"> 
     761                                                                                                        <a target="_blank" href="{$url_pv}">Fluid Viscosity <xsl:value-of select="witsml:cementingFluid/witsml:pv/@uom"/> 
     762                                                                                                        </a> 
     763                                                                                                </td> 
     764                                                                                                <td align="center" width="80" valign="top"> 
     765                                                                                                        <a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/> 
     766                                                                                                        </a> 
     767                                                                                                </td> 
     768                                                                                                <td align="center" width="80" valign="top"> 
     769                                                                                                        <a target="_blank" href="{$urlRDS}">Mix Water Ratio <xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/> 
     770                                                                                                        </a> 
     771                                                                                                </td> 
     772                                                                                                <td align="center" width="80" valign="top"> 
     773                                                                                                        <a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/> 
     774                                                                                                        </a> 
     775                                                                                                </td> 
     776                                                                                                <td align="center" width="80" valign="top"> 
     777                                                                                                        <a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/> 
     778                                                                                                        </a> 
     779                                                                                                </td> 
     780                                                                                                <td align="center" width="100" valign="top"> 
     781                                                                                                        <a target="_blank" href="{$urlRDS}">Comments</a> 
     782                                                                                                </td> 
     783 
     784                                                                                        </tr> 
     785                                                                                        <xsl:for-each select="witsml:cementingFluid"> 
     786                                                                                                <tr class="light"> 
     787                                                                                                        <td> 
     788                                                                                                                <xsl:value-of select="substring(witsml:dTimTest, 0, 17)"/> 
     789                                                                                                        </td> 
     790                                                                                                        <td align="center"> 
     791                                                                                                                <xsl:value-of select="witsml:mdLog"/> 
     792                                                                                                        </td> 
     793                                                                                                        <td align="center"> 
     794                                                                                                                <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/> 
     795                                                                                                                <xsl:variable name="fluidTypes" select="witsml:typeFluid" /> 
     796                                                                                                                <xsl:value-of select="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/> 
     797                                                                                                        </td> 
     798                                                                                                        <td align="center"> 
     799                                                                                                                <xsl:value-of select="witsml:descFluid"/> 
     800                                                                                                        </td> 
     801                                                                                                        <td align="center"> 
     802                                                                                                                <xsl:value-of select="witsml:volPumped"/> 
     803                                                                                                        </td> 
     804                                                                                                        <td align="center"> 
     805                                                                                                                <xsl:value-of select="witsml:density"/> 
     806                                                                                                        </td> 
     807                                                                                                        <td align="center"> 
     808                                                                                                                <xsl:value-of select="witsml:pv"/> 
     809                                                                                                        </td> 
     810                                                                                                        <td align="center"> 
     811                                                                                                                <xsl:value-of select="witsml:yp"/> 
     812                                                                                                        </td> 
     813                                                                                                        <td align="center"> 
     814                                                                                                                <xsl:value-of select="witsml:ratioMixWater"/> 
     815                                                                                                        </td> 
     816                                                                                                        <td align="center"> 
     817                                                                                                                <xsl:value-of select="witsml:pcFreeWater"/> 
     818                                                                                                        </td> 
     819                                                                                                        <td align="center"> 
     820                                                                                                                <xsl:value-of select="witsml:eTimThickening"/> 
     821                                                                                                        </td> 
     822                                                                                                        <td align="center"> 
     823                                                                                                                <xsl:value-of select="witsml:comment"/> 
     824                                                                                                        </td> 
     825                                                                                                </tr> 
     826                                                                                        </xsl:for-each> 
     827                                                                                </table> 
     828                                                                        </td> 
     829                                                                </tr> 
     830                                                        </xsl:for-each> 
    872831                                                </xsl:if> 
    873832                                                <!-- END Added/changed 22feb2011 --> 
     
    25882547                        </td> 
    25892548                        <td class="ColHead"> 
    2590                                 <a target="_blank" href="{$urlRDS}">Water Depth MSL (<xsl:value-of select="../witsml:statusInfo/witsml:msl/@uom" />):</a> 
     2549                                <a target="_blank" href="{$urlRDS}">Water Depth MSL (<xsl:value-of select="../witsml:statusInfo/witsml:waterDepth/@uom" />):</a> 
    25912550                        </td> 
    25922551                        <td class="light"> 
    2593                                 <xsl:value-of select="../witsml:statusInfo/witsml:msl"/> 
     2552                                <xsl:value-of select="../witsml:statusInfo/witsml:waterDepth"/> 
    25942553                        </td> 
    25952554                </tr> 
     
    26452604                        <xsl:value-of select="$element_drillReportStatusInfo//xsd:element[@name='tvdCsgLast']/@sawsdl:modelReference"/> 
    26462605                </xsl:variable> 
     2606                <!-- Added 18jan2011 --> 
     2607                <xsl:variable name="element_header" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='statusInfo']/xsd:sequence"/> 
     2608                <xsl:variable name="element_rigTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='rigTypes']/xsd:restriction"/> 
     2609                <xsl:variable name="urlRDS" select="'http://www.posccaesar.org'"/> 
     2610                <tr class="light"> 
     2611                        <td class="ColHead"> 
     2612                                <a target="_blank" href="{$urlRDS}">Tight well:</a> 
     2613                        </td> 
     2614                        <td class="light"> 
     2615                                <xsl:value-of select="witsml:tightWell"/> 
     2616                        </td> 
     2617                        <td class="ColHead"> 
     2618                                <a target="_blank" href="{$urlRDS}">High Pressure - High Temperature:</a> 
     2619                        </td> 
     2620                        <td class="light"> 
     2621                                <xsl:value-of select="witsml:hpht" /> 
     2622                        </td> 
     2623                </tr> 
     2624                <!-- END Added 18jan2011 --> 
     2625                <!-- Added 26jan2011 --> 
     2626                <tr class="light"> 
     2627                        <td class="ColHead"> 
     2628                                <a target="_blank" href="{$urlRDS}">Pressure (<xsl:value-of select="witsml:avgPresBH/@uom" />):</a> 
     2629                        </td> 
     2630                        <td class="light"> 
     2631                                <xsl:value-of select="witsml:avgPresBH"/> 
     2632                        </td> 
     2633                        <td class="ColHead"> 
     2634                                <a target="_blank" href="{$urlRDS}">Temperature (<xsl:value-of select="witsml:expTempBH/@uom" />):</a> 
     2635                        </td> 
     2636                        <td class="light"> 
     2637                                <xsl:value-of select="witsml:expTempBH"/> 
     2638                        </td> 
     2639                </tr> 
     2640                <tr class="light"> 
     2641                        <!-- END Added 26jan2011 --> 
     2642                        <!-- Added 07feb2011 --> 
     2643                        <td class="ColHead"> 
     2644                                <a target="_blank" href="{$urlRDS}">Rig Type:</a> 
     2645                        </td> 
     2646                        <td class="light"> 
     2647                                <xsl:variable name="element_rigType" select="witsml:rigType" /> 
     2648                                <xsl:value-of select="$element_rigTypes//xsd:enumeration[@value=$element_rigType]" /> 
     2649                        </td> 
     2650                </tr> 
     2651                <!-- END Added 07feb2011 --> 
    26472652                <!-- wellbore type and kick off --> 
    26482653                <tr class="light"> 
  • projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml

    r143 r146  
    4242                </witsml:wellDatum> 
    4343 
    44                 <witsml:header> 
    45                         <witsml:periodOfOperation>2011-02-07T00:00:00 - 2011-02-07T00:00:00</witsml:periodOfOperation> 
    46                         <witsml:reportNo>1</witsml:reportNo> 
    47                         <witsml:tightWell>false</witsml:tightWell> 
    48                         <witsml:hpht>false</witsml:hpht> 
    49                         <witsml:avgPresBH uom="psig">2</witsml:avgPresBH> 
    50                         <witsml:expTempBH uom="degC">20</witsml:expTempBH> 
    51                         <witsml:rigType>Fixed rig</witsml:rigType> 
    52                 </witsml:header> 
    53  
    54  
    5544                <!--  
    5645    <witsml:wellCRS> 
     
    6150    </witsml:wellCRS> 
    6251     --> 
     52 
    6353                <witsml:wellboreInfo> 
    6454                        <witsml:dTimSpud>1986-06-06T13:15:00.000Z</witsml:dTimSpud> 
     
    7565                </witsml:wellboreInfo> 
    7666                <witsml:statusInfo> 
     67                        <witsml:periodOfOperation>2011-02-07T00:00:00 - 2011-02-07T00:00:00</witsml:periodOfOperation> 
     68                        <witsml:reportNo>1</witsml:reportNo> 
    7769                        <witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim> 
    7870                        <witsml:md uom="m">6898</witsml:md> 
     
    9082                        <witsml:presTestType>leak off test</witsml:presTestType> 
    9183                        <witsml:distDrill uom="m">78.9</witsml:distDrill> 
    92                         <witsml:msl uom="m">15</witsml:msl> 
    9384                        <witsml:elevKelly uom="m">23.5</witsml:elevKelly> 
     85                        <witsml:waterDepth uom="m">15</witsml:waterDepth> 
    9486                        <witsml:sum24Hr>Yada yada yada</witsml:sum24Hr> 
    9587                        <witsml:forecast24Hr>Bla bla bla</witsml:forecast24Hr> 
    9688                        <witsml:ropCurrent uom="m/h">6.22</witsml:ropCurrent> 
     89                        <witsml:tightWell>false</witsml:tightWell> 
     90                        <witsml:hpht>false</witsml:hpht> 
     91                        <witsml:avgPresBH uom="psig">2</witsml:avgPresBH> 
     92                        <witsml:expTempBH uom="degC">20</witsml:expTempBH> 
     93                        <witsml:rigType>Fixed rig</witsml:rigType> 
    9794                </witsml:statusInfo> 
    9895                <witsml:bitRecord> 
     
    197194                                <witsml:dTimTest>2011-02-07T17:00:00.000Z</witsml:dTimTest> 
    198195                                <witsml:mdLog uom="m">15</witsml:mdLog> 
    199                                 <witsml:typeFluid>sp</witsml:typeFluid> 
     196                                <witsml:typeFluid>Spacer</witsml:typeFluid> 
    200197                                <witsml:descFluid>bla bla bla...</witsml:descFluid> 
    201198                                <witsml:ratioMixWater uom="galUS/sack94">15</witsml:ratioMixWater> 
     
    228225                                <witsml:dTimTest>2011-02-07T12:00:00.000Z</witsml:dTimTest> 
    229226                                <witsml:mdLog uom="m">15</witsml:mdLog> 
    230                                 <witsml:typeFluid>m</witsml:typeFluid> 
     227                                <witsml:typeFluid>Mud</witsml:typeFluid> 
    231228                                <witsml:descFluid>bla bla bla...</witsml:descFluid> 
    232229                                <witsml:ratioMixWater uom="galUS/sack94">18</witsml:ratioMixWater> 
     
    242239                                <witsml:dTimTest>2011-02-07T13:15:00.000Z</witsml:dTimTest> 
    243240                                <witsml:mdLog uom="m">16</witsml:mdLog> 
    244                                 <witsml:typeFluid>w</witsml:typeFluid> 
     241                                <witsml:typeFluid>Wash</witsml:typeFluid> 
    245242                                <witsml:descFluid>bla bla bla...</witsml:descFluid> 
    246243                                <witsml:ratioMixWater uom="galUS/sack94">25</witsml:ratioMixWater>