1 Reply Latest reply on Jun 9, 2008 5:06 PM by ntsiii

    XML set value of node with for each loop

      I have a for each loop and want to set the "VALUE" of the XML node.
      Maybe it is simple but I can't get out, I can easily set the value of the attribute but not the value of the XML node.

      for each (var node:XML in dataXML.data)
      node.@id = "this works";
      node. = "doesn't work";
      node = "doesn't work"; (overwriting the complete node)

      How do I set a string value of the node.