Core Java Advanced LiveLessons

XML

Copyright © Cay S. Horstmann 2016

Parsing XML documents

XML

Parsing an XML Document

Analyzing the DOM

Node Types

Validation

lesson10/read

Work with the XPath and namespaces specifications in Java

XPath

Namespaces

Use a streaming parser

The SAX Parser

lesson10/sax

The StAX Parser

lesson10/stax

Generate XML documents

Building a DOM Tree

Writing Documents

Writing an XML Document with StAX

lesson10/write