O'Reilly logo

Just Java™ 2 by Peter van der Linden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 27. XML and Java

  • XML Versus HTML

  • Some Rules of XML

  • The Document Type Definition (DTD)

  • That Is XML Used For?

  • XML Versions and Glossary

  • JAXP Library Contents

  • Reading XML With DOM Parsers

  • A Program That Uses a DOM Parser

  • Reading an XML File—SAX Parsers

  • A Program That Uses a SAX Parser

  • The Factory Design Pattern

  • Design Pattern Summary

  • Other Java XML Notes

  • Further Reading

  • Exercises

  • Some Light Relief—“View Source” on Kevin's Life

This chapter is in three parts. The first part describes XML, what it's for, and how you use it. It's straightforward and is described in a couple of sections in the chapter. The largest part of this chapter describes Java support for XML, covering how you access and update XML documents. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required