Chapter 13. Working with XML

13.1 Background: XML-processing libraries
13.2 Writing XML
13.3 Validating XML
13.4 Reading XML data
13.5 Transforming XML with XSLT
13.6 Summary

In this chapter we’re going to take a partial break from the web site and do some low-level XML work. Many Java projects need some XML processing at build time. It may be the need to create configuration files on the fly, or it could be the desire to generate Java source files from XML. This is essentially what all web service stacks do when they create Java classes from the XML files that describe the remote SOAP service.

We’re going to explore XML processing in Ant. We’ll see how to use Ant to validate the Atom feed of events coming off our diary web application, ...

Get Ant in Action 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.