I go to http://www.xqueryfunctions.com/ and download
functx-1.0-doc-2007-01.xq

I open that xq file in the editor and run it (Green Arrow).
But if I try to use any function it fails !!

Inline image 1

Thanks,
Bob Berger