Click here to monitor SSC

Can we use XML as a database

Last post 06-27-2009, 5:11 AM by Miha Markic. 1 replies.
Sort Posts: Previous Next
  •  06-18-2009, 8:56 AM Post number 73802

    • Ashu is not online. Last active: 07-07-2009, 9:20 AM Ashu
    • Not Ranked
    • Joined on 06-18-2009
    • Level 1: Deep thought

    Can we use XML as a database

    Hi,

    I want to develop an application where we don't have the database but I want to use XML as a database. Can I am able to do it.

    If yes then how to write querys in it.

    If no then what else i can try.

    Please advice....

    Thanks in advance

  •  06-27-2009, 5:11 AM Post number 73879 in reply to post number 73802

    • Miha Markic is not online. Last active: 17 Nov 2009, 7:39 AM Miha Markic
    • Top 500 Contributor
    • Joined on 06-27-2009
    • Nova Gorica, Slovenia
    • Level 1: Deep thought

    Re: Can we use XML as a database

    Sure, you could but then you'd loose many database benefits (i.e. transactions). You have plenty of different approaches to queries: "manual" for loops, LINQ to XML, XPath etc.

    There are several free in-process, copy and paste deployment (no separate installation) databases out there. I consider them as a better approach (you can upgrade to a serious database if necessary, they provide obvious database benefits, etc.). One of them is Sql Server 3.5 Compact but there are others as well.

View as RSS news feed in XML