cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: input module question
Date Tue, 28 Jan 2003 13:36:00 GMT
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.

--
  Konstantin

>
> --
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>


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


Mime
View raw message