Hello,
I would like to aggregate a dynamic list of documents following a
certain pattern, but I can't find a way of doing it. I have been
searching the user docs and the mailing lists, to no avail.
Here's what I would like to do, in some rough pseudo-code:
match on request parameter
aggregate:
for-each {value} in the {request parameter}
cocoon:{value}/file
end for-each
end aggregate
transform
serialise
The request parameter would come from a multiple-selection list.
Is something like this possible? If so, how?
Background/use case:
I have an XML db (eXist) with collections of xml documents I need to
query. Each collection contains different types of xml documents, and
the query and subsequent processing needs to be tailored to each
collection. As not all collections are public/searchable, or the user
can specify a subset of them, I can't know in advance which
collections I'm going to search, and subsequently aggregate the
results from. Thus the need to aggregate based on a dynamic list.
Any help greatly appreciated.
Best regards,
Sjur
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]