I'm new to MPS and try to create a simple generator for Xml files: so my code looks like this inside the protocolXml in the Generator:
$LOOP$ [ <nested-form id=" " form-file=" " binding=" * ">
<grid row=" $[rowInput]" column="0" ... ></grid>
the structure looks like this:
the protocol (concept) has n protocolPartNames (concept) children
and each protocolPartName has a string property called nameValue
now where the * (inside the code) is i want to enter a string: "Protocol" + node.nameValue + "Gui"
the node should be the one i'm iterating over (ProtocolPartName) and it should be the current one from the loop.
how can i solve this? i tried different things but wasn't able to get the property
i'm grateful for any help :)
the property nameValue is delted now, instead the concept implements the INanedConcept of MPS, so now i have to get the name of the current node