Ok i need to have a loop run and load the value (attributes) of each ChildNode.
<?xml version="1.0" encoding="iso-8859-1"?>
<links>
<link name="one" ref="one.cfm"/>
<link name="two" ref="two.cfm"/>
<link name="three" ref="three.cfm"/>
<link name="four" ref="four.cfm"/>
</links>
My current code will gereate the result of:
oneoneoneone
but i need
onetwothreefour
for (k=0; k<numTabs; k++) {
var allText = rootNode.firstChild.attributes.name;
trace(allText);
}
What can I do?