cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: map:redirecto-to after map:transform/map:generate?
Date Tue, 03 Jun 2003 20:28:54 GMT

--- Geoff Howard <cocoon@leverageweb.com> wrote:
> At 01:03 PM 6/3/2003, you wrote:
> 
> > > so you'd do
> > > ...
> > > <map:transform type="write-source"/>
> > > <map:transform src="that.xsl"/>
> > > <map:transform type="cinclude"/>
> > > ...
> >I know both xinclude (and cinclude) as well as
> xsl:document() should work,
> >the problem is that the file to include is a
> relative URL to the
> >Cocoon-context path. Something like
> work/test/index.html.
> >When using document() it expects it to be somehow
> in the same dir as the
> >stylesheet.
> >With xinclude one has to set the xml:base base URL
> otherwise it cannot
> >resolve a relatie URL. The question what is the
> base URL?? /cocoon/app or
> >cocoon://app or context:/ or
> http://hardcodedsvr/cocoon/app?
> >I'd like xinclude much more than document().
> cinclude I don't know very well.
> 
> what about cocoon:/ 

That's exactly my issue.  The idea is to "re-direct"
to a page, so including a file won't help: there is no
file, instead there is a pipeline which generates the
page.

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


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


Mime
View raw message