Maybe put the redirect into the html-header?:
http://cocoon.apache.org/2.1/userdocs/concepts/redirection.html#Redirects+in+Pipelines

Jens Reufsteck

Adam Ratcliffe wrote:
Yes the uri that gets passed to processPipelineTo() does need to reference a
pipeline that would fetch your content for you,
 > [...]

But what is the syntax for referencing to (SAX result coming out of) a pipeline?

     cocoon.request.getParameter("Quelle")

just only references to a request parameter of the pipeline from where I was calling the function.

I'm sure there are many other ways of doing this making greater use of sitemap
 > [...]

Just only one would be enough, but I don't know of any. Some Idea?

---------------------------------------------
<map:match pattern="LinuxLink">
<map:generate type="html" src="{request-param:Quelle}">
<map:parameter name="xpath" value="*[local-name()='a'][text()[contains(.,'Story')]]/@href"/>
</map:generate>
<map:redirect-to uri="{*How-To-Adress-Xpath-From-Generate*}"/>
</map:match>
---------------------------------------------


Isn't there any chance for making SAX stream available to the sitemap?

--
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

-- Hobsons GmbH Wildunger Straße 6 60487 Frankfurt am Main Deutschland

Tel: +49 (69) 255 37-140
Fax: +49 (69) 255 37-159

http://www.hobsons.de
http://www.hobsons.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to