You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jakob Praher <pr...@liwest.at> on 2002/03/28 10:15:24 UTC

the cocoon protocol

hi all,


where can I find a specification of the cocoon:/ URI scheme and protcol
handler?

looking in cocoon.xconf [c2.0.2], there is only a protcol handler for

resource:/
context:/

.

as one can use the cocoon:/ in document() methods inside xslts, is it
possible to access internal only documents with this protocol.

this would be really interesting since, then I could access some data,
defined as, e.g. xsp in the sitemap within a xslt, but denying access
from the browser.


thanks for your support

Jakob





---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: the cocoon protocol

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Jakob Praher [mailto:praher.keg@liwest.at]
> 
> hi all,
> 
> 
> where can I find a specification of the cocoon:/ URI scheme and
protcol
> handler?

In the mail archives.
"cocoon:/" accesses current sitemap, and
"cocoon://" accesses root sitemap.
See sub/sitemap.xmap for usage samples.


> looking in cocoon.xconf [c2.0.2], there is only a protcol handler for
> 
> resource:/
> context:/
> 
> .
> 
> as one can use the cocoon:/ in document() methods inside xslts,

I'm not sure (don't remember), but you can try it.


> is it
> possible to access internal only documents with this protocol.

Yes.

Vadim

> this would be really interesting since, then I could access some data,
> defined as, e.g. xsp in the sitemap within a xslt, but denying access
> from the browser.
> 
> 
> thanks for your support
> 
> Jakob


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>