Thanks to all!<br><br><div class="gmail_quote">2009/2/13 Xavier Franc <span dir="ltr">&lt;<a href="mailto:xfranc@online.fr">xfranc@online.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ricardo,<br>
there is no notion of &quot;document hierarchy&quot; in XQuery,<br>
a collection is simply a sequence of (document) nodes.<br>
<br>
Therefore what you want to do is necessarily product-specific.<br>
<br>
In Qizx, this is quite achievable using extension functions.<br>
<br>
Xavier Franc<br>
<a href="http://www.qizx.com/" target="_blank">http://www.qizx.com/</a><br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Ricardo Queirós<br>