General XML Question...

I'm not that familiar with working with XML, I use PHP and MySQL.
Why would someone want to use XML to store data instead of using a regular MySQL or Access database?
What are the advantages / disadvantages?
10X
[238 byte] By [gilly914] at [2007-11-19 7:39:47]
# 1 Re: General XML Question...
I'm not that familiar with working with XML, I use PHP and MySQL.

Why would someone want to use XML to store data instead of using a regular MySQL or Access database?
What are the advantages / disadvantages?

Well...you are comparing oranges with apples in my eyes...XML is not meant to be a database... :confused:
Andreas Masur at 2007-11-10 3:27:39 >
# 2 Re: General XML Question...
XML file is not a database (disregarding the fact that it can be treated that way).So it is not a replacement for Access or MySQL.
XML is a structural way to send (encoded in text) relational data transormed to hierarchical tree.

Since it is text encoded (and have additional text - for tags for example) it is significantly bigger than "binary" file. But (and this is the main advantage) it is human and machine comprehended. So U can understand whats inside and in the same time it can be analyzed by automated process.
Krzemo at 2007-11-10 3:28:39 >