SQL queries expressed in XML

Julian Reschke reschke at medicaldataservice.de
Tue Mar 23 12:17:41 GMT 1999


Kay Michael <Michael.Kay at icl.com> wrote:

>> we recently had the idea to use XML to express SQL-like
>> queries (so this is
>> not about querying XML -- it is about using XML to express
>> queries). It
>> seems to me that we might not be the first ones; so has
>> anybody defined an
>> XML document type for expressing SQL queries?
>>
>I've thought about the question and some of my thoughts are implemented in
>SAXON's SQLStyleSheet, which is the beginnings of an XSL extension to allow
>a stylesheet to update an RDBMS with data from an XML source document.
>
>As always in this area the first problem is deciding how much of the syntax
>should be "angle brackets" and how much should be rules for the content of
>elements/attributes. The answer to that depends on tradeoffs between
>different modes of use. So the question is, who is going to use it, and
what
>for?
>
>In particular if you are interested in queries, what are you planning to do
>with the results? Print them out, merge them into the DOM representation of
>the document, or what?

I don't think that this is really relevant, because one might want to talk
to a storage which doesn't even do anything XML related. However, to answer
the question, I would expect to get the results either in a DOM or in an XML
string.


--
Julian Reschke
MedicalData Service GmbH (http://www.medicaldataservice.de)



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/ and on CD-ROM/ISBN 981-02-3594-1
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