The source code for the assignment can be found here
Please note that all code (unless stated) is copyright to me.
You may use the code on the following conditions:
This only includes the jsp and java files, not css or html. The jsp files have been renamed to jsps so that tomcat doesn't process them.
EDIT:
here is an example of the XSD file that shows what format the XML data must be in
<xs:documentation><p>Written by Michael Dale for DCA Assignment 1 Part 2 - 10309108 - Copyright 2005</p>
<p>This schema contains two main sections. The first part is the simpleType setup where I define <br />
values that require checking (and aren't just strings).</p>
<p>orderNumberType: Any 6 digit number.<br />
yearType: Any integer between (and including) 2000 - 3000.<br />
monthType: Any integer between (and including) 1 - 12.<br />
dayType: Any integer between (and including) 1 - 31.<br />
currencyType: A string of one of the following values: AUD, USD, EUR, JPY.<br />
quantityType: Any integer between (and including) 1 - 1000.<br />
unitcostType: A double that is between (and including) 0.00 - 99999.00 and also in that format.</p>
<p>The next section is where the elements and structure of the XML document is defind.</p>
</xs:documentation>
Should be a definition list :P