An example experimental snippet of Python code that I’m using to test the IronPython integration with Maperitive rendering rules:
text-func : e.GetTagValue('name').upper().replace('E','I')
It uses the name tag, converts it to uppercase and then replaces all E’s with I’s. Stupid, I know. Stay tuned for something more intelligent.