It seems like my template is never called, but the for loop works correctly.
It prints a “test” exactly as many times as a “car” node exists, but “doStuff” does not seem to be available, and “test2” is never output. Any ideas?
<fo:table-body>
<xsl:for-each select="car">
test
<xsl:apply-templates select="car" />
</xsl:for-each>
</fo:table-body>
....
<xsl:template match="car">
<fo:table-row height="0.40cm">
test2
dostuff()....
Ayrad source
share