fill a treeview from an xmlnode's child nodes
hey all...
ok, new challenge (for me anyway:)).
I have an xml file that's built dynamically and I wanna pull out a specific child node from the root and use specific child nodes from it for a treeview..
example XML:
<Root>
<bookMarks>
<bookMarkFolder Name="My Bookmarks">
<bookMark Name="BM1" URL="URL1" userName="user1" Password="pass1" />
<bookMark Name="BM2" URL="URL2" userName="user2" Password="pass2" />
<bookMarkFolder Name="child bookmark">
<bookMark Name="BM3" URL="URL3" userName="user3" Password="pass3" />
</bookMarkFolder>
<bookMarkFolder Name="blah">
<bookMark Name="BM4" URL="URL4" userName="user4" Password="pass4" />
</bookMarkFolder>
</bookMarkFolder>
</bookMarks>
</Root>
ok, so I wanna nab out all the bookMarkFolder elements and use just those in the treeview...
I've tried so many things now that I don't even wanna show my code, kinda embarrasing:)
Cheers for ANY idea's anyone has..