> Do we have a style-function for this?
>
> item( ${destination}, 1 ) -> Bonn
> item( ${destination}, 2 ) -> Rodenkirchen

No we don't and it will not be so easy to implement that because the 
functions do not have any parameters yet at the moment. So it's a big 
change.

But the style system has a regular expression substitution:
${destination|subst:;=> }
So everything behind subst: (in this case ";") is replaced with the 
string after the => (in this case " "). Maybe the ; must be escaped but 
generally it should work.

WanMil

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to