Hi
Just i read
this article last time for build treeview in silver light using xml file, same way you can get the list of folder and files from the sharepoint .
Get the folder and files in Sharepoint
private void GetListOfFolderAndFiles()
{
SPSite mysite = new SPSite("http://localhost"); // replace
localhost with the URL of your site
SPWeb myweb = mysite.OpenWeb();
SPFolder mylibrary = myweb.Folders["Name of library"];
SPFileCollection files = mylibrary.Files;
}
Thank you