|XML TO HTML PARSER|
This desktop application uses SAX (Simple API for XML) to create an HTML page with content provided from an XML file. The application is designed to accept an XML file that contains information for a academic course, and then creates the HTML for a appealing website to display the information. This was a great exercise in using a platform independent data source such as XML to construct a program. One of the challenges I ran into while parsing XML using SAX is that it reads the XML file in sequence so nested tags are tricky. Since I didn't know how many nested tags I would find in each of the parent tags, I used Array Lists to store the data in the elements. Once I reached the end of the document I could access the Array Lists and create the HTML code from there.