cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans>
Subject Re: XMLFileModule for a dynamic file.
Date Wed, 01 Jun 2005 13:20:25 GMT

Alexander Berezhnoy wrote:
> Dear friends,
> I've been looking for this feature for a week already, nobody and nowhere
> can't give me a definite answer.
> I want to extract data with XPath from an XML file whoes name depends on
> request parameters.
> The XMLFileModule is statically configured, so the file name is fixed.

Why not plain xslt ?

<map:generate type="file" src="{request-param:myfilename}.xml"/>
<map:transorm src="{request-param:myfilename}.xslt"/>
<map:serialize type="xml"/>

Why can't you just create the pipeline as such and aggregate it in
another where you need the data?

Or did i misunderstand your question?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message