![]() | |
Table of Contents |
Processing XML with Java : A Guide to SAX, DOM, JDOM, JAXP, and TrAX | ||
By Elliotte Rusty Harold | ||
Publisher | : Addison Wesley | |
Pub Date | : November 08, 2002 | |
ISBN | : 0-201-77186-1 | |
Pages | : 1120 | |
Written for Java programmers who want to integrate XML into their systems, this practical, comprehensive guide and reference shows how to process XML documents with the Java programming language. It leads experienced Java developers beyond the basics of XML, allowing them to design sophisticated XML applications and parse complicated documents.
Processing XML with Java(TM) provides a brief review of XML fundamentals, including XML syntax; DTDs, schemas, and validity; stylesheets; and the XML protocols XML-RPC, SOAP, and RSS. The core of the book comprises in-depth discussions on the key XML APIs Java programmers must use to create and manipulate XML files with Java. These include the Simple API for XML (SAX), the Document Object Model (DOM), and JDOM (a Java native API). In addition, the book covers many useful supplements to these core APIs, including XPath, XSLT, TrAX, and JAXP.
Practical in focus, Processing XML with Java(TM) is filled with over two hundred examples that demonstrate how to accomplish various important tasks related to file formats, data exchange, document transformation, and database integration. You will learn how to read and write XML documents with Java code, convert legacy flat files into XML documents, communicate with network servers that send and receive XML data, and much more. Readers will find detailed coverage of the following:
How to choose the right API for the job
Reading documents with SAX
SAX filters
Validation in several schema languages
DOM implementations for Java
The DOM Traversal Module
Output from DOM
Reading and writing XML documents with JDOM
Searching XML documents with XPath
Combining XSLT transforms with Java code
TrAX, the Transformations API for XML
JAXP, the Java API for XML Processing
With thorough coverage of the key XML APIs and a practical, task-oriented approach, Processing XML with Java(TM) is a valuable resource for all Java programmers who need to work with XML.