XML-to-XHTML Transformations

Although many books concentrate on XML-to-HTML transformations, the truth is that the W3C isn’t overwhelmingly happy about that. They’ve been trying to phase out HTML (and they’re the ones who standardized it originally) in favor of their new specification, XHTML, which is an XML-compliant revision of HTML. XHTML documents are also well-formed valid XML documents, so transforming from XML to XHTML is really transforming from XML to a special kind of XML.

Although the W3C is really pushing XHTML, it’s not in widespread use yet. For that reason, I’ll stick to HTML in this book, but because the W3C says you should use XHTML, I’ll take a brief look at that here and in Chapter 6. If you want to learn more about XHTML, ...

Get Inside XSLT now with O’Reilly online learning.

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