[
Lists Home |
Date Index |
Thread Index
]
Elliotte Rusty Harold wrote:
> >Sure you can, by consuming ContentHandler instead of implementing it.
> >In fact, this use of SAX is MUCH more intuitive than for reading
> >documents.
>
> You can do a lot of things by consuming ContentHandler, but none of
> that is a part of SAX. SAX is a read-only API on top of which many
> applications can be built. Don't confuse the application you built
> with SAX itself.
Since when is SAX a "read-only API"? SAX is simply a suite of interface
definitions for programmatically representing XML documents. Why does it
matter what side of the interface you're on? It's still SAX.
-aaron
|