Exercises

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 25.  XML


1:

Following the book DTD in this chapter, create a 100 record XML file and compare the performance of using SAX, DOM, and JDOM (hint: parse the document with each, recording the start time and end time, and compare them). Your tests should involve reading the document and displaying each book title and author on a single line to the standard output.

2:

Advanced: Do the same thing using a stylesheet and XSLT.


       
    Top
     



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

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net