i repost my question to keep it simple.
I have following XML-Data
<lang>
<common>
<newnode>testTagInput</newnode>
</common>
<common>
<gameIds>
<game5>testTagInput</game5>
</gameIds>
</common>
</lang>
as we see, i have 2 times common. Is it possible to return common.children() for both ?
i coded this...
var XMLTree:Array=["common","common.newnode","common","common.gameIds","common.gameIds.game5"]
var XMLListNodes:XMLList = loadXML[XMLTree[0]].children();
for each (var subnodes:XML in XMLListNodes)
{
trace (subnodes);
}
Is it possible to return more than 1 node at a time ? How ?