I am trying to loop through an XML file. As for the first loop everything works fine, but when the program enters the second loop it gives an error saying that
TypeError: Error #1118: Illegal cyclical loop between nodes.
at XML/http://adobe.com/AS3/2006/builtin::appendChild()
Can anyone help me regarding this issue and suggest how to perform looping between nodes in a XMLList.