title: XSLT Call-Template name attribute
body: <p>It seems as if I can't use an Xpath in the name attribute of the call-template element. How can I get around this? Any help/thoughts would be awesome!</p>
  
  <pre><code>&lt;xsl:for-each select="child::knomaddb/Content/Videos"&gt;
          &lt;xsl:result-document method="xhtml" href="{local-name()}.html"&gt;
              &lt;html&gt;
                  &lt;body&gt;
                      &lt;h1&gt;Knomad&lt;/h1&gt;
                      &lt;h2&gt;{local-name()} Videos&lt;/h2&gt;
                      &lt;table border="1"&gt;
                          &lt;tr bgcolor="#9acd32"&gt;
                              &lt;th&gt;Title&lt;/th&gt;
                              &lt;th&gt;Video&lt;/th&gt;
                              &lt;th&gt;Description&lt;/th&gt;
                              &lt;th&gt;Comments&lt;/th&gt;
                          &lt;/tr&gt;
                          &lt;xsl:for-each select="Video"&gt;
                              &lt;xsl:call-template name="{ancestor::local-name()}"/&gt;
                          &lt;/xsl:for-each&gt;
                      &lt;/table&gt;
                  &lt;/body&gt;
              &lt;/html&gt;
          &lt;/xsl:result-document&gt;
      &lt;/xsl:for-each&gt;
  </code></pre>