Hi David,
I suppose that is possible, but if the xml config files reside along with the xquery code in the modules database, I would expect a better way to access them similar to importing an xquery module. The idea was suggested to me because the config files are static to the xquery modules and should be deployed as such – in fact I could implement them as data stored in an xquery module. Tim From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of David Ennis Sent: Monday, September 15, 2014 12:24 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] How to access XML config files from a modules database instead of content database? HI. Not sure if this is what you mean - but you can access content from another database using things like xdmp:eval and the database option. Kind Regards, David Ennis Kind Regards, David Ennis David Ennis Content Engineer <http://www.hinttech.com/> HintTech Mastering the value of content creative | technology | content Delftechpark 37i 2628 XJ Delft The Netherlands T: +31 88 268 25 00 M: +31 63 091 72 80 <http://www.hinttech.com> http://www.hinttech.com <https://twitter.com/HintTech> <http://www.facebook.com/HintTech> <http://www.linkedin.com/company/HintTech> On 15 September 2014 18:15, Tim <t...@aaom.net> wrote: Hi Folks, I'm wondering how to access XML configuration files from a modules database while the code is being executed in the context of a content database? Is there a specific import command that allows me to do this? Tim M. _______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general