Hi, I was making a treeview favorites for my browser and got this code, however, nothing happens on startup, like the treeview stays emty

Heres the code for the Load handler
If System.IO.File.Exists(FavFile) Then
Dim xdoc As New Xml.XmlDocument
xdoc.Load(FavFile)
Dim root As Xml.XmlElement = xdoc.Item("Favorites")
For Each elm As Xml.XmlElement In root
Select Case elm.Name
Case "Single"
Dim tn As New TreeNode
tn.Name = elm.Attributes("name").Value
tn.Text = elm.Attributes("name").Value
tn.Tag = elm.Attributes("url").Value
FavoritesTreeView.Nodes.Add(tn)
Case "Group"
Dim mtn As New TreeNode
mtn.Name = elm.Attributes("name").Value
mtn.Text = mtn.Name
mtn.Tag = "#GROUP#"
For Each ent As Xml.XmlElement In elm
Dim tn As New TreeNode
tn.Name = ent.Attributes("name").Value
tn.Text = ent.Attributes("name").Value
tn.Tag = ent.Attributes("url").Value
mtn.Nodes.Add(tn)
Next
FavoritesTreeView.Nodes.Add(mtn)
End Select
Next

End If

and heres the xml document (at the top i have : Private FavFile As String = Application.StartupPath & "\favs.xml")

<?xml version="1.0" encoding="utf-8" ?>
<Favorites>
<Single name="MSN.com" url="http://www.msn.com" />
<Group name="C/N">
<Entry name="[adult swim]" url="http://www.adultswim.com" />
<Entry name="Cartoon Network" url="http://www.cartoonnetwork.com" />
</Group>
</Favorites>

nothing loads into the treeview though

does anyone know why? the exact same code works for the orginal project, and I have the same xml document in the same subfolders for my project