[xquery-talk] module path question

Charlie c_z90 at yahoo.com
Thu Mar 22 11:47:39 PST 2007

Hi all,

I am trying to the following to import another module
in a sub folder:

  import module namespace testlib = "testlib" at

in test1/testlib.xquery I want to load a file in test1
  let $datasrc := doc('template.xml') 

But it looks like I have to put the template.xml into
the same folder of the master.xquery, otherwise I got
the file not found error.

Is there a way to let the testlib.xquery to load a
file in the same test1 folder without specifying


Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.

More information about the talk mailing list