[xquery-talk] module path question

Charlie c_z90 at yahoo.com
Fri Mar 23 05:47:57 PST 2007


That's good news because I use Stylus as a dev tool...

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?

Thanks,
C.

--- Michael Kay <mike at saxonica.com> wrote:

> 
> This appears to work using Saxon in a free-standing
> command line environment
> but fails if run from within Stylus.
> 
> I'll make sure it's followed up.
> 
> Michael Kay
> Saxonica Limited 
> 
> > -----Original Message-----
> > From: Charlie [mailto:c_z90 at yahoo.com] 
> > Sent: 22 March 2007 23:40
> > To: Michael Kay; talk at x-query.com
> > Subject: RE: [xquery-talk] module path question
> > 
> > Thanks Michael,
> > 
> > I am using Stylus Studio 2007 Enterprise Suite
> saxon
> > 8.7.3 processor, and the saxon8.7J from Saxonica
> on solaris.
> > 
> > C.
> > 
> > --- Michael Kay <mike at saxonica.com> wrote:
> > 
> > > Most of this is implementation-defined, I'm
> afraid.
> > > It shouldn't be, but it
> > > is. So we need to know what product you are
> using.
> > > 
> > > Michael Kay
> > > http://www.saxonica.com/
> > > 
> > > > -----Original Message-----
> > > > From: talk-bounces at x-query.com
> > > > [mailto:talk-bounces at x-query.com] On Behalf Of
> > > Charlie
> > > > Sent: 22 March 2007 18:48
> > > > To: talk at x-query.com
> > > > Subject: [xquery-talk] module path question
> > > > 
> > > > Hi all,
> > > > 
> > > > I am trying to the following to import another
> > > module in a sub folder:
> > > > 
> > > > master.xquery:
> > > >   import module namespace testlib = "testlib"
> at 
> > > > "test1/testlib.xquery";
> > > >   ...
> > > > 
> > > > in test1/testlib.xquery I want to load a file
> in
> > > test1
> > > > folder:
> > > >   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
> > > 'test1/template.xml'?
> > > > 
> > > > TIA,
> > > > C
> > > > 
> > > > 
> > > > 
> > > >  
> > > >
> > >
> >
>
______________________________________________________________
> > > > ______________________
> > > > Don't pick lemons.
> > > > See all the new 2007 cars at Yahoo! Autos.
> > > > http://autos.yahoo.com/new_cars.html
> > > >
> _______________________________________________
> > > > talk at x-query.com
> > > > http://x-query.com/mailman/listinfo/talk
> > > 
> > > 
> > 
> > 
> > 
> >  
> >
>
______________________________________________________________
> > ______________________
> > Bored stiff? Loosen up... 
> > Download and play hundreds of games for free on
> Yahoo! Games.
> > http://games.yahoo.com/games/front
> 
> 



 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html


More information about the talk mailing list