[
Lists Home |
Date Index |
Thread Index
]
- From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
- To: xml-dev@ic.ac.uk
- Date: 01 Sep 1998 17:28:17 +0100
Lisa Rein <lisarein@finetuning.com> writes:
> Henry I am a little confused about perceiving XSL as a query language.
> It was my understanding that it aims to be a transformation language,
> like DSSSL, that works with a query or scripting language to
> transform/process and format data.
Well, XSL defines its own query syntax for walking the input document
tree,
a) for the purposes of deciding which style rules to apply to
which input document components (in which case you should think of a
query as returning a 'yes this matches' or a 'no this doesn't match'
result when applied to a node in the tree;
b) for the purposes of finding one or more bits of the tree to process
next, given a starting point (the node we're processing now), in which
case you should think of a query as returning a set of nodes in the
tree given a starting point.
A variant of type (b) where you just want the first element of the set
occurs as well.
Sounds like what I mean by a query language, how about you?
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|