<?xml version="1.0"?> <message> <to>All visitors</to> <greeting>Hello and Welcome to LearningXML.com!</greeting> </message>
You might have just read your first XML document that isn't XHTML.
If you were aware that the XHTML you saw earlier in the book was, in fact, XML-compliant you will notice that this short greeting differs from XHTML in a number of ways; for example, it introduces new tags which are absent from XHTML. XHTML is only one application of XML; in particular, it is a re-write of HTML 4.0 in compliance with XML standards. As you read these chapters on XML, you will learn more about it and its associated family of technologies. This family of XML-related technologies is able to work together progressively.