cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Recursive Pipeline
Date Wed, 10 Mar 2004 16:04:41 GMT
Hi,

I have a process in which in need to call the same
pipeline recursively and aggregate the results.

Basically, I have a pipeline which parses a paginated
HTML page:

<map:match pattern="parse">
  <map:generate type="html"
src="http://www.foo.com?page={request-param:page}/>
  <map:transform .../>
  <map:serialize type="xml"/>
</map:match>

The pipeline needs to look for a particular record, if
it doesn't find it on page 1, it needs to go to page
2, etc, until it finds it.

Seems like the solution is to call the map
recursively,   and aggregate the results.  Has anyone
done anything like this?

Thanks,
-Alex

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


Mime
View raw message