Oh indeed they are working. I was at first thinking the file:create-dir would be creating a directory locally but it creates it on the remote server where basex is running. All to logical.

Thanks

On Mon, Nov 26, 2012 at 9:28 PM, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Alex,

> So having the oxygen integration setup now, the next question that comes up
> which I'm not finding an answer for is can one use the EXPath File Module
> within xqueries in oxygen?

sure, this is no problems. You can use any module specified in our
module library [1].

> I'm googling around,, I gather only basex that
> has implemented it from the website. http://expath.org/modules/file/implems

I know there is at least one other implementation [2]. The spec. for
the file module [3] is still pretty new, so more are expected to
follow in the future.

> I see that though that oxygen has a method to import modules but not sure
> where to get the module if that's the case.
> http://www.oxygenxml.com/xml_editor/xquery_editor.html

If you want to use other modules with BaseX, the most convenient way
is to store them in the server-side repository [4]. You can directly
edit XQuery modules in the repository directory without removing and
reinstalling them.

Hope this helps,
Christian

[1] http://docs.basex.org/wiki/Module_Library
[2] http://www.zorba-xquery.com/html/modules/expath/file
[3] http://expath.org/spec/file
[4] http://docs.basex.org/wiki/Repository



--
-

Alex G. Muir
Software Engineering Consultant
Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125
Love African Kora Music? Take a moment to listen to Gambia's - Amadu Diabarte & Jali Bakary Konteh www.bafila.bandcamp.com Your support keeps Africa's griot tradition alive... Cheers!