root / standards / DailyDrillingReport / 1.1.0 / HTMLreport / readMe.txt

Revision 5, 1.1 kB (checked in by margs, 8 years ago)

moving old files into new repository.

Line 
1RUNNING THE TRANSFORMATION
2*****************************
3Store the ddr_HTMLReport_transformation.xsl, the .css and the schema at some location. Include the processing instruction in the xml to be transformed:
4
5<?xml version="1.0" encoding="ISO-8859-1"?>
6<?xml-stylesheet type="text/xsl" href="ddr_HTMLReport_transformation.xsl"?>
7<witsml:drillReports
8
9Open the xml file in a browser, and the content should be formated in HTML
10
11
12TECHNICAL DETAILS
13*******************
14The 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.
15
16So, 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.