RE: XML Query Use Cases (SEQ use case)

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 UTC