[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

module path question

Michael Kay mike at saxonica.com
Fri Mar 23 00:22:13 PST 2007


  module path question
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:http://x-query.com/mailman/listinfo/talk] 
> Sent: 22 March 2007 23:40
> To: Michael Kay; http://x-query.com/mailman/listinfo/talk
> Subject: RE:  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 <http://x-query.com/mailman/listinfo/talk> 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: http://x-query.com/mailman/listinfo/talk
> > > [mailto:http://x-query.com/mailman/listinfo/talk] On Behalf Of
> > Charlie
> > > Sent: 22 March 2007 18:48
> > > To: http://x-query.com/mailman/listinfo/talk
> > > Subject:  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
> > > _______________________________________________
> > > http://x-query.com/mailman/listinfo/talk
> > > 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



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.