[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] Serialization with SAX
- From: Johannes Lichtenberger <Johannes.Lichtenberger@uni-konstanz.de>
- To: Michael Kay <mike@saxonica.com>
- Date: Fri, 16 Jan 2009 00:49:15 +0100
Am Donnerstag, den 15.01.2009, 22:03 +0000 schrieb Michael Kay:
> You don't want to get the source of a serializer and modify it. You want to
> add a SAX filter into a pipeline. Your filter should simply call the next
> stage in the pipeline (that is, the serializer) for every event until the
> threshold is reached, and do nothing for events after that threshold (except
> of course for closing the outermost element and the document tidily).
>
> You can write a SAX filter by subclassing XMLFilterImpl, and you can see how
> to use it from a tutorial at
> http://www.cafeconleche.org/slides/sd2000east/sax/74.html
Ok, I should have read the next slide...
but new ExtractArticles(new SAXParser()); doesn't work (no such
constructor)...
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]