isolatedstoragefile

updating an existing xml file in Windows Phone

南笙酒味 提交于 2019-11-27 08:45:32
问题 I am using below piece of code to save the data to xml file in Windows Phone. First i am checking whether target xml file exists in the isolated storage or not; if it doesn't exists, i am creating the file and adding the required element data. If file exists, first checking whether element is already exists if so i am updating the attribute values, otherwise adding new element to the xml file. The problem i am seeing is, if already element exists and trying to update the attributes (w/ below