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 20:14:45 GMT
Well, here is the usecase.
The mobile portal supports downloading binary resources for the various
handsets (that's implemented via the reader).

The resources to be downloaded depend of the handsets' parameterers, which
are stored in  xml-file.
To pass the necessary params to the reader, I need to get them from xml by
their User-Agent (i.e. to apply an xpath).

The case is complicated in that the handsets descriptions are stored to the
different files accorting to their mobile network(Various networks may have
different settings for some handsets).

So that's all.

Just now I've invented a solution: I can write a serializer instead of a
reader and extract all data in xslt's. But that's more ugly, and very sad if
the same is impossible with XMLFileModule.

Alexander.

//////////////////

----- Original Message -----
From: "Jorg Heymans" <jh@domek.be>
To: <users@cocoon.apache.org>
Sent: Wednesday, June 01, 2005 11:05 PM
Subject: Re: XMLFileModule for a dynamic file.


>
> Alexander Berezhnoy wrote:
> > Plain XSLT won't help here.
> > I need to extract the string and pass it as a param, say, to a reader.
> >
>
> Well, TIMTOWTDI !
>
> Explain your usecase, maybe there is another way to achieve the same
result.
>
> 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