Index of /~pkale

      Name                    Last modified       Size  Description

[DIR] Parent Directory 24-May-2012 17:20 - [   ] Resume.pdf 16-May-2012 23:00 120k [TXT] X.html 21-Jan-2012 22:56 5k [TXT] ass1.html 21-Jan-2012 18:03 4k [TXT] ass2.html 09-Feb-2012 20:43 16k [TXT] contact.html 14-May-2012 13:30 2k [TXT] education.html 16-May-2012 22:58 3k [TXT] hobbies.html 23-May-2012 01:38 3k [TXT] homepage.html 19-May-2012 17:56 2k [DIR] images/ 14-May-2012 13:29 - [DIR] includes/ 25-Nov-2011 15:52 - [DIR] javasripts/ 13-May-2012 18:26 - [IMG] master03_image001.jpg 08-May-2012 17:41 18k [   ] mixed.xml 03-Mar-2012 10:54 1k [TXT] pratpran1689.html 03-Apr-2012 02:32 1k [TXT] projects.html 14-May-2012 13:30 6k [TXT] public.css 25-Nov-2011 16:42 1k [DIR] stylesheets/ 23-May-2012 12:50 - [   ] valid.xml 03-Mar-2012 10:38 2k [IMG] webpic.jpg 08-May-2012 17:41 96k

name: Pratik Kale
USC ID:9757552579
class ID(course ID) :11642
homework url:http://www-scf.usc.edu/~pkale/pratpran1689.html


description of html page:
The html page consists of a form which has a text box and a submit button. If a valid xml file  is put in the textbox and submit is clicked the
file is parsed for all basketball and football teams and html is generated on a new page.

validation:
If the xml file is invalid (not properly formed or empty) bad xml file alert box will be displayed.
if xml file is valid then the file will be parsed if it is correctly loaded.


javascript description
I have taken all the xml data in arrays using DOM API's.
I have then put all the xml to be generated into one string.
I have dumped the entire generated string to a new window using the pointer to that window.