Hi,

You can get the output of the pipeline called by cocoon.processPipelineTo() as a string by calling toString() on
the output stream that you passed into the function. You can then parse the string or build a DOM
object from it whatever you like to get the redirect URI.


Sorry I don't know of any other approaches to achieve what you're trying to do other than what we've talked
about already.


Cheers
Adam

On 6 Apr, 2005, at 8:47 PM, [EMAIL PROTECTED] wrote:

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]





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



Reply via email to