Very nice!  Thanks again, both of you.<br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 5:39 AM, Dennis Knochenwefel <span dir="ltr"><<a href="mailto:dennis.knochenwefel@28msec.com">dennis.knochenwefel@28msec.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have this document:<br>
<br>
     <AppConfig xmlns:paf="<a href="http://ncbi.gov/portal/paf" target="_blank">http://ncbi.gov/<u></u>portal/paf</a>"<br>
xmlns:qs="<a href="http://ncbi.gov/portal/paf/querystring" target="_blank">http://ncbi.gov/<u></u>portal/paf/querystring</a>"><br>
        <AppController foo='bar'><br>
          <fleegle/><br>
        </AppController><br>
     </AppConfig><br>
<br>
which I'm processing with this XQuery:<br>
<br>
     xquery version "1.0";<br>
     declare copy-namespaces no-preserve, no-inherit;<br>
     doc("AppConfig.xml")//<u></u>AppController/fleegle<br>
<br>
and I'm getting this as output from Saxon PE 9.3:<br>
<br>
     <?xml version="1.0" encoding="UTF-8"?><br>
     <fleegle xmlns:paf="<a href="http://ncbi.gov/portal/paf" target="_blank">http://ncbi.gov/<u></u>portal/paf</a>"<br>
              xmlns:qs="<a href="http://ncbi.gov/portal/paf/querystring" target="_blank">http://ncbi.gov/<u></u>portal/paf/querystring</a>"/><br>
<br>
But I want to get rid of the unused namespace nodes, and I thought<br>
"no-preserve" should do it.<br>
<br>
I found an email message from Michael Kay in Apr. 7, 2005, on the<br>
saxon help list, in which he wrote:<br>
<br>
     The basic functionality of copying an element without copying its<br>
namespaces<br>
     is there in the product (and used in XSLT) but it's not yet wired<br>
up to the syntax<br>
     of the query prolog. Sorry.<br>
<br>
Is it still not implemented, or am I doing something wrong?<br>
<br>
Can anybody tell me whether or not this is supported in Zorba?<br>
</blockquote>
<br></div></div>
Indeed it is supported in zorba as well: <a href="http://www.zorba-xquery.com/html/demo#ISPAkCCZNTANJwiOYJEigxqlkVw=" target="_blank">http://www.zorba-xquery.com/<u></u>html/demo#<u></u>ISPAkCCZNTANJwiOYJEigxqlkVw=</a><br>

<br>
regards,<br>
<br>
Dennis<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Dennis Knochenwefel<br>
Software Architect<br>
<br>
28msec Inc.<br>
<a href="http://www.28msec.com" target="_blank">http://www.28msec.com</a><br>
<a href="http://twitter.com/28msec" target="_blank">http://twitter.com/28msec</a><br>
<br>
</font></span></blockquote></div><br>