Description: As the change from HTML to XML-based standards takes place, it is natural to start using XML tools and APIs for processing and generating HTML documents. Unfortunately the change to newer standards is not without problems and requires additional work on part of the software. Although XHTML is an XML vocabulary, millions of HTML web pages still exist that are not well-formed. When it comes to generating HTML, a small but still significant number of browsers have serious problems rendering HTML that is well-formed XML.