Understanding XML
XML was first created as a solution to the complexity inherent in the Standard Generalized Markup Language (SGML), the granddaddy of all structured markup languages. What you may not know is that SGML actually contains the rules that define how to produce other markup languages, such as HTML. XML is just a subset or restriction of those rules, providing the specifications for producing markup for all kinds of content based on a few simple conventions.
XML documents are either well formed, meaning they contain a single root element that contains every other element (or none), or valid, meaning they are well formed and all their elements adhere to all the constraints set forth in their associated Document Type Definition (DTD) ...
Get Microsoft® SQL Server 2008 R2 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.