[
Lists Home |
Date Index |
Thread Index
]
At 10:39 AM -0600 9/12/02, Aaron Skonnard 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.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|