Hi there,
I just need some quick advice as to the structure of an xml file like the following:
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<gallery width="200" height="200" maxAngle="10">
<image img="images/1.jpg" address="113 grenadier rd." href="no" target="_self"><image img="images/1.jpg"</></>
<image img="images/2.jpg" address="112 grenadier rd." href="no" target="_self"><image img="images/2.jpg"</></>
</gallery>
My problem is that the flash that creates the xml is much more complicated than the one that reads it, and it puts the path it uses for uploading images into that second instance of the path inside the childnode of the parent image tag.
So the the gallery has this line which only reads the first instance but I want it to read the second path instance… in bold…
[SIZE=“2”]<image img=“images/2.jpg”</></>[/SIZE]
And here is the problem line, that I need help with because I can’t figure out the proper structure/syntax to read the info in bold above:
tImages = images.firstChild.childNodes;
Thanks in advance!