This is a SAX filter which resolves all XInclude include elements before passing them on to the client application.
XIncluder is a SAX ContentHandler
that writes its XML document onto
an output stream after resolving all xinclude:include
elements.
EncodingHeuristics
reads from a stream
(which should be buffered) and attempts to guess
what the encoding of the text in the stream is.
(Since version 2.10.0) Code example will be moved to documentation.