|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] module path questionMichael Kay mike at saxonica.comFri Mar 23 13:08:59 PST 2007
> But I used the following command and still got the error. > java -cp $LIB/saxon8.jar net.sf.saxon.Query master.xquery > > Mike could you please share your cmd? > There's nothing special about the command. I've got c:\tests\testsuite\qmodule002.xq: ================================= (: MAIN MODULE :) declare namespace ns1 = "namespace/ns1"; import module namespace ns2 = "namespace/ns2" at "dir/xmodule002b.xq"; ns2:fun1() c:\tests\testsuite\dir\xmodule002b.xq ===================================== module namespace ns2 = "namespace/ns2"; declare function ns2:fun1() { doc('source.xml') }; c:\tests\testsuite\dir\source.xml ================================= <any-source/> and I do java -cp c:\saxon-build\8.7.3\bj\saxon8.jar net.sf.saxon.Query -t c:\tests\testsuite\qmodule\qmodule002.xq and it displays <any-source/> Michael Kay http://www.saxonica.com/
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






