cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Holz <>
Subject Re: Accessing Berkeley DB XML documents
Date Thu, 15 Jul 2004 14:02:09 GMT
Colin Paul Adams <> writes:

> >>>>> "Vadim" == Vadim Gritsenko <> writes:
>     >> and if so, how do I tell the file generator to use the custom
>     >> SourceResolver?
>     >> 
>     Vadim> Why do you need "custom SourceResolver"??? Just use the
>     Vadim> regular one. See any of other source implementations as an
>     Vadim> example.
> I've been looking at XMLDBSource and XMLDBSourceFactory.
> I guess there must be some way that cocoon knows to associate the
> xmldb scheme with these, but I can't figure out what it is.
> Nor what a SourceFactory is for.

Yes, look into cocoon.xconf. There is a section 
"source-factories", which associates protocols with
SourceFactories. Whenever a source of certain
type is required, the coresponding's  SourceFactory
method getSource() is called by the SourceResolver.


View raw message