asked on
For Each XElement In myXML.Elements
Dim retailPushpin As New Pushpin
retailPushpin.Name = myXML.Elements("Town").Value
retailPushpin.Location = New Location(myXML.Elements("Longitude").Value, myXML.Elements("Latitude").Value)
retailPushpin.Content = myXML.Elements("Town").Value
retailPushpin.Visibility = Visibility.Visible
retailTowns.Children.Add(retailPushpin)
Next
RetailTowns.xml