![]() |
This portion of the Technical Resource Center compares three renditions of the same content, an excerpt from the encyclopedia Britannica's description of Irises. The renditions are: HTML, XHTML, and various XML |
Each page has the same content, except that the XML version has structure unavailable to the HTML renditions and it also has tagged metadata information in the body, unavailable to the HTML and XHTML renditions since their metadata tag must be in the header only. You won't be able to view the XML version unless you are browsing with IE 5. You will find that the HTML and XHTML renditions look the same in any browser version 4 or newer. The only difference between these two renditions is that the latter, XHTML, is more disciplined and follows the rules for transitioning from HTML to XML, following the W3C standard XHTML.
You'll notice that the XML version uses richer typography. This illustrates the application of CSS-1 styles to individual XML element types.
Click here to view the plain HTML version.
Click here to view the XHTML version.
Click here to view the XML CSS-1 version using HTML NameSpace IMG element for the image. This page was created using XMetaL version 1.2 and its style editor. The DTD for this page was created using XML Authority version 1.1c.
Note this is for XML-aware (version 5) browsers only. This page uses HTML namespaces (the IMG element) to display the Iris graphic. Loading is slow since the DTD defined for this page includes provision for full HTML tables (not used in the example, but available for future expansion). Future versions will use the NOTATION facility to identify the iris graphic, richer page structures (such as tables), CSS-2, XSL, and other XML standards to illustrate features available in these standards.