Changeset 159
- Timestamp:
- 03/30/11 10:33:08 (13 years ago)
- Location:
- projects/DailyDrillingReport_1.2/XML
- Files:
-
- 7 modified
Legend:
- Unmodified
- Added
- Removed
-
projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd
r153 r159 513 513 <xsd:enumeration value="primary"> 514 514 <xsd:annotation> 515 <xsd:documentation> primary</xsd:documentation>515 <xsd:documentation></xsd:documentation> 516 516 </xsd:annotation> 517 517 </xsd:enumeration> 518 518 <xsd:enumeration value="plug"> 519 519 <xsd:annotation> 520 <xsd:documentation> plug</xsd:documentation>520 <xsd:documentation></xsd:documentation> 521 521 </xsd:annotation> 522 522 </xsd:enumeration> 523 523 <xsd:enumeration value="squeeze"> 524 524 <xsd:annotation> 525 <xsd:documentation> squeeze</xsd:documentation>525 <xsd:documentation></xsd:documentation> 526 526 </xsd:annotation> 527 527 </xsd:enumeration> 528 528 <xsd:enumeration value="unknown"> 529 529 <xsd:annotation> 530 <xsd:documentation> unknown</xsd:documentation>530 <xsd:documentation></xsd:documentation> 531 531 </xsd:annotation> 532 532 </xsd:enumeration> 533 533 <xsd:enumeration value="other"> 534 534 <xsd:annotation> 535 <xsd:documentation> other</xsd:documentation>535 <xsd:documentation></xsd:documentation> 536 536 </xsd:annotation> 537 537 </xsd:enumeration> … … 661 661 <xsd:enumeration value="Mud"> 662 662 <xsd:annotation> 663 <xsd:documentation> Mud</xsd:documentation>663 <xsd:documentation></xsd:documentation> 664 664 </xsd:annotation> 665 665 </xsd:enumeration> 666 666 <xsd:enumeration value="Wash"> 667 667 <xsd:annotation> 668 <xsd:documentation> Wash</xsd:documentation>668 <xsd:documentation></xsd:documentation> 669 669 </xsd:annotation> 670 670 </xsd:enumeration> 671 671 <xsd:enumeration value="Spacer"> 672 672 <xsd:annotation> 673 <xsd:documentation> Spacer</xsd:documentation>673 <xsd:documentation></xsd:documentation> 674 674 </xsd:annotation> 675 675 </xsd:enumeration> 676 676 <xsd:enumeration value="Slurry"> 677 677 <xsd:annotation> 678 <xsd:documentation> Slurry</xsd:documentation>678 <xsd:documentation></xsd:documentation> 679 679 </xsd:annotation> 680 680 </xsd:enumeration> … … 2365 2365 </xsd:annotation> 2366 2366 </xsd:element> 2367 <xsd:element name="casing_liner_tubing_run" type="witsml:cs_stimJobStage" >2367 <xsd:element name="casing_liner_tubing_run" type="witsml:cs_stimJobStage" minOccurs='0' maxOccurs='1'> 2368 2368 <!-- PROFILE: Added element casing_liner_tubing_run --> 2369 2369 <xsd:annotation> … … 2401 2401 </xsd:annotation> 2402 2402 </xsd:element> 2403 <!-- PROFILE: deleted element dTimEnd.--> 2403 <xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="0" maxOccurs="1"> 2404 <xsd:annotation> 2405 <xsd:documentation>Date time of end of this stimulation stage. 2406 (A 'point in time' when the activity of placing the actual section of casing, 2407 lining or tubing was in the 'wellbore' was completed.)</xsd:documentation> 2408 </xsd:annotation> 2409 </xsd:element> 2404 2410 <!-- PROFILE: deleted element pumpTime. --> 2405 2411 <!-- PROFILE: deleted element startRateSurfaceLiquid. --> … … 2509 2515 <xsd:enumeration value="Top"> 2510 2516 <xsd:annotation> 2511 <xsd:documentation> Top</xsd:documentation>2517 <xsd:documentation></xsd:documentation> 2512 2518 </xsd:annotation> 2513 2519 </xsd:enumeration> 2514 2520 <xsd:enumeration value="Intermediate"> 2515 2521 <xsd:annotation> 2516 <xsd:documentation> Intermediate</xsd:documentation>2522 <xsd:documentation></xsd:documentation> 2517 2523 </xsd:annotation> 2518 2524 </xsd:enumeration> 2519 2525 <xsd:enumeration value="Production"> 2520 2526 <xsd:annotation> 2521 <xsd:documentation> Production</xsd:documentation>2527 <xsd:documentation></xsd:documentation> 2522 2528 </xsd:annotation> 2523 2529 </xsd:enumeration> -
projects/DailyDrillingReport_1.2/XML/HTMLreport/ddr_HTMLReport_transformation_2011_02_07.xsl
r152 r159 540 540 </td> 541 541 <td align="center"> 542 <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='tubularJobTypes']/xsd:restriction"/> 543 <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:tubularJobType" /> 544 <xsl:value-of select="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 542 <xsl:value-of select="witsml:casing_liner_tubing_run/witsml:tubularJobType"/> 545 543 </td> 546 544 <td align="center"> … … 660 658 </td> 661 659 <td align="center"> 662 <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/> 663 <xsl:variable name="jobTypes" select="witsml:jobType" /> 664 <xsl:value-of select="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/> 660 <xsl:value-of select="witsml:jobType"/> 665 661 </td> 666 662 <td align="center"> … … 671 667 </td> 672 668 <td align="center"> 673 <xsl:if test="witsml:topPlug='true' ">yes</xsl:if>674 <xsl:if test="witsml:topPlug='false' ">no</xsl:if>675 </td> 676 <td align="center"> 677 <xsl:if test="witsml:botPlug='true' ">yes</xsl:if>678 <xsl:if test="witsml:botPlug='false' ">no</xsl:if>679 </td> 680 <td align="center"> 681 <xsl:if test="witsml:plugBumped='true' ">yes</xsl:if>682 <xsl:if test="witsml:plugBumped='false' ">no</xsl:if>669 <xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if> 670 <xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if> 671 </td> 672 <td align="center"> 673 <xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if> 674 <xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if> 675 </td> 676 <td align="center"> 677 <xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if> 678 <xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if> 683 679 </td> 684 680 <td align="center"> … … 686 682 </td> 687 683 <td align="center"> 688 <xsl:if test="witsml:floatHeld='true' ">yes</xsl:if>689 <xsl:if test="witsml:floatHeld='false' ">no</xsl:if>684 <xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if> 685 <xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if> 690 686 </td> 691 687 <td align="center"> … … 693 689 </td> 694 690 <td align="center"> 695 <xsl:if test="witsml:annFlowAfter='true' ">yes</xsl:if>696 <xsl:if test="witsml:annFlowAfter='false' ">no</xsl:if>691 <xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if> 692 <xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if> 697 693 </td> 698 694 <td align="center"> … … 700 696 </td> 701 697 <td align="center"> 702 <xsl:if test="witsml:reciprocated='true' ">yes</xsl:if>703 <xsl:if test="witsml:reciprocated='false' ">no</xsl:if>704 </td> 705 <td align="center"> 706 <xsl:if test="witsml:rotated='true' ">yes</xsl:if>707 <xsl:if test="witsml:rotated='false' ">no</xsl:if>698 <xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if> 699 <xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if> 700 </td> 701 <td align="center"> 702 <xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if> 703 <xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if> 708 704 </td> 709 705 </tr> … … 712 708 </tr> 713 709 <!-- witsml:cementingFluid --> 714 <tr height="5px"> 715 <td/> 716 </tr> 717 <tr> 718 <td> 719 </td> 720 </tr> 721 <tr> 722 <td class="SectionHead">Cementing Fluid Details</td> 723 </tr> 724 <xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cementingFluid']/xsd:sequence"/> 725 <xsl:variable name="url_dTimFluid"> 726 <xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/> 727 </xsl:variable> 728 <xsl:variable name="url_mdFluid"> 729 <xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/> 730 </xsl:variable> 731 <xsl:variable name="url_mudClass"> 732 <xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/> 733 </xsl:variable> 734 <xsl:variable name="url_density"> 735 <xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/> 736 </xsl:variable> 737 <xsl:variable name="url_pv"> 738 <xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/> 739 </xsl:variable> 740 <xsl:variable name="url_yp"> 741 <xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/> 742 </xsl:variable> 743 <tr> 744 <td> 745 <table id="table2"> 746 <tr> 747 <td align="center" width="100" valign="top"> 748 <a target="_blank" href="{$url_mudClass}">Fluid Type</a> 749 </td> 750 <td align="center" width="100" valign="top"> 751 <a target="_blank" href="{$url_mudClass}">Fluid Description</a> 752 </td> 753 <td align="center" width="100" valign="top"> 754 <a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/> 755 </a> 756 </td> 757 <td align="center" width="100" valign="top"> 758 <a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/> 759 </a> 760 </td> 761 <td align="center" width="80" valign="top"> 762 <a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/> 763 </a> 764 </td> 765 <td align="center" width="80" valign="top"> 766 <a target="_blank" href="{$urlRDS}">Mix Water Ratio <xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/> 767 </a> 768 </td> 769 <td align="center" width="80" valign="top"> 770 <a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/> 771 </a> 772 </td> 773 <td align="center" width="80" valign="top"> 774 <a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/> 775 </a> 776 </td> 777 <td align="center" width="100" valign="top"> 778 <a target="_blank" href="{$urlRDS}">Comments</a> 779 </td> 710 <xsl:if test="count(witsml:cementingFluid) > 0"> 711 <tr height="5px"> 712 <td/> 713 </tr> 714 <tr> 715 <td> 716 </td> 717 </tr> 718 <tr> 719 <td class="SectionHead">Cementing Fluid Details</td> 720 </tr> 721 <xsl:variable name="element_fluid" select="document($ddrSchema)/xsd:schema/xsd:complexType[@name='cementingFluid']/xsd:sequence"/> 722 <xsl:variable name="url_dTimFluid"> 723 <xsl:value-of select="$element_fluid//xsd:element[@name='dTim']/@sawsdl:modelReference"/> 724 </xsl:variable> 725 <xsl:variable name="url_mdFluid"> 726 <xsl:value-of select="$element_fluid//xsd:element[@name='md']/@sawsdl:modelReference"/> 727 </xsl:variable> 728 <xsl:variable name="url_mudClass"> 729 <xsl:value-of select="$element_fluid//xsd:element[@name='mudClass']/@sawsdl:modelReference"/> 730 </xsl:variable> 731 <xsl:variable name="url_density"> 732 <xsl:value-of select="$element_fluid//xsd:element[@name='density']/@sawsdl:modelReference"/> 733 </xsl:variable> 734 <xsl:variable name="url_pv"> 735 <xsl:value-of select="$element_fluid//xsd:element[@name='pv']/@sawsdl:modelReference"/> 736 </xsl:variable> 737 <xsl:variable name="url_yp"> 738 <xsl:value-of select="$element_fluid//xsd:element[@name='yp']/@sawsdl:modelReference"/> 739 </xsl:variable> 740 <tr> 741 <td> 742 <table id="table2"> 743 <tr> 744 <td align="center" width="100" valign="top"> 745 <a target="_blank" href="{$url_mudClass}">Fluid Type</a> 746 </td> 747 <td align="center" width="100" valign="top"> 748 <a target="_blank" href="{$url_mudClass}">Fluid Description</a> 749 </td> 750 <td align="center" width="100" valign="top"> 751 <a target="_blank" href="{$urlRDS}">Volume Pumped <xsl:value-of select="witsml:cementingFluid/witsml:volPumped/@uom"/> 752 </a> 753 </td> 754 <td align="center" width="100" valign="top"> 755 <a target="_blank" href="{$url_density}">Fluid Density <xsl:value-of select="witsml:cementingFluid/witsml:density/@uom"/> 756 </a> 757 </td> 758 <td align="center" width="80" valign="top"> 759 <a target="_blank" href="{$url_yp}">Yield Point <xsl:value-of select="witsml:cementingFluid/witsml:yp/@uom"/> 760 </a> 761 </td> 762 <td align="center" width="80" valign="top"> 763 <a target="_blank" href="{$urlRDS}">Mix Water Ratio <xsl:value-of select="witsml:cementingFluid/witsml:ratioMixWater/@uom"/> 764 </a> 765 </td> 766 <td align="center" width="80" valign="top"> 767 <a target="_blank" href="{$urlRDS}">Free Water <xsl:value-of select="witsml:cementingFluid/witsml:pcFreeWater/@uom"/> 768 </a> 769 </td> 770 <td align="center" width="80" valign="top"> 771 <a target="_blank" href="{$urlRDS}">Thick Time <xsl:value-of select="witsml:cementingFluid/witsml:eTimThickening/@uom"/> 772 </a> 773 </td> 774 <td align="center" width="100" valign="top"> 775 <a target="_blank" href="{$urlRDS}">Comments</a> 776 </td> 780 777 781 </tr>782 <xsl:for-each select="witsml:cementingFluid">783 <tr class="light">784 <td align="center">785 <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/>786 <xsl:variable name="fluidTypes" select="witsml:typeFluid" />787 <xsl:value-of select="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/>788 </td>789 <td align="center">790 <xsl:value-of select="witsml:descFluid"/>791 </td>792 <td align="center">793 <xsl:value-of select="witsml:volPumped"/>794 </td>795 <td align="center">796 <xsl:value-of select="witsml:density"/>797 </td>798 <td align="center">799 <xsl:value-of select="witsml:yp"/>800 </td>801 <td align="center">802 <xsl:value-of select="witsml:ratioMixWater"/>803 </td>804 <td align="center">805 <xsl:value-of select="witsml:pcFreeWater"/>806 </td>807 <td align="center">808 <xsl:value-of select="witsml:eTimThickening"/>809 </td>810 <td align="center">811 <xsl:value-of select="witsml:comments"/>812 </td>813 778 </tr> 814 </xsl:for-each> 815 </table> 816 </td> 817 </tr> 779 <xsl:for-each select="witsml:cementingFluid"> 780 <tr class="light"> 781 <td align="center"> 782 <xsl:value-of select="witsml:typeFluid"/> 783 </td> 784 <td align="center"> 785 <xsl:value-of select="witsml:descFluid"/> 786 </td> 787 <td align="center"> 788 <xsl:value-of select="witsml:volPumped"/> 789 </td> 790 <td align="center"> 791 <xsl:value-of select="witsml:density"/> 792 </td> 793 <td align="center"> 794 <xsl:value-of select="witsml:yp"/> 795 </td> 796 <td align="center"> 797 <xsl:value-of select="witsml:ratioMixWater"/> 798 </td> 799 <td align="center"> 800 <xsl:value-of select="witsml:pcFreeWater"/> 801 </td> 802 <td align="center"> 803 <xsl:value-of select="witsml:eTimThickening"/> 804 </td> 805 <td align="center"> 806 <xsl:value-of select="witsml:comments"/> 807 </td> 808 </tr> 809 </xsl:for-each> 810 </table> 811 </td> 812 </tr> 813 </xsl:if> 818 814 </xsl:for-each> 819 815 </xsl:if> … … 1588 1584 </td> 1589 1585 <td valign="top" align="center"> 1590 <xsl:if test="witsml:goodSeal='true' ">yes</xsl:if>1591 <xsl:if test="witsml:goodSeal='false' ">no</xsl:if>1586 <xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if> 1587 <xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if> 1592 1588 </td> 1593 1589 <td valign="top" align="center"> … … 2604 2600 </td> 2605 2601 <td class="light"> 2606 <xsl:if test="witsml:tightWell='true' ">yes</xsl:if>2607 <xsl:if test="witsml:tightWell='false' ">no</xsl:if>2602 <xsl:if test="witsml:tightWell='true' or witsml:tightWell='1'">yes</xsl:if> 2603 <xsl:if test="witsml:tightWell='false' or witsml:tightWell='0'">no</xsl:if> 2608 2604 </td> 2609 2605 <td class="ColHead"> … … 2611 2607 </td> 2612 2608 <td class="light"> 2613 <xsl:if test="witsml:hpht='true' ">yes</xsl:if>2614 <xsl:if test="witsml:hpht='false' ">no</xsl:if>2609 <xsl:if test="witsml:hpht='true' or witsml:hpht='1'">yes</xsl:if> 2610 <xsl:if test="witsml:hpht='false' or witsml:hpht='0'">no</xsl:if> 2615 2611 </td> 2616 2612 </tr> -
projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml
r153 r159 141 141 <witsml:description>bla bla bla..</witsml:description> 142 142 <witsml:dTimStart>2011-02-07T12:00:00.000Z</witsml:dTimStart> 143 <witsml:dTimEnd>2011-02-07T14:00:00.000Z</witsml:dTimEnd> 143 144 </witsml:casing_liner_tubing_run> 144 145 </witsml:casing_liner_tubing> … … 157 158 <witsml:description>bla bla bla..</witsml:description> 158 159 <witsml:dTimStart>2011-02-07T13:00:00.000Z</witsml:dTimStart> 160 <witsml:dTimEnd>2011-02-07T17:00:00.000Z</witsml:dTimEnd> 159 161 </witsml:casing_liner_tubing_run> 160 162 </witsml:casing_liner_tubing> … … 173 175 <witsml:description>bla bla bla..</witsml:description> 174 176 <witsml:dTimStart>2011-02-07T15:00:00.000Z</witsml:dTimStart> 177 <witsml:dTimEnd>2011-02-08T10:00:00.000Z</witsml:dTimEnd> 175 178 </witsml:casing_liner_tubing_run> 176 179 </witsml:casing_liner_tubing> … … 218 221 <witsml:yp uom="ft3/sack">19</witsml:yp> 219 222 <witsml:eTimThickening uom="h">2</witsml:eTimThickening> 223 <witsml:pcFreeWater uom="%">40</witsml:pcFreeWater> 224 <witsml:comments>bla bla bla...</witsml:comments> 225 </witsml:cementingFluid> 226 <witsml:cementingFluid> 227 <witsml:typeFluid>Slurry</witsml:typeFluid> 228 <witsml:descFluid>bla bla bla...</witsml:descFluid> 229 <witsml:ratioMixWater uom="gal/sack">12</witsml:ratioMixWater> 230 <witsml:density uom="sg">24</witsml:density> 231 <witsml:volPumped uom="m3">10</witsml:volPumped> 232 <witsml:yp uom="ft3/sack">12</witsml:yp> 233 <witsml:eTimThickening uom="h">3</witsml:eTimThickening> 234 <witsml:pcFreeWater uom="%">40</witsml:pcFreeWater> 235 <witsml:comments>bla bla bla...</witsml:comments> 236 </witsml:cementingFluid> 237 <witsml:cementingFluid> 238 <witsml:typeFluid>Spacer</witsml:typeFluid> 239 <witsml:descFluid>bla bla bla...</witsml:descFluid> 240 <witsml:ratioMixWater uom="gal/sack">12</witsml:ratioMixWater> 241 <witsml:density uom="sg">24</witsml:density> 242 <witsml:volPumped uom="m3">10</witsml:volPumped> 243 <witsml:yp uom="ft3/sack">12</witsml:yp> 244 <witsml:eTimThickening uom="h">3</witsml:eTimThickening> 220 245 <witsml:pcFreeWater uom="%">40</witsml:pcFreeWater> 221 246 <witsml:comments>bla bla bla...</witsml:comments> -
projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.fo
r152 r159 36 36 <fo:block> 37 37 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 38 <fo:table-column column-width="proportional-column-width(1 6.49)" column-number="1"/>39 <fo:table-column column-width="proportional-column-width(1 6.931)" column-number="2"/>40 <fo:table-column column-width="proportional-column-width(18. 397)" column-number="3"/>41 <fo:table-column column-width="proportional-column-width(4 8.182)" column-number="4"/>38 <fo:table-column column-width="proportional-column-width(17.79)" column-number="1"/> 39 <fo:table-column column-width="proportional-column-width(17.33)" column-number="2"/> 40 <fo:table-column column-width="proportional-column-width(18.898)" column-number="3"/> 41 <fo:table-column column-width="proportional-column-width(45.982)" column-number="4"/> 42 42 <fo:table-body> 43 43 <fo:table-row> … … 61 61 <fo:table-row> 62 62 <fo:table-cell vertical-align="middle"> 63 <fo:block font- size="11pt" font-weight="bold">Wellbore:</fo:block>63 <fo:block font-weight="bold">Wellbore:</fo:block> 64 64 </fo:table-cell> 65 65 <fo:table-cell vertical-align="middle"> … … 89 89 </fo:table-cell> 90 90 <fo:table-cell vertical-align="middle"> 91 <fo:block font-size="11pt" font-weight="bold">91 <fo:block> 92 92 <fo:basic-link external-destination="url(http://rds.posccaesar.org/2008/02/XML/RDL/RDS328364064)" font-weight="bold">Created date:</fo:basic-link> 93 93 </fo:block> … … 186 186 </fo:table-cell> 187 187 <fo:table-cell vertical-align="middle"> 188 <fo:block font-size="11pt" font-weight="bold">188 <fo:block> 189 189 <fo:basic-link external-destination="url(http://www.posccaesar.org)" font-weight="bold">High pressure - High temperature</fo:basic-link> </fo:block> 190 190 </fo:table-cell> … … 855 855 </fo:table-cell> 856 856 <fo:table-cell> 857 <fo:block/> 858 </fo:table-cell> 859 <fo:table-cell> 860 <fo:block/> 857 <fo:block> 858 <fo:inline>1</fo:inline> 859 </fo:block> 860 </fo:table-cell> 861 <fo:table-cell> 862 <fo:block> 863 <fo:inline>1</fo:inline> 864 </fo:block> 861 865 </fo:table-cell> 862 866 <fo:table-cell> … … 871 875 </fo:table-cell> 872 876 <fo:table-cell> 873 <fo:block/> 877 <fo:block> 878 <fo:inline>3</fo:inline> 879 </fo:block> 874 880 </fo:table-cell> 875 881 <fo:table-cell> … … 916 922 </fo:table-cell> 917 923 <fo:table-cell> 918 <fo:block/> 919 </fo:table-cell> 920 <fo:table-cell> 921 <fo:block/> 924 <fo:block> 925 <fo:inline>3</fo:inline> 926 </fo:block> 927 </fo:table-cell> 928 <fo:table-cell> 929 <fo:block> 930 <fo:inline>2</fo:inline> 931 </fo:block> 922 932 </fo:table-cell> 923 933 <fo:table-cell> … … 932 942 </fo:table-cell> 933 943 <fo:table-cell> 934 <fo:block/> 944 <fo:block> 945 <fo:inline>5</fo:inline> 946 </fo:block> 935 947 </fo:table-cell> 936 948 <fo:table-cell> … … 1051 1063 </fo:table-cell> 1052 1064 <fo:table-cell> 1053 <fo:block/> 1054 </fo:table-cell> 1055 <fo:table-cell> 1056 <fo:block> 1057 <fo:inline>12:00</fo:inline> 1065 <fo:block> 1066 <fo:inline>Top</fo:inline> 1067 </fo:block> 1068 </fo:table-cell> 1069 <fo:table-cell> 1070 <fo:block> 1071 <fo:inline>14:00</fo:inline> 1058 1072 </fo:block> 1059 1073 </fo:table-cell> … … 1115 1129 </fo:table-cell> 1116 1130 <fo:table-cell> 1117 <fo:block/> 1118 </fo:table-cell> 1119 <fo:table-cell> 1120 <fo:block> 1121 <fo:inline>13:00</fo:inline> 1131 <fo:block> 1132 <fo:inline>Intermediate</fo:inline> 1133 </fo:block> 1134 </fo:table-cell> 1135 <fo:table-cell> 1136 <fo:block> 1137 <fo:inline>17:00</fo:inline> 1122 1138 </fo:block> 1123 1139 </fo:table-cell> … … 1179 1195 </fo:table-cell> 1180 1196 <fo:table-cell> 1181 <fo:block/> 1182 </fo:table-cell> 1183 <fo:table-cell> 1184 <fo:block> 1185 <fo:inline>15:00</fo:inline> 1197 <fo:block> 1198 <fo:inline>Production</fo:inline> 1199 </fo:block> 1200 </fo:table-cell> 1201 <fo:table-cell> 1202 <fo:block> 1203 <fo:inline>10:00</fo:inline> 1186 1204 </fo:block> 1187 1205 </fo:table-cell> … … 1305 1323 </fo:table-cell> 1306 1324 <fo:table-cell> 1307 <fo:block>Plug failed to bump</fo:block>1325 <fo:block>Plug bumped</fo:block> 1308 1326 </fo:table-cell> 1309 1327 <fo:table-cell> … … 1314 1332 </fo:table-cell> 1315 1333 <fo:table-cell> 1316 <fo:block>Float failed</fo:block>1334 <fo:block>Float held</fo:block> 1317 1335 </fo:table-cell> 1318 1336 <fo:table-cell> … … 1348 1366 <fo:table-cell> 1349 1367 <fo:block> 1350 <fo:inline> 1351 1352 Cement squeeze 1353 1354 </fo:inline> 1368 <fo:inline>squeeze</fo:inline> 1355 1369 </fo:block> 1356 1370 </fo:table-cell> … … 1486 1500 <fo:table-cell> 1487 1501 <fo:block> 1488 <fo:inline> 1489 1490 Spacer 1491 1492 </fo:inline> 1502 <fo:inline>Spacer</fo:inline> 1493 1503 </fo:block> 1494 1504 </fo:table-cell> … … 1610 1620 </fo:table-cell> 1611 1621 <fo:table-cell> 1612 <fo:block>Plug failed to bump</fo:block>1622 <fo:block>Plug bumped</fo:block> 1613 1623 </fo:table-cell> 1614 1624 <fo:table-cell> … … 1619 1629 </fo:table-cell> 1620 1630 <fo:table-cell> 1621 <fo:block>Float failed</fo:block>1631 <fo:block>Float held</fo:block> 1622 1632 </fo:table-cell> 1623 1633 <fo:table-cell> … … 1653 1663 <fo:table-cell> 1654 1664 <fo:block> 1655 <fo:inline> 1656 1657 Casing and liner 1658 1659 </fo:inline> 1665 <fo:inline>primary</fo:inline> 1660 1666 </fo:block> 1661 1667 </fo:table-cell> … … 1791 1797 <fo:table-cell> 1792 1798 <fo:block> 1793 <fo:inline> 1794 1795 Mud 1796 1797 </fo:inline> 1799 <fo:inline>Mud</fo:inline> 1798 1800 </fo:block> 1799 1801 </fo:table-cell> … … 1831 1833 <fo:block> 1832 1834 <fo:inline>2</fo:inline> 1835 </fo:block> 1836 </fo:table-cell> 1837 <fo:table-cell> 1838 <fo:block> 1839 <fo:inline>bla bla bla...</fo:inline> 1840 </fo:block> 1841 </fo:table-cell> 1842 </fo:table-row> 1843 <fo:table-row> 1844 <fo:table-cell> 1845 <fo:block> 1846 <fo:inline>Slurry</fo:inline> 1847 </fo:block> 1848 </fo:table-cell> 1849 <fo:table-cell> 1850 <fo:block> 1851 <fo:inline>bla bla bla...</fo:inline> 1852 </fo:block> 1853 </fo:table-cell> 1854 <fo:table-cell> 1855 <fo:block> 1856 <fo:inline>10</fo:inline> 1857 </fo:block> 1858 </fo:table-cell> 1859 <fo:table-cell> 1860 <fo:block> 1861 <fo:inline>24</fo:inline> 1862 </fo:block> 1863 </fo:table-cell> 1864 <fo:table-cell> 1865 <fo:block> 1866 <fo:inline>12</fo:inline> 1867 </fo:block> 1868 </fo:table-cell> 1869 <fo:table-cell> 1870 <fo:block> 1871 <fo:inline>12</fo:inline> 1872 </fo:block> 1873 </fo:table-cell> 1874 <fo:table-cell> 1875 <fo:block> 1876 <fo:inline>40</fo:inline> 1877 </fo:block> 1878 </fo:table-cell> 1879 <fo:table-cell> 1880 <fo:block> 1881 <fo:inline>3</fo:inline> 1882 </fo:block> 1883 </fo:table-cell> 1884 <fo:table-cell> 1885 <fo:block> 1886 <fo:inline>bla bla bla...</fo:inline> 1887 </fo:block> 1888 </fo:table-cell> 1889 </fo:table-row> 1890 <fo:table-row> 1891 <fo:table-cell> 1892 <fo:block> 1893 <fo:inline>Spacer</fo:inline> 1894 </fo:block> 1895 </fo:table-cell> 1896 <fo:table-cell> 1897 <fo:block> 1898 <fo:inline>bla bla bla...</fo:inline> 1899 </fo:block> 1900 </fo:table-cell> 1901 <fo:table-cell> 1902 <fo:block> 1903 <fo:inline>10</fo:inline> 1904 </fo:block> 1905 </fo:table-cell> 1906 <fo:table-cell> 1907 <fo:block> 1908 <fo:inline>24</fo:inline> 1909 </fo:block> 1910 </fo:table-cell> 1911 <fo:table-cell> 1912 <fo:block> 1913 <fo:inline>12</fo:inline> 1914 </fo:block> 1915 </fo:table-cell> 1916 <fo:table-cell> 1917 <fo:block> 1918 <fo:inline>12</fo:inline> 1919 </fo:block> 1920 </fo:table-cell> 1921 <fo:table-cell> 1922 <fo:block> 1923 <fo:inline>40</fo:inline> 1924 </fo:block> 1925 </fo:table-cell> 1926 <fo:table-cell> 1927 <fo:block> 1928 <fo:inline>3</fo:inline> 1833 1929 </fo:block> 1834 1930 </fo:table-cell> … … 2970 3066 <fo:block> 2971 3067 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 2972 <fo:table-column column-width="proportional-column-width( 10)" column-number="1"/>2973 <fo:table-column column-width="proportional-column-width( 5)" column-number="2"/>2974 <fo:table-column column-width="proportional-column-width( 5)" column-number="3"/>2975 <fo:table-column column-width="proportional-column-width( 5)" column-number="4"/>3068 <fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/> 3069 <fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/> 3070 <fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/> 3071 <fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/> 2976 3072 <fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/> 2977 3073 <fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/> … … 3214 3310 <fo:block> 3215 3311 <fo:table table-layout="fixed" width="100%" border-collapse="collapse"> 3216 <fo:table-column column-width="proportional-column-width( 10)" column-number="1"/>3217 <fo:table-column column-width="proportional-column-width( 5)" column-number="2"/>3218 <fo:table-column column-width="proportional-column-width( 5)" column-number="3"/>3219 <fo:table-column column-width="proportional-column-width( 5)" column-number="4"/>3312 <fo:table-column column-width="proportional-column-width(6.25)" column-number="1"/> 3313 <fo:table-column column-width="proportional-column-width(6.25)" column-number="2"/> 3314 <fo:table-column column-width="proportional-column-width(6.25)" column-number="3"/> 3315 <fo:table-column column-width="proportional-column-width(6.25)" column-number="4"/> 3220 3316 <fo:table-column column-width="proportional-column-width(6.25)" column-number="5"/> 3221 3317 <fo:table-column column-width="proportional-column-width(6.25)" column-number="6"/> … … 3685 3781 <fo:table-cell> 3686 3782 <fo:block> 3687 <fo:inline> 02:00</fo:inline>3783 <fo:inline>2001-12-31T02:00</fo:inline> 3688 3784 </fo:block> 3689 3785 </fo:table-cell> -
projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xfd
r152 r159 261 261 <fo:table-cell vertical-align="middle"> 262 262 <fo:block> 263 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true' ">yes</xsl:if>264 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false' ">no</xsl:if>263 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='1'">yes</xsl:if> 264 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='0'">no</xsl:if> 265 265 </fo:block> 266 266 </fo:table-cell> … … 270 270 <fo:table-cell vertical-align="middle"> 271 271 <fo:block> 272 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true' ">yes</xsl:if>273 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false' ">no</xsl:if>272 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='1'">yes</xsl:if> 273 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='0'">no</xsl:if> 274 274 </fo:block> 275 275 </fo:table-cell> … … 856 856 </fo:table-cell> 857 857 <fo:table-cell> 858 <fo:block>Hole made (run)</fo:block> 859 <fo:block> 860 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> 861 </fo:block> 862 </fo:table-cell> 863 <fo:table-cell> 864 <fo:block>Hours drilled (run)</fo:block> 865 <fo:block> 866 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/> 867 </fo:block> 868 </fo:table-cell> 869 <fo:table-cell> 870 <fo:block>ROP</fo:block> 871 <fo:block> 872 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/> 873 </fo:block> 874 </fo:table-cell> 875 <fo:table-cell> 876 <fo:block>Total hole made</fo:block> 877 <fo:block> 878 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/> 879 </fo:block> 880 </fo:table-cell> 881 <fo:table-cell> 882 <fo:block>Total hours drilled</fo:block> 883 <fo:block> 884 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/> 885 </fo:block> 886 </fo:table-cell> 887 <fo:table-cell> 888 <fo:block>Total ROP</fo:block> 889 <fo:block> 890 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/> 891 </fo:block> 892 </fo:table-cell> 893 <fo:table-cell> 858 894 <fo:block>Dull grade</fo:block> 859 </fo:table-cell>860 <fo:table-cell>861 <fo:block>Hole made (run)</fo:block>862 <fo:block>863 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>864 </fo:block>865 </fo:table-cell>866 <fo:table-cell>867 <fo:block>Hours drilled (run)</fo:block>868 <fo:block>869 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop/@uom"/>870 </fo:block>871 </fo:table-cell>872 <fo:table-cell>873 <fo:block>ROP</fo:block>874 <fo:block>875 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropAv/@uom"/>876 </fo:block>877 </fo:table-cell>878 <fo:table-cell>879 <fo:block>Total hole made</fo:block>880 <fo:block>881 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdTotHoleMade/@uom"/>882 </fo:block>883 </fo:table-cell>884 <fo:table-cell>885 <fo:block>Total hours drilled</fo:block>886 <fo:block>887 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:totHrsDrilled/@uom"/>888 </fo:block>889 </fo:table-cell>890 <fo:table-cell>891 <fo:block>Total ROP</fo:block>892 <fo:block>893 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:ropMx/@uom"/>894 </fo:block>895 895 </fo:table-cell> 896 896 </fo:table-row> … … 928 928 <fo:table-cell> 929 929 <fo:block> 930 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/> 931 </fo:block> 932 </fo:table-cell> 933 <fo:table-cell> 934 <fo:block> 935 <xfd:field xpath="witsml:bitRun/witsml:eTimOpBit"/> 936 </fo:block> 937 </fo:table-cell> 938 <fo:table-cell> 939 <fo:block> 940 <xfd:field xpath="witsml:bitRun/witsml:ropAv"/> 941 </fo:block> 942 </fo:table-cell> 943 <fo:table-cell> 944 <fo:block> 945 <xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/> 946 </fo:block> 947 </fo:table-cell> 948 <fo:table-cell> 949 <fo:block> 950 <xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/> 951 </fo:block> 952 </fo:table-cell> 953 <fo:table-cell> 954 <fo:block> 955 <xfd:field xpath="witsml:bitRun/witsml:ropMx"/> 956 </fo:block> 957 </fo:table-cell> 958 <fo:table-cell> 959 <fo:block> 930 960 <xfd:field xpath="witsml:dullGrade"/> 931 </fo:block>932 </fo:table-cell>933 <fo:table-cell>934 <fo:block>935 <xfd:field xpath="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>936 </fo:block>937 </fo:table-cell>938 <fo:table-cell>939 <fo:block>940 <xfd:field xpath="witsml:bit/Run/witsml:eTimOpBit"/>941 </fo:block>942 </fo:table-cell>943 <fo:table-cell>944 <fo:block>945 <xfd:field xpath="witsml:ropAv"/>946 </fo:block>947 </fo:table-cell>948 <fo:table-cell>949 <fo:block>950 <xfd:field xpath="witsml:bitRun/witsml:mdTotHoleMade"/>951 </fo:block>952 </fo:table-cell>953 <fo:table-cell>954 <fo:block>955 <xfd:field xpath="witsml:bitRun/witsml:totHrsDrilled"/>956 </fo:block>957 </fo:table-cell>958 <fo:table-cell>959 <fo:block>960 <xfd:field xpath="witsml:ropMx"/>961 961 </fo:block> 962 962 </fo:table-cell> … … 1071 1071 <fo:table-cell> 1072 1072 <fo:block> 1073 <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='stimStageType']/xsd:restriction"/> 1074 <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind"/> 1075 <xfd:field xpath="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 1076 </fo:block> 1077 </fo:table-cell> 1078 <fo:table-cell> 1079 <fo:block> 1080 <xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/> 1073 <xfd:field xpath="witsml:casing_liner_tubing_run/witsml:tubularJobType"/> 1074 </fo:block> 1075 </fo:table-cell> 1076 <fo:table-cell> 1077 <fo:block> 1078 <xfd:field xpath="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/> 1081 1079 </fo:block> 1082 1080 </fo:table-cell> … … 1200 1198 </fo:table-cell> 1201 1199 <fo:table-cell> 1202 <fo:block>Plug failed to bump</fo:block>1200 <fo:block>Plug bumped</fo:block> 1203 1201 </fo:table-cell> 1204 1202 <fo:table-cell> … … 1209 1207 </fo:table-cell> 1210 1208 <fo:table-cell> 1211 <fo:block>Float failed</fo:block>1209 <fo:block>Float held</fo:block> 1212 1210 </fo:table-cell> 1213 1211 <fo:table-cell> … … 1243 1241 <fo:table-cell> 1244 1242 <fo:block> 1245 <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/> 1246 <xsl:variable name="jobTypes" select="witsml:jobType"/> 1247 <xfd:field xpath="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/> 1243 <xfd:field xpath="witsml:jobType"/> 1248 1244 </fo:block> 1249 1245 </fo:table-cell> … … 1260 1256 <fo:table-cell> 1261 1257 <fo:block> 1262 <xsl:if test="witsml:topPlug='true' ">yes</xsl:if>1263 <xsl:if test="witsml:topPlug='false' ">no</xsl:if>1264 </fo:block> 1265 </fo:table-cell> 1266 <fo:table-cell> 1267 <fo:block> 1268 <xsl:if test="witsml:botPlug='true' ">yes</xsl:if>1269 <xsl:if test="witsml:botPlug='false' ">no</xsl:if>1270 </fo:block> 1271 </fo:table-cell> 1272 <fo:table-cell> 1273 <fo:block> 1274 <xsl:if test="witsml:plugBumped='true' ">yes</xsl:if>1275 <xsl:if test="witsml:plugBumped='false' ">no</xsl:if>1258 <xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if> 1259 <xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if> 1260 </fo:block> 1261 </fo:table-cell> 1262 <fo:table-cell> 1263 <fo:block> 1264 <xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if> 1265 <xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if> 1266 </fo:block> 1267 </fo:table-cell> 1268 <fo:table-cell> 1269 <fo:block> 1270 <xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if> 1271 <xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if> 1276 1272 </fo:block> 1277 1273 </fo:table-cell> … … 1283 1279 <fo:table-cell> 1284 1280 <fo:block> 1285 <xsl:if test="witsml:floatHeld='true' ">yes</xsl:if>1286 <xsl:if test="witsml:floatHeld='false' ">no</xsl:if>1281 <xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if> 1282 <xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if> 1287 1283 </fo:block> 1288 1284 </fo:table-cell> … … 1294 1290 <fo:table-cell> 1295 1291 <fo:block> 1296 <xsl:if test="witsml:annFlowAfter='true' ">yes</xsl:if>1297 <xsl:if test="witsml:annFlowAfter='false' ">no</xsl:if>1292 <xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if> 1293 <xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if> 1298 1294 </fo:block> 1299 1295 </fo:table-cell> … … 1305 1301 <fo:table-cell> 1306 1302 <fo:block> 1307 <xsl:if test="witsml:reciprocated='true' ">yes</xsl:if>1308 <xsl:if test="witsml:reciprocated='false' ">no</xsl:if>1309 </fo:block> 1310 </fo:table-cell> 1311 <fo:table-cell> 1312 <fo:block> 1313 <xsl:if test="witsml:rotated='true' ">yes</xsl:if>1314 <xsl:if test="witsml:rotated='false' ">no</xsl:if>1303 <xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if> 1304 <xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if> 1305 </fo:block> 1306 </fo:table-cell> 1307 <fo:table-cell> 1308 <fo:block> 1309 <xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if> 1310 <xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if> 1315 1311 </fo:block> 1316 1312 </fo:table-cell> … … 1399 1395 <fo:table-cell> 1400 1396 <fo:block> 1401 <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/> 1402 <xsl:variable name="fluidTypes" select="witsml:typeFluid"/> 1403 <xfd:field xpath="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/> 1397 <xfd:field xpath="witsml:typeFluid"/> 1404 1398 </fo:block> 1405 1399 </fo:table-cell> … … 2412 2406 <fo:table-cell> 2413 2407 <fo:block> 2414 <xsl:if test="witsml:goodSeal='true' ">yes</xsl:if>2415 <xsl:if test="witsml:goodSeal='false' ">no</xsl:if>2408 <xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if> 2409 <xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if> 2416 2410 </fo:block> 2417 2411 </fo:table-cell> -
projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xsl
r152 r159 2 2 <xslt:stylesheet xmlns:date="http://exslt.org/dates-and-times" xmlns:str="http://exslt.org/strings" xmlns:xslt="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:xfd="http://www.ecrion.com/xfd/1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:sawsdl="http://www.w3.org/ns/sawsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" extension-element-prefixes="date str"> 3 3 <xslt:output indent="yes" encoding="utf-8"/> 4 <xslt:param name="XFCrtLocalDate">2011-03- 22</xslt:param>5 <xslt:param name="XFCrtLocalTime">1 4:27:24</xslt:param>6 <xslt:param name="XFCrtLocalDateTime">2011-03- 22T14:27:24</xslt:param>7 <xslt:param name="XFCrtUTCDate">2011-03- 22</xslt:param>8 <xslt:param name="XFCrtUTCTime"> 13:27:24</xslt:param>9 <xslt:param name="XFCrtUTCDateTime">2011-03- 22T13:27:24</xslt:param>4 <xslt:param name="XFCrtLocalDate">2011-03-30</xslt:param> 5 <xslt:param name="XFCrtLocalTime">10:29:36</xslt:param> 6 <xslt:param name="XFCrtLocalDateTime">2011-03-30T10:29:36</xslt:param> 7 <xslt:param name="XFCrtUTCDate">2011-03-30</xslt:param> 8 <xslt:param name="XFCrtUTCTime">08:29:36</xslt:param> 9 <xslt:param name="XFCrtUTCDateTime">2011-03-30T08:29:36</xslt:param> 10 10 <xslt:param name="XFOutputFormat"/> 11 11 <!-- … … 312 312 <fo:table-cell vertical-align="middle"> 313 313 <fo:block> 314 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true' ">yes</xsl:if>315 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false' ">no</xsl:if>314 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='1'">yes</xsl:if> 315 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:tightWell='0'">no</xsl:if> 316 316 </fo:block> 317 317 </fo:table-cell> … … 321 321 <fo:table-cell vertical-align="middle"> 322 322 <fo:block> 323 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true' ">yes</xsl:if>324 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false' ">no</xsl:if>323 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='true' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='1'">yes</xsl:if> 324 <xsl:if test="/witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='false' or /witsml:drillReports/witsml:drillReport/witsml:statusInfo/witsml:hpht='0'">no</xsl:if> 325 325 </fo:block> 326 326 </fo:table-cell> … … 1005 1005 </fo:table-cell> 1006 1006 <fo:table-cell> 1007 <fo:block>Dull grade</fo:block>1008 </fo:table-cell>1009 <fo:table-cell>1010 1007 <fo:block>Hole made (run)</fo:block> 1011 1008 <fo:block> … … 1054 1051 </fo:inline></xsl:if> 1055 1052 </fo:block> 1053 </fo:table-cell> 1054 <fo:table-cell> 1055 <fo:block>Dull grade</fo:block> 1056 1056 </fo:table-cell> 1057 1057 </fo:table-row> … … 1102 1102 <fo:table-cell> 1103 1103 <fo:block> 1104 <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart)"><fo:inline> 1105 <xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/> 1106 </fo:inline></xsl:if> 1107 </fo:block> 1108 </fo:table-cell> 1109 <fo:table-cell> 1110 <fo:block> 1111 <xsl:if test="string(witsml:bitRun/witsml:eTimOpBit)"><fo:inline> 1112 <xsl:value-of select="witsml:bitRun/witsml:eTimOpBit"/> 1113 </fo:inline></xsl:if> 1114 </fo:block> 1115 </fo:table-cell> 1116 <fo:table-cell> 1117 <fo:block> 1118 <xsl:if test="string(witsml:bitRun/witsml:ropAv)"><fo:inline> 1119 <xsl:value-of select="witsml:bitRun/witsml:ropAv"/> 1120 </fo:inline></xsl:if> 1121 </fo:block> 1122 </fo:table-cell> 1123 <fo:table-cell> 1124 <fo:block> 1125 <xsl:if test="string(witsml:bitRun/witsml:mdTotHoleMade)"><fo:inline> 1126 <xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/> 1127 </fo:inline></xsl:if> 1128 </fo:block> 1129 </fo:table-cell> 1130 <fo:table-cell> 1131 <fo:block> 1132 <xsl:if test="string(witsml:bitRun/witsml:totHrsDrilled)"><fo:inline> 1133 <xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/> 1134 </fo:inline></xsl:if> 1135 </fo:block> 1136 </fo:table-cell> 1137 <fo:table-cell> 1138 <fo:block> 1139 <xsl:if test="string(witsml:bitRun/witsml:ropMx)"><fo:inline> 1140 <xsl:value-of select="witsml:bitRun/witsml:ropMx"/> 1141 </fo:inline></xsl:if> 1142 </fo:block> 1143 </fo:table-cell> 1144 <fo:table-cell> 1145 <fo:block> 1104 1146 <xsl:if test="string(witsml:dullGrade)"><fo:inline> 1105 1147 <xsl:value-of select="witsml:dullGrade"/> 1106 </fo:inline></xsl:if>1107 </fo:block>1108 </fo:table-cell>1109 <fo:table-cell>1110 <fo:block>1111 <xsl:if test="string(/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart)"><fo:inline>1112 <xsl:value-of select="/witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStop - /witsml:drillReports/witsml:drillReport/witsml:bitRecord/witsml:bitRun/witsml:mdHoleStart"/>1113 </fo:inline></xsl:if>1114 </fo:block>1115 </fo:table-cell>1116 <fo:table-cell>1117 <fo:block>1118 <xsl:if test="string(witsml:bit/Run/witsml:eTimOpBit)"><fo:inline>1119 <xsl:value-of select="witsml:bit/Run/witsml:eTimOpBit"/>1120 </fo:inline></xsl:if>1121 </fo:block>1122 </fo:table-cell>1123 <fo:table-cell>1124 <fo:block>1125 <xsl:if test="string(witsml:ropAv)"><fo:inline>1126 <xsl:value-of select="witsml:ropAv"/>1127 </fo:inline></xsl:if>1128 </fo:block>1129 </fo:table-cell>1130 <fo:table-cell>1131 <fo:block>1132 <xsl:if test="string(witsml:bitRun/witsml:mdTotHoleMade)"><fo:inline>1133 <xsl:value-of select="witsml:bitRun/witsml:mdTotHoleMade"/>1134 </fo:inline></xsl:if>1135 </fo:block>1136 </fo:table-cell>1137 <fo:table-cell>1138 <fo:block>1139 <xsl:if test="string(witsml:bitRun/witsml:totHrsDrilled)"><fo:inline>1140 <xsl:value-of select="witsml:bitRun/witsml:totHrsDrilled"/>1141 </fo:inline></xsl:if>1142 </fo:block>1143 </fo:table-cell>1144 <fo:table-cell>1145 <fo:block>1146 <xsl:if test="string(witsml:ropMx)"><fo:inline>1147 <xsl:value-of select="witsml:ropMx"/>1148 1148 </fo:inline></xsl:if> 1149 1149 </fo:block> … … 1275 1275 <fo:table-cell> 1276 1276 <fo:block> 1277 <xsl:variable name="element_casing" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='stimStageType']/xsd:restriction"/> 1278 <xsl:variable name="casingTypes" select="witsml:casing_liner_tubing_run/witsml:kind"/> 1279 <xsl:if test="string($element_casing//xsd:enumeration[@value=$casingTypes])"><fo:inline> 1280 <xsl:value-of select="$element_casing//xsd:enumeration[@value=$casingTypes]"/> 1281 </fo:inline></xsl:if> 1282 </fo:block> 1283 </fo:table-cell> 1284 <fo:table-cell> 1285 <fo:block> 1286 <xsl:if test="string(substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T'))"><fo:inline> 1287 <xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimStart, 0, 17), 'T')"/> 1277 <xsl:if test="string(witsml:casing_liner_tubing_run/witsml:tubularJobType)"><fo:inline> 1278 <xsl:value-of select="witsml:casing_liner_tubing_run/witsml:tubularJobType"/> 1279 </fo:inline></xsl:if> 1280 </fo:block> 1281 </fo:table-cell> 1282 <fo:table-cell> 1283 <fo:block> 1284 <xsl:if test="string(substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T'))"><fo:inline> 1285 <xsl:value-of select="substring-after(substring(witsml:casing_liner_tubing_run/witsml:dTimEnd, 0, 17), 'T')"/> 1288 1286 </fo:inline></xsl:if> 1289 1287 </fo:block> … … 1430 1428 </fo:table-cell> 1431 1429 <fo:table-cell> 1432 <fo:block>Plug failed to bump</fo:block>1430 <fo:block>Plug bumped</fo:block> 1433 1431 </fo:table-cell> 1434 1432 <fo:table-cell> … … 1441 1439 </fo:table-cell> 1442 1440 <fo:table-cell> 1443 <fo:block>Float failed</fo:block>1441 <fo:block>Float held</fo:block> 1444 1442 </fo:table-cell> 1445 1443 <fo:table-cell> … … 1481 1479 <fo:table-cell> 1482 1480 <fo:block> 1483 <xsl:variable name="element_jobTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='cementJobTypes']/xsd:restriction"/> 1484 <xsl:variable name="jobTypes" select="witsml:jobType"/> 1485 <xsl:if test="string($element_jobTypes//xsd:enumeration[@value=$jobTypes])"><fo:inline> 1486 <xsl:value-of select="$element_jobTypes//xsd:enumeration[@value=$jobTypes]"/> 1481 <xsl:if test="string(witsml:jobType)"><fo:inline> 1482 <xsl:value-of select="witsml:jobType"/> 1487 1483 </fo:inline></xsl:if> 1488 1484 </fo:block> … … 1504 1500 <fo:table-cell> 1505 1501 <fo:block> 1506 <xsl:if test="witsml:topPlug='true' ">yes</xsl:if>1507 <xsl:if test="witsml:topPlug='false' ">no</xsl:if>1508 </fo:block> 1509 </fo:table-cell> 1510 <fo:table-cell> 1511 <fo:block> 1512 <xsl:if test="witsml:botPlug='true' ">yes</xsl:if>1513 <xsl:if test="witsml:botPlug='false' ">no</xsl:if>1514 </fo:block> 1515 </fo:table-cell> 1516 <fo:table-cell> 1517 <fo:block> 1518 <xsl:if test="witsml:plugBumped='true' ">yes</xsl:if>1519 <xsl:if test="witsml:plugBumped='false' ">no</xsl:if>1502 <xsl:if test="witsml:topPlug='true' or witsml:topPlug='1'">yes</xsl:if> 1503 <xsl:if test="witsml:topPlug='false' or witsml:topPlug='0'">no</xsl:if> 1504 </fo:block> 1505 </fo:table-cell> 1506 <fo:table-cell> 1507 <fo:block> 1508 <xsl:if test="witsml:botPlug='true' or witsml:botPlug='1'">yes</xsl:if> 1509 <xsl:if test="witsml:botPlug='false' or witsml:botPlug='0'">no</xsl:if> 1510 </fo:block> 1511 </fo:table-cell> 1512 <fo:table-cell> 1513 <fo:block> 1514 <xsl:if test="witsml:plugBumped='true' or witsml:plugBumped='1'">yes</xsl:if> 1515 <xsl:if test="witsml:plugBumped='false' or witsml:plugBumped='0'">no</xsl:if> 1520 1516 </fo:block> 1521 1517 </fo:table-cell> … … 1529 1525 <fo:table-cell> 1530 1526 <fo:block> 1531 <xsl:if test="witsml:floatHeld='true' ">yes</xsl:if>1532 <xsl:if test="witsml:floatHeld='false' ">no</xsl:if>1527 <xsl:if test="witsml:floatHeld='true' or witsml:floatHeld='1'">yes</xsl:if> 1528 <xsl:if test="witsml:floatHeld='false' or witsml:floatHeld='0'">no</xsl:if> 1533 1529 </fo:block> 1534 1530 </fo:table-cell> … … 1542 1538 <fo:table-cell> 1543 1539 <fo:block> 1544 <xsl:if test="witsml:annFlowAfter='true' ">yes</xsl:if>1545 <xsl:if test="witsml:annFlowAfter='false' ">no</xsl:if>1540 <xsl:if test="witsml:annFlowAfter='true' or witsml:annFlowAfter='1'">yes</xsl:if> 1541 <xsl:if test="witsml:annFlowAfter='false' or witsml:annFlowAfter='0'">no</xsl:if> 1546 1542 </fo:block> 1547 1543 </fo:table-cell> … … 1555 1551 <fo:table-cell> 1556 1552 <fo:block> 1557 <xsl:if test="witsml:reciprocated='true' ">yes</xsl:if>1558 <xsl:if test="witsml:reciprocated='false' ">no</xsl:if>1559 </fo:block> 1560 </fo:table-cell> 1561 <fo:table-cell> 1562 <fo:block> 1563 <xsl:if test="witsml:rotated='true' ">yes</xsl:if>1564 <xsl:if test="witsml:rotated='false' ">no</xsl:if>1553 <xsl:if test="witsml:reciprocated='true' or witsml:reciprocated='1'">yes</xsl:if> 1554 <xsl:if test="witsml:reciprocated='false' or witsml:reciprocated='0'">no</xsl:if> 1555 </fo:block> 1556 </fo:table-cell> 1557 <fo:table-cell> 1558 <fo:block> 1559 <xsl:if test="witsml:rotated='true' or witsml:rotated='1'">yes</xsl:if> 1560 <xsl:if test="witsml:rotated='false' or witsml:rotated='0'">no</xsl:if> 1565 1561 </fo:block> 1566 1562 </fo:table-cell> … … 1662 1658 <fo:table-cell> 1663 1659 <fo:block> 1664 <xsl:variable name="element_fluidTypes" select="document($ddrSchema)/xsd:schema/xsd:simpleType[@name='fluidTypes']/xsd:restriction"/> 1665 <xsl:variable name="fluidTypes" select="witsml:typeFluid"/> 1666 <xsl:if test="string($element_fluidTypes//xsd:enumeration[@value=$fluidTypes])"><fo:inline> 1667 <xsl:value-of select="$element_fluidTypes//xsd:enumeration[@value=$fluidTypes]"/> 1660 <xsl:if test="string(witsml:typeFluid)"><fo:inline> 1661 <xsl:value-of select="witsml:typeFluid"/> 1668 1662 </fo:inline></xsl:if> 1669 1663 </fo:block> … … 2840 2834 <fo:table-cell> 2841 2835 <fo:block> 2842 <xsl:if test="witsml:goodSeal='true' ">yes</xsl:if>2843 <xsl:if test="witsml:goodSeal='false' ">no</xsl:if>2836 <xsl:if test="witsml:goodSeal='true' or witsml:goodSeal='1'">yes</xsl:if> 2837 <xsl:if test="witsml:goodSeal='false' or witsml:goodSeal='0'">no</xsl:if> 2844 2838 </fo:block> 2845 2839 </fo:table-cell>