Commit e6eef390 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2004-01-20 17:22:45 by cmiachon] Q5: using of difference boolean connective. just CQLp.

Original author: cmiachon
Date: 2004-01-20 17:22:45+00:00
parent 598033dc
In Report1,
what happened between the first Incision and the second Incision?*)
include "" (* tests/cql/SEQ/ *)
(* In CQLp *)
select a_flat
from <section.content>[(_\Incision)* Incision a::(_\Incision)* Incision _*] in
flatten( select sc
from <report>[(<section>[(sc::Section.content |_)*])] in [report]),
a_flat in a
let $proc := doc("report1.xml")//section[section.title="Procedure"][1],
$i1 := ($proc//incision)[1],
$i2 := ($proc//incision)[2]
for $n in $proc//node() except $i1//node()
where $n >> $i1 and $n << $i2
return $n
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment