<div dir="ltr">Hi,<br>I do have an example. Correct ?<br><br>for $v in distinct-values($values) where count($values[. = $v]) > 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"><<a href="mailto:timothymarc@freenet.de">timothymarc@freenet.de</a>></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'm not sure. It is a long time ago and i can't find the example.<br>
<br>
But the where is essential in some case. But you'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: "Robert Koberg"<<a href="mailto:rob@koberg.com">rob@koberg.com</a>><br>
<br>
> Hi,<br>
<div class="Ih2E3d">><br>
> Where would you use 'where' that couldn't be handled by XPath? In<br>
> other words, why is there a where?<br>
><br>
</div>> best,<br>
> -Rob<br>
<div class="Ih2E3d">> _______________________________________________<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>
><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>