Example Source Code from Chapter 13, Output from DOM, of Processing XML with Java
Example 13-1 Using Xerces’ OutputFormat class to pretty print XML
Example 13-2 Using Xerces’ OutputFormat class to pretty print MathML
Example 13-3 The DOM3 DOMWriter interface
Example 13-4 The DOM3 DOMErrorHandler interface
Example 13-5 Serializing with DOMWriter
Example 13-6 The DOM3 DOMImplementationLS interface
Example 13-7 An implementation independent DOM3 program to build and serialize an XML document
Example 13-8 The DOMWriterFilter interface
Example 13-9 Filtering everything that isn’t XHTML on output
Example 13-10 Using a DOMWriterFilter
Examples from Other Chapters
|
Processing XML with Java
|
Cafe con Leche
Copyright 2002 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 23, 2002