De Anza College - CIS97YT -
Introduction to XML
Fall 2002
- Objectives
-
- Write well-formed and valid XML.
- Read and create Document Type Definitions (DTDs).
- Read and create Relax NG validation schemas.
- Understand the concept of namespaces.
- Use Cascading Style Sheets to display XML.
- Create XSLT transformations to convert XML to XHTML and/or
XSL Formatting Objects
- Understand the concepts of Document Object Model (DOM)
and Simple API for XML (SAX) parsers
- Class Description
-
An introduction to the XML notation and XML tools. We'll be working
with established markup languages (XML applications) as well as
markup languages of our own invention.
- Process
-
This class has a lecture and lab section. The instructor will be present
to assist you during the lab. You may work on assignments in the lab or
use your own computers. Lab attendance is an excellent opportunity for personal
instruction. In order to complete assignments, you may also need to
work on them outside the scheduled laboratory periods.
- Assignments
-
You will be assigned several programming projects ranging from light to
moderate complexity. For each assignment, you will email the solution
to
david@catcode.com
. Your files must be named with
your last name, first initial, and assignment number. Thus, the XML
file for assignment three from Fred Bloggs might be named
bloggs_f_3.xml
. Do not put blanks in your file names.
A file named prog3.xml
will not be accepted. Assignments will be graded
on functionality, organization, and readability.
- Exams
-
You will have one midterm project, one midterm
test, and one final; there may be pop quizzes
as well. You may use the book and your class notes on these tests.
- Grading
-
The work on the tests and assignments will be weighted and combined to
calculate your final grade as follows:
Weight
Labs: | 60% |
Midterms: | 20% |
Final Exam: | 20% |
|
|
Grading:
90% and above | A |
80% | B |
70% | C |
60% | D |
Less than 60% | F |
|
- Attendance
-
You are required to attend classes. If you decide to drop the class,
it is your responsibility to do so. Three absences may cause you to
be dropped - please notify the instructor if you have any
extenuating circumstances.
- Policies
-
Programming labs are to be submitted prior to the end of the class lab
period on the date due. If turned in late, you will receive reduced
credit. Missed tests or labs will receive zero credit. The final exam is
required. Discussion about assignments is encouraged, but you must each
do your own work. Cheating and plagiarism will be met with an F in
the course.
-
Required Text
- Learning XML,
Erik T. Ray (O'Reilly & Associates)
-
Recommended Resource
- XML in a Nutshell,
Elliotte Rusty Harold & W. Scott Means (O'Reilly &
Associates)
Course Outline
Note: the pace at which we will cover these
subjects may deviate from this printed schedule. Your mileage may vary.
Week |
Subject |
Notes |
1 |
XML Fundamentals
Review of HTML, History of XML, well-formedness rules |
|
2 |
Validating XML
Introduction to Document Type Definitions (DTDs)
|
|
3 |
Validating XML (continued)
Advanced DTDs; beginning Relax NG
|
|
4 |
Validating XML (continued)
Datatypes and Regular Expressions with Relax NG
|
Midterm Project |
5 |
Namespaces
|
|
6 |
Displaying XML
Cascading Style Sheets (CSS)
|
|
7 |
XSLT
Beginning Transformations
|
|
8 |
XSLT (continued)
XPointer and XPath
|
Midterm Test |
9 |
XSLT (continued)
Converting XML to XHTML
|
|
10 |
XSLT (continued)
XSL Formatting Objects
|
|
11 |
DOM and SAX
|
|
12 |
Review
|
Final |