|
Subject: [xsl] Is it possible to test if a named template exists? From: "Neville Lugton" <nlugton@xxxxxxxxxxx> Date: Tue, 05 Sep 2006 12:55:33 +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 -> |
|---|---|---|
| [xsl] Merging dita files, Shailesh Shinde | Thread | Re: [xsl] Is it possible to test if, G. Ken Holman |
| RE: RE: [xsl] Petri net to BPEL mod, stgn | Date | Re: [xsl] Is it possible to test if, G. Ken Holman |
| Month |