Foreword
XML is not a programming language . . . it is a markup language.
Python, on the other hand—like Java, C++, and Perl—is a programming language. As such, it is designed to do things to data. Programming languages have verbs like “read,” “write,” “compare,” and . . . well . . . “do.” They can also describe data to some extent, but not as well as a markup language.
That's because a markup language like XML is designed solely to describe data—any data that could occur in a paper document, which is virtually any data at all. When properly used, the data descriptions can be very rich indeed. Not just bare-bones datatype information, like “string” or “integer,” but also detailed metadata about the schema, structure, and semantic properties.
Moreover, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access