Skip to content

naomi-codes/java-xsl-xml-transformations

Repository files navigation

csv2xml and xmltohtml

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.

Installation

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

Usage

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.

Contributing

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.

License

GPLv3

About

Project to produce XML from a CSV file and transform the XML using XSLT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published