Konstantin Piroumian wrote:
From: "Nicola Ken Barozzi" <[EMAIL PROTECTED]>Is it a good idea to change the syntax so late in the game? Why not simply implement recursive {a{b}} substitution? In 2.0.4 series, this code lives in AbstractSitemap.java, substitute() method. I believe in 2.1 this is in PreparedVariableResolver.java, <init> method.
Konstantin Piroumian wrote:I had the same idea.
From: "Jeremy Quinn" <[EMAIL PROTECTED]>In xpath one uses $ for variables.
<map:parameter name="alphabet" value="{alphabet:{2}}"/>Unfortunately no. I've raised this issue on dev list, but no one had a
</map:transform> ^^^ ????????
<snip/>
</map:match>
Is this possible to do?
solution to it (I hope we'd invent something for that).
I would assume this could be a possible notation {alphabet:$2}
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.
Vadim
--
Konstantin
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]