This look GREAT:

http://www.galaxquery.org/

Its a free implementation of XQuery - and is available in debian unstable!

Thanks http://upsilon.cc/~zack/blog/posts/2008/03/galax_1.1/