Hour 24: CSS and XML
Extensible Markup Language (XML) has become one of the buzzwords of the late 1990s and early 21st Century. Hailed as the next step in the evolution of the Web, XML promises to shake up the way we think about the design of access to information. The knowledge you've gained about using CSS with HTML will serve you well if you go on to write XML documents because CSS and XML complement each other.
In this hour, you'll learn
- What XML is and how it is used
- How an XML-based language is defined
- How Cascading Style Sheets can be used to style an XML document
- Which styles are most useful in creating the presentation style for an XML document
- What XHTML is and how Cascading Style Sheets are used with XHTML
- How other XML-based languages, such as Scalable Vector Graphics (SVG), use CSS
Sample Code
You can download the sample code from each hour as one package or individual files.
- Download all [2K tar.gz file]
- Listing 24.1 [XML]
- Listing 24.2 [XML DTD]
- Listing 24.3 [XML]
- Listing 24.4 [CSS]
- Listing 24.1 with style sheet 24.4 [XML]
- Listing 24.5 [CSS]
- Listing 24.1 with style sheets 24.4 and 24.5 [XML]
- Listing 24.6 [CSS]
- Listing 24.3 with style sheets 24.4, 24.5, and 24.6
Web Links
These are the links presented in this hour, given here for easy reference.
- Teach Yourself XML in 24 Hours
- Kynn's Home Page
- Web Accessibility Initiative
- WebAIM
- HTML Tidy Program
- XHTML Specification
- W3C's XML site
- W3C's HTML and XHTML site
- W3C's Scalable Vector Graphics site
- Information about XUL is at Mozilla's site
- XSL Info site
Updates and Errata
There are currently no updates to this hour's content.