title: "xmlns" Attribute Makes My XSLT Return Blank Values
body: <p>I have an XML file that I am trying to transform via an XSL file.  As soon as I add an non-blank xmlns attribute to the root element of my XSL, the transformation just brings me back blank data for everything.  If I remove or blank out the xmlns attribute, I get back what I expect.</p>
  
  <p>Can anyone tell me why this is happening so I can stop it!</p>
  
  <p>Here's a bit of my XSL (with some parts omitted &amp; replaced with ...):</p>
  
  <pre><code>&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ... &gt;
  
    &lt;xsl:import href="html_commonstructures.xsl"/&gt;
    &lt;xsl:output method="html"/&gt;
  
    &lt;xsl:template match="/"&gt;
      &lt;div&gt;
      &lt;xsl:call-template name="ServiceStructure"&gt;
        &lt;xsl:with-param name="structure" select="ServiceDescription" /&gt;
      &lt;/xsl:call-template&gt;
      &lt;/div&gt;
    &lt;/xsl:template&gt;
  
    &lt;xsl:template name="ServiceStructure"&gt;
      &lt;xsl:param name="structure"/&gt;
      &lt;h3&gt;
        &lt;xsl:value-of select="$structure/DC.Title" /&gt; (&lt;xsl:value-of select="$structure/DC.Identifier" /&gt;)
      &lt;/h3&gt;
      &lt;!-- And so on --&gt;
    &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p><strong>* EDIT *</strong>
  Here is a snippet of what's in html_commonstructures:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' ?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:rxr="http://ilrt.org/discovery/2004/03/rxr/" xmlns:esd="http://www.esd.org.uk/standards"
      xmlns:core="http://www.govtalk.gov.uk/core" xmlns:n2="http://www.govtalk.gov.uk/metadata/egms"
      xmlns:apd="http://www.govtalk.gov.uk/people/AddressAndPersonalDetails"
      xmlns:con="http://www.govtalk.gov.uk/people/ContactTypes"
      xmlns:bs7666="http://www.govtalk.gov.uk/people/bs7666"&gt;
  
    &lt;!-- A template for the ControlledListStructures --&gt;
    &lt;xsl:template name="ControlledListStructure"&gt;
      &lt;xsl:param name="structure"/&gt;
  
      &lt;p class="controlledlist"&gt;
        &lt;xsl:value-of select="$structure/text()" /&gt;
        &lt;xsl:if test="$structure/@Id | $structure/@ConceptId | $structure/@ItemName | $structure/@ListName"&gt;
          &lt;span class="metainfo"&gt;[
            &lt;xsl:if test="$structure/@Id"&gt;
              ID: &lt;xsl:value-of select="$structure/@Id" /&gt;;
            &lt;/xsl:if&gt;
            &lt;xsl:if test="$structure/@ConceptId"&gt;
              Concept ID: &lt;xsl:value-of select="$structure/@ConceptId" /&gt;;
            &lt;/xsl:if&gt; 
            &lt;xsl:if test="$structure/@ItemName"&gt;
              Item Name: &lt;xsl:value-of select="$structure/@ItemName" /&gt;;
            &lt;/xsl:if&gt;
            &lt;xsl:if test="$structure/@ListName"&gt;
              List Name: &lt;xsl:value-of select="$structure/@ListName" /&gt;
            &lt;/xsl:if&gt;
            ]
          &lt;/span&gt;
        &lt;/xsl:if&gt;
      &lt;/p&gt;
    &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>