The aim of this project was to parse and csv file and produce and xml file from the input data. The produced XML file was then transformed to produce HTML webpages using XSLT files.
The program is set up to take in a fixed csv file which is provided with the source files. The XML document produced conforms to the XSD Schema provided with the source files.
To take an alternative file as input with valid output, the program and schema must be changed.
Place the directory in a suitable place on your hardive and excecute via the command line or terminal.
To compile the file, open your terminal and type
javac csv2xml.java
To run the generated class file and produce the XML file, use
java csv2xml
To transform the XML using any of the provided XSLT files, input the XML and XSLT file in the relevant fields of a formatting website such as Free Formatter.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.