ankur rathi wrote:
Let me rephrase my question. What do you prefer? XML file or Database?
Never really thought about it that much. I have done both.
Wrote lots of programs that read and save XML data as XML files.
Wrote some programs that parsed and save XML data in databases. Of course, you can argue that the data wasn't XML data anymore, as it has been parsed.
In a few cases, I did save raw XML data in a database. But in those cases, it was a corporate wide database. It was the best location to store something that was accessabile from everywhere in the company, was kept up at all times, was automatically backed up, and made highly available.
Henry