<div dir="ltr">Hi,<br>I do have an example. Correct ?<br><br>for $v in distinct-values($values) where count($values[. = $v]) &gt; 2 return $v<br><br>RĂ©mi<br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 11:02 AM,  <span dir="ltr">&lt;<a href="mailto:timothymarc@freenet.de">timothymarc@freenet.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey Rob,<br>
<br>
i have had a situation in where the XPath predicate selection does not fit my requirements. I think it was something concerning a query, that combines to sequences, but i&#39;m not sure. It is a long time ago and i can&#39;t find the example.<br>

<br>
But the where is essential in some case. But you&#39;re right, most of the selections can be done with XPath.<br>
<br>
HTH<br>
Timothy<br>
----- original Nachricht --------<br>
<br>
Betreff: [xquery-talk] FLOR or FLWOR<br>
Gesendet: Mi 10 Sep 2008 03:02:44 CEST<br>
Von: &quot;Robert Koberg&quot;&lt;<a href="mailto:rob@koberg.com">rob@koberg.com</a>&gt;<br>
<br>
&gt; Hi,<br>
<div class="Ih2E3d">&gt;<br>
&gt; Where would you use &#39;where&#39; that couldn&#39;t be handled by XPath? In<br>
&gt; other words, why is there a where?<br>
&gt;<br>
</div>&gt; best,<br>
&gt; -Rob<br>
<div class="Ih2E3d">&gt; _______________________________________________<br>
&gt; <a href="mailto:talk@x-query.com">talk@x-query.com</a><br>
&gt; <a href="http://x-query.com/mailman/listinfo/talk" target="_blank">http://x-query.com/mailman/listinfo/talk</a><br>
&gt;<br>
<br>
</div>--- original Nachricht Ende ----<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
<a href="mailto:talk@x-query.com">talk@x-query.com</a><br>
<a href="http://x-query.com/mailman/listinfo/talk" target="_blank">http://x-query.com/mailman/listinfo/talk</a><br>
</div></div></blockquote></div><br></div>