I know, that I can call xsl:apply-templates inside another template, when I specify the XPath-expression of that subtemplate.
In my xsl-file I got an
<xsl:template match="/">
<xsl:apply-templates select="root/values" />
</xsl:template>
<xsl:template match="root/values>
<xsl:value-of select="value/key" />
</xsl:template>
Now I want to do something with subnodes of root/values again in another context - how do I match this template in my main template?
<xsl:template match="root/values>
<xsl:for-each select="value">
<xsl:value-of select="key" />
</xsl:for-each>
</xsl:template>