Java 2 Primer Plus

   

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
     

    Категории