title: Giving criteria in namespace:: xpath function xslt
body: <p>I'm trying to copy all the xsl namespace of a document to the root document with this code:</p>
  
  <pre><code>&lt;xsl:copy-of select="//namespace::*[not(xxx:*)]" /&gt;
  </code></pre>
  
  <p>this works perfectly fine. However I don't want namespace <code>xxx</code> to be copied as given in the expression, however thats not happening. Even <code>xxx</code> is being copied along with other namespaces. I want to prevent <code>xxx</code> being copied. How to do that?</p>
  
  <p>Am I missing something here?</p>