On 6/30/06, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
>
> Is it possible to give the XMLReader that receives the Source
> from a CustomURIResolver a caching EntityResolver - Are then
> any examples around?
Yes and no.
You URIResolver can return a SAXSource containing an XMLReader which has
been configured any way you like; or you can build the tree within your
URIResolver and return any kind of Source that the implementation accepts,
e.g. a DOMSource or in Saxon a DocumentInfo.
Thanks Mike - returning a SAXSource sounds best.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--