Hi,

I don't find the answer in the docu so maybe someone can tell me.
Is it possible to use patterns/regexp in source for a generator or in part
of a aggregation?

I'd like to do something like this e.g. in the sitemap:

<map:aggregate element="page">
  <map:map src="file:/tmp/*.xml"/>
</map:aggregate>

All examples always use a well-known set of files to aggregate but when
one wants to aggregate all files of a directory or with a certain pattern
how would one do it?

Or another case would be a request parameter with multiple values such as
results from checkbox values in a form. When I want to call some pipeline
for each value of this parameter how can one do it?

Here there is another problem that request parameters can have multiple
values (request.getParameterValues()) but the Parameters class that is
used to access sitemap parameters does only support single value
parameters with getParameter(). So one can for example use the
request-param action with multi-value request parameters but the XSP or
action only gets the first value, not all.


Best regards, Peter



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to