Example Source Code from Chapter 3, Writing XML with Java, of Processing XML with Java
Example 3-1 A program that calculates the Fibonacci numbers
Example 3-2 The first 10 Fibonacci numbers in an XML document
Example 3-3 A program that outputs the Fibonacci numbers as an XML document
Example 3-4 Using named constants for element names
Example 3-5 A Java program that writes an XML document that uses attributes
Example 3-6 A Java program that generates a valid document
Example 3-7 A MathML document containing Fibonacci numbers
Example 3-8 A Java program that generates a MathML document
Example 3-9 A Java program that writes an XML file
Example 3-10 Connecting an XML-RPC server with URLConnection
Example 3-11 Connecting to a SOAP server with URLConnection
Example 3-12 A servlet that generates XML
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