https://www.w3.org/TR/xslt-10/#function-current Example workaround: ```xslt <xsl:variable name="currentName" select="@name"/> <xsl:apply-templates select="/nodes[@name=$currentName]"/> ```