Changeset 159 for projects/DailyDrillingReport_1.2/XML/PDFreport/ddr_HTMLReport_transformation_2011_03_09.xfd
- Timestamp:
- 03/30/11 10:33:08 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
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>