Theres a problem with accessing files from disc in Silverlight, because it’s prohibited.
So code like this:
will cause an exception: expected relative uri, found absolute
You might try to add the following:
But it will also cause an exception: Attempt to access the method field: File.Open
So SilverLight prohibit access to files on your computer, so you can pass this file trough Web Service, or dll file or you can just create text box and get XML file from it. Code will look like this:
