Re: [xsl] Modes - Necessary Construct or Syntactic Sugar

Subject: Re: [xsl] Modes - Necessary Construct or Syntactic Sugar
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 20 Mar 2013 09:01:17 +0000
> <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

Current Thread