Colin Paul Adams wrote:
I wish to access an XML document stored within Berkeley DB XML (bdbxml). The java interface to dbdxml ultimately returns a document as a
byte[], containing the text of the XML document, although the
interface is quite complicated, and is not at all SQL-like.
I am trying to work out the best way of approaching this. One idea that occures to me is to use the ordinary file generator,
along with a SourceResolver to resolve URIs beginning with bdbxml:.
Does this sound like a sensible approach,
Yes
and if so, how do I tell the
file generator to use the custom SourceResolver?
Why do you need "custom SourceResolver"??? Just use the regular one. See any of other source implementations as an example.
Vadim
