
Rendering XML Without HTML
HTML has a fixed set of elements and HTML browsers are hard-coded to
render them onscreen. In other words, HTML browsers know that the title
element will appear in the title bar; they know that hyperlinks are blue
and underlined. They need not be told how to style elements.
XML, on the contrary, has no predefined set of elements. It is up to you, the
author, to define elements. Consequently, an XML browser cannot be hard-
coded. It needs to be told how to style each element you defined.
In the previous chapter, you worked around the difficulty by converting
XML to HTML. Ultimately, the browser was a standard HTML browser
rendering ...