Thanx for the help... but what he does I already know how to do.. It's really a simple issue.
He has this kind of XML-file:
<root>
<element1> <stuff>........ </element1>
<element2> <stuff>........ </element2>
</root>
I have this kind of XML-file:
<root>
<picturealbums>
<album>Album 1</album>
<album>Album 2</album>
</picturealbums>
</root>
He can get a nodelist by saying:
$node_list= $root->getElementsByTagName("element1");
But that only gives me 1 element, the "picturealbums". I want to get one more step into the picturealbums, but this isn't possible:
$node_list= $root->getElementsByTagName("picturealbums")->getElementsByTagName("album");
Can you see the difference.. I want a list with all my <albums>, not just my parentnode.
And when I have used the getElementsByTagName once, it seems like it's just a list, and I can't use the object methods anymore.. :-(
Can anyone give me a quick sample?