Valid XHTML 1.0 Transitional

View today's PowerPoint Presentation

LEARN XML

In-class excercise:

XML Menu

XML Terminology

  1. XSLT (the eXtensible Stylesheet Language Transformations) is the recommended style sheet language of XML but CSS can also be used for presentation.
  2. DTD (Document Type Definition) defines the legal building blocks of an XML document. It defines the document structure with a list of legal elements and attributes.
  3. Elements are the main building blocks of both XML and HTML documents. In html, "body" and "table" are examples
  4. Entities are variables used to define shortcuts to standard text or special characters. It has three parts: an ampersand (&), an entity name, and a semicolon (;). In HTML,   is an example.
  5. CDATA (Character Data) Tags inside the text will NOT be treated as markup and entities will not be expanded.
  6. PCDATA (Parsed Character Data) The text will be examined by the parser for entities and markup.
  7. XML Schema is an XML-based alternative to DTD.

Linked DTD example: Sample XML Sample DTD Sample CSS
Embedded DTD example: Pet World XML Pet World CSS

Homework:

  1. AIM: Assignment 5 - Create an XML File with a DTD and style it with a CSS.  Unformatted XML Menu
  2. Project 2 Mock-up
  3. Study for Midterm Exam


Return to Home Page