title: SAXON ignore namespace in source XML
body: <p>Environment: Java:8,Saxon-HE:9.9.0-2</p>
  
  <p>My case is as I think trivial, however, I can not get a satisfying result</p>
  
  <p>Source xml look like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="mcf.xsl"?&gt;
  &lt;mcf xmlns="http://example.com/#mcf"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://example.com/#mcf"&gt;
      ...
  </code></pre>
  
  <p>I wrote xsl </p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0" &gt;
  &lt;xsl:output method="text" omit-xml-declaration="yes" indent="yes" media-type="text/csv" exclude-result-prefixes="#all" escape-uri-attributes="yes"/&gt;
       &lt;xsl:template match="/" name="initial"&gt;
      &lt;xsl:variable name="md" select="./mcf/md"/&gt;
      &lt;xsl:for-each select="$md/mi/mv"&gt;
          &lt;xsl:variable name="mii" select="substring-after(../@mii,'pg=')"/&gt;
          &lt;xsl:variable name="ji" select="../job/@jobId"/&gt;
          &lt;xsl:variable name="gpd" select="../gp/@d"/&gt;
          &lt;xsl:variable name="gpet" select="../gp/@et"/&gt;
          &lt;xsl:call-template name="mv"&gt;
              &lt;xsl:with-param name="mii" select="$mii"/&gt;
              &lt;xsl:with-param name="ji" select="$ji"/&gt;
              &lt;xsl:with-param name="gpd" select="$gpd"/&gt;
              &lt;xsl:with-param name="gpet" select="$gpet"/&gt;
          &lt;/xsl:call-template&gt;
          &lt;xsl:value-of select="$newline"/&gt;
      &lt;/xsl:for-each&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Unfortunately, the result is empty. If I remove the atrybut from "mcf" everything works fine.</p>
  
  <p>I try use:</p>
  
  <pre><code>  &lt;xsl:copy copy-namespaces="no" inherit-namespaces="no"&gt;
  </code></pre>
  
  <p>however, no results.</p>