[Home] [By Thread] [By Date] [Recent Entries]


Graham Leggett scripsit:

> All the examples and docs I can find describe either parsing the entire 
> XML file into a DOM tree, or doing the entire parsing job yourself using 
> a SAX parser.

Exactly.  If you are using Java (as I suppose you are), then you should
consider XOM (http://www.cafeconleche.org/XOM), which by default
produces a DOM-style tree (but modified to be much more convenient for
Java programmers), but allows you to write a subclass of its Builder
class that lets you specify which elements you want to incorporate in
the tree, process separately (as soon as the element is complete), or discard
altogether.

XOM has a mailing list: see http://lists.ibiblio.og/mailman/listinfo/xom-interest.

-- 
With techies, I've generally found              John Cowan
If your arguments lose the first round          http://www.reutershealth.com
    Make it rhyme, make it scan                 http://www.ccil.org/~cowan
    Then you generally can                      jcowan@r...
Make the same stupid point seem profound!           --Jonathan Robie

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member