cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: Configure SourceResolver
Date Fri, 23 Aug 2002 13:22:59 GMT
> From: Erik Buene [mailto:erik.buene@gan.no] 
> 
> Thank you for answering.
> 
> I have already made a Source implementation, but how do I
> tell Cocoon to use this Source?

Take a look at WEB-INF/cocoon.xconf and see how the other sources are
declared and also take a look the cocoon.roles (it is in org/apache/cocoon/
directory) and declare it there if needed. Read the comments in those files
they will help you little.

Konstantin

> 
> Cheers,
> Erik Buene
> 
> 
> >>Hi
> >>
> >>Don't know if this is the right forum for this question,
> >>so please correct me if I am out of place here.
> >>My question is: Can I configure cocoon to use my own
> >>SourceResolver instead of
> >>org.apache.cocoon.environment.URLFactorySourceResolver?
> >>
> >>I would like to write one that can resolve e.g. 'xhive://'
> >>to deliver documents from the XHive database.
> >>
> >>I know I can write my own generator, but then I would have
> >>To write a transformer as well - since the stylesheets are
> >>also in the xhive database. I would prefer to use be able
> >>to just use the src attribute with the available components.
> >>
> >
> >Why you don't want to implement Source?
> >
> >Vadim
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message