The path is relative to the application root. If your app is set to use C:/
as the root, then no change is needed for local. If you had your root set to
C:/MyApp/ then you'd not have to change the import if you have
C:/MyApp/lib/config.xqy.
On Jun 3, 2011 2:38 PM, "Ankur Acharya" wrote:
> Disclai
olsky
Sent: Friday, June 03, 2011 5:43 PM
To: General MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] specifying path while importing module
using cq
Hi Ankur,
This chapter in the Application Developer's Guide should help:
http://docs.marklogic.com/4.2doc/docapp.xqy#display
riday, June 03, 2011 1:38 PM
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] specifying path while importing module using cq
Disclaimer: This might be a very naive question to most of the readers.
I'm trying to import a module using the following code:
...
import
Disclaimer: This might be a very naive question to most of the readers.
I'm trying to import a module using the following code:
...
import module namespace conf = "http://foo.com/lib/config"; at
"/lib/config.xqy";
...
When I copy it to the C:\ drive and rephrase the code to:
...
import module