Introduction
In Chapter 14, “Java and XML: Introduction to XML,” we introduced XML and explained how this versatile markup language can be used to describe data in a platform-independent and tool-independent manner. As developers, we need to be able to use the data described by XML in our applications. This involves reading XML-formatted documents from various sources and parsing the documents into a useful representation for our application. With Java, this means that we usually parse these documents into one or more objects in our application. But it is highly probable that our applications will not be limited to the role of only consuming XML-formatted data; our applications will also be required to produce XML-formatted data.
Fortunately, ...
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