help on enumeration values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gr4tzy
    New Member
    • Oct 2006
    • 1

    #1

    help on enumeration values

    i want to get enumeration values from previously defined elements that looks something like that:

    Code:
    <STATES>
          <STATE Name="ON"/>
          <STATE Name="OFF"/>
    </STATES>
    and then somehow to use the attribute names as enumeration values.
    is that possible?
    Last edited by Dormilich; Mar 7 '09, 07:36 PM. Reason: added [code] tags
Working...