I need to output the element name which is being returned after applying the xpath expression for example
<xsl:for-each select="//element"> <xsl:value-of select="**{elementname}**"></xsl:value-of> <xsl:text>:</xsl:text> <xsl:value-of select="current()"/> <xsl:value-of /> </xsl:for-each> How can i replace {elementname} to some xpath so that I can get the element name instead of current value