dear all,
I am using this code to apply a template to the result of another one
Code:
<xsl:template match="tei:div[@type='edition']">
<xsl:variable name="nonumber">
<xsl:call-template name="edition"/>
</xsl:variable>
<xsl:for-each select="$nonumber">
<xsl:copy>
<xsl:apply-templates mode="lb"/>
</xsl:copy>
</xsl:for-each>
</xsl:template>
It looks like it works, cause I do get the results of the templates in mode="lb" but of what the edition template does no element remains. I think I have some problem in placing xsl:copy / xsl:copy-of in a useful way, as at some trials I did get both results but one after the other rather than together.
Thank you very much for any advise on this.