This is just a silly little java console program that displays various quotes from a list of movies.  The movies and their quotes are located in an XML file that is passed to the program.  The following is the required XML format.

<moviequotes>
<movie title="Movie Title">
<quote>
This is a quote.
</quote>
<quote>
This is a second quote.
</quote>
</movie>
<movie title="Another movie Title">
<quote>
This is a quote.
</quote>
</movie>
</moviequotes>

Once the XML file is validated with the program, a movie menu is displayed with a list of available movies.  Once a movie is chosen, the program proceeds to display the quotes in order as they appear in the XML file; repeating after accessing the last quote.  When the user is done viewing quotes, it returns back to the movie menu.

I went through a few iterations of this program before I got it right.  The first was going to be a Movie Q&A, but I scraped it do to possible complexity.  I will continue to work on that one for later.  The second was when I made the XML parser (MovieQuoteParser.java) way more complex then it needed to be.  Once I simplified it, life became much easier.

When accessing the movie menu, try entering choices that aren’t valid.  I’ve implemented progressive error messages.  That is, they change the more times you choose invalid choices.  I think they are kind of funny, but I’m also a huge dork (according to my wife, at least).

To run the program, you must have Java SE or EE installed.  Also, it might make it easier to run if you include the path to your java’s bin directory in your %PATH% environmental variable.  This program is console based, no GUI’s here.

	Executing instructions:
•	Access the command prompt and go to the location where the MovieQuotes.jar and the .xml file are stored.
•	java -jar MovieQuotes.jar filename.xml
o	The file passed needs to have a .xml extension

This was my first real attempt at XML so please be kind :)  Hope you enjoy it and thanks for checking it out.  If you have any questions or comments, send me a /tell at rbarham1980@cox.net.

Thanks,
Ray Barham

BTW, if you know what /tell means then you are in good company with me!  (Well…everyone is in good company with me….Ah, hell, you know what I mean)