All,

Does Saxon XQuery support the "copy-namespaces" declaration? See http://www.w3.org/TR/xquery/#id-copy-namespaces-decl
Example usage is:
declare copy-namespaces preserve, no-inherit;

Alternatively, is there some other mechanism whereby we can either control or hint to Saxon how we'd like namespace declarations to work. The issue is that we have a situation where we are combining a number of documents together and are hoping to tidy up the output by having then namespace declarations on the root element and not distributed throughout the tree.

Many thanks,
Marcus