Books
x dismiss this message

Did you know you can edit this page?

see page history

Description edit see section history

Java and XML, 3rd Edition , shows you how to cut through all the hype about XML and put it to work. It teaches you how to use the APIs, tools, and tricks of XML to build real-world applications. The result is a new approach to managing information that touches everything from configuration... read more

Ridiculously Simplified Synopsis edit

Write a ridiculously simplified synopsis.

Popular Covers

Loading covers…

Choose your book’s cover

First Sentence edit see section history

XML, XML, XML, XML.

Table of Contents edit see section history

Preface ...............................................................................5
Organization ...................................................................6
Who Should Read This Book? ........................................8
Software and Versions ....................................................8
Conventions Used in This Book ......................................9
Comments and Questions ..............................................9
Acknowledgments ...........................................................10

Chapter 1. Introduction ....................................................11
What Is It? .......................................................................12
How Do I Use It? .............................................................19
Why Should I Use It? ......................................................21
What’s Next? ..................................................................33

Chapter 2. Creating XML ..................................................33
An XML Document ..........................................................34
An XML Document ..........................................................35
The Content ...................................................................36.
What’s Next? ..................................................................43

Chapter 3. Parsing XML 4....................................................43
Getting Prepared ............................................................43
SAX Readers ..................................................................45
Content Handlers ............................................................49
Error Handlers ................................................................64
Error Handlers ................................................................70
"Gotcha!" .........................................................................76
What’s Next? ..................................................................79

Chapter 4. Constraining XML ...........................................79
Why Constrain XML Data? .............................................79
Document Type Definitions .............................................82
XML Schema .................................................................94
What’s Next? .................................................................106

Chapter 5. Validating XML ................................................106
Configuring the Parser ....................................................106
Output of XML Validation ................................................110
The DTDHandler Interface ..............................................114
"Gotcha!" ......................................................................116
What’s Next? ..................................................................118

Chapter 6. Transforming XML ..........................................118
The Purpose ...................................................................119
The Components ............................................................120
The Syntax ......................................................................123
What’s Next? ..................................................................140

Chapter 7. Traversing XML ..............................................140
Getting the Output ..........................................................141
Getting the Input .............................................................143
The Document Object Model (DOM) ..............................144
"Gotcha!" .................................................................158
What’s Next? .................................................................160

Chapter 8. JDOM ...............................................................160
Parsers and the Java API for XML Parsing ....................161
JDOM: Another API? ......................................................164
What’s in a Name? ............................................................164
Getting a Document ........................................................166
Using a Document ..........................................................169
Outputting a Document ...................................................177
What’s Next? ..................................................................184

Chapter 9. Web Publishing Frameworks ........................184
Selecting a Framework ................................................185.
Installation ..................................................................187
Using a Publishing Framework .......................................193
XSP ..........................................................................204
Cocoon 2.0 and Beyond .................................................217
What’s Next? ..................................................................219

Chapter 10. XML-RPC .......................................................219
RPC Versus RMI ............................................................220
Saying Hello ....................................................................222
Putting the Load on the Server .......................................232
The Real World ..............................................................246
What’s Next? ..................................................................249

Chapter 11. XML for Configurations ...............................249
EJB Deployment Descriptors ..........................................250
Creating an XML Configuration File ................................252
Reading an XML Configuration File ................................257
The Real World ............................................................265
What’s Next? ..................................................................273

Chapter 12. Creating XML with Java ...............................273
Loading the Data ............................................................273
Modifying the Data ..........................................................282
XML from Scratch ...........................................................287
The Real World ...............................................................288
What’s Next? ..................................................................295

Chapter 13. Business-to-Business ..................................295
The Foobar Public Library ..............................................296
mytechbooks.com ...........................................................304
Push Versus Pull ............................................................311
The Real World ...............................................................322
What’s Next? ..................................................................322

Chapter 14. XML Schema .................................................323
To DTD or Not To DTD ...................................................323
Java Parallels .................................................................325
What’s Next? ..................................................................332

Appendix A. API Reference ..............................................332
A.1 SAX 2.0 ...................................................................332
A.2 DOM Level 2 ............................................................343
A.3 JAXP 1.0 ..................................................................349
A.4 JDOM 1.0 .................................................................351

Appendix B. SAX 2.0 Features and Properties ..............358
B.1 Core Features ..........................................................358
B.2 Core Properties ........................................................360

Authors & Contributors edit see section history

  1. Brett McLaughlin (Author)
  2. Justin Edelson

First Edition edit see section history

Original Language: English
Publisher: O'Reilly
Country: Add the country of publication.
Publication Date: 2000
ISBN: 0596000162
Page Count: 498

Classification edit see section history

Popular Tags
  1. :j
  2. java
  3. jax
  4. programming
  5. tech
  6. xml 

We’re hiding the characters, memorable quotes, settings, organizations, glossary entries, themes, errata, awards, reading level, movie connections, books that influenced this book, books influenced by this book, books that cite this book and books cited by this book sections. If you would like to add content to them, you must first make them visible.