When you create an stx element, the general trend is to give it a hard-coded name such as:
<stx:element name="code" >
I as trying to create an element whose name is taken dynamically from the value of a variable, i.e. like this:
<stx:element name="$code" >
But this doesn't seem to be possible, any idea if this is true?? Creating the name of the element tag dynamically would help me later when a program wants to retrieve values from the outputted file, as this would occur faster than if I have a static name and a different attribute for this name, because in the latter case I would have to do a loop over all the elements in the file....any help on dynamic tag name creation??