[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jonathan Robie <Jonathan.Robie@S...>
  • To: Vasileios Papadimos <vpapad@c...>, xml-dev@l...
  • Date: Fri, 02 Mar 2001 11:34:27 -0500

At 09:55 PM 3/1/2001 -0800, Vasileios Papadimos wrote:

>The query processor could propagate the "not-ordered" property to the inputs
>of the unorder operator (so we would only need to mention unorder only once
>in a typical database-oriented query).

Wouldn't you have to mention unorder once for each variable binding in a 
query like the following one?

FOR $sp IN document("sp.xml")//sp_tuple,
     $p IN unordered(document("p.xml")//p_tuple[pno = $sp/pno]),
     $s IN unordered(document("s.xml")//s_tuple[sno = $sp/sno])
RETURN
    <sp_pair>
       $s/sname ,
       $p/descrip
    </sp_pair> SORTBY (sname, descrip)

Or am I missing something here?

Jonathan


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member