An example of database query result in XML

Michael Kay M.H.Kay at
Tue Mar 24 10:52:00 GMT 1998

>Anyway, I thought some of you might find what I did interesting so here is
>fragment of XML returned by XDO.

It's certainly interesting and instructive: I would never have thought of
doing the metadata in quite that way.

Is it really practical to have quite so much tagging? I know it will
beautifully for transmission over a network, but compressing a gigabyte
file is not something one does just for fun. Using shorter tags (e.g. <c1>,
<c2> for the cells would be a simple fix, but it's still much bigger than a
CSV file.

I would be interested to know why you chose the representation
rather than
<row col1="A" col2="B"/>

One other minor comment, are you doing anything to preserve white space
in the data content?

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list