root / projects / DailyDrillingReport_1.2 / XML / HTMLreport / readMe.txt @ 336

Revision 307, 1.8 kB (checked in by yaolu, 13 years ago)

updated with correct text on the readme files

Line 
1RUNNING THE TRANSFORMATION
2*****************************
3Store the ddr_HTMLReport_transformation.xsl, the sub_abstractSubstitutionGroup.xsd, the .css and the schema at some location. Include the processing instruction in the xml to be transformed:
4<?xml version="1.0" encoding="ISO-8859-1"?>
5<?xml-stylesheet type="text/xsl" href="ddr_HTMLReport_transformation.xsl"?>
6<witsml:drillReports
7        version="1.4.0.0"
8        xsi:schemaLocation="http://www.witsml.org/schemas/1series WITSML_drillReport_profiled_schema_2011_01_29.xsd"
9        xmlns:witsml="http://www.witsml.org/schemas/1series"
10        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11
12For reports created before DDR 1.2.0 use
13
14<?xml version="1.0" encoding="ISO-8859-1"?>
15<?xml-stylesheet type="text/xsl" href="ddr_HTMLReport_transformation.xsl"?>
16<witsml:drillReports
17        version="1.4.0.0"
18        xsi:schemaLocation="http://www.witsml.org/schemas/1series WITSML_drillReport_profiled_schema_2011_05_07.xsd"
19        xmlns:witsml="http://www.witsml.org/schemas/1series"
20        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21
22Open the xml file in a browser, and the content should be formated in HTML
23
24TECHNICAL DETAILS
25*******************
26The transformation file has reference to and imports the drill report schema. The reason for this is to enable lookup of element definitions via the RDS URL.
27
28So, the drill report schema must be imported and the schamaLocation (in the import element) has to reflect the location of the file. Furthermore, this file is used when retreiving the RDS reference. As the schema file name might changes when NPD/Ptil is issuing their new official verison, we have introduced a global variable to hold the file name. Thus, if the file name changes, updating the value (i.e. select) of the variable "ddrSchema" should be ok.
Note: See TracBrowser for help on using the browser.