Cor said:
It was unintentional I assure you
If you don't know it, that means that you can name something "House" and
than divide that in elements like "kitchen", "mainroom", etc. That you can
divide again very deep. But all are always related to the parent root.
Sure... it does a fine job of representing data.
As far as I know is that in the todays databases impossible. You have to
create all seperate tables for it, with in a way complex relations using
keys.
There are object-oriented database servers. But the reason that relational
databases work like they do (and not like XML) is that they are relational
databases and not XML
I think the XML structure is better than the current generation databases
but I think it will be a big road to go before the databases have that
advantage also.
The concepts have been around for a very long time. It has now been defined
using SGML syntax and has gained acceptance but it is doubtful that any kind
of XML formatting will "replace" relational databases. It wouldn't be
unlike suggesting that a CPU should operate on a base 10 numbering system
because humans find it easier. As long as the output can be formatted as
XML it doesn't much matter what is happening inside the box.
In any case the task that Crirus has outlined doesn't warrant it. It is a
simple case solved by a random-access file. He can use XML but it should
operate faster, be easier, cost less or have some other benefit to warrant
the effort. He can even change his mind once he has it operating...
Tom