title: trying to change nodes in xslt following method seen on stackoverflow
body: <p>I am learning XSLT. I am trying to turn the  nodes into  nodes following @Rich's advice this post <a href="https://stackoverflow.com/questions/1928377/how-to-replace-a-node-name-with-another-in-xslt">How to replace a node-name with another in Xslt?</a></p>
  
  <p>Here is my input XML: </p>
  
  <pre><code>&lt;ns:positionSkillResponse xmlns:ns="http://positionskillmanagementservice.webservices.com"&gt;
  &lt;ns:return&gt;1&lt;/ns:return&gt;
  &lt;ns:return&gt;9&lt;/ns:return&gt;
  &lt;/ns:positionSkillResponse&gt;
  </code></pre>
  
  <p>I am trying to transform it with the code below, which is causing a parser error. I think the ns:return is the issue because it the transformer code does not know how to resolve the namespace, ns. But the namespace is not published to a URL, so I can't just point it there. Is that the problem? What do I do?</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:
    version="1.0"&gt;
  
    &lt;xsl:output method="xml" /&gt;
  
  &lt;xsl:template match="ns:return"&gt;
      &lt;parameter&gt;
          &lt;xsl:apply-templates select="@*|node()"/&gt;
      &lt;/parameter&gt;
  &lt;/xsl:template&gt;
  
  &lt;xsl:template match="@*|node()"&gt;
      &lt;xsl:copy&gt;
          &lt;xsl:apply-templates select="@*|node()"/&gt;
      &lt;/xsl:copy&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>Error:XSLTProcessor::transformToXml() [&lt;a href='xsltprocessor.transformtoxml'&gt;xsltprocessor.transformtoxml&lt;/a&gt;]: No stylesheet associated to this object
  </code></pre>
  
  <p><a href="http://xslt.online-toolz.com/tools/xslt-transformation.php" rel="nofollow noreferrer">Testing via this tool:</a> </p>