W3C home > Mailing lists > Public > www-ql@w3.org > January to March 2001

RE: XML Query Use Cases (SEQ use case)

From: Evan Lenz <elenz@xyzfind.com>
Date: Fri, 23 Feb 2001 06:30:01 -0800 (PST)
To: nbassili@csd.auth.gr, www-ql@w3.org
Message-ID: <Pine.LNX.4.10.10102230628190.19826-100000@perv.xyzfind.com>
The prose isn't precise, but the XQuery example is:

FOR $proc IN document("report1.xml")//section[section.title="Procedure"],
    $bet  IN $proc//* AFTER ($proc//incision)[1] BEFORE
($proc//incision)[2]
RETURN $bet

$proc//* selects only elements. Thus, the only element that comes between
the first and second incision is the <action> element.

Hope this helps,

Evan Lenz
XYZFind Corp.
Received on Friday, 23 February 2001 09:30:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:17 GMT