Hi, this is my first test posting anything here, lets se how it goes :ne:
My problem is like this:
I have an xml that looks like this (but with a lot more nodes of course).
<info>
<case id="01" client="nisse" desc="test test">
<photo name="test.jpg" />
<photo name="test2.jpg" />
</case>
</info>
Everything works fine except that after about 3-4 runs when I converting the xml to an array the taggs turns empty :-\
This also happends if it’s only one photo-tagg.
This is the code for the photo-tagg
var strLength;
strLength = children*.childNodes.length;
myArrayCases*[6] = new Array(strLength);
for (j=0; j<strLength; j++){
myArrayCases*[6][j] = new Array();
myArrayCases*[6][j][0] = children*.childNodes*.attributes.name; // Bildfilen
}
The whole code and xmlfile is in the attached file, if you run it look in the output window and you’ll se what I mean.