root / projects / DDR_phase2 / XML / HTMLReport / readMe.txt @ 5

Revision 5, 1.1 kB (checked in by margs, 15 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
4in the xml to be transformed:
5
6<?xml version="1.0" encoding="ISO-8859-1"?>
7<?xml-stylesheet type="text/xsl" href="ddr_HTMLReport_transformation.xsl"?>
8<witsml:drillReports
9
10Open the xml file in a browser, and the content should be formated in HTML
11
12
13
14
15TECHNICAL DETAILS
16*******************
17The transforamtion file has refenrece to and imports the drill report schema. The reason for this is to enable
18lookup of element definitions via the RDS URL.
19
20So, the drill report schema must be imported and the schamaLocation (in the import element) has to reflect the
21location of the file. Furthermore, this file is used when retreiving the RDS reference. As the schema file name might
22changes when NPD/Ptil is issuing their new official verison, we have introduced a global variable to hold the file name.
23Thus, 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.