OK np..
i dont think your parser is working quite right, or not in the way needed.
Basically once you get a good php xml parser, you can point it to any xml file and it will convert the lot to a milti dimention array, thats the hard bit out of the way really.
once you have that job done you will have a single varible which represents all the content from the xml feed.
using this code, changing the varible name if needed you will get an output display of whats there and how its all held to gether and linked.
print "<pre>\n";
print_r ($result);
print "</pre>\n";
Multidimention arrays sound harder than what they are, if you know how an array works then its not much else really.
The following is an array build up using multidimention arrays, dont pay to much attention to this, but using this code and the above you will get to see how one looks like as a result
// Multidimensional Array
$cds = array(
'Christina Aguilera'=>array(
'Impossible',
'Beautiful',
'Dirrty'
),
'Pink'=>array(
'Just like a pill',
'Family potrait',
'Missundaztood'
),
'Kelly Rowland'=>array(
'Stole',
'Obsession',
'Past 12'
)
);
print "<pre>\n";
print_r ($cds);
print "</pre>\n";
Ok.... now the output will be like what your xml results will be like once you run the parser on it.
now what we will do here is get some of the date out of the array that you might like.
so by using this code
echo $cds['Christina Aguilera'][1];
we are accessing the Christina Aguilera section of the array and displaying the 2nd item in.
Does this make more sence?
you can put them in loops and pull all record very easy. Think of multidimention arrays like a tree structure on your pc, in explorer