|
Subject: [xsl] Is it possible to test if a named template exists? From: "Neville Lugton" <nlugton@xxxxxxxxxxx> Date: Tue, 05 Sep 2006 13:19:15 +0000 |
<xsl:template match="/"> <xsl:call-template name="insertHeader"/> </xsl:template>
<xsl:template match="insertHeader">
<!-- this template is included in ALL files -->
<xsl:if test="element-available(pageScripts)">
<xsl:call-template name="insertScripts"/>
</xsl:if>
</xsl:template><xsl:template name="insertScripts"> <!-- NOT all files have this template --> do things!! </xsl:template>
Regards Neville Lugton
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Is it possible to test if, Michael Kay | Thread | [xsl] Two versions of sum over node, hanged.man@xxxxxxxxx |
| RE: [xsl] Is it possible to test if, Michael Kay | Date | [xsl] Two versions of sum over node, hanged.man@xxxxxxxxx |
| Month |