0 Replies Latest reply on Dec 14, 2007 7:14 AM by micha_y

    propertylist and propert names

    micha_y
      hi, i'm loading a XML file, and i wish to know the name of the nodes of it, for example my XML file looks like:

      <root>
      <data>
      <country> country1 </country>
      <costumer> costumer1 </costumer>
      <product> product1 </product>
      </data>
      ....
      </root>

      i want to use the node names [country, costumer, product] to make dynamic checkboxes.

      the only problem, i can't find how to use the node names..

      i've tries to use propertlist from proxyobject like this:

      var tmpArrayCollection:ObjectProxy = event.result.root.data[0];
      NamesList:Array = tmpArrayCollection.PropertyList;

      but it gives me an error..

      is there a way to use the node names?

      thanks in advance,
      micha