No Template Exists
Posted: Fri Nov 05, 2010 1:57 am
I have three files all in the same project called default.xsl, common.xsl and structure.xsl. In default.xsl, I call all the other two:
On the page common.xsl I have a template called FormatLink like so:
On the page structure.xsl, I call the template like so:
So when I deploy to my server, this all works just fine. However, in Oxygen, I keep getting the message "[Saxon6.5.5] No template exists named FormatLink". Is there any way I can get the structure.xsl file to see that the template in question is located not on the parent page but on a sibling page?
Code: Select all
<xsl:include href="common.xsl" />
<xsl:include href="structure.xsl" />
Code: Select all
<xsl:template name="FormatLink">
....bunch of code ....
</xsl:template>
Code: Select all
<xsl:call-template name="FormatLink" />