cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: input module question
Date Tue, 28 Jan 2003 13:41:46 GMT

Konstantin Piroumian wrote:
>
> From: "Nicola Ken Barozzi" <nicolaken@apache.org>
> > Konstantin Piroumian wrote:
> > > From: "Jeremy Quinn" <jeremy@media.demon.co.uk>
> >
> > >>     <map:parameter name="alphabet" value="{alphabet:{2}}"/>
> > >>   </map:transform>                                  ^^^      ????????
> > >>   <snip/>
> > >></map:match>
> > >>
> > >>Is this possible to do?
> > >
> > > Unfortunately no. I've raised this issue on dev list, but no one had a
> > > solution to it (I hope we'd invent something for that).
> >
> > In xpath one uses $ for variables.
> > I would assume this could be a possible notation {alphabet:$2}
>
> I had the same idea.
> Also, we could use the same notation for input modules, e.g.: $request,
> $session, $xml-file and then we could combine them in any XPath
> expressions
> like:
> src="$session/attribute($request/paramValue[@name='style'])"... Seems a
> little complex... just a quick idea.
>

Please, don't forget that the current syntax
{INPUT_MODULE:VALUE|PATH|WHATEVER}
is release with 2.0.4 (and I think 2.0.3), so whatever you come up with the
old syntax should still work.

Carsten


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


Mime
View raw message