Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 25.  XML

This chapter discussed the Java API for XML Parsing (JAXP) as well as the open source JDOM API. The JAXP provides two models for reading XML documents: Simple API for XML (SAX) parser and the Document Object Model (DOM). The SAX parser is event-driven, and the DOM maintains an in-memory tree representation of the XML document. Each has its advantages, depending on the application being developed. This chapter discussed the XML Stylesheet Language Transformation (XSLT) API that is used for transforming an XML document into any form; in Web applications the most dominant use for XSLT is the transformation of XML data into an HTML presentation. Finally, this chapter discussed the JDOM API and provided a sample program to get you started.


    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: