I've made a simple mp3 player that plays tracks loaded from an xml file into a datagrid. Once the data is loaded into the datagrid the user can select a track and play it. Everything works fine until i try to play a track with '&' in its path.
I assume this is because the URL appears incorrect to the player. If I simlpy remove the '&' and replace it with '&' the file plays fine?
In my xml file, which is used to populate the datagrid, the location of each file is stored as well as various other information such as artist name, year, genre, path, etc. All '&' values in this xml file appear as '&'
Is there any way to convert these values into a form that my player can read?