Hello together,

 

I just recently startet using BaseX in one of my Projects and since I was developing on the GUI of BaseX I had no Problems with anything.

 

Unfortunately, for reasons, I need to use the Saxon Processor to Query my BaseX DB.

 

I tried different approaches, but, everything endet up with the following error message:

 

XPST0017: Saxon does not allow external function to be declared

 

The query I tried looks as followed:

 

xquery version "3.0";

 

declare namespace vm = "http://www.viamedici.de";

import module namespace db = "http://basex.org/modules/db" at "test/db.xqm";

 

(: Retrieve documents from database :)

db:open("hades")//template

 

Since I could not get usable information from google I hope some of you guys can help me.

 

Thanks a lot,

 

Jörn

 

 

Jörn Uli Goeke
Projektleiter / Projektentwickler

Viamedici Software GmbH
Hertzstr. 14
D-76275 Ettlingen
Germany

Phone:    +49(0)7243/9498-36
Fax:           +49(0)7243/9498-99

e-mail:     j.goeke@viamedici.de
URL:          
www.viamedici.de

HRB 362615, Amtsgericht Mannheim
Geschaeftsfuehrer: Juergen Mueller