Note 11 for Web Scripting
Watch & Read:
My XML File and using AJAX. Fill in the State using AJAX
AJAX is the marriage between JavaScript, CSS (or XSL) and XML
Well formed XML (XML that follows the rules)
You need to declare you are using XML
<?xml version="1.0" encoding="ISO-8859-1"?>
XML documents must have a root element
(A container Element that appears only once that encapsulates all of the XML Elements)
XML elements must have a closing tag
XML elements names
can not start with a number or punctuation mark
can not contain spaces
can not start with the letters xml
XML tags are case sensitive
XML elements must be properly nested
XML attribute values must use quotesExample: XML, XSL & Javascript Combined
Example of HTML that uses XML, CSS and Javascript
Terms you need to Lookup:
XML (eXtensible Markup Language), DTD (Document Type Definition) , Schema, XSL (XML Style Language)
Well formed
Review the following:
AJAX HTML Controls
Homework:
Reminder: Post on the Discussion Board Section at least one URL of a Web Page that uses a Web script and describe how the script works.
Final Step:
Imagine that your mind is a DVD recorder / player and you can review this content anytime you want. I want you to close your eyes and quickly review in your mind everything we covered in class.
I also want you to review everything we covered before you go to bed because I want your mind to process this information while you sleep. You don’t need to spend much time on this review, 5 minutes will be enough!