[xquery-talk] distance between elements and hierarchical order

Sergio Andreozzi sergio.andreozzi at cnaf.infn.it
Fri Dec 9 03:50:24 PST 2005


Wolfgang Hoschek wrote:
> problem 1) the recursive query can be reduced to
> 
> let $x := doc("test.xml")/S/A
> return count($x/ancestor-or-self::element())

that's more smart for sure.

Thanks, Sergio


More information about the talk mailing list