This content has been marked as final. Show 5 replies
"You can get this kind of output by running the debugger and putting a breakpoint in processXMLData."
Yeah, i did read that and I did set up a breakpoint at the line but to no avail,nothing comes up on the debugger...
Is it inserted it at the wrong line?
function processXMLData(success) <------- BREAKPOINT HERE
var headerNode=findNode(rootNode, "header");
var contentNode=findNode(rootNode, "content");
var authorNode=findNode(rootNode, "author");
content="Today's news is not found";
if (node && node.firstChild)
hello non-nelson, do you know what this long piece of code above does?
i will be grateful 4 a small explanation as i am eager 2 learn. thanks.
very briefly, this piece of code is only a segment of what needs to be done in the case client "mess" up the node in the .xml files and is a function performed after .xml is loaded. Me too am in the process of learning about xml, look Here for more!
x Still trying to find out how to use breakpoint to view XML TREE x
Breakpoint looks like it's in the right place, just do Control > Debug Movie, hit play, then it will break on that code and you can click the Variables tab, and it should show you the XML tree in there somewhere.