Written for Java programmers who wants 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 provides a brief review of 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 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. In addition, the book includes a convenient quick reference that summarize the major elements of all the XML APIs discussed. A related Web site, located at http://www.cafeconleche.org/books/xmljava/, contains the entire book in electronic format, as well as updates and links referenced in the book. With thorough coverage of the key XML APIs and a practical, task-oriented approach, Processing XML with Java is a valuable resource for all Java programmers who need to work with XML.