Subject: RE: doc-available() using a caching EntityResolver on a CustomURIResolver
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 30 Jun 2006 12:47:40 +0100
|
> 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.
Michael Kay
http://www.saxonica.com/
|