- Timestamp:
- 03/16/11 15:22:42 (13 years ago)
- Location:
- projects/DailyDrillingReport_1.2/XML
- Files:
-
- 5 added
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd
r146 r150 1 1 <?xml version="1.0" encoding="utf-8" ?> 2 <xsd:schema xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:abs="http://www.energistics.org/schemas/abstract" 3 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" 4 xmlns:sawsdl="http://www.w3.org/ns/sawsdl" elementFormDefault="qualified" attributeFormDefault="unqualified" 5 targetNamespace="http://www.witsml.org/schemas/1series"> 2 <xsd:schema 3 elementFormDefault="qualified" 4 attributeFormDefault="unqualified" 5 targetNamespace="http://www.witsml.org/schemas/1series" 6 xmlns:witsml="http://www.witsml.org/schemas/1series" 7 xmlns:abs="http://www.energistics.org/schemas/abstract" 8 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 9 xmlns:gml="http://www.opengis.net/gml/3.2" 10 xmlns:sawsdl="http://www.w3.org/ns/sawsdl"> 6 11 <!-- --> 7 12 … … 422 427 <!-- PROFILE: Deleted element presSqueezeHeld --> 423 428 <!-- PROFILE: Deleted element presSqueeze --> 424 <xsd:element name="eTimPresHeld" type="witsml:time Measure" minOccurs="0" maxOccurs="1">429 <xsd:element name="eTimPresHeld" type="witsml:timestamp" minOccurs="0" maxOccurs="1"> 425 430 <xsd:annotation> 426 431 <xsd:documentation>Time pressure held.</xsd:documentation> … … 474 479 </xsd:annotation> 475 480 </xsd:element> 481 <xsd:element name="floatHeld" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 482 <xsd:annotation> 483 <xsd:documentation>Float held? Values are "true" (or "1") and "false" (of "0").</xsd:documentation> 484 </xsd:annotation> 485 </xsd:element> 476 486 <xsd:element name="reciprocated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> 477 487 <xsd:annotation> … … 487 497 </xsd:element> 488 498 <!-- PROFILE: Deleted element presHeld --> 489 <!-- PROFILE: Deleted element floatHeld -->490 499 <!-- PROFILE: Deleted element volMudLost --> 491 500 <!-- PROFILE: Deleted element fluidDisplace --> … … 532 541 </xsd:element> 533 542 <!-- PROFILE: Deleted element fluidIndex --> 534 <xsd:element name="descFluid" type="witsml: shortDescriptionString" minOccurs="0" maxOccurs="1">543 <xsd:element name="descFluid" type="witsml:descriptionString" minOccurs="0" maxOccurs="1"> 535 544 <xsd:annotation> 536 545 <xsd:documentation>Fluid description.</xsd:documentation> … … 1673 1682 <xsd:sequence> 1674 1683 <xsd:element name="reportNo" type="witsml:positiveCount" minOccurs="0" maxOccurs="1"> 1675 <!-- PROFILE: Added element reportNo -->1684 <!-- PROFILE: Added element reportNo --> 1676 1685 <xsd:annotation> 1677 1686 <xsd:documentation>Sequence number of daily drilling report.</xsd:documentation> … … 2365 2374 </xsd:annotation> 2366 2375 <xsd:sequence> 2367 <xsd:element name=" kind" type="witsml:stimStageType" minOccurs="1" maxOccurs="1">2376 <xsd:element name="tubularJobType" type="witsml:tubularJobTypes" minOccurs="1" maxOccurs="1"> 2368 2377 <xsd:annotation> 2369 2378 <xsd:documentation>The type of stage for the stimulation job.</xsd:documentation> … … 2483 2492 </xsd:simpleType> 2484 2493 <!-- Casing type --> 2485 <xsd:simpleType name=" stimStageType">2494 <xsd:simpleType name="tubularJobTypes"> 2486 2495 <xsd:annotation> 2487 2496 <xsd:documentation>The type of casing, used to determant which type of casing is used.</xsd:documentation> … … 5926 5935 <xsd:enumeration value="cmH2O(4degC)"/> 5927 5936 <xsd:enumeration value="dyne/cm2"/> 5937 <xsd:enumeration value="ft3/sack"/> 5938 <xsd:enumeration value="ft3/sack94"/> 5928 5939 <xsd:enumeration value="GPa"/> 5929 5940 <xsd:enumeration value="hbar"/> -
projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation_2011_02_07.xsl
r146 r150 37 37 <xsl:variable name="element_statusInfo" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='statusInfo']/xsd:sequence"/> 38 38 <td> 39 <table id="table1" >39 <table id="table1" width="100%"> 40 40 <!-- Added/changed 18jan2011 --> 41 41 <tr class="light"> … … 47 47 </td> 48 48 <td class="ColHead"> 49 <a target="_blank" href="{$urlRDS}">Period:</a> :</td>50 <td colspan=" 5">49 <a target="_blank" href="{$urlRDS}">Period:</a></td> 50 <td colspan="2"> 51 51 <xsl:value-of select="substring(witsml:dTimStart, 0,17)"/> - <xsl:value-of select="substring(witsml:dTimEnd, 0,17)"/> 52 52 </td> … … 539 539 </td> 540 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" />541 <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularJobTypes']/xsd:restriction"/> 542 <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:tubularJobType" /> 543 543 <xsl:value-of select="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 544 544 </td> … … 667 667 </td> 668 668 <td align="center"> 669 <xsl:value-of select="witsml:comment "/>669 <xsl:value-of select="witsml:comments"/> 670 670 </td> 671 671 <td align="center"> … … 676 676 </td> 677 677 <td align="center"> 678 <xsl:value-of select=" witsml:plugBumped"/>678 <xsl:value-of select="not(witsml:plugBumped)"/> 679 679 </td> 680 680 <td align="center"> … … 682 682 </td> 683 683 <td align="center"> 684 <xsl:value-of select=" witsml:floatFailed"/>684 <xsl:value-of select="not(witsml:floatHeld)"/> 685 685 </td> 686 686 <td align="center"> … … 737 737 <table id="table2"> 738 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 739 <td align="center" width="100" valign="top"> 747 740 <a target="_blank" href="{$url_mudClass}">Fluid Type</a> … … 756 749 <td align="center" width="100" valign="top"> 757 750 <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 751 </a> 763 752 </td> … … 785 774 <xsl:for-each select="witsml:cementingFluid"> 786 775 <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 776 <td align="center"> 794 777 <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/> … … 806 789 </td> 807 790 <td align="center"> 808 <xsl:value-of select="witsml:pv"/>809 </td>810 <td align="center">811 791 <xsl:value-of select="witsml:yp"/> 812 792 </td> … … 821 801 </td> 822 802 <td align="center"> 823 <xsl:value-of select="witsml:comment "/>803 <xsl:value-of select="witsml:comments"/> 824 804 </td> 825 805 </tr> … … 2522 2502 <xsl:value-of select="witsml:rigAlias[witsml:namingSystem='NPD code']/witsml:name"/> 2523 2503 </td> 2504 </tr> 2505 <tr class="light"> 2524 2506 <td class="ColHead"> 2525 2507 <a href="{$url_elevKelly}" target="_blank">Elevation RKB-MSL (<xsl:value-of select="../witsml:statusInfo/witsml:elevKelly/@uom"/>):</a> … … 2527 2509 <td> 2528 2510 <xsl:value-of select="../witsml:statusInfo/witsml:elevKelly"/> 2511 </td> 2512 <td class="ColHead"> 2513 <a target="_blank" href="{$urlRDS}">Water Depth MSL (<xsl:value-of select="../witsml:statusInfo/witsml:waterDepth/@uom" />):</a> 2514 </td> 2515 <td class="light"> 2516 <xsl:value-of select="../witsml:statusInfo/witsml:waterDepth"/> 2529 2517 </td> 2530 2518 </tr> … … 2545 2533 <td class="light"> 2546 2534 <xsl:value-of select="substring-before(witsml:dateDrillComplete, 'T')"/> 2547 </td>2548 <td class="ColHead">2549 <a target="_blank" href="{$urlRDS}">Water Depth MSL (<xsl:value-of select="../witsml:statusInfo/witsml:waterDepth/@uom" />):</a>2550 </td>2551 <td class="light">2552 <xsl:value-of select="../witsml:statusInfo/witsml:waterDepth"/>2553 2535 </td> 2554 2536 </tr> … … 2648 2630 <xsl:value-of select="$element_rigTypes//xsd:enumeration[@value=$element_rigType]" /> 2649 2631 </td> 2650 </tr>2651 2632 <!-- END Added 07feb2011 --> 2652 2633 <!-- wellbore type and kick off --> 2653 <tr class="light">2654 2634 <td class="dark"> 2655 2635 <a target="_blank" href="{$url_typeWellbore}">Wellbore type:</a> … … 2658 2638 <xsl:value-of select="witsml:typeWellbore"/> 2659 2639 </td> 2640 </tr> 2641 <tr class="light"> 2660 2642 <td class="dark"> 2661 2643 <a target="_blank" href="{$url_mdKickoff}">Depth at Kick Off mMD:</a> … … 2684 2666 <xsl:value-of select="witsml:tvd"/> 2685 2667 </td> 2668 </tr> 2669 <tr class="light"> 2686 2670 <td> 2687 2671 <a target="_blank" href="{$url_mdPlugTop}">Plug Back Depth mMD:</a> … … 2690 2674 <xsl:value-of select="witsml:mdPlugTop"/> 2691 2675 </td> 2692 </tr>2693 <tr class="light">2694 2676 <td class="dark"> 2695 2677 <a target="_blank" href="{$url_distDrill}">Dist Drilled <xsl:value-of select="witsml:distDrill/@uom"/>:</a> … … 2698 2680 <xsl:value-of select="witsml:distDrill"/> 2699 2681 </td> 2682 </tr> 2683 <tr class="light"> 2700 2684 <!-- 2701 2685 <td class="dark"><a target="_blank" href="{$urlRDS}">Depth planned mMD:</a></td> … … 2705 2689 <a target="_blank" href="{$url_ropCurrent}">Penetration Rate <xsl:value-of select="witsml:ropCurrent/@uom"/>:</a> 2706 2690 </td> 2707 <td c olspan="3">2691 <td class="light"> 2708 2692 <xsl:value-of select="witsml:ropCurrent"/> 2709 2693 </td> 2710 </tr>2711 2694 <!-- hole dia --> 2712 <tr class="light">2713 2695 <td width="160"> 2714 2696 <a target="_blank" href="{$url_diaHole}">Hole Dia <xsl:value-of select="witsml:diaHole/@uom"/>:</a> … … 2717 2699 <xsl:value-of select="witsml:diaHole"/> 2718 2700 </td> 2701 </tr> 2702 <tr class="light"> 2719 2703 <td> 2720 2704 <a target="_blank" href="{$url_presTestType}">Pressure Test Type:</a> 2721 2705 </td> 2722 <td c olspan="3">2706 <td class="light"> 2723 2707 <xsl:value-of select="witsml:presTestType"/> 2724 2708 </td> 2725 </tr>2726 2709 <!-- formation strength and pressure test --> 2727 <tr class="light">2728 2710 <td width="160"> 2729 2711 <a target="_blank" href="{$url_strengthForm}">Formation Strength <xsl:value-of select="witsml:strengthForm/@uom"/>:</a> … … 2732 2714 <xsl:value-of select="witsml:strengthForm"/> 2733 2715 </td> 2716 </tr> 2717 <tr class="light"> 2734 2718 <td width="215"> 2735 2719 <a target="_blank" href="{$url_mdStrengthForm}">Depth At Formation Strength mMD:</a> -
projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml
r146 r150 65 65 </witsml:wellboreInfo> 66 66 <witsml:statusInfo> 67 < witsml:periodOfOperation>2011-02-07T00:00:00 - 2011-02-07T00:00:00</witsml:periodOfOperation>67 <!--<witsml:periodOfOperation>2011-02-07T00:00:00 - 2011-02-07T00:00:00</witsml:periodOfOperation>--> 68 68 <witsml:reportNo>1</witsml:reportNo> 69 69 <witsml:dTim>2001-12-31T12:00:00.000Z</witsml:dTim> … … 138 138 <witsml:mdBottom uom="m">42</witsml:mdBottom> 139 139 <witsml:casing_liner_tubing_run> 140 <witsml: kind>Top</witsml:kind>140 <witsml:tubularJobType>Top</witsml:tubularJobType> 141 141 <witsml:description>bla bla bla..</witsml:description> 142 142 <witsml:dTimStart>2011-02-07T12:00:00.000Z</witsml:dTimStart> … … 154 154 <witsml:mdBottom uom="m">46</witsml:mdBottom> 155 155 <witsml:casing_liner_tubing_run> 156 <witsml: kind>Intermediate</witsml:kind>156 <witsml:tubularJobType>Intermediate</witsml:tubularJobType> 157 157 <witsml:description>bla bla bla..</witsml:description> 158 158 <witsml:dTimStart>2011-02-07T13:00:00.000Z</witsml:dTimStart> … … 170 170 <witsml:mdBottom uom="m">58</witsml:mdBottom> 171 171 <witsml:casing_liner_tubing_run> 172 <witsml: kind>Production</witsml:kind>172 <witsml:tubularJobType>Production</witsml:tubularJobType> 173 173 <witsml:description>bla bla bla..</witsml:description> 174 174 <witsml:dTimStart>2011-02-07T15:00:00.000Z</witsml:dTimStart> … … 180 180 <witsml:jobType>Cement squeeze</witsml:jobType> 181 181 <witsml:casingStrDia uom="in">16</witsml:casingStrDia> 182 <witsml:comment >bla bla bla...</witsml:comment>182 <witsml:comments>bla bla bla...</witsml:comments> 183 183 <witsml:volReturns uom="m3">25</witsml:volReturns> 184 <witsml:cementingFluid> 185 <witsml:typeFluid>Spacer</witsml:typeFluid> 186 <witsml:descFluid>bla bla bla...</witsml:descFluid> 187 <witsml:ratioMixWater uom="gal/sack">15</witsml:ratioMixWater> 188 <witsml:density uom="sg">30</witsml:density> 189 <witsml:volPumped uom="m3">15</witsml:volPumped> 190 <witsml:yp uom="ft3/sack">12</witsml:yp> 191 <witsml:eTimThickening uom="h">5</witsml:eTimThickening> 192 <witsml:pcFreeWater uom="%">20</witsml:pcFreeWater> 193 <witsml:comments>bla bla bla...</witsml:comments> 194 </witsml:cementingFluid> 184 195 <witsml:eTimPresHeld>2011-02-07T14:00:00.000Z</witsml:eTimPresHeld> 185 196 <witsml:annFlowAfter>false</witsml:annFlowAfter> … … 188 199 <witsml:plugBumped>false</witsml:plugBumped> 189 200 <witsml:presBump uom="bar">200</witsml:presBump> 190 <witsml:float Failed>false</witsml:floatFailed>201 <witsml:floatHeld>true</witsml:floatHeld> 191 202 <witsml:reciprocated>false</witsml:reciprocated> 192 203 <witsml:rotated>true</witsml:rotated> 193 <witsml:cementingFluid>194 <witsml:dTimTest>2011-02-07T17:00:00.000Z</witsml:dTimTest>195 <witsml:mdLog uom="m">15</witsml:mdLog>196 <witsml:typeFluid>Spacer</witsml:typeFluid>197 <witsml:descFluid>bla bla bla...</witsml:descFluid>198 <witsml:ratioMixWater uom="galUS/sack94">15</witsml:ratioMixWater>199 <witsml:density uom="sg">30</witsml:density>200 <witsml:volPumped uom="m3">15</witsml:volPumped>201 <witsml:pv uom="mPa">20</witsml:pv>202 <witsml:yp uom="ft3/sack94">12</witsml:yp>203 <witsml:eTimThickening uom="h">5</witsml:eTimThickening>204 <witsml:pcFreeWater uom="%">20</witsml:pcFreeWater>205 <witsml:comment>bla bla bla...</witsml:comment>206 </witsml:cementingFluid>207 204 </witsml:cementStage> 208 205 <witsml:cementStage> … … 211 208 <witsml:jobType>Casing and liner</witsml:jobType> 212 209 <witsml:casingStrDia uom="in">18</witsml:casingStrDia> 213 <witsml:comment >bla bla bla...</witsml:comment>210 <witsml:comments>bla bla bla...</witsml:comments> 214 211 <witsml:volReturns uom="m3">25</witsml:volReturns> 212 <witsml:cementingFluid> 213 <witsml:typeFluid>Mud</witsml:typeFluid> 214 <witsml:descFluid>bla bla bla...</witsml:descFluid> 215 <witsml:ratioMixWater uom="gal/sack">18</witsml:ratioMixWater> 216 <witsml:density uom="sg">27</witsml:density> 217 <witsml:volPumped uom="m3">8</witsml:volPumped> 218 <witsml:yp uom="ft3/sack">19</witsml:yp> 219 <witsml:eTimThickening uom="h">2</witsml:eTimThickening> 220 <witsml:pcFreeWater uom="%">40</witsml:pcFreeWater> 221 <witsml:comments>bla bla bla...</witsml:comments> 222 </witsml:cementingFluid> 215 223 <witsml:eTimPresHeld>2011-02-07T14:00:00.000Z</witsml:eTimPresHeld> 216 224 <witsml:annFlowAfter>false</witsml:annFlowAfter> … … 219 227 <witsml:plugBumped>true</witsml:plugBumped> 220 228 <witsml:presBump uom="bar">250</witsml:presBump> 221 <witsml:float Failed>false</witsml:floatFailed>229 <witsml:floatHeld>true</witsml:floatHeld> 222 230 <witsml:reciprocated>false</witsml:reciprocated> 223 231 <witsml:rotated>true</witsml:rotated> 224 <witsml:cementingFluid>225 <witsml:dTimTest>2011-02-07T12:00:00.000Z</witsml:dTimTest>226 <witsml:mdLog uom="m">15</witsml:mdLog>227 <witsml:typeFluid>Mud</witsml:typeFluid>228 <witsml:descFluid>bla bla bla...</witsml:descFluid>229 <witsml:ratioMixWater uom="galUS/sack94">18</witsml:ratioMixWater>230 <witsml:density uom="sg">27</witsml:density>231 <witsml:volPumped uom="m3">8</witsml:volPumped>232 <witsml:pv uom="mPa">12</witsml:pv>233 <witsml:yp uom="ft3/sack94">19</witsml:yp>234 <witsml:eTimThickening uom="h">2</witsml:eTimThickening>235 <witsml:pcFreeWater uom="%">40</witsml:pcFreeWater>236 <witsml:comment>bla bla bla...</witsml:comment>237 </witsml:cementingFluid>238 <witsml:cementingFluid>239 <witsml:dTimTest>2011-02-07T13:15:00.000Z</witsml:dTimTest>240 <witsml:mdLog uom="m">16</witsml:mdLog>241 <witsml:typeFluid>Wash</witsml:typeFluid>242 <witsml:descFluid>bla bla bla...</witsml:descFluid>243 <witsml:ratioMixWater uom="galUS/sack94">25</witsml:ratioMixWater>244 <witsml:density uom="sg">24</witsml:density>245 <witsml:volPumped uom="m3">13</witsml:volPumped>246 <witsml:pv uom="mPa">6</witsml:pv>247 <witsml:yp uom="ft3/sack94">24</witsml:yp>248 <witsml:eTimThickening uom="h">3</witsml:eTimThickening>249 <witsml:pcFreeWater uom="%">15</witsml:pcFreeWater>250 <witsml:comment>bla bla bla...</witsml:comment>251 </witsml:cementingFluid>252 232 </witsml:cementStage> 253 233 <witsml:fluid>