I'll take a stab at this.

*xdmp:modules-root
<http://developer.marklogic.com/pubs/3.2/apidocs/Extension.html#modules-root>

**xdmp:modules-root*( ) as xs:string      *Summary:*

Returns the current root path for modules.

  *Example:*

  xdmp:modules-root()
   => Docs



Luke





On Fri, Feb 12, 2010 at 12:01 PM, Keith L. Breinholt <
[email protected]> wrote:

>  Is there a simple way to the current module directory form within XQuery?
>
>
>
> This would be useful in writing templates or generic header and footer
> files.
>
>
>
> Thanks,
>
>
>
> Keith L. Breinholt
>
> *Missionary & Public Affairs Portfolio*
>
> [email protected]
>
> "Do what you can, with what you have, where you are." Theodore Roosevelt
>
>
>
>
>
> NOTICE: This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any unauthorized
> review, use, disclosure or distribution is prohibited. If you are not the
> intended recipient, please contact the sender by reply email and destroy all
> copies of the original message.
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to