Hi Robby,

There is no way now to use modules from file system. You have to load them
before import.

Ivan Shcheklein,
Sedna Team

Hi all,****
>
> ** **
>
> I have an urgent question regarding using modules with Sedna.  I have the
> need to separate modules in 2 categories:****
>
> **-          **(1) Data-centric  (those should definitely be stored in
> Sedna self for reusability reasons)****
>
> **-          **(2) Application-centric  (reusable functions for a specific
> app)****
>
> ** **
>
> I already am using (1) and am able to call functions from the modules
> stored in my 
> database<http://modis.ispras.ru/sedna/progguide/ProgGuidesu8.html#x14-560002.5.5>.
> But from reading generically how to import modules (not sedna specific) it
> should be possible to also load modules from e.g. 
> filesystem<http://www.xquery.com/tutorials/guided-tour/library-modules.html>
> ****
>
> ** **
>
> I actually tried the following approach but this doesn’t seem to work:****
>
> import module *namespace* *demoboardmacros* = "
> http://www.nxp.com/demoboard/macros"; at "
> http://localhost:8888/search/resource/external/xquery/macros.xquery";****
>
> ** **
>
> ** **
>
> And ideally I would prefer even relative URI’s instead of absolute ones.
> Do you know what my options are?  Another option would be that each app
> stores their app-centric modules in the xmldb as well, but I’m kind of
> reluctant to do so.****
>
> ** **
>
> ** **
>
> Kind regards,****
>
> Robby Pelssers****
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Sedna-discussion mailing list
> Sedna-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to