My task is to generate xml file from my custom DSL. For that I am using jetbrains.mps.core.xml as a target language for transformation. Currently I am trying to write a general recursive template, which converts concepts into xml like
<conceptname conceptproperty="conceptproperty value"> children</conceptname>
I managed to successfully generate all children using $LOOP$ over node.children, but I can not find a way to iterate over concept properties. $LOOP$ seems to be working only with nodes, but properties seem to be not nodes. How do I iterate over properties in the generator? Any help would be very much appreciated!