Chapter 9. Cascading Style Sheets

If you want to display XML pages in a browser, you have a problem. Unless the browser you're using can handle your XML markup (such as the Jumbo browser, which handles Chemical Markup Language), the best that it can do is to display your document in some default way. For example, take a look at this document, which holds the beginning text of the stoic philosopher (and Roman emperor) Marcus Aurelius's The Meditations (http://classics.mit.edu/Antoninus/meditations.html):

 <?xml version="1.0" standalone="yes"?> <DOCUMENT> <TITLE>The Meditations</TITLE> <AUTHOR>By Marcus Aurelius</AUTHOR> <SECTION>Book One</SECTION> <P> From my grandfather, Verus, I learned good morals and the government of my temper. </P> <P> ...

Get Inside XML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.