[xquery-talk] copy-namespaces declaration - supported in Saxon? What about Zorba?
voldrani at gmail.com
Mon Apr 2 15:26:35 PDT 2012
I have this document:
which I'm processing with this XQuery:
xquery version "1.0";
declare copy-namespaces no-preserve, no-inherit;
and I'm getting this as output from Saxon PE 9.3:
<?xml version="1.0" encoding="UTF-8"?>
But I want to get rid of the unused namespace nodes, and I thought
"no-preserve" should do it.
I found an email message from Michael Kay in Apr. 7, 2005, on the
saxon help list, in which he wrote:
The basic functionality of copying an element without copying its
is there in the product (and used in XSLT) but it's not yet wired
up to the syntax
of the query prolog. Sorry.
Is it still not implemented, or am I doing something wrong?
Can anybody tell me whether or not this is supported in Zorba?
More information about the talk