i want to get enumeration values from previously defined elements that looks something like that:
and then somehow to use the attribute names as enumeration values.
is that possible?
Code:
<STATES>
<STATE Name="ON"/>
<STATE Name="OFF"/>
</STATES>
is that possible?