Windows Phone: Can an xml file work as a database?
I am creating a simple rss reader,for which I need to store the
information about sources(feeds' links) somewhere.Now I have two choices
i.e Use a database or use a xml file.
If I choose the XML way,the file would look like this:
<sources>
<item>
<name>BBC</name>
<link>www.bbc.com</link>
<category>News</category>
<active>true</active>
</item>
<item>
<name>Lifehacker</name>
<link>www.cnn.com</link>
<category>Social Media</category>
<active>true</active>
</item>
<item>
<name>CNN</name>
<link>www.cnn.com</link>
<category>News</category>
<active>true</active>
</item>
</sources>
So,the question I have is that,will I be able to modify the part of XML
file when user actives/deactivates a source(I am using checkboxes for the
functionality) Also will XML files be a good choice for my app or should I
go with database?
No comments:
Post a Comment