Chapter 12. XML Processing Basics

In This Chapter

A document is entitled to be called an XML document only if it adheres to the rules laid down in the XML specification. The authors of this XML spec made conformance a very high priority because they did not want the problems that had afflicted HTML to also afflict XML.

Part of the problem with HTML is that many documents are called HTML documents when they are nothing of the sort. A true HTML document will adhere to the rules laid down in one of the HTML DTDs. However, a de facto breed of HTML document has arisen, the only requirement being that ...

Get XML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.