I think you have to be more specific about what you are doing.  If you call a 
function that returns a node, it will return it in whatever namespace that 
function creates it in.  That will depend on the code in the function.  If you 
want that node to be returned in some namespace, then you can construct in some 
namespace.  The default element namespace can be a factor as well.

-Danny


From: [email protected] 
[mailto:[email protected]] On Behalf Of Adam Patterson
Sent: Thursday, May 27, 2010 9:09 AM
To: [email protected]
Subject: [MarkLogic Dev General] Empty Namespace and Functions

Hello,

A quick question here: When I call a function in one Xquery module from another 
then the returned node always has the empty namespace (xmlns="") inserted into 
it. Is there a way to stop this behaviour?

Cheers,

Adam
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to