There is no point in using XML if you are going to output the entire content of the file without processing it as if it were a simple text file because you could have done that with the simpler LoadVars class and a text file instead. The power of XML is in making use of the logic of the node structure and the new E4X support for searching and accessing XML data.
The upcoming part of our tutorial will show you how to retrieve specific information out of the XML file using the various methods available to XML Class.
We are going to use E4X to retrieve the value of each of our XML nodes, get the value of a specific node, and then use it to retrieve XML node attributes.
First of all, if we would like to retrieve all the children of a node we can use the asterisk (*) operator.