An example of database query result in XML
Michael Kay
M.H.Kay at eng.icl.co.uk
Tue Mar 24 10:52:00 GMT 1998
>Anyway, I thought some of you might find what I did interesting so here is
a
>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
compress
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
<row><col1>A</col1><col2>B</col2></row>
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 ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list