You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Giacomo Pati <Gi...@pwr.ch> on 2000/09/01 01:11:18 UTC

Re: xsp-response:send-redirect

chip-cocoon-dev@xml.apache.org wrote:
> 
> Hi,
> 
> Is there any reason why xsp-response:send-redirect doesn't exist in C2
> apart from noone having implemented it? Because if not, I'm gonna hack
> it in, but perhaps someone thinks it would be a bad idea?

I've found one possible solution on how to use a custom logicsheet by
specifying the following processing instruction in the xml page where
custom tags are used:

   <?xml-logicsheet href="file:///....."?>

Hope this helps.

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1  856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1  856 2201
Hintereichenstrasse 7                     Mobil: +41 (0)78 759 7703 
CH-8166 Niederweningen                    Mailto:Giacomo.Pati@pwr.ch 
                                          Web:   http://www.pwr.ch

Re: xsp-response:send-redirect

Posted by Donald Ball <ba...@webslingerZ.com>.
On Fri, 1 Sep 2000, Giacomo Pati wrote:

> chip-cocoon-dev@xml.apache.org wrote:
> > 
> > Hi,
> > 
> > Is there any reason why xsp-response:send-redirect doesn't exist in C2
> > apart from noone having implemented it? Because if not, I'm gonna hack
> > it in, but perhaps someone thinks it would be a bad idea?
> 
> I've found one possible solution on how to use a custom logicsheet by
> specifying the following processing instruction in the xml page where
> custom tags are used:
> 
>    <?xml-logicsheet href="file:///....."?>

<?xml-logicsheet href="foo.xsl"?> works too, as does <?xml-logicsheet
href="/foo.xsl"?>. perhaps the only instance in the cocoon engine where
site relative and absolute links work properly. :)

- donald