[
Lists Home |
Date Index |
Thread Index
]
I've posted the first draft of SAX Filters, Chapter 8 of Processing
XML with Java on Cafe con Leche:
http://www.cafeconleche.org/books/xmljava/chapters/ch08.html
This chapter covers the XMLFilter interface and the XMLFilterImpl and
AttributesImpl classes. It demonstrates how to write filters that
modify the stream of events that flows between an XML parser and a
client application.
This is a big chapter, and some of the examples are a bit on the long
side. I'm curious to know whether you think they make sense, or
whether they're too long to follow. On the flip side, in several
examples I've limited myself to only one class of several or even a
single method, rather than including the entire set of classes needed
to do something useful. I need to know if these examples are still
comprehensible. As usual all comments are appreciated.
This is the last tutorial chapter on SAX. There'll be one more
reference chapter later on. However, right now the first eight
chapters form a very solid introductory text about processing XML
with SAX2. If anybody notices any important topics in that domain
that haven't been covered yet, I'd appreciate hearing about it.
Chapter 9 will begin the coverage of DOM.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| The XML Bible, 2nd Edition (Hungry Minds, 2001) |
| http://www.ibiblio.org/xml/books/bible2/ |
| http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ |
+----------------------------------+---------------------------------+
|