Using XML

Although the two aren’t inherently tied together, the eXtensible Markup Language (XML) and Java are often discussed in the same context. This chapter explains why that’s the case and provides an overview of XML, along with a description of some of the tools available and when and how to use them. You’ll look at the following:

  • What XML is and how to create an XML document
  • Parsing and validating XML documents using the Document Object Model (DOM)
  • Using XML namespaces to eliminate ambiguities where a document uses multiple Document Type Definitions (DTDs)
  • Transforming XML documents with eXtensible Stylesheet Language Transformations ...

Get Pro Java 8 Programming, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.