Summary
XML is a standard textual markup language suitable for encoding almost any sort of data. It works very well, both for unstructured narrative data written by people and for the record-oriented data common in computer applications. About the only data for which it's not really suited are bitmapped things such as photographs and recorded sound.
Logically an XML document is made up of nested elements. Each element has a name, a set of attributes, and some content. The content can include plain text, other elements, or both. The attributes are name value pairs associated with the element. Each document has a single topmost element called the root or document element. Because all nonroot elements nest completely inside other elements, an XML ...
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