Lists Home |
Date Index |
- From: Jonathan Robie <firstname.lastname@example.org>
- To: Richard Light <email@example.com>
- Date: Wed, 19 Nov 1997 13:17:28 -0500
At 04:41 PM 11/19/97 +0000, Richard Light wrote:
>In message <firstname.lastname@example.org>,
>Jonathan Robie <email@example.com> writes
>>In XLL, is there a way to combine conditions with boolean operators? Say I
>>am using XL7, and I need to do a query for those billable items for a
>>particular patient number AND for a particular physician. Can I do this with
>>XLL? If there are boolean operators, is there a way to specify precedence?
>No. An XLL expression supports a chain of locators, each of which
>starts from the last place you got to in the target document's
>structure. You can have a second chain, pointing to somewhere else, in
>which case the XPointer is deemed to point to the span witihn the
>document whose end-points are the two elements or characters you have
>specified by your locators.
That's pretty much what I had thought when I read the XLL spec. Personally,
in evaluating the 80/20 mix for a query language, I would think that boolean
operators, boolean functions, and precedence would be pretty important.
Another significant limitation of XPointers as a query language is that each
term specifies *one* location, if I understand the spec correctly. It
doesn't seem to be set up to allow result sets, e.g. the set of patient
records that satisfy a particular requirement, the set of catalog entries
that specify a particular requirement, etc. I would think that result sets
are pretty important for query languages.
I really like the simplicity, readability, and design cohesiveness of XLL,
and I do think that the functionality it contains should be present in a
query language for SGML/XML documents. It is not clear to me whether there
is a good, orthogonal way to add in some of this other functionality to XLL;
if so, XLL could be used as the basis for a query language. Using the same
primitives would be nice, since anybody working with XML is going to have to
learn XLL, and we don't want every poor schmo to have to learn 50 different
ways to do a query.
Texcel Research, Inc. ("http://www.texcel.no")
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)