Book description
Praise for Elliotte Rusty Harold’s Processing XML with Java™
“The sophistication and language are very appropriate for Java and XML application developers. You can tell by the way the author writes that he too is a developer. He delves very deeply into the topics and has really taken things apart and investigated how they work. I especially like his coverage of ‘gotchas,’ pitfalls, and limitations of the technologies.”
—John Wegis, Web Engineer, Sun Microsystems, Inc.
“Elliotte has written an excellent book on XML that covers a lot of ground and introduces current and emerging technologies. He helps the novice programmer understand the concepts and principles of XML and related technologies, while covering the material at a level that’s deep enough for the advanced developer. With a broad coverage of XML technologies, lots of little hints, and information I haven’t seen in any other book on the topic, this work has become a valuable addition to my technical library.”
—Robert W. Husted, Member, Technical Staff, Requisite Technology, Inc.
“The code examples are well structured and easy to follow. They provide real value for someone writing industrial-strength Java and XML applications. The time saved will repay the cost of this book a hundred times over.
“The book also contains more of the pearls of wisdom we’ve come to expect from Elliotte Rusty Harold—the kind of pointers that will save developers weeks, if not months, of time.”
—Ron Weber, Independent Software Consultant
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™ 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™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 summarizes 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 el
Table of contents
- Copyright
- Praise for Elliotte Rusty Harold's Processing XML with Java™
- List of Examples
- List of Figures
- Preface
- XML
-
SAX
-
SAX
- What Is SAX?
- Parsing
- Callback Interfaces
- Receiving Documents
- Receiving Elements
- Handling Attributes
- Receiving Characters
- Receiving Processing Instructions
- Receiving Namespace Mappings
- “Ignorable White Space”
- Receiving Skipped Entities
- Receiving Locators
- What the ContentHandler Doesn't Tell You
- Summary
- The XMLReader Interface
- SAX Filters
-
SAX
-
DOM
- The Document Object Model
- Creating XML Documents with DOM
-
The DOM Core
- The Element Interface
- The NamedNodeMap Interface
- The CharacterData Interface
- The Text Interface
- The CDATASection Interface
- The EntityReference Interface
- The Attr Interface
- The ProcessingInstruction Interface
- The Comment Interface
- The DocumentType Interface
- The Entity Interface
- The Notation Interface
- Summary
- The DOM Traversal Module
- Output from DOM
- JDOM
- XPath/XSLT
- Appendixes
Product information
- Title: Processing XML with Java™: A Guide to SAX, DOM, JDOM, JAXP, and TrAX
- Author(s):
- Release date: November 2002
- Publisher(s): Addison-Wesley Professional
- ISBN: 0201771861
You might also like
book
Special Edition Using XML, Second Edition
Special Edition Using XML, Second Edition gives developers a formal introduction to XML technology, starting with …
book
JSP™ and XML Integrating XML and Web Services in Your JSP™ Application
The first Internet revolution was all about delivering information to people. We are now in the …
book
Special Edition Using Java™ 2 Enterprise Edition
Java 2 Enterprise Edition is a combination of Java-related technologies including Java Server Pages, Servlets, and …
book
XML Development with Java™ 2
XML Development with Java 2 provides the information and techniques a Java developer will need to …