<xsl:template name="title">
<xsl:param name="mode" select=" 'default' " as="xs:string" />
<xsl:choose test="$mode eq 'index'>
. . .
</xsl:choose>
: ) Liam will have meant xsl:when test (wrapped in xsl:choose)
<xsl:otherwise>
<xsl:call-template name="process-contents">
<xsl:with-param name="input" select="node()" />
and that could be an apply-templates with a tunnelled param.
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--