XML by Example teaches Web developers to make the most of XML with short, self-contained examples every step of the way. The book presumes knowledge of HTML, the Web, Web scripting, and covers such topics as: Document Type Definitions, Namespaces, Parser Debugging, XSL (Extensible Stylesheet Language), and DOM and SAX APIs. At the end, developers will review the concepts taught in the book by building a full, real-world e-commerce application.
Contents at a Glance
Introduction . . . . . . . . . .1
1 The XML Galaxy . . . . . . . . . . . . .5
2 The XML Syntax . . . . . . . . . . . .41
3 XML Schemas . . . . . . . . . . . . . .69 4 Namespaces . . . . . . . . . . . . . . .107
5 XSL Transformation . . . . . . . . .125
6 XSL Formatting Objects and Cascading Style Sheet .. . .161
7 The Parser and DOM . . . . . . . .191
8 Alternative API: SAX . . . . . . .231
9 Writing XML . . . . . . . . . . .269
10 Modeling for Flexibility . .. . .307
11 N-Tiered Architecture and XML ....345
12 Putting It All Together: An e-Commerce Example . . . .381
Appendix A: Crash Course on Java.... 457
Glossary . . . . . . . . . . . .485
Index . . . . . . . . . . . . . .489
|