Click to See Complete Forum and Search --> : XML vs Text File


sai
11-27-2002, 12:36 AM
Hi,
I had created a vb appn. that uses XML. I used XML to store data and to store appn. data like error messages and the like.
Now I've a doubt. If the same could be incorporated by a text file or using a MS Access database, then what is the advantege of using XML?

Sai.

Robert Wellock
11-27-2002, 11:38 AM
The advantage of using XML is that in theory it could be used cross-platform, but whether XML is the best solution for your application isn't as clear-cut.

Sceiron
12-10-2002, 04:06 AM
Depends on the type of data being stored. If it's something that needs to be shared between multiple applications, XML is an wonderful tool. It's also a lot more flexible than using a proprietary text file format, or even an INI file.

hfraser
12-15-2002, 09:56 PM
the beauty about xml is that you could also use an xml database server or an xml
enabled server. to stor you data instead of using files! that way your data is
more easily accessible and faster !

The main thing is that you can also share your data more easily with xml !
also easier to change platform using xsl!

hans