Это моя часть ввода xml.
<w:tc>
first
</w:tc>
<w:tc>
second
</w:tc>
Я использую xslt1.0, и мой шаблон
<xsl:template match="tc">
<!-- When the first match occurs, i am setting a value for a
global variable and when the template matches for second time,
i have to fetch the value from that variable -->
</xsl:template>