[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML-QL

  • From: Joe Lapp <jlapp@w...>
  • To: <xml-dev@i...>
  • Date: Wed, 02 Sep 1998 09:29:01 -0400

xml ql example
At 05:53 AM 9/2/98 -0700, Don Park wrote:
>No.  XSL is definitely not a query language although it uses ideas which
>could be useful for querying.

I would argue that XSL patterns is definitely a query language, but that
the template language portion of XSL (the big picture) probably is not.

>[...]
>When we are talking about XML query language, are we talking about
>expressing a query in XML or are we talking about an expression, not
>necessarily in XML, that will return information from data sources, not
>necessarily XML document repositories, in XML format?

I can represent SQL in XML, OQL in XML, even XPointers in XML.  XML is a
way to represent data structures.  I can represent C, C++, Java, and Pascal
all in XML if I want to.  I can chose an XML representation that provides
exactly the information found in the non-XML representation.

This suggests to me that the more interesting challenge is to create a
language that queries data structures that are represented in XML, not to
just create a query language that is expressed in XML.

I don't mean to make any statement about whether this language for querying
XML should itself be expressed in XML -- that's an orthogonal issue.

>[...]
>BTW, there is another topic related to XML-QL which is XBE or
>XML-[query]-By-Example.  I am not sure if anyone is working on it because I
>just thought of it <g>.  You just write an example of the XML document you
>want by specifying the tags as you want it and fill in the values to match.
>XBE engine uses it to return the data the way you want exactly, rejecting
>mismatches and weeding out unwanted information.

Interesting approach -- sort of the inverse of XSL -- but I suspect that in
order to be useful it won't be so simple.  In its simplest form, you'd only
return the elements that you provided, serving only as an existence test,
returning no other information.  QBE at a minimum requires wildcards, and
it would be interesting to find an appropriate set of wildcards.
--
Joe Lapp, Senior Engineer | jlapp@w...
webMethods, Inc.          | Voice: 703-267-1726
http://www.webMethods.com |   Fax: 703-352-0370

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.