Index of /~pkale
Name Last modified Size Description
Parent Directory 24-May-2012 17:20 -
Resume.pdf 16-May-2012 23:00 120k
X.html 21-Jan-2012 22:56 5k
ass1.html 21-Jan-2012 18:03 4k
ass2.html 09-Feb-2012 20:43 16k
contact.html 14-May-2012 13:30 2k
education.html 16-May-2012 22:58 3k
hobbies.html 23-May-2012 01:38 3k
homepage.html 19-May-2012 17:56 2k
images/ 14-May-2012 13:29 -
includes/ 25-Nov-2011 15:52 -
javasripts/ 13-May-2012 18:26 -
master03_image001.jpg 08-May-2012 17:41 18k
mixed.xml 03-Mar-2012 10:54 1k
pratpran1689.html 03-Apr-2012 02:32 1k
projects.html 14-May-2012 13:30 6k
public.css 25-Nov-2011 16:42 1k
stylesheets/ 23-May-2012 12:50 -
valid.xml 03-Mar-2012 10:38 2k
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.