Hi,

  You cannot do it at the standard XQuery level only (like defining
them in one module and import the namespace declarations).

  You can define namespace prefixes at the app server level (in the
admin console, go to Groups > Default > App Servers > {your-server} >
Namespaces).

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/


On 23 June 2015 at 11:15, Kapoor, Pragya wrote:
> Hi,
>
>
> I need to declare same namespaces in many xquery files.
>
>
> Is there any way to keep all the namespaces at one place and import it in
> the xquery file?
>
> Is there any way to dynamically declare the namespaces as and when the
> schema changes?
>
>
> Thanks
>
> Pragya
>
> "This e-mail and any attachments transmitted with it are for the sole use of
> the intended recipient(s) and may contain confidential , proprietary or
> privileged information. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message. Any unauthorized review, use, disclosure, dissemination,
> forwarding, printing or copying of this e-mail or any action taken in
> reliance on this e-mail is strictly prohibited and may be unlawful."
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to