XML is not a "flat file", it's is hierarchhial, like a tree structure. You can have one to many to many, and also include data with no relation to other data...
The Autobiography of Benjamin Franklin
Benjamin
Franklin
8.99
The Confidence Man
Herman
Melville
11.99
The Gorgias
Plato
9.99