I seem to find myself writing the guts of an XMLReader
again and again - when writing an app that emits SAX2
events without first constructing an XML document (so
there is no parser involved) - e.g. from database
records, or from plain text being reformatted as XML,
I doubt I'm alone in this - see e.g. this SAX1
I think it might be useful to provide the bare bones
of an XMLReader for those of us who do this kind of
thing, if there's no philosophical objection.
I'm attaching an example implementation which I'm
placing in the public domain, if you wish to use it.
Log in to post a comment.