Thanks for this example. I think this might solve one of my Problems. To better understand the example I try to run it in Simulator. So I copy-pasted it in the XML Source editor and it says: "Element type modify must be declared".
I think it has problems with the statement:
but I don't know why - any Ideas?