XSLT Call-Template name attribute
问题 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! <xsl:for-each select="child::knomaddb/Content/Videos"> <xsl:result-document method="xhtml" href="{local-name()}.html"> <html> <body> <h1>Knomad</h1> <h2>{local-name()} Videos</h2> <table border="1"> <tr bgcolor="#9acd32"> <th>Title</th> <th>Video</th> <th>Description</th> <th>Comments</th> </tr> <xsl:for-each select="Video"> <xsl:call-template