cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Berezhnoy" <alexander.berezh...@splc.ru>
Subject Re: XMLFileModule for a dynamic file.
Date Wed, 01 Jun 2005 13:36:22 GMT
Plain XSLT won't help here.
I need to extract the string and pass it as a param, say, to a reader.

Alexander.
//////////////


>
> 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?
>
>
> Jorg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


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


Mime
View raw message